diff --git a/app/client/cypress/e2e/Regression/Apps/ImportExportForkApplication_spec.js b/app/client/cypress/e2e/Regression/Apps/ImportExportForkApplication_spec.js index 764cce343dd6..ccbcd3716fe2 100644 --- a/app/client/cypress/e2e/Regression/Apps/ImportExportForkApplication_spec.js +++ b/app/client/cypress/e2e/Regression/Apps/ImportExportForkApplication_spec.js @@ -6,6 +6,10 @@ import { dataSources, assertHelper, } from "../../../support/Objects/ObjectsCore"; +import { + createMessage, + IMPORT_APP_SUCCESSFUL, +} from "../../../../src/ce/constants/messages"; describe( "Import, Export and Fork application and validate data binding", @@ -36,7 +40,7 @@ describe( } else { cy.get(homePageLocatores.toastMessage).should( "contain", - "Application imported successfully", + createMessage(IMPORT_APP_SUCCESSFUL), ); } agHelper.GenerateUUID(); @@ -132,7 +136,7 @@ describe( } else { cy.get(homePageLocatores.toastMessage).should( "contain", - "Application imported successfully", + createMessage(IMPORT_APP_SUCCESSFUL), ); } const importedApp = interception.response.body.data.application; diff --git a/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/AppNavigation_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/AppNavigation_spec.ts index 450449047bdd..6d45b8df590a 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/AppNavigation_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/AppNavigation_spec.ts @@ -10,7 +10,7 @@ import PageList from "../../../../support/Pages/PageList"; describe( "General checks for app navigation", - { tags: ["@tag.IDE"] }, + { tags: ["@tag.IDE", "@tag.ImportExport"] }, function () { it("1. App header should appear when there is a single page in the application, and navigation should appear alongside app header when there are two pages", () => { // App header should appear when there is a single page in the application diff --git a/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/Sidebar_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/Sidebar_spec.ts index 939ac4477aac..47f5ece90134 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/Sidebar_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/Sidebar_spec.ts @@ -11,88 +11,98 @@ import { AppSidebarButton, } from "../../../../support/Pages/EditorNavigation"; -describe("Test Sidebar navigation style", { tags: ["@tag.IDE"] }, function () { - before(() => { - // Import an application - homePage.NavigateToHome(); - agHelper.RefreshPage(); - homePage.ImportApp("appNavigationTestingAppWithLongPageNamesAndTitle.json"); - assertHelper - .WaitForNetworkCall("@importNewApplication") - .then((response) => { - const { isPartialImport } = response.body.data; - if (isPartialImport) { - homePage.AssertNCloseImport(); - } else { - homePage.AssertImportToast(); - } - }); - }); +describe( + "Test Sidebar navigation style", + { tags: ["@tag.IDE", "@tag.ImportExport"] }, + function () { + before(() => { + // Import an application + homePage.NavigateToHome(); + agHelper.RefreshPage(); + homePage.ImportApp( + "appNavigationTestingAppWithLongPageNamesAndTitle.json", + ); + assertHelper + .WaitForNetworkCall("@importNewApplication") + .then((response) => { + const { isPartialImport } = response.body.data; + if (isPartialImport) { + homePage.AssertNCloseImport(); + } else { + homePage.AssertImportToast(); + } + }); + }); - it("1. Change 'Orientation' to 'Side', sidebar should appear", () => { - AppSidebar.navigate(AppSidebarButton.Settings); - agHelper.GetNClick(appSettings.locators._navigationSettingsTab); - agHelper.GetNClick( - appSettings.locators._navigationSettings._orientationOptions._side, - 0, - true, - ); - deployMode.DeployApp(); - agHelper.AssertElementVisibility(appSettings.locators._sideNavbar); - agHelper.AssertElementAbsence(appSettings.locators._topStacked); - agHelper.AssertElementAbsence(appSettings.locators._topInline); - //Page change should work - const pageName = "Page5 - with long long name"; - agHelper.GetNClickByContains( - appSettings.locators._navigationMenuItem, - pageName, - 0, - true, - ); - agHelper.AssertElementVisibility( - appSettings.locators._getActivePage(pageName), - ); - }); + it("1. Change 'Orientation' to 'Side', sidebar should appear", () => { + AppSidebar.navigate(AppSidebarButton.Settings); + agHelper.GetNClick(appSettings.locators._navigationSettingsTab); + agHelper.GetNClick( + appSettings.locators._navigationSettings._orientationOptions._side, + 0, + true, + ); + deployMode.DeployApp(); + agHelper.AssertElementVisibility(appSettings.locators._sideNavbar); + agHelper.AssertElementAbsence(appSettings.locators._topStacked); + agHelper.AssertElementAbsence(appSettings.locators._topInline); + //Page change should work + const pageName = "Page5 - with long long name"; + agHelper.GetNClickByContains( + appSettings.locators._navigationMenuItem, + pageName, + 0, + true, + ); + agHelper.AssertElementVisibility( + appSettings.locators._getActivePage(pageName), + ); + }); - it("2. Sidebar background should be default to white, and should change when background color is set to theme", () => { - // The background of sidebar should be white since light color style is default - agHelper.AssertCSS( - appSettings.locators._sideNavbar, - "background-color", - "rgb(255, 255, 255)", - 0, - ); - // Changing color style to theme should change navigation's background color - deployMode.NavigateBacktoEditor(); - AppSidebar.navigate(AppSidebarButton.Settings); - agHelper.GetNClick(appSettings.locators._navigationSettingsTab); - agHelper.GetNClick(appSettings.locators._colorStyleOptions._theme, 0, true); - deployMode.DeployApp(); - agHelper.AssertCSS( - appSettings.locators._sideNavbar, - "background-color", - "rgb(85, 61, 233)", - 0, - ); - //Application name, share button, edit button, and user dropdown should be available in the app sidebar - agHelper.AssertElementVisibility(appSettings.locators._applicationName); - agHelper.AssertElementVisibility(appSettings.locators._shareButton); - agHelper.AssertElementVisibility(locators._backToEditor); - agHelper.AssertElementVisibility(homePage._profileMenu); - }); + it("2. Sidebar background should be default to white, and should change when background color is set to theme", () => { + // The background of sidebar should be white since light color style is default + agHelper.AssertCSS( + appSettings.locators._sideNavbar, + "background-color", + "rgb(255, 255, 255)", + 0, + ); + // Changing color style to theme should change navigation's background color + deployMode.NavigateBacktoEditor(); + AppSidebar.navigate(AppSidebarButton.Settings); + agHelper.GetNClick(appSettings.locators._navigationSettingsTab); + agHelper.GetNClick( + appSettings.locators._colorStyleOptions._theme, + 0, + true, + ); + deployMode.DeployApp(); + agHelper.AssertCSS( + appSettings.locators._sideNavbar, + "background-color", + "rgb(85, 61, 233)", + 0, + ); + //Application name, share button, edit button, and user dropdown should be available in the app sidebar + agHelper.AssertElementVisibility(appSettings.locators._applicationName); + agHelper.AssertElementVisibility(appSettings.locators._shareButton); + agHelper.AssertElementVisibility(locators._backToEditor); + agHelper.AssertElementVisibility(homePage._profileMenu); + }); - it("3. Share button should open the share modal, edit button should take us back to the editor, and clicking on user profile button should open up the dropdown menu", () => { - // Share - agHelper.GetNClick( - `${appSettings.locators._sideNavbar} ${appSettings.locators._shareButton}`, - ); - agHelper.WaitUntilEleAppear(appSettings.locators._modal); - agHelper.AssertElementVisibility(appSettings.locators._modal); - agHelper.GetNClick(appSettings.locators._modalClose, 0, true); - // User profile dropdown - agHelper.GetNClick(homePage._profileMenu); - agHelper.AssertElementVisibility( - appSettings.locators._userProfileDropdownMenu, - ); - }); -}); + it("3. Share button should open the share modal, edit button should take us back to the editor, and clicking on user profile button should open up the dropdown menu", () => { + // Share + agHelper.GetNClick( + `${appSettings.locators._sideNavbar} ${appSettings.locators._shareButton}`, + ); + agHelper.WaitUntilEleAppear(appSettings.locators._modal); + agHelper.AssertElementVisibility(appSettings.locators._modal); + agHelper.GetNClick(appSettings.locators._modalClose, 0, true); + // User profile dropdown + agHelper.GetNClick(homePage._profileMenu); + agHelper.AssertElementVisibility( + appSettings.locators._userProfileDropdownMenu, + ); + }); + }, +); diff --git a/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/TopInline_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/TopInline_spec.ts index 7ca77cc3cf50..c3fe5429ea14 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/TopInline_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/TopInline_spec.ts @@ -13,7 +13,7 @@ import { describe( "Test Top + Inline navigation style", - { tags: ["@tag.IDE"] }, + { tags: ["@tag.IDE", "@tag.ImportExport"] }, function () { before(() => { // Import an application diff --git a/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/TopStacked_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/TopStacked_spec.ts index 8cd9e3bd2033..42f80ccb5846 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/TopStacked_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/AppNavigation/TopStacked_spec.ts @@ -13,7 +13,7 @@ import { describe( "Test Top + Stacked navigation style", - { tags: ["@tag.IDE"] }, + { tags: ["@tag.IDE", "@tag.ImportExport"] }, function () { before(() => { // Import an application diff --git a/app/client/cypress/e2e/Regression/ClientSide/Git/GitImport/GitImport_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Git/GitImport/GitImport_spec.js index 306741bec971..a8c658419161 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Git/GitImport/GitImport_spec.js +++ b/app/client/cypress/e2e/Regression/ClientSide/Git/GitImport/GitImport_spec.js @@ -56,10 +56,6 @@ describe("Git import flow ", { tags: ["@tag.Git"] }, function () { cy.testDatasource(true); agHelper.GetNClick(dataSources._saveDs); cy.wait(2000); - /*cy.get(homePageLocators.toastMessage).should( - "contain", - "Application imported successfully", - ); */ cy.wait("@getWorkspace"); cy.get(reconnectDatasourceModal.ImportSuccessModal).should("be.visible"); cy.get(reconnectDatasourceModal.ImportSuccessModalCloseBtn).click({ @@ -113,10 +109,6 @@ describe("Git import flow ", { tags: ["@tag.Git"] }, function () { cy.get(reconnectDatasourceModal.ImportSuccessModalCloseBtn).click({ force: true, }); - /* cy.get(homePageLocators.toastMessage).should( - "contain", - "Application imported successfully", - ); */ cy.wait("@gitStatus").then((interception) => { cy.log(interception.response.body.data); cy.wait(1000); diff --git a/app/client/cypress/e2e/Regression/ClientSide/IDE/Editor_Segment_Context_Switching_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/IDE/Editor_Segment_Context_Switching_spec.ts index 034de8cfc772..615ac3388915 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/IDE/Editor_Segment_Context_Switching_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/IDE/Editor_Segment_Context_Switching_spec.ts @@ -9,97 +9,105 @@ import EditorNavigation, { } from "../../../../support/Pages/EditorNavigation"; import reconnectDatasourceModal from "../../../../locators/ReconnectLocators"; -describe("Editor Segment Context Switch", { tags: ["@tag.IDE"] }, function () { - before("Import the test application", () => { - homePage.CreateNewWorkspace("IDETest", true); - homePage.ImportApp("SampleAppIDETest.json", "IDETest"); - cy.wait("@importNewApplication").then((interception) => { - agHelper.Sleep(); - const { isPartialImport } = interception.response?.body.data; - cy.log("isPartialImport is", isPartialImport); - if (isPartialImport) { - // should reconnect modal - cy.get("body").then(($ele) => { - if ($ele.find(reconnectDatasourceModal.SkipToAppBtn)) - agHelper.GetNClick(reconnectDatasourceModal.SkipToAppBtn, 0, true); - else agHelper.ClickButton("Got it"); - agHelper.Sleep(2000); - }); - } else { - homePage.AssertImportToast(); - } +describe( + "Editor Segment Context Switch", + { tags: ["@tag.IDE", "@tag.ImportExport"] }, + function () { + before("Import the test application", () => { + homePage.CreateNewWorkspace("IDETest", true); + homePage.ImportApp("SampleAppIDETest.json", "IDETest"); + cy.wait("@importNewApplication").then((interception) => { + agHelper.Sleep(); + const { isPartialImport } = interception.response?.body.data; + cy.log("isPartialImport is", isPartialImport); + if (isPartialImport) { + // should reconnect modal + cy.get("body").then(($ele) => { + if ($ele.find(reconnectDatasourceModal.SkipToAppBtn)) + agHelper.GetNClick( + reconnectDatasourceModal.SkipToAppBtn, + 0, + true, + ); + else agHelper.ClickButton("Got it"); + agHelper.Sleep(2000); + }); + } else { + homePage.AssertImportToast(); + } + }); }); - }); - it("will select an item when switched to it", () => { - // Check JS item is selected - PageLeftPane.switchSegment(PagePaneSegment.JS); - PageLeftPane.selectedItem("not.exist"); + it("will select an item when switched to it", () => { + // Check JS item is selected + PageLeftPane.switchSegment(PagePaneSegment.JS); + PageLeftPane.selectedItem("not.exist"); - // Check Query item is selected - PageLeftPane.switchSegment(PagePaneSegment.Queries); - PageLeftPane.selectedItem("not.exist"); + // Check Query item is selected + PageLeftPane.switchSegment(PagePaneSegment.Queries); + PageLeftPane.selectedItem("not.exist"); - // Check UI item is selected - PageLeftPane.switchSegment(PagePaneSegment.UI); - PageLeftPane.selectedItem().should("be.visible"); - }); - it("will select previously selected item when switched to it", () => { - // Select a UI item - EditorNavigation.SelectEntityByName( - "txt_longitudeValue", - EntityType.Widget, - {}, - ["con_userDetails"], - ); + // Check UI item is selected + PageLeftPane.switchSegment(PagePaneSegment.UI); + PageLeftPane.selectedItem().should("be.visible"); + }); + it("will select previously selected item when switched to it", () => { + // Select a UI item + EditorNavigation.SelectEntityByName( + "txt_longitudeValue", + EntityType.Widget, + {}, + ["con_userDetails"], + ); - // Select a JS item - EditorNavigation.SelectEntityByName("Transformers", EntityType.JSObject); + // Select a JS item + EditorNavigation.SelectEntityByName("Transformers", EntityType.JSObject); - // Select a Query item - EditorNavigation.SelectEntityByName("addUser", EntityType.Query); + // Select a Query item + EditorNavigation.SelectEntityByName("addUser", EntityType.Query); - // Check UI item is selected - PageLeftPane.switchSegment(PagePaneSegment.UI); - PageLeftPane.selectedItem().contains("txt_longitudeValue"); + // Check UI item is selected + PageLeftPane.switchSegment(PagePaneSegment.UI); + PageLeftPane.selectedItem().contains("txt_longitudeValue"); - // Check JS item is selected - PageLeftPane.switchSegment(PagePaneSegment.JS); - PageLeftPane.selectedItem().contains("Transformers"); + // Check JS item is selected + PageLeftPane.switchSegment(PagePaneSegment.JS); + PageLeftPane.selectedItem().contains("Transformers"); - // Check Query item is selected - PageLeftPane.switchSegment(PagePaneSegment.Queries); - PageLeftPane.selectedItem().contains("addUser"); - }); - it("will not retain the add state of the segment", () => { - // Switch to add new in UI - PageLeftPane.switchSegment(PagePaneSegment.UI); - PageLeftPane.switchToAddNew(); + // Check Query item is selected + PageLeftPane.switchSegment(PagePaneSegment.Queries); + PageLeftPane.selectedItem().contains("addUser"); + }); + it("will not retain the add state of the segment", () => { + // Switch to add new in UI + PageLeftPane.switchSegment(PagePaneSegment.UI); + PageLeftPane.switchToAddNew(); - // Switch to add new in Query - PageLeftPane.switchSegment(PagePaneSegment.Queries); - PageLeftPane.switchToAddNew(); + // Switch to add new in Query + PageLeftPane.switchSegment(PagePaneSegment.Queries); + PageLeftPane.switchToAddNew(); - // Assert add state not in UI - PageLeftPane.switchSegment(PagePaneSegment.UI); - // Assumes that selected item is not visible when in add state - PageLeftPane.selectedItem().should("be.visible"); + // Assert add state not in UI + PageLeftPane.switchSegment(PagePaneSegment.UI); + // Assumes that selected item is not visible when in add state + PageLeftPane.selectedItem().should("be.visible"); - // Assert add state not in Query - PageLeftPane.switchSegment(PagePaneSegment.Queries); - // Assumes that selected item is not visible when in add state - PageLeftPane.selectedItem().should("be.visible"); - }); + // Assert add state not in Query + PageLeftPane.switchSegment(PagePaneSegment.Queries); + // Assumes that selected item is not visible when in add state + PageLeftPane.selectedItem().should("be.visible"); + }); - it("will retain segment and selected item on switching IDE state", () => { - // Switch to add new in Query - PageLeftPane.switchSegment(PagePaneSegment.Queries); - // Select a Query item - EditorNavigation.SelectEntityByName("updateUsers", EntityType.Query); - // Switch to Data state - AppSidebar.navigate(AppSidebarButton.Data); + it("will retain segment and selected item on switching IDE state", () => { + // Switch to add new in Query + PageLeftPane.switchSegment(PagePaneSegment.Queries); + // Select a Query item + EditorNavigation.SelectEntityByName("updateUsers", EntityType.Query); + // Switch to Data state + AppSidebar.navigate(AppSidebarButton.Data); - // Switch back to Editor state - AppSidebar.navigate(AppSidebarButton.Editor); - PageLeftPane.selectedItem().contains("updateUsers"); - }); -}); + // Switch back to Editor state + AppSidebar.navigate(AppSidebarButton.Editor); + PageLeftPane.selectedItem().contains("updateUsers"); + }); + }, +); diff --git a/app/client/cypress/e2e/Regression/ClientSide/PartialImportExport/PartialExport_Widgets_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/PartialImportExport/PartialExport_Widgets_spec.ts index 189868a92524..ced6c3c64e69 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/PartialImportExport/PartialExport_Widgets_spec.ts +++ b/app/client/cypress/e2e/Regression/ClientSide/PartialImportExport/PartialExport_Widgets_spec.ts @@ -2,6 +2,7 @@ import { featureFlagIntercept } from "../../../../support/Objects/FeatureFlags"; import { homePage, partialImportExport, + assertHelper, } from "../../../../support/Objects/ObjectsCore"; const fixtureName = "PartialImportExportSampleApp.json"; @@ -12,6 +13,7 @@ describe( () => { before(() => { homePage.ImportApp(`PartialImportExport/${fixtureName}`); + assertHelper.AssertNetworkStatus("@importNewApplication"); featureFlagIntercept({ release_show_partial_import_export_enabled: true, }); diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Migration_Spec.js b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Migration_Spec.js index 5044112715e2..3884a684701d 100644 --- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Migration_Spec.js +++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Migration_Spec.js @@ -10,6 +10,10 @@ import { agHelper, homePage as homePageHelpers, } from "../../../../support/Objects/ObjectsCore"; +import { + createMessage, + IMPORT_APP_SUCCESSFUL, +} from "../../../../../src/ce/constants/messages"; describe("Migration Validate", { tags: ["@tag.ImportExport"] }, function () { it("1. Import application and Validate Migration on pageload", function () { @@ -28,7 +32,7 @@ describe("Migration Validate", { tags: ["@tag.ImportExport"] }, function () { cy.wait("@importNewApplication").then(() => { cy.get(homePage.toastMessage).should( "contain", - "Application imported successfully", + createMessage(IMPORT_APP_SUCCESSFUL), ); //Renaming imported app! diff --git a/app/client/cypress/e2e/Regression/ServerSide/OnLoadTests/JSOnLoad2_Spec.ts b/app/client/cypress/e2e/Regression/ServerSide/OnLoadTests/JSOnLoad2_Spec.ts index 4b3b2fbf5481..6d246804da3b 100644 --- a/app/client/cypress/e2e/Regression/ServerSide/OnLoadTests/JSOnLoad2_Spec.ts +++ b/app/client/cypress/e2e/Regression/ServerSide/OnLoadTests/JSOnLoad2_Spec.ts @@ -12,7 +12,7 @@ import EditorNavigation, { describe( "JSObjects OnLoad Actions tests", - { tags: ["@tag.PropertyPane", "@tag.JS"] }, + { tags: ["@tag.PropertyPane", "@tag.JS", "@tag.ImportExport"] }, function () { before(() => { homePage.CreateNewWorkspace("JSOnLoadTest", true); diff --git a/app/client/cypress/e2e/Smoke/Apps/ReconnectDatasource_spec.js b/app/client/cypress/e2e/Smoke/Apps/ReconnectDatasource_spec.js index d1d8216df962..f65a24a22062 100644 --- a/app/client/cypress/e2e/Smoke/Apps/ReconnectDatasource_spec.js +++ b/app/client/cypress/e2e/Smoke/Apps/ReconnectDatasource_spec.js @@ -4,6 +4,10 @@ import { dataSources, agHelper, } from "../../../support/Objects/ObjectsCore"; +import { + createMessage, + IMPORT_APP_SUCCESSFUL, +} from "../../../../src/ce/constants/messages"; describe( "Reconnect Datasource Modal validation while importing application", @@ -48,7 +52,7 @@ describe( } else { cy.get(homePageLocators.toastMessage).should( "contain", - "Application imported successfully", + createMessage(IMPORT_APP_SUCCESSFUL), ); } // check datasource configured success modal diff --git a/app/client/cypress/fixtures/PartialImportExport/WidgetsExportedOnly.json b/app/client/cypress/fixtures/PartialImportExport/WidgetsExportedOnly.json index 286b43c9a18e..5b1992bff027 100644 --- a/app/client/cypress/fixtures/PartialImportExport/WidgetsExportedOnly.json +++ b/app/client/cypress/fixtures/PartialImportExport/WidgetsExportedOnly.json @@ -1 +1 @@ -{"clientSchemaVersion":1,"serverSchemaVersion":7,"widgets":"{\"widgets\":[{\"widgetId\":\"hpy3pb4xft\",\"list\":[{\"boxShadow\":\"{{appsmith.theme.boxShadow.appBoxShadow}}\",\"onSort\":\"{{SelectQuery.run()}}\",\"isVisibleDownload\":true,\"iconSVG\":\"/static/media/icon.db8a9cbd.svg\",\"topRow\":6,\"isSortable\":true,\"onPageChange\":\"{{SelectQuery.run()}}\",\"type\":\"TABLE_WIDGET_V2\",\"animateLoading\":true,\"dynamicBindingPathList\":[{\"key\":\"tableData\"},{\"key\":\"derivedColumns.customColumn1.buttonLabel\"},{\"key\":\"primaryColumns.customColumn1.buttonLabel\"},{\"key\":\"accentColor\"},{\"key\":\"borderRadius\"},{\"key\":\"boxShadow\"},{\"key\":\"primaryColumns.customColumn1.borderRadius\"},{\"key\":\"primaryColumns.id.computedValue\"},{\"key\":\"primaryColumns.gender.computedValue\"},{\"key\":\"primaryColumns.latitude.computedValue\"},{\"key\":\"primaryColumns.longitude.computedValue\"},{\"key\":\"primaryColumns.dob.computedValue\"},{\"key\":\"primaryColumns.phone.computedValue\"},{\"key\":\"primaryColumns.email.computedValue\"},{\"key\":\"primaryColumns.image.computedValue\"},{\"key\":\"primaryColumns.country.computedValue\"},{\"key\":\"primaryColumns.name.computedValue\"},{\"key\":\"primaryColumns.created_at.computedValue\"},{\"key\":\"primaryColumns.updated_at.computedValue\"}],\"leftColumn\":0,\"delimiter\":\",\",\"defaultSelectedRowIndex\":\"0\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"isVisibleFilters\":true,\"isVisible\":\"true\",\"enableClientSideSearch\":true,\"version\":3,\"totalRecordsCount\":0,\"isLoading\":false,\"onSearchTextChanged\":\"{{SelectQuery.run()}}\",\"childStylesheet\":{\"button\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"buttonColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"iconButton\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"menuColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"menuButton\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"menuColor\":\"{{appsmith.theme.colors.primaryColor}}\"}},\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"columnUpdatedAt\":1704697943255,\"primaryColumnId\":\"id\",\"columnSizeMap\":{\"task\":245,\"step\":62,\"status\":75},\"widgetName\":\"data_table\",\"defaultPageSize\":0,\"columnOrder\":[\"id\",\"gender\",\"latitude\",\"longitude\",\"dob\",\"phone\",\"email\",\"image\",\"country\",\"name\",\"created_at\",\"updated_at\",\"customColumn1\"],\"dynamicPropertyPathList\":[{\"key\":\"primaryColumns.customColumn1.borderRadius\"},{\"key\":\"tableData\"}],\"displayName\":\"Table\",\"bottomRow\":85,\"parentRowSpace\":10,\"hideCard\":false,\"parentColumnSpace\":16.3125,\"dynamicTriggerPathList\":[{\"key\":\"primaryColumns.customColumn1.onClick\"},{\"key\":\"onPageChange\"},{\"key\":\"onSearchTextChanged\"},{\"key\":\"onSort\"}],\"primaryColumns\":{\"customColumn1\":{\"isCellVisible\":true,\"boxShadow\":\"none\",\"isDerived\":true,\"computedValue\":\"\",\"onClick\":\"{{showModal(Delete_Modal.name)}}\",\"buttonColor\":\"#DD4B34\",\"buttonStyle\":\"rgb(3, 179, 101)\",\"index\":5,\"isVisible\":true,\"label\":\"Delete\",\"labelColor\":\"#FFFFFF\",\"buttonLabel\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}\",\"columnType\":\"button\",\"borderRadius\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}\",\"menuColor\":\"#03B365\",\"width\":150,\"enableFilter\":true,\"enableSort\":true,\"id\":\"customColumn1\",\"isDisabled\":false,\"buttonLabelColor\":\"#FFFFFF\",\"sticky\":\"right\"},\"id\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":0,\"width\":150,\"originalId\":\"id\",\"id\":\"id\",\"alias\":\"id\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"number\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"id\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"id\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"gender\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":1,\"width\":150,\"originalId\":\"gender\",\"id\":\"gender\",\"alias\":\"gender\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"gender\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"gender\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"latitude\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":2,\"width\":150,\"originalId\":\"latitude\",\"id\":\"latitude\",\"alias\":\"latitude\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"latitude\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"latitude\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"longitude\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":3,\"width\":150,\"originalId\":\"longitude\",\"id\":\"longitude\",\"alias\":\"longitude\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"longitude\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"longitude\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"dob\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":4,\"width\":150,\"originalId\":\"dob\",\"id\":\"dob\",\"alias\":\"dob\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"date\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"dob\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"dob\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"phone\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":5,\"width\":150,\"originalId\":\"phone\",\"id\":\"phone\",\"alias\":\"phone\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"phone\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"phone\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"email\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":6,\"width\":150,\"originalId\":\"email\",\"id\":\"email\",\"alias\":\"email\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"email\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"email\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"image\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":7,\"width\":150,\"originalId\":\"image\",\"id\":\"image\",\"alias\":\"image\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"image\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"image\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"country\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":8,\"width\":150,\"originalId\":\"country\",\"id\":\"country\",\"alias\":\"country\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"country\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"country\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"name\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":9,\"width\":150,\"originalId\":\"name\",\"id\":\"name\",\"alias\":\"name\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"name\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"name\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"created_at\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":10,\"width\":150,\"originalId\":\"created_at\",\"id\":\"created_at\",\"alias\":\"created_at\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"created_at\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"created_at\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"updated_at\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":11,\"width\":150,\"originalId\":\"updated_at\",\"id\":\"updated_at\",\"alias\":\"updated_at\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"updated_at\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"updated_at\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"}},\"key\":\"zba5qel0au\",\"derivedColumns\":{\"customColumn1\":{\"isCellVisible\":true,\"boxShadow\":\"none\",\"isDerived\":true,\"computedValue\":\"\",\"onClick\":\"{{showModal(Delete_Modal.name)}}\",\"buttonColor\":\"#DD4B34\",\"buttonStyle\":\"rgb(3, 179, 101)\",\"index\":5,\"isVisible\":true,\"label\":\"Delete\",\"labelColor\":\"#FFFFFF\",\"buttonLabel\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}\",\"columnType\":\"button\",\"borderRadius\":\"0px\",\"menuColor\":\"#03B365\",\"width\":150,\"enableFilter\":true,\"enableSort\":true,\"id\":\"customColumn1\",\"isDisabled\":false,\"buttonLabelColor\":\"#FFFFFF\"}},\"labelTextSize\":\"0.875rem\",\"rightColumn\":64,\"textSize\":\"0.875rem\",\"widgetId\":\"hpy3pb4xft\",\"enableServerSideFiltering\":false,\"tableData\":\"{{SelectQuery.data}}\",\"label\":\"Data\",\"searchKey\":\"\",\"parentId\":\"59rw5mx0bq\",\"serverSidePaginationEnabled\":true,\"renderMode\":\"CANVAS\",\"horizontalAlignment\":\"LEFT\",\"isVisibleSearch\":true,\"isVisiblePagination\":true,\"verticalAlignment\":\"CENTER\"}],\"parentId\":\"59rw5mx0bq\"},{\"widgetId\":\"urzv99hdc8\",\"list\":[{\"boxShadow\":\"none\",\"widgetName\":\"Text16\",\"dynamicPropertyPathList\":[{\"key\":\"fontSize\"}],\"topRow\":1,\"bottomRow\":5,\"parentRowSpace\":10,\"type\":\"TEXT_WIDGET\",\"parentColumnSpace\":11.78515625,\"dynamicTriggerPathList\":[],\"overflow\":\"NONE\",\"fontFamily\":\"{{appsmith.theme.fontFamily.appFont}}\",\"leftColumn\":0,\"dynamicBindingPathList\":[{\"key\":\"fontFamily\"},{\"key\":\"text\"}],\"text\":\"public_users Data + {{JSObject1.addNumbers(3,7)}}\",\"labelTextSize\":\"0.875rem\",\"rightColumn\":54,\"textAlign\":\"LEFT\",\"dynamicHeight\":\"FIXED\",\"widgetId\":\"urzv99hdc8\",\"isVisible\":\"true\",\"fontStyle\":\"BOLD\",\"textColor\":\"#231F20\",\"version\":1,\"parentId\":\"59rw5mx0bq\",\"isLoading\":false,\"borderRadius\":\"0px\",\"maxDynamicHeight\":9000,\"fontSize\":\"1.5rem\",\"minDynamicHeight\":4}],\"parentId\":\"59rw5mx0bq\"},{\"widgetId\":\"xp5u9a9nzq\",\"list\":[{\"labelTextSize\":\"0.875rem\",\"boxShadow\":\"none\",\"widgetName\":\"refresh_btn\",\"rightColumn\":64,\"onClick\":\"{{SelectQuery.run()}}\",\"iconName\":\"refresh\",\"buttonColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"widgetId\":\"xp5u9a9nzq\",\"topRow\":1,\"bottomRow\":5,\"parentRowSpace\":10,\"isVisible\":\"true\",\"type\":\"ICON_BUTTON_WIDGET\",\"version\":1,\"parentId\":\"59rw5mx0bq\",\"isLoading\":false,\"parentColumnSpace\":12.0703125,\"dynamicTriggerPathList\":[{\"key\":\"onClick\"}],\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"leftColumn\":60,\"dynamicBindingPathList\":[{\"key\":\"buttonColor\"},{\"key\":\"borderRadius\"}],\"buttonVariant\":\"PRIMARY\",\"isDisabled\":false}],\"parentId\":\"59rw5mx0bq\"},{\"widgetId\":\"nh3cu4lb1g\",\"list\":[{\"labelTextSize\":\"0.875rem\",\"boxShadow\":\"none\",\"widgetName\":\"add_btn\",\"rightColumn\":59,\"onClick\":\"{{showModal(Insert_Modal.name)}}\",\"iconName\":\"add\",\"buttonColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"widgetId\":\"nh3cu4lb1g\",\"topRow\":1,\"bottomRow\":5,\"parentRowSpace\":10,\"isVisible\":\"true\",\"type\":\"ICON_BUTTON_WIDGET\",\"version\":1,\"parentId\":\"59rw5mx0bq\",\"isLoading\":false,\"parentColumnSpace\":12.0703125,\"dynamicTriggerPathList\":[{\"key\":\"onClick\"}],\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"leftColumn\":55,\"dynamicBindingPathList\":[{\"key\":\"buttonColor\"},{\"key\":\"borderRadius\"}],\"buttonVariant\":\"PRIMARY\",\"isDisabled\":false}],\"parentId\":\"59rw5mx0bq\"},{\"widgetId\":\"35yoxo4oec\",\"list\":[{\"boxShadow\":\"none\",\"widgetName\":\"Alert_text\",\"dynamicPropertyPathList\":[{\"key\":\"fontSize\"}],\"topRow\":1,\"bottomRow\":5,\"type\":\"TEXT_WIDGET\",\"dynamicTriggerPathList\":[],\"overflow\":\"NONE\",\"fontFamily\":\"System Default\",\"leftColumn\":1,\"dynamicBindingPathList\":[],\"text\":\"Delete Row\",\"labelTextSize\":\"0.875rem\",\"rightColumn\":41,\"textAlign\":\"LEFT\",\"dynamicHeight\":\"FIXED\",\"widgetId\":\"35yoxo4oec\",\"isVisible\":\"true\",\"fontStyle\":\"BOLD\",\"textColor\":\"#231F20\",\"version\":1,\"parentId\":\"zi8fjakv8o\",\"isLoading\":false,\"borderRadius\":\"0px\",\"maxDynamicHeight\":9000,\"fontSize\":\"1.5rem\",\"minDynamicHeight\":4}],\"parentId\":\"zi8fjakv8o\"},{\"widgetId\":\"lryg8kw537\",\"list\":[{\"boxShadow\":\"none\",\"widgetName\":\"Button1\",\"onClick\":\"{{closeModal(Delete_Modal.name)}}\",\"dynamicPropertyPathList\":[],\"buttonColor\":\"#2E3D49\",\"topRow\":17,\"bottomRow\":21,\"type\":\"BUTTON_WIDGET\",\"dynamicTriggerPathList\":[{\"key\":\"onClick\"}],\"leftColumn\":34,\"dynamicBindingPathList\":[{\"key\":\"borderRadius\"}],\"text\":\"Cancel\",\"isDisabled\":false,\"labelTextSize\":\"0.875rem\",\"rightColumn\":46,\"isDefaultClickDisabled\":true,\"widgetId\":\"lryg8kw537\",\"isVisible\":\"true\",\"version\":1,\"recaptchaType\":\"V3\",\"parentId\":\"zi8fjakv8o\",\"isLoading\":false,\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"buttonVariant\":\"TERTIARY\"}],\"parentId\":\"zi8fjakv8o\"},{\"widgetId\":\"qq02lh7ust\",\"list\":[{\"boxShadow\":\"none\",\"widgetName\":\"Delete_Button\",\"onClick\":\"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal(Delete_Modal.name)), () => {})}}\",\"dynamicPropertyPathList\":[{\"key\":\"onClick\"}],\"buttonColor\":\"#DD4B34\",\"topRow\":17,\"bottomRow\":21,\"type\":\"BUTTON_WIDGET\",\"dynamicTriggerPathList\":[{\"key\":\"onClick\"}],\"leftColumn\":46,\"dynamicBindingPathList\":[{\"key\":\"borderRadius\"}],\"text\":\"Confirm\",\"isDisabled\":false,\"labelTextSize\":\"0.875rem\",\"rightColumn\":64,\"isDefaultClickDisabled\":true,\"widgetId\":\"qq02lh7ust\",\"isVisible\":\"true\",\"version\":1,\"recaptchaType\":\"V3\",\"parentId\":\"zi8fjakv8o\",\"isLoading\":false,\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"buttonVariant\":\"PRIMARY\"}],\"parentId\":\"zi8fjakv8o\"},{\"widgetId\":\"48uac29g6e\",\"list\":[{\"boxShadow\":\"none\",\"widgetName\":\"Text12\",\"topRow\":8,\"bottomRow\":12,\"parentRowSpace\":10,\"type\":\"TEXT_WIDGET\",\"parentColumnSpace\":6.875,\"dynamicTriggerPathList\":[],\"overflow\":\"NONE\",\"fontFamily\":\"System Default\",\"leftColumn\":1,\"dynamicBindingPathList\":[],\"text\":\"Are you sure you want to delete this item?\",\"labelTextSize\":\"0.875rem\",\"rightColumn\":63,\"textAlign\":\"LEFT\",\"dynamicHeight\":\"FIXED\",\"widgetId\":\"48uac29g6e\",\"isVisible\":\"true\",\"fontStyle\":\"\",\"textColor\":\"#231F20\",\"version\":1,\"parentId\":\"zi8fjakv8o\",\"isLoading\":false,\"borderRadius\":\"0px\",\"maxDynamicHeight\":9000,\"fontSize\":\"1rem\",\"minDynamicHeight\":4}],\"parentId\":\"zi8fjakv8o\"},{\"widgetId\":\"o8oiq6vwkk\",\"list\":[{\"schema\":{\"__root_schema__\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"__root_schema__\",\"boxShadow\":\"none\",\"isRequired\":false,\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"dataType\":\"object\",\"cellBorderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accessor\":\"__root_schema__\",\"isVisible\":true,\"label\":\"\",\"originalIdentifier\":\"__root_schema__\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{\"col8\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col8\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col8))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col8\",\"isVisible\":true,\"label\":\"Col 8\",\"originalIdentifier\":\"col8\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":7,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col12\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col12\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col12))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col12\",\"isVisible\":true,\"label\":\"Col 12\",\"originalIdentifier\":\"col12\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":11,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col9\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col9\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col9))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col9\",\"isVisible\":true,\"label\":\"Col 9\",\"originalIdentifier\":\"col9\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":8,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col11\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col11\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col11))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col11\",\"isVisible\":true,\"label\":\"Col 11\",\"originalIdentifier\":\"col11\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":10,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col6\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col6\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col6))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col6\",\"isVisible\":true,\"label\":\"Col 6\",\"originalIdentifier\":\"col6\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":5,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col10\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col10\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col10))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col10\",\"isVisible\":true,\"label\":\"Col 10\",\"originalIdentifier\":\"col10\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":9,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col7\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col7\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col7))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col7\",\"isVisible\":true,\"label\":\"Col 7\",\"originalIdentifier\":\"col7\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":6,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col4\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col4\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"boolean\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col4\",\"isVisible\":true,\"label\":\"Col 4\",\"alignWidget\":\"LEFT\",\"originalIdentifier\":\"col4\",\"borderRadius\":\"0px\",\"children\":{},\"position\":3,\"isDisabled\":false,\"sourceData\":true,\"cellBoxShadow\":\"none\",\"fieldType\":\"Switch\"},\"col5\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col5\",\"boxShadow\":\"none\",\"isRequired\":false,\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"number\",\"accessor\":\"col5\",\"isVisible\":true,\"label\":\"Col 5\",\"originalIdentifier\":\"col5\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":4,\"isDisabled\":false,\"fieldType\":\"Number Input\"},\"col2\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col2\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"string\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col2\",\"isVisible\":true,\"label\":\"Col 2\",\"originalIdentifier\":\"col2\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":1,\"isDisabled\":false,\"sourceData\":\"skill B\",\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col3\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col3\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"number\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col3\",\"isVisible\":true,\"label\":\"Col 3\",\"originalIdentifier\":\"col3\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":2,\"isDisabled\":false,\"sourceData\":9,\"cellBoxShadow\":\"none\",\"fieldType\":\"Number Input\"},\"col1\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col1\",\"boxShadow\":\"none\",\"isRequired\":false,\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"number\",\"accessor\":\"col1\",\"isVisible\":true,\"label\":\"Col 1\",\"originalIdentifier\":\"col1\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":0,\"isDisabled\":false,\"sourceData\":5,\"fieldType\":\"Number Input\"}},\"position\":-1,\"isDisabled\":false,\"sourceData\":{\"col4\":true,\"col2\":\"skill B\",\"col3\":9,\"col1\":5},\"cellBoxShadow\":\"none\",\"fieldType\":\"Object\"}},\"boxShadow\":\"none\",\"widgetName\":\"insert_form\",\"submitButtonStyles\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"buttonColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"buttonVariant\":\"PRIMARY\"},\"dynamicPropertyPathList\":[{\"key\":\"schema.__root_schema__.children.date_of_birth.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col5.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col4.defaultValue\"},{\"key\":\"onSubmit\"}],\"displayName\":\"JSON Form\",\"iconSVG\":\"/static/media/icon.6bacf7df.svg\",\"onSubmit\":\"{{InsertQuery.run(\\n\\t() => SelectQuery.run()\\n\\t\\t\\t\\t\\t.then(() => closeModal(Insert_Modal.name)), \\n\\t(error) => showAlert(`Error while inserting resource!\\\\n ${error}`,'error'))\\n}}\",\"topRow\":0,\"bottomRow\":81,\"fieldLimitExceeded\":false,\"parentRowSpace\":10,\"title\":\"Insert Row\",\"type\":\"JSON_FORM_WIDGET\",\"hideCard\":false,\"animateLoading\":true,\"parentColumnSpace\":8.125,\"dynamicTriggerPathList\":[{\"key\":\"onSubmit\"}],\"leftColumn\":0,\"dynamicBindingPathList\":[{\"key\":\"schema.__root_schema__.defaultValue\"},{\"key\":\"sourceData\"},{\"key\":\"schema.__root_schema__.children.col3.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col4.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col5.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col2.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col6.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col7.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col8.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col9.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col10.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col11.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col12.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col5.accentColor\"},{\"key\":\"schema.__root_schema__.children.col5.borderRadius\"},{\"key\":\"schema.__root_schema__.borderRadius\"},{\"key\":\"schema.__root_schema__.cellBorderRadius\"},{\"key\":\"schema.__root_schema__.children.col1.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col1.accentColor\"},{\"key\":\"schema.__root_schema__.children.col1.borderRadius\"},{\"key\":\"borderRadius\"},{\"key\":\"submitButtonStyles.buttonColor\"},{\"key\":\"submitButtonStyles.borderRadius\"},{\"key\":\"resetButtonStyles.borderRadius\"},{\"key\":\"resetButtonStyles.buttonColor\"},{\"key\":\"schema.__root_schema__.children.col2.accentColor\"},{\"key\":\"schema.__root_schema__.children.col2.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col3.accentColor\"},{\"key\":\"schema.__root_schema__.children.col3.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col4.accentColor\"},{\"key\":\"schema.__root_schema__.children.col6.accentColor\"},{\"key\":\"schema.__root_schema__.children.col6.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col7.accentColor\"},{\"key\":\"schema.__root_schema__.children.col7.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col8.accentColor\"},{\"key\":\"schema.__root_schema__.children.col8.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col9.accentColor\"},{\"key\":\"schema.__root_schema__.children.col9.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col10.accentColor\"},{\"key\":\"schema.__root_schema__.children.col10.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col11.accentColor\"},{\"key\":\"schema.__root_schema__.children.col11.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col12.accentColor\"},{\"key\":\"schema.__root_schema__.children.col12.borderRadius\"}],\"sourceData\":\"{{_.omit(data_table.tableData[0], \\\"customColumn1\\\", \\\"id\\\")}}\",\"showReset\":true,\"resetButtonLabel\":\"Reset\",\"key\":\"h9l9ozr8op\",\"labelTextSize\":\"0.875rem\",\"backgroundColor\":\"#fff\",\"rightColumn\":64,\"dynamicHeight\":\"FIXED\",\"autoGenerateForm\":true,\"widgetId\":\"o8oiq6vwkk\",\"resetButtonStyles\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"buttonColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"buttonVariant\":\"SECONDARY\"},\"isVisible\":\"true\",\"version\":1,\"parentId\":\"9rhv3ioohq\",\"renderMode\":\"CANVAS\",\"isLoading\":false,\"scrollContents\":true,\"fixedFooter\":true,\"submitButtonLabel\":\"Submit\",\"childStylesheet\":{\"CHECKBOX\":{\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"ARRAY\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"cellBorderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"cellBoxShadow\":\"none\"},\"CURRENCY_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"DATEPICKER\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"PHONE_NUMBER_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"OBJECT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"cellBorderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"cellBoxShadow\":\"none\"},\"MULTISELECT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"SELECT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"NUMBER_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"PASSWORD_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"EMAIL_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"RADIO_GROUP\":{\"boxShadow\":\"none\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"SWITCH\":{\"boxShadow\":\"none\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"TEXT_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"MULTILINE_TEXT_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"}},\"disabledWhenInvalid\":true,\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"maxDynamicHeight\":9000,\"minDynamicHeight\":4}],\"parentId\":\"9rhv3ioohq\"}],\"flexLayers\":[]}"} \ No newline at end of file +{"artifactJsonType":"APPLICATION","clientSchemaVersion":1,"serverSchemaVersion":7,"widgets":"{\"widgets\":[{\"hierarchy\":4,\"list\":[{\"boxShadow\":\"{{appsmith.theme.boxShadow.appBoxShadow}}\",\"onSort\":\"{{SelectQuery.run()}}\",\"isVisibleDownload\":true,\"iconSVG\":\"/static/media/icon.db8a9cbd.svg\",\"topRow\":6,\"isSortable\":true,\"onPageChange\":\"{{SelectQuery.run()}}\",\"type\":\"TABLE_WIDGET_V2\",\"animateLoading\":true,\"dynamicBindingPathList\":[{\"key\":\"tableData\"},{\"key\":\"derivedColumns.customColumn1.buttonLabel\"},{\"key\":\"primaryColumns.customColumn1.buttonLabel\"},{\"key\":\"accentColor\"},{\"key\":\"borderRadius\"},{\"key\":\"boxShadow\"},{\"key\":\"primaryColumns.customColumn1.borderRadius\"},{\"key\":\"primaryColumns.id.computedValue\"},{\"key\":\"primaryColumns.gender.computedValue\"},{\"key\":\"primaryColumns.latitude.computedValue\"},{\"key\":\"primaryColumns.longitude.computedValue\"},{\"key\":\"primaryColumns.dob.computedValue\"},{\"key\":\"primaryColumns.phone.computedValue\"},{\"key\":\"primaryColumns.email.computedValue\"},{\"key\":\"primaryColumns.image.computedValue\"},{\"key\":\"primaryColumns.country.computedValue\"},{\"key\":\"primaryColumns.name.computedValue\"},{\"key\":\"primaryColumns.created_at.computedValue\"},{\"key\":\"primaryColumns.updated_at.computedValue\"}],\"leftColumn\":0,\"delimiter\":\",\",\"defaultSelectedRowIndex\":\"0\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"isVisibleFilters\":true,\"isVisible\":\"true\",\"enableClientSideSearch\":true,\"version\":3,\"totalRecordsCount\":0,\"isLoading\":false,\"onSearchTextChanged\":\"{{SelectQuery.run()}}\",\"childStylesheet\":{\"button\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"buttonColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"iconButton\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"menuColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"menuButton\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"menuColor\":\"{{appsmith.theme.colors.primaryColor}}\"}},\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"columnUpdatedAt\":1704697943255,\"primaryColumnId\":\"id\",\"columnSizeMap\":{\"task\":245,\"step\":62,\"status\":75},\"widgetName\":\"data_table\",\"defaultPageSize\":0,\"columnOrder\":[\"id\",\"gender\",\"latitude\",\"longitude\",\"dob\",\"phone\",\"email\",\"image\",\"country\",\"name\",\"created_at\",\"updated_at\",\"customColumn1\"],\"dynamicPropertyPathList\":[{\"key\":\"primaryColumns.customColumn1.borderRadius\"},{\"key\":\"tableData\"}],\"displayName\":\"Table\",\"bottomRow\":85,\"parentRowSpace\":10,\"hideCard\":false,\"parentColumnSpace\":16.3125,\"dynamicTriggerPathList\":[{\"key\":\"primaryColumns.customColumn1.onClick\"},{\"key\":\"onPageChange\"},{\"key\":\"onSearchTextChanged\"},{\"key\":\"onSort\"}],\"primaryColumns\":{\"customColumn1\":{\"isCellVisible\":true,\"boxShadow\":\"none\",\"isDerived\":true,\"computedValue\":\"\",\"onClick\":\"{{showModal('Delete_Modal')}}\",\"buttonColor\":\"#DD4B34\",\"buttonStyle\":\"rgb(3, 179, 101)\",\"index\":5,\"isVisible\":true,\"label\":\"Delete\",\"labelColor\":\"#FFFFFF\",\"buttonLabel\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}\",\"columnType\":\"button\",\"borderRadius\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( appsmith.theme.borderRadius.appBorderRadius))}}\",\"menuColor\":\"#03B365\",\"width\":150,\"enableFilter\":true,\"enableSort\":true,\"id\":\"customColumn1\",\"isDisabled\":false,\"buttonLabelColor\":\"#FFFFFF\",\"sticky\":\"right\"},\"id\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":0,\"width\":150,\"originalId\":\"id\",\"id\":\"id\",\"alias\":\"id\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"number\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"id\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"id\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"gender\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":1,\"width\":150,\"originalId\":\"gender\",\"id\":\"gender\",\"alias\":\"gender\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"gender\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"gender\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"latitude\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":2,\"width\":150,\"originalId\":\"latitude\",\"id\":\"latitude\",\"alias\":\"latitude\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"latitude\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"latitude\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"longitude\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":3,\"width\":150,\"originalId\":\"longitude\",\"id\":\"longitude\",\"alias\":\"longitude\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"longitude\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"longitude\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"dob\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":4,\"width\":150,\"originalId\":\"dob\",\"id\":\"dob\",\"alias\":\"dob\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"date\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"dob\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"dob\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"phone\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":5,\"width\":150,\"originalId\":\"phone\",\"id\":\"phone\",\"alias\":\"phone\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"phone\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"phone\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"email\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":6,\"width\":150,\"originalId\":\"email\",\"id\":\"email\",\"alias\":\"email\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"email\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"email\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"image\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":7,\"width\":150,\"originalId\":\"image\",\"id\":\"image\",\"alias\":\"image\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"image\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"image\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"country\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":8,\"width\":150,\"originalId\":\"country\",\"id\":\"country\",\"alias\":\"country\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"country\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"country\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"name\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":9,\"width\":150,\"originalId\":\"name\",\"id\":\"name\",\"alias\":\"name\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"name\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"name\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"created_at\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":10,\"width\":150,\"originalId\":\"created_at\",\"id\":\"created_at\",\"alias\":\"created_at\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"created_at\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"created_at\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"},\"updated_at\":{\"allowCellWrapping\":false,\"allowSameOptionsInNewRow\":true,\"index\":11,\"width\":150,\"originalId\":\"updated_at\",\"id\":\"updated_at\",\"alias\":\"updated_at\",\"horizontalAlignment\":\"LEFT\",\"verticalAlignment\":\"CENTER\",\"columnType\":\"text\",\"textColor\":\"\",\"textSize\":\"0.875rem\",\"fontStyle\":\"\",\"enableFilter\":true,\"enableSort\":true,\"isVisible\":true,\"isDisabled\":false,\"isCellEditable\":false,\"isEditable\":false,\"isCellVisible\":true,\"isDerived\":false,\"label\":\"updated_at\",\"isSaveVisible\":true,\"isDiscardVisible\":true,\"computedValue\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( currentRow[\\\"updated_at\\\"]))}}\",\"sticky\":\"\",\"validation\":{},\"currencyCode\":\"USD\",\"decimals\":0,\"thousandSeparator\":true,\"notation\":\"standard\",\"cellBackground\":\"\"}},\"key\":\"zba5qel0au\",\"derivedColumns\":{\"customColumn1\":{\"isCellVisible\":true,\"boxShadow\":\"none\",\"isDerived\":true,\"computedValue\":\"\",\"onClick\":\"{{showModal('Delete_Modal')}}\",\"buttonColor\":\"#DD4B34\",\"buttonStyle\":\"rgb(3, 179, 101)\",\"index\":5,\"isVisible\":true,\"label\":\"Delete\",\"labelColor\":\"#FFFFFF\",\"buttonLabel\":\"{{data_table.processedTableData.map((currentRow, currentIndex) => ( 'Delete'))}}\",\"columnType\":\"button\",\"borderRadius\":\"0px\",\"menuColor\":\"#03B365\",\"width\":150,\"enableFilter\":true,\"enableSort\":true,\"id\":\"customColumn1\",\"isDisabled\":false,\"buttonLabelColor\":\"#FFFFFF\"}},\"labelTextSize\":\"0.875rem\",\"rightColumn\":64,\"textSize\":\"0.875rem\",\"widgetId\":\"hpy3pb4xft\",\"enableServerSideFiltering\":false,\"tableData\":\"{{SelectQuery.data}}\",\"label\":\"Data\",\"searchKey\":\"\",\"parentId\":\"59rw5mx0bq\",\"serverSidePaginationEnabled\":true,\"renderMode\":\"CANVAS\",\"horizontalAlignment\":\"LEFT\",\"isVisibleSearch\":true,\"isVisiblePagination\":true,\"verticalAlignment\":\"CENTER\"}],\"parentId\":\"59rw5mx0bq\",\"widgetId\":\"hpy3pb4xft\",\"widgetPositionInfo\":null},{\"hierarchy\":4,\"list\":[{\"boxShadow\":\"none\",\"widgetName\":\"Text16\",\"dynamicPropertyPathList\":[{\"key\":\"fontSize\"}],\"topRow\":1,\"bottomRow\":5,\"parentRowSpace\":10,\"type\":\"TEXT_WIDGET\",\"parentColumnSpace\":11.78515625,\"dynamicTriggerPathList\":[],\"overflow\":\"NONE\",\"fontFamily\":\"{{appsmith.theme.fontFamily.appFont}}\",\"leftColumn\":0,\"dynamicBindingPathList\":[{\"key\":\"fontFamily\"},{\"key\":\"text\"}],\"text\":\"public_users Data + {{JSObject1.addNumbers(3,7)}}\",\"labelTextSize\":\"0.875rem\",\"rightColumn\":54,\"textAlign\":\"LEFT\",\"dynamicHeight\":\"FIXED\",\"widgetId\":\"urzv99hdc8\",\"isVisible\":\"true\",\"fontStyle\":\"BOLD\",\"textColor\":\"#231F20\",\"version\":1,\"parentId\":\"59rw5mx0bq\",\"isLoading\":false,\"borderRadius\":\"0px\",\"maxDynamicHeight\":9000,\"fontSize\":\"1.5rem\",\"minDynamicHeight\":4}],\"parentId\":\"59rw5mx0bq\",\"widgetId\":\"urzv99hdc8\",\"widgetPositionInfo\":null},{\"hierarchy\":4,\"list\":[{\"labelTextSize\":\"0.875rem\",\"boxShadow\":\"none\",\"widgetName\":\"refresh_btn\",\"rightColumn\":64,\"onClick\":\"{{SelectQuery.run()}}\",\"iconName\":\"refresh\",\"buttonColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"widgetId\":\"xp5u9a9nzq\",\"topRow\":1,\"bottomRow\":5,\"parentRowSpace\":10,\"isVisible\":\"true\",\"type\":\"ICON_BUTTON_WIDGET\",\"version\":1,\"parentId\":\"59rw5mx0bq\",\"isLoading\":false,\"parentColumnSpace\":12.0703125,\"dynamicTriggerPathList\":[{\"key\":\"onClick\"}],\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"leftColumn\":60,\"dynamicBindingPathList\":[{\"key\":\"buttonColor\"},{\"key\":\"borderRadius\"}],\"buttonVariant\":\"PRIMARY\",\"isDisabled\":false}],\"parentId\":\"59rw5mx0bq\",\"widgetId\":\"xp5u9a9nzq\",\"widgetPositionInfo\":null},{\"hierarchy\":4,\"list\":[{\"labelTextSize\":\"0.875rem\",\"boxShadow\":\"none\",\"widgetName\":\"add_btn\",\"rightColumn\":59,\"onClick\":\"{{showModal('Insert_Modal')}}\",\"iconName\":\"add\",\"buttonColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"widgetId\":\"nh3cu4lb1g\",\"topRow\":1,\"bottomRow\":5,\"parentRowSpace\":10,\"isVisible\":\"true\",\"type\":\"ICON_BUTTON_WIDGET\",\"version\":1,\"parentId\":\"59rw5mx0bq\",\"isLoading\":false,\"parentColumnSpace\":12.0703125,\"dynamicTriggerPathList\":[{\"key\":\"onClick\"}],\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"leftColumn\":55,\"dynamicBindingPathList\":[{\"key\":\"buttonColor\"},{\"key\":\"borderRadius\"}],\"buttonVariant\":\"PRIMARY\",\"isDisabled\":false}],\"parentId\":\"59rw5mx0bq\",\"widgetId\":\"nh3cu4lb1g\",\"widgetPositionInfo\":null},{\"hierarchy\":4,\"list\":[{\"boxShadow\":\"none\",\"widgetName\":\"Alert_text\",\"dynamicPropertyPathList\":[{\"key\":\"fontSize\"}],\"topRow\":1,\"bottomRow\":5,\"type\":\"TEXT_WIDGET\",\"dynamicTriggerPathList\":[],\"overflow\":\"NONE\",\"fontFamily\":\"System Default\",\"leftColumn\":1,\"dynamicBindingPathList\":[],\"text\":\"Delete Row\",\"labelTextSize\":\"0.875rem\",\"rightColumn\":41,\"textAlign\":\"LEFT\",\"dynamicHeight\":\"FIXED\",\"widgetId\":\"35yoxo4oec\",\"isVisible\":\"true\",\"fontStyle\":\"BOLD\",\"textColor\":\"#231F20\",\"version\":1,\"parentId\":\"zi8fjakv8o\",\"isLoading\":false,\"borderRadius\":\"0px\",\"maxDynamicHeight\":9000,\"fontSize\":\"1.5rem\",\"minDynamicHeight\":4}],\"parentId\":\"zi8fjakv8o\",\"widgetId\":\"35yoxo4oec\",\"widgetPositionInfo\":null},{\"hierarchy\":4,\"list\":[{\"boxShadow\":\"none\",\"widgetName\":\"Button1\",\"onClick\":\"{{closeModal('Delete_Modal')}}\",\"dynamicPropertyPathList\":[],\"buttonColor\":\"#2E3D49\",\"topRow\":17,\"bottomRow\":21,\"type\":\"BUTTON_WIDGET\",\"dynamicTriggerPathList\":[{\"key\":\"onClick\"}],\"leftColumn\":34,\"dynamicBindingPathList\":[{\"key\":\"borderRadius\"}],\"text\":\"Cancel\",\"isDisabled\":false,\"labelTextSize\":\"0.875rem\",\"rightColumn\":46,\"isDefaultClickDisabled\":true,\"widgetId\":\"lryg8kw537\",\"isVisible\":\"true\",\"version\":1,\"recaptchaType\":\"V3\",\"parentId\":\"zi8fjakv8o\",\"isLoading\":false,\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"buttonVariant\":\"TERTIARY\"}],\"parentId\":\"zi8fjakv8o\",\"widgetId\":\"lryg8kw537\",\"widgetPositionInfo\":null},{\"hierarchy\":4,\"list\":[{\"boxShadow\":\"none\",\"widgetName\":\"Delete_Button\",\"onClick\":\"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}\",\"dynamicPropertyPathList\":[{\"key\":\"onClick\"}],\"buttonColor\":\"#DD4B34\",\"topRow\":17,\"bottomRow\":21,\"type\":\"BUTTON_WIDGET\",\"dynamicTriggerPathList\":[{\"key\":\"onClick\"}],\"leftColumn\":46,\"dynamicBindingPathList\":[{\"key\":\"borderRadius\"}],\"text\":\"Confirm\",\"isDisabled\":false,\"labelTextSize\":\"0.875rem\",\"rightColumn\":64,\"isDefaultClickDisabled\":true,\"widgetId\":\"qq02lh7ust\",\"isVisible\":\"true\",\"version\":1,\"recaptchaType\":\"V3\",\"parentId\":\"zi8fjakv8o\",\"isLoading\":false,\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"buttonVariant\":\"PRIMARY\"}],\"parentId\":\"zi8fjakv8o\",\"widgetId\":\"qq02lh7ust\",\"widgetPositionInfo\":null},{\"hierarchy\":4,\"list\":[{\"boxShadow\":\"none\",\"widgetName\":\"Text12\",\"topRow\":8,\"bottomRow\":12,\"parentRowSpace\":10,\"type\":\"TEXT_WIDGET\",\"parentColumnSpace\":6.875,\"dynamicTriggerPathList\":[],\"overflow\":\"NONE\",\"fontFamily\":\"System Default\",\"leftColumn\":1,\"dynamicBindingPathList\":[],\"text\":\"Are you sure you want to delete this item?\",\"labelTextSize\":\"0.875rem\",\"rightColumn\":63,\"textAlign\":\"LEFT\",\"dynamicHeight\":\"FIXED\",\"widgetId\":\"48uac29g6e\",\"isVisible\":\"true\",\"fontStyle\":\"\",\"textColor\":\"#231F20\",\"version\":1,\"parentId\":\"zi8fjakv8o\",\"isLoading\":false,\"borderRadius\":\"0px\",\"maxDynamicHeight\":9000,\"fontSize\":\"1rem\",\"minDynamicHeight\":4}],\"parentId\":\"zi8fjakv8o\",\"widgetId\":\"48uac29g6e\",\"widgetPositionInfo\":null},{\"hierarchy\":4,\"list\":[{\"schema\":{\"__root_schema__\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"__root_schema__\",\"boxShadow\":\"none\",\"isRequired\":false,\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"dataType\":\"object\",\"cellBorderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accessor\":\"__root_schema__\",\"isVisible\":true,\"label\":\"\",\"originalIdentifier\":\"__root_schema__\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{\"col8\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col8\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col8))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col8\",\"isVisible\":true,\"label\":\"Col 8\",\"originalIdentifier\":\"col8\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":7,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col12\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col12\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col12))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col12\",\"isVisible\":true,\"label\":\"Col 12\",\"originalIdentifier\":\"col12\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":11,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col9\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col9\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col9))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col9\",\"isVisible\":true,\"label\":\"Col 9\",\"originalIdentifier\":\"col9\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":8,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col11\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col11\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col11))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col11\",\"isVisible\":true,\"label\":\"Col 11\",\"originalIdentifier\":\"col11\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":10,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col6\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col6\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col6))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col6\",\"isVisible\":true,\"label\":\"Col 6\",\"originalIdentifier\":\"col6\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":5,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col10\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col10\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col10))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col10\",\"isVisible\":true,\"label\":\"Col 10\",\"originalIdentifier\":\"col10\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":9,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col7\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col7\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col7))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"null\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col7\",\"isVisible\":true,\"label\":\"Col 7\",\"originalIdentifier\":\"col7\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":6,\"isDisabled\":false,\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col4\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col4\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"boolean\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col4\",\"isVisible\":true,\"label\":\"Col 4\",\"alignWidget\":\"LEFT\",\"originalIdentifier\":\"col4\",\"borderRadius\":\"0px\",\"children\":{},\"position\":3,\"isDisabled\":false,\"sourceData\":true,\"cellBoxShadow\":\"none\",\"fieldType\":\"Switch\"},\"col5\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col5\",\"boxShadow\":\"none\",\"isRequired\":false,\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"number\",\"accessor\":\"col5\",\"isVisible\":true,\"label\":\"Col 5\",\"originalIdentifier\":\"col5\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":4,\"isDisabled\":false,\"fieldType\":\"Number Input\"},\"col2\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col2\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col2))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"string\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col2\",\"isVisible\":true,\"label\":\"Col 2\",\"originalIdentifier\":\"col2\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":1,\"isDisabled\":false,\"sourceData\":\"skill B\",\"cellBoxShadow\":\"none\",\"fieldType\":\"Text Input\"},\"col3\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col3\",\"isRequired\":false,\"boxShadow\":\"none\",\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"number\",\"cellBorderRadius\":\"0px\",\"accessor\":\"col3\",\"isVisible\":true,\"label\":\"Col 3\",\"originalIdentifier\":\"col3\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":2,\"isDisabled\":false,\"sourceData\":9,\"cellBoxShadow\":\"none\",\"fieldType\":\"Number Input\"},\"col1\":{\"labelTextSize\":\"0.875rem\",\"identifier\":\"col1\",\"boxShadow\":\"none\",\"isRequired\":false,\"isCustomField\":false,\"defaultValue\":\"{{((sourceData, formData, fieldState) => (sourceData.col1))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"dataType\":\"number\",\"accessor\":\"col1\",\"isVisible\":true,\"label\":\"Col 1\",\"originalIdentifier\":\"col1\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"children\":{},\"isSpellCheck\":false,\"iconAlign\":\"left\",\"position\":0,\"isDisabled\":false,\"sourceData\":5,\"fieldType\":\"Number Input\"}},\"position\":-1,\"isDisabled\":false,\"sourceData\":{\"col4\":true,\"col2\":\"skill B\",\"col3\":9,\"col1\":5},\"cellBoxShadow\":\"none\",\"fieldType\":\"Object\"}},\"boxShadow\":\"none\",\"widgetName\":\"insert_form\",\"submitButtonStyles\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"buttonColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"buttonVariant\":\"PRIMARY\"},\"dynamicPropertyPathList\":[{\"key\":\"schema.__root_schema__.children.date_of_birth.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col5.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col4.defaultValue\"},{\"key\":\"onSubmit\"}],\"displayName\":\"JSON Form\",\"iconSVG\":\"/static/media/icon.6bacf7df.svg\",\"onSubmit\":\"{{InsertQuery.run(\\n\\t() => SelectQuery.run()\\n\\t\\t\\t\\t\\t.then(() => closeModal('Insert_Modal')), \\n\\t(error) => showAlert(`Error while inserting resource!\\\\n ${error}`,'error'))\\n}}\",\"topRow\":0,\"bottomRow\":81,\"fieldLimitExceeded\":false,\"parentRowSpace\":10,\"title\":\"Insert Row\",\"type\":\"JSON_FORM_WIDGET\",\"hideCard\":false,\"animateLoading\":true,\"parentColumnSpace\":8.125,\"dynamicTriggerPathList\":[{\"key\":\"onSubmit\"}],\"leftColumn\":0,\"dynamicBindingPathList\":[{\"key\":\"schema.__root_schema__.defaultValue\"},{\"key\":\"sourceData\"},{\"key\":\"schema.__root_schema__.children.col3.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col4.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col5.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col2.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col6.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col7.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col8.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col9.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col10.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col11.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col12.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col5.accentColor\"},{\"key\":\"schema.__root_schema__.children.col5.borderRadius\"},{\"key\":\"schema.__root_schema__.borderRadius\"},{\"key\":\"schema.__root_schema__.cellBorderRadius\"},{\"key\":\"schema.__root_schema__.children.col1.defaultValue\"},{\"key\":\"schema.__root_schema__.children.col1.accentColor\"},{\"key\":\"schema.__root_schema__.children.col1.borderRadius\"},{\"key\":\"borderRadius\"},{\"key\":\"submitButtonStyles.buttonColor\"},{\"key\":\"submitButtonStyles.borderRadius\"},{\"key\":\"resetButtonStyles.borderRadius\"},{\"key\":\"resetButtonStyles.buttonColor\"},{\"key\":\"schema.__root_schema__.children.col2.accentColor\"},{\"key\":\"schema.__root_schema__.children.col2.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col3.accentColor\"},{\"key\":\"schema.__root_schema__.children.col3.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col4.accentColor\"},{\"key\":\"schema.__root_schema__.children.col6.accentColor\"},{\"key\":\"schema.__root_schema__.children.col6.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col7.accentColor\"},{\"key\":\"schema.__root_schema__.children.col7.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col8.accentColor\"},{\"key\":\"schema.__root_schema__.children.col8.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col9.accentColor\"},{\"key\":\"schema.__root_schema__.children.col9.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col10.accentColor\"},{\"key\":\"schema.__root_schema__.children.col10.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col11.accentColor\"},{\"key\":\"schema.__root_schema__.children.col11.borderRadius\"},{\"key\":\"schema.__root_schema__.children.col12.accentColor\"},{\"key\":\"schema.__root_schema__.children.col12.borderRadius\"}],\"sourceData\":\"{{_.omit(data_table.tableData[0], \\\"customColumn1\\\", \\\"id\\\")}}\",\"showReset\":true,\"resetButtonLabel\":\"Reset\",\"key\":\"h9l9ozr8op\",\"labelTextSize\":\"0.875rem\",\"backgroundColor\":\"#fff\",\"rightColumn\":64,\"dynamicHeight\":\"FIXED\",\"autoGenerateForm\":true,\"widgetId\":\"o8oiq6vwkk\",\"resetButtonStyles\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"buttonColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"buttonVariant\":\"SECONDARY\"},\"isVisible\":\"true\",\"version\":1,\"parentId\":\"9rhv3ioohq\",\"renderMode\":\"CANVAS\",\"isLoading\":false,\"scrollContents\":true,\"fixedFooter\":true,\"submitButtonLabel\":\"Submit\",\"childStylesheet\":{\"CHECKBOX\":{\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"ARRAY\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\",\"cellBorderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"cellBoxShadow\":\"none\"},\"CURRENCY_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"DATEPICKER\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"PHONE_NUMBER_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"OBJECT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"cellBorderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"cellBoxShadow\":\"none\"},\"MULTISELECT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"SELECT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"NUMBER_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"PASSWORD_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"EMAIL_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"RADIO_GROUP\":{\"boxShadow\":\"none\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"SWITCH\":{\"boxShadow\":\"none\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"TEXT_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"},\"MULTILINE_TEXT_INPUT\":{\"boxShadow\":\"none\",\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"accentColor\":\"{{appsmith.theme.colors.primaryColor}}\"}},\"disabledWhenInvalid\":true,\"borderRadius\":\"{{appsmith.theme.borderRadius.appBorderRadius}}\",\"maxDynamicHeight\":9000,\"minDynamicHeight\":4}],\"parentId\":\"9rhv3ioohq\",\"widgetId\":\"o8oiq6vwkk\",\"widgetPositionInfo\":null}],\"flexLayers\":[]}"} diff --git a/app/client/cypress/support/Pages/GitSync.ts b/app/client/cypress/support/Pages/GitSync.ts index 7dbbc5eed5a7..064762d07fd6 100644 --- a/app/client/cypress/support/Pages/GitSync.ts +++ b/app/client/cypress/support/Pages/GitSync.ts @@ -1,7 +1,10 @@ import { ObjectsRegistry } from "../Objects/Registry"; const GITHUB_API_BASE = "https://api.github.com"; //const GITEA_API_BASE = "http://35.154.225.218"; - +import { + createMessage, + UNABLE_TO_IMPORT_APP, +} from "../../../src/ce/constants/messages"; export class GitSync { public agHelper = ObjectsRegistry.AggregateHelper; public locator = ObjectsRegistry.CommonLocators; @@ -321,9 +324,7 @@ export class GitSync { assertCreateBranch && this.assertHelper.AssertNetworkStatus("createBranch", 201); this.agHelper.AssertElementAbsence( - this.locator._specificToast( - "Unable to import application in workspace", - ), + this.locator._specificToast(createMessage(UNABLE_TO_IMPORT_APP)), ); this.agHelper.WaitUntilEleAppear(this._branchName(branch + uid)); this.agHelper.AssertElementVisibility(this._branchName(branch + uid)); diff --git a/app/client/cypress/support/Pages/HomePage.ts b/app/client/cypress/support/Pages/HomePage.ts index fd9769926419..a7e6c454acd9 100644 --- a/app/client/cypress/support/Pages/HomePage.ts +++ b/app/client/cypress/support/Pages/HomePage.ts @@ -3,6 +3,11 @@ import HomePageLocators from "../../locators/HomePage"; import SignupPageLocators from "../../locators/SignupPage.json"; import { ObjectsRegistry } from "../Objects/Registry"; import { AppSidebar, PageLeftPane } from "./EditorNavigation"; +import { + createMessage, + IMPORT_APP_SUCCESSFUL, + UNABLE_TO_IMPORT_APP, +} from "../../../src/ce/constants/messages"; export class HomePage { private agHelper = ObjectsRegistry.AggregateHelper; private locator = ObjectsRegistry.CommonLocators; @@ -637,9 +642,11 @@ export class HomePage { cy.xpath(this._uploadFile).selectFile("cypress/fixtures/" + fixtureJson, { force: true, }); - this.agHelper.Sleep(3500); + this.agHelper.WaitUntilEleDisappear( + HomePageLocators.workspaceImportAppModal, + ); this.agHelper.AssertElementAbsence( - this.locator._specificToast("Unable to import application in workspace"), + this.locator._specificToast(createMessage(UNABLE_TO_IMPORT_APP)), ); } @@ -731,7 +738,7 @@ export class HomePage { } public AssertImportToast(timeout = 5000) { - this.agHelper.AssertContains("Application imported successfully"); + this.agHelper.AssertContains(createMessage(IMPORT_APP_SUCCESSFUL)); this.agHelper.Sleep(timeout); //for imported app to settle! cy.get(this.locator._loading).should("not.exist"); } diff --git a/app/client/cypress/support/gitSync.js b/app/client/cypress/support/gitSync.js index 3994de984547..4be48da02871 100644 --- a/app/client/cypress/support/gitSync.js +++ b/app/client/cypress/support/gitSync.js @@ -8,7 +8,10 @@ require("cypress-file-upload"); import gitSyncLocators from "../locators/gitSyncLocators"; import homePage from "../locators/HomePage"; import { ObjectsRegistry } from "./Objects/Registry"; - +import { + createMessage, + UNABLE_TO_IMPORT_APP, +} from "../../src/ce/constants/messages"; const gitSync = ObjectsRegistry.GitSync; const agHelper = ObjectsRegistry.AggregateHelper; const dataManager = ObjectsRegistry.DataManager; @@ -231,10 +234,7 @@ Cypress.Commands.add("gitDiscardChanges", () => { cy.contains(Cypress.env("MESSAGES").DISCARDING_AND_PULLING_CHANGES()); cy.validateToastMessage("Discarded changes successfully."); cy.wait(2000); - assertHelper.AssertContains( - "Unable to import application in workspace", - "not.exist", - ); + assertHelper.AssertContains(createMessage(UNABLE_TO_IMPORT_APP), "not.exist"); }); Cypress.Commands.add( diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts index 967ed1022af7..02b1631d02da 100644 --- a/app/client/src/ce/constants/messages.ts +++ b/app/client/src/ce/constants/messages.ts @@ -691,6 +691,12 @@ export const JS_ACTION_EXECUTION_ERROR = (jsFunctionName: string) => //Editor Page export const EDITOR_HEADER_SAVE_INDICATOR = () => "Saved"; +//Import Application Succesful +export const IMPORT_APP_SUCCESSFUL = () => "Application imported successfully"; +//Unable to import application in workspace +export const UNABLE_TO_IMPORT_APP = () => + "Unable to import application in workspace"; + //undo redo export const WIDGET_REMOVED = (widgetName: string) => `${widgetName} is removed`; diff --git a/app/client/src/ce/sagas/ApplicationSagas.tsx b/app/client/src/ce/sagas/ApplicationSagas.tsx index 8f7697be744f..27ade5638589 100644 --- a/app/client/src/ce/sagas/ApplicationSagas.tsx +++ b/app/client/src/ce/sagas/ApplicationSagas.tsx @@ -61,6 +61,7 @@ import AnalyticsUtil from "@appsmith/utils/AnalyticsUtil"; import { createMessage, ERROR_IMPORTING_APPLICATION_TO_WORKSPACE, + IMPORT_APP_SUCCESSFUL, } from "@appsmith/constants/messages"; import { APP_MODE } from "entities/App"; import type { Workspace } from "@appsmith/constants/workspaceConstants"; @@ -122,7 +123,6 @@ import { import equal from "fast-deep-equal"; import { getFromServerWhenNoPrefetchedResult } from "sagas/helper"; import { getIsAnvilLayoutEnabled } from "layoutSystems/anvil/integrations/selectors"; - export const getDefaultPageId = ( pages?: ApplicationPagePayload[], ): string | undefined => { @@ -791,7 +791,7 @@ export function* importApplicationSaga( } history.push(pageURL); - toast.show("Application imported successfully", { + toast.show(createMessage(IMPORT_APP_SUCCESSFUL), { kind: "success", }); } diff --git a/app/client/src/sagas/GitSyncSagas.ts b/app/client/src/sagas/GitSyncSagas.ts index a489e8e74d83..095689e541be 100644 --- a/app/client/src/sagas/GitSyncSagas.ts +++ b/app/client/src/sagas/GitSyncSagas.ts @@ -94,6 +94,7 @@ import { ERROR_GIT_INVALID_REMOTE, GIT_USER_UPDATED_SUCCESSFULLY, PROTECT_BRANCH_SUCCESS, + IMPORT_APP_SUCCESSFUL, } from "@appsmith/constants/messages"; import type { GitApplicationMetadata } from "@appsmith/api/ApplicationApi"; @@ -849,7 +850,7 @@ function* importAppFromGitSaga(action: ConnectToGitReduxAction) { pageId, }); history.push(pageURL); - toast.show("Application imported successfully", { + toast.show(createMessage(IMPORT_APP_SUCCESSFUL), { kind: "success", }); }