hash
stringlengths 40
40
| date
stringdate 2020-04-14 18:04:14
2025-03-25 16:48:49
| author
stringclasses 154
values | commit_message
stringlengths 15
172
| is_merge
bool 1
class | masked_commit_message
stringlengths 11
165
| type
stringclasses 7
values | git_diff
stringlengths 32
8.56M
|
|---|---|---|---|---|---|---|---|
96c95ce62a25a03dfd53d3f08cb38ade30bda14e
|
2023-05-25 10:58:41
|
Hetu Nandu
|
chore: Clean up unused and completed feature flags (#23062)
| false
|
Clean up unused and completed feature flags (#23062)
|
chore
|
diff --git a/app/client/cypress/fixtures/featureFlags.json b/app/client/cypress/fixtures/featureFlags.json
index 4b4206c61d6b..e5e8cfe5e466 100644
--- a/app/client/cypress/fixtures/featureFlags.json
+++ b/app/client/cypress/fixtures/featureFlags.json
@@ -4,16 +4,10 @@
"success": true
},
"data": {
- "LINTING": true,
- "MULTIPLAYER": false,
- "GIT": true,
- "APP_TEMPLATE": true,
- "TEMPLATES_PHASE_2": true,
- "RBAC": true,
- "PROPERTY_PANE_GROUPING": true,
- "AUDIT_LOGS": true,
- "JS_EDITOR": true,
- "GIT_IMPORT": true,
- "CONTEXT_SWITCHING": true
+ "DATASOURCE_ENVIRONMENTS": false,
+ "MULTIPLE_PANES": false,
+ "AUTO_LAYOUT": false,
+ "LAZY_CANVAS_RENDERING": false,
+ "ONE_CLICK_BINDING": false
}
}
diff --git a/app/client/src/components/formControls/utils.test.ts b/app/client/src/components/formControls/utils.test.ts
index 544b509eaf7a..e7d29baf1f47 100644
--- a/app/client/src/components/formControls/utils.test.ts
+++ b/app/client/src/components/formControls/utils.test.ts
@@ -289,13 +289,13 @@ describe("caculateIsHidden test", () => {
path: "name",
comparison: "EQUALS",
value: "Name",
- flagValue: "APP_TEMPLATE",
+ flagValue: "TEST_FLAG",
};
const hiddenFalsy: HiddenType = {
path: "name",
comparison: "EQUALS",
value: "Different Name",
- flagValue: "APP_TEMPLATE",
+ flagValue: "TEST_FLAG",
};
expect(caculateIsHidden(values, hiddenTruthy)).toBeTruthy();
expect(caculateIsHidden(values, hiddenFalsy)).toBeFalsy();
diff --git a/app/client/src/components/formControls/utils.ts b/app/client/src/components/formControls/utils.ts
index 72656d8bc7e6..b8a037d01319 100644
--- a/app/client/src/components/formControls/utils.ts
+++ b/app/client/src/components/formControls/utils.ts
@@ -194,7 +194,7 @@ export const caculateIsHidden = (
comparison = hiddenConfig.comparison;
}
- let flagValue: keyof FeatureFlags = "APP_TEMPLATE";
+ let flagValue: keyof FeatureFlags = "TEST_FLAG";
if ("flagValue" in hiddenConfig) {
flagValue = hiddenConfig.flagValue;
}
diff --git a/app/client/src/entities/FeatureFlags.ts b/app/client/src/entities/FeatureFlags.ts
index 1c7cbbf75b71..3a10fe031b8b 100644
--- a/app/client/src/entities/FeatureFlags.ts
+++ b/app/client/src/entities/FeatureFlags.ts
@@ -1,12 +1,5 @@
type FeatureFlags = {
- APP_TEMPLATE?: boolean;
- JS_EDITOR?: boolean;
- MULTIPLAYER?: boolean;
- SNIPPET?: boolean;
- TEMPLATES_PHASE_2?: boolean;
- RBAC?: boolean;
- CONTEXT_SWITCHING?: boolean;
- USAGE_AND_BILLING?: boolean;
+ TEST_FLAG?: boolean;
DATASOURCE_ENVIRONMENTS?: boolean;
MULTIPLE_PANES?: boolean;
AUTO_LAYOUT?: boolean;
diff --git a/app/client/src/pages/Editor/Explorer/Pages/AddPageContextMenu.tsx b/app/client/src/pages/Editor/Explorer/Pages/AddPageContextMenu.tsx
index 6a14c0ba2962..cc106b924458 100644
--- a/app/client/src/pages/Editor/Explorer/Pages/AddPageContextMenu.tsx
+++ b/app/client/src/pages/Editor/Explorer/Pages/AddPageContextMenu.tsx
@@ -16,7 +16,6 @@ import {
CREATE_PAGE,
GENERATE_PAGE_ACTION_TITLE,
} from "@appsmith/constants/messages";
-import { selectFeatureFlags } from "selectors/usersSelectors";
import AnalyticsUtil from "utils/AnalyticsUtil";
import {
Menu,
@@ -54,7 +53,6 @@ function AddPageContextMenu({
const [show, setShow] = useState(openMenu);
const dispatch = useDispatch();
const { pageId } = useParams<ExplorerURLParams>();
- const featureFlags = useSelector(selectFeatureFlags);
const isAutoLayout = useSelector(getIsAutoLayout);
const isAirgappedInstance = isAirgapped();
@@ -76,11 +74,7 @@ function AddPageContextMenu({
},
];
- if (
- featureFlags.TEMPLATES_PHASE_2 &&
- !isAutoLayout &&
- !isAirgappedInstance
- ) {
+ if (!isAutoLayout && !isAirgappedInstance) {
items.push({
title: createMessage(ADD_PAGE_FROM_TEMPLATE),
icon: "layout-2-line",
@@ -91,7 +85,7 @@ function AddPageContextMenu({
}
return items;
- }, [featureFlags, pageId]);
+ }, [pageId]);
const handleOpenChange = (open: boolean) => {
if (open) {
diff --git a/app/client/src/pages/Editor/WidgetsEditor/EmptyCanvasSection.tsx b/app/client/src/pages/Editor/WidgetsEditor/EmptyCanvasSection.tsx
index 4af0ba89b8b0..a062159d9718 100644
--- a/app/client/src/pages/Editor/WidgetsEditor/EmptyCanvasSection.tsx
+++ b/app/client/src/pages/Editor/WidgetsEditor/EmptyCanvasSection.tsx
@@ -21,8 +21,6 @@ import {
TEMPLATE_CARD_DESCRIPTION,
TEMPLATE_CARD_TITLE,
} from "@appsmith/constants/messages";
-import { selectFeatureFlags } from "selectors/usersSelectors";
-import type FeatureFlags from "entities/FeatureFlags";
import { deleteCanvasCardsState } from "actions/editorActions";
import { isAirgapped } from "@appsmith/utils/airgapHelpers";
import { Icon } from "design-system";
@@ -84,7 +82,6 @@ function CanvasTopSection() {
const inPreviewMode = useSelector(previewModeSelector);
const { pageId } = useParams<ExplorerURLParams>();
const { applicationSlug, pageSlug } = useSelector(selectURLSlugs);
- const featureFlags: FeatureFlags = useSelector(selectFeatureFlags);
const isAutoLayout = useSelector(getIsAutoLayout);
useEffect(() => {
@@ -113,26 +110,21 @@ function CanvasTopSection() {
return (
<Wrapper data-testid="canvas-ctas">
- {!!featureFlags.TEMPLATES_PHASE_2 &&
- !isAutoLayout &&
- !isAirgappedInstance && (
- <Card data-testid="start-from-template" onClick={showTemplatesModal}>
- <Icon name="layout-2-line" size="lg" />
- <Content>
- <Text
- color={"var(--ads-v2-color-fg-emphasis)"}
- type={TextType.H5}
- >
- {createMessage(TEMPLATE_CARD_TITLE)}
- </Text>
- <Text type={TextType.P3}>
- {createMessage(TEMPLATE_CARD_DESCRIPTION)}
- </Text>
- </Content>
- </Card>
- )}
+ {!isAutoLayout && !isAirgappedInstance && (
+ <Card data-testid="start-from-template" onClick={showTemplatesModal}>
+ <Icon name="layout-2-line" size="lg" />
+ <Content>
+ <Text color={"var(--ads-v2-color-fg-emphasis)"} type={TextType.H5}>
+ {createMessage(TEMPLATE_CARD_TITLE)}
+ </Text>
+ <Text type={TextType.P3}>
+ {createMessage(TEMPLATE_CARD_DESCRIPTION)}
+ </Text>
+ </Content>
+ </Card>
+ )}
<Card
- centerAlign={!featureFlags.TEMPLATES_PHASE_2}
+ centerAlign={false}
data-testid="generate-app"
onClick={onGeneratePageClick}
>
diff --git a/app/client/src/sagas/PostEvaluationSagas.ts b/app/client/src/sagas/PostEvaluationSagas.ts
index a97f9b65cc8a..cbd9d3be66a2 100644
--- a/app/client/src/sagas/PostEvaluationSagas.ts
+++ b/app/client/src/sagas/PostEvaluationSagas.ts
@@ -41,8 +41,6 @@ import { getAppMode } from "@appsmith/selectors/applicationSelectors";
import { APP_MODE } from "entities/App";
import { dataTreeTypeDefCreator } from "utils/autocomplete/dataTreeTypeDefCreator";
import CodemirrorTernService from "utils/autocomplete/CodemirrorTernService";
-import { selectFeatureFlags } from "selectors/usersSelectors";
-import type FeatureFlags from "entities/FeatureFlags";
import type { JSAction } from "entities/JSCollection";
import { isWidgetPropertyNamePath } from "utils/widgetEvalUtils";
import { toast } from "design-system";
@@ -453,10 +451,8 @@ export function* updateTernDefinitions(
dataTree,
configTree,
);
- const featureFlags: FeatureFlags = yield select(selectFeatureFlags);
const { def, entityInfo } = dataTreeTypeDefCreator(
dataTreeForAutocomplete,
- !!featureFlags.JS_EDITOR,
jsData,
configTree,
);
diff --git a/app/client/src/selectors/appCollabSelectors.tsx b/app/client/src/selectors/appCollabSelectors.tsx
index 1c965f20780c..fd17fd0df74c 100644
--- a/app/client/src/selectors/appCollabSelectors.tsx
+++ b/app/client/src/selectors/appCollabSelectors.tsx
@@ -1,7 +1,7 @@
import { createSelector } from "reselect";
import type { AppState } from "@appsmith/reducers";
import type { AppCollabReducerState } from "reducers/uiReducers/appCollabReducer";
-import { getCurrentUser, selectFeatureFlags } from "./usersSelectors";
+import { getCurrentUser } from "./usersSelectors";
import type { User } from "entities/AppCollab/CollabInterfaces";
import { ANONYMOUS_USERNAME } from "constants/userConstants";
@@ -14,11 +14,6 @@ export const getRealtimeAppEditors = createSelector(
appCollab.editors.filter((el) => el.email !== currentUser?.email),
);
-export const isMultiplayerEnabledForUser = createSelector(
- selectFeatureFlags,
- (featureFlags) => featureFlags.MULTIPLAYER,
-);
-
export const getConcurrentPageEditors = (state: AppState) =>
state.ui.appCollab.pageEditors;
diff --git a/app/client/src/selectors/entitiesSelector.ts b/app/client/src/selectors/entitiesSelector.ts
index 102b0cb68454..467646935f0b 100644
--- a/app/client/src/selectors/entitiesSelector.ts
+++ b/app/client/src/selectors/entitiesSelector.ts
@@ -30,7 +30,6 @@ import type { JSAction, JSCollection } from "entities/JSCollection";
import { APP_MODE } from "entities/App";
import type { ExplorerFileEntity } from "@appsmith/pages/Editor/Explorer/helpers";
import type { ActionValidationConfigMap } from "constants/PropertyControlConstants";
-import { selectFeatureFlags } from "./usersSelectors";
import type { EvaluationError } from "utils/DynamicBindingUtils";
import {
EVAL_ERROR_PATH,
@@ -758,30 +757,25 @@ export const selectFilesForExplorer = createSelector(
getActionsForCurrentPage,
getJSCollectionsForCurrentPage,
selectDatasourceIdToNameMap,
- selectFeatureFlags,
- (actions, jsActions, datasourceIdToNameMap, featureFlags) => {
- const { JS_EDITOR: isJSEditorEnabled } = featureFlags;
- const files = [...actions, ...(isJSEditorEnabled ? jsActions : [])].reduce(
- (acc, file) => {
- let group = "";
- if (file.config.pluginType === PluginType.JS) {
- group = "JS Objects";
- } else if (file.config.pluginType === PluginType.API) {
- group = isEmbeddedRestDatasource(file.config.datasource)
- ? "APIs"
- : datasourceIdToNameMap[file.config.datasource.id] ?? "APIs";
- } else {
- group = datasourceIdToNameMap[file.config.datasource.id];
- }
- acc = acc.concat({
- type: file.config.pluginType,
- entity: file,
- group,
- });
- return acc;
- },
- [] as Array<ExplorerFileEntity>,
- );
+ (actions, jsActions, datasourceIdToNameMap) => {
+ const files = [...actions, ...jsActions].reduce((acc, file) => {
+ let group = "";
+ if (file.config.pluginType === PluginType.JS) {
+ group = "JS Objects";
+ } else if (file.config.pluginType === PluginType.API) {
+ group = isEmbeddedRestDatasource(file.config.datasource)
+ ? "APIs"
+ : datasourceIdToNameMap[file.config.datasource.id] ?? "APIs";
+ } else {
+ group = datasourceIdToNameMap[file.config.datasource.id];
+ }
+ acc = acc.concat({
+ type: file.config.pluginType,
+ entity: file,
+ group,
+ });
+ return acc;
+ }, [] as Array<ExplorerFileEntity>);
const filesSortedByGroupName = sortBy(files, [
(file) => file.group?.toLowerCase(),
diff --git a/app/client/src/utils/autocomplete/dataTreeTypeDefCreator.test.ts b/app/client/src/utils/autocomplete/dataTreeTypeDefCreator.test.ts
index 463d49af9c2f..6958acb4bb2f 100644
--- a/app/client/src/utils/autocomplete/dataTreeTypeDefCreator.test.ts
+++ b/app/client/src/utils/autocomplete/dataTreeTypeDefCreator.test.ts
@@ -64,7 +64,6 @@ describe("dataTreeTypeDefCreator", () => {
{
Input1: dataTreeEntity,
},
- false,
{},
dataTreeEntityConfig,
);
diff --git a/app/client/src/utils/autocomplete/dataTreeTypeDefCreator.ts b/app/client/src/utils/autocomplete/dataTreeTypeDefCreator.ts
index 06c8f9f8d692..0ad4ce31ad01 100644
--- a/app/client/src/utils/autocomplete/dataTreeTypeDefCreator.ts
+++ b/app/client/src/utils/autocomplete/dataTreeTypeDefCreator.ts
@@ -27,7 +27,6 @@ import WidgetFactory from "utils/WidgetFactory";
// or DATA_TREE.ACTION.ACTION.Api1
export const dataTreeTypeDefCreator = (
dataTree: DataTree,
- isJSEditorEnabled: boolean,
jsData: Record<string, unknown> = {},
configTree: ConfigTree,
): { def: Def; entityInfo: Map<string, DataTreeDefEntityInformation> } => {
@@ -70,7 +69,7 @@ export const dataTreeTypeDefCreator = (
type: ENTITY_TYPE.APPSMITH,
subType: ENTITY_TYPE.APPSMITH,
});
- } else if (isJSAction(entity) && isJSEditorEnabled) {
+ } else if (isJSAction(entity)) {
const entityConfig = configTree[entityName] as JSActionEntityConfig;
const metaObj = entityConfig.meta;
const jsPropertiesDef: Def = {};
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/featureflags/FeatureFlagEnum.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/featureflags/FeatureFlagEnum.java
index 4c3b0ee6f725..072668274c6f 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/featureflags/FeatureFlagEnum.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/featureflags/FeatureFlagEnum.java
@@ -23,17 +23,11 @@ public enum FeatureFlagEnum {
// ------------------- End of features for testing -------------------------------------------------------------- //
// ------------------- These are actual feature flags meant to be used across the product ----------------------- //
- JS_EDITOR,
- LINTING,
- MULTIPLAYER,
- APP_TEMPLATE,
- TEMPLATES_PHASE_2,
- CONTEXT_SWITCHING,
DATASOURCE_ENVIRONMENTS,
+ MULTIPLE_PANES,
AUTO_LAYOUT,
ONE_CLICK_BINDING,
APP_NAVIGATION_LOGO_UPLOAD,
// Add EE flags below this line, to avoid conflicts.
- RBAC,
}
diff --git a/app/server/appsmith-server/src/main/resources/features/init-flags.yml b/app/server/appsmith-server/src/main/resources/features/init-flags.yml
index 586be1d19af7..22148aa01538 100644
--- a/app/server/appsmith-server/src/main/resources/features/init-flags.yml
+++ b/app/server/appsmith-server/src/main/resources/features/init-flags.yml
@@ -8,60 +8,6 @@ ff4j:
audit: false
features:
- - uid: JS_EDITOR
- enable: true
- description: Enable JS editor by email domain of the user
- flipstrategy:
- class: org.ff4j.strategy.PonderationStrategy
- param:
- - name: weight
- value: 1
-
- - uid: LINTING
- enable: true
- description: Enable linting feature by email domain of the user
- flipstrategy:
- class: com.appsmith.server.featureflags.strategies.EmailBasedRolloutStrategy
- param:
- - name: emailDomains
- value: appsmith.com,moolya.com
-
- - uid: MULTIPLAYER
- enable: true
- description: Enable collaboration by sharing mouse pointers of concurrent app editors
- flipstrategy:
- class: com.appsmith.server.featureflags.strategies.EmailBasedRolloutStrategy
- param:
- - name: emailDomains
- value: appsmith.com
-
- - uid: APP_TEMPLATE
- enable: true
- description: Allow users to browse application templates and import them
- flipstrategy:
- class: org.ff4j.strategy.PonderationStrategy
- param:
- - name: weight
- value: 1
-
- - uid: TEMPLATES_PHASE_2
- enable: true
- description: Allow importing particular pages from templates in existing apps
- flipstrategy:
- class: org.ff4j.strategy.PonderationStrategy
- param:
- - name: weight
- value: 1
-
- - uid: CONTEXT_SWITCHING
- enable: true
- description: Restoring old context while navigating across the app
- flipstrategy:
- class: org.ff4j.strategy.PonderationStrategy
- param:
- - name: weight
- value: 1
-
- uid: DATASOURCE_ENVIRONMENTS
enable: true
description: Introducing multiple execution environments for datasources
|
7d7015d79ca04031d2646093520deaaa6ec03b9a
|
2024-01-29 12:48:05
|
Hetu Nandu
|
fix: IDE Tabs null handling (#30691)
| false
|
IDE Tabs null handling (#30691)
|
fix
|
diff --git a/app/client/src/actions/ideActions.ts b/app/client/src/actions/ideActions.ts
index d2c12cb4ce04..96e2768cdad3 100644
--- a/app/client/src/actions/ideActions.ts
+++ b/app/client/src/actions/ideActions.ts
@@ -1,5 +1,6 @@
import type { EditorViewMode } from "@appsmith/entities/IDE/constants";
import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
+import type { IDETabs } from "../reducers/uiReducers/ideReducer";
export const setIdeEditorViewMode = (mode: EditorViewMode) => {
return {
@@ -32,3 +33,10 @@ export const setQueryTabs = (tabs: string[]) => {
payload: tabs,
};
};
+
+export const setIDETabs = (tabs: IDETabs) => {
+ return {
+ type: ReduxActionTypes.SET_IDE_TABS,
+ payload: tabs,
+ };
+};
diff --git a/app/client/src/ce/constants/ReduxActionConstants.tsx b/app/client/src/ce/constants/ReduxActionConstants.tsx
index 70300dc73d2c..05e21d037e94 100644
--- a/app/client/src/ce/constants/ReduxActionConstants.tsx
+++ b/app/client/src/ce/constants/ReduxActionConstants.tsx
@@ -907,6 +907,7 @@ const ActionTypes = {
"SET_DATASOURCE_PREVIEW_SELECTED_TABLE_NAME",
SET_IDE_JS_TABS: "SET_IDE_JS_TABS",
SET_IDE_QUERIES_TABS: "SET_IDE_QUERIES_TABS",
+ SET_IDE_TABS: "SET_IDE_TABS",
FETCH_ENTITIES_OF_WORKSPACE_INIT: "FETCH_ENTITIES_OF_WORKSPACE_INIT",
START_CONSOLIDATED_PAGE_LOAD: "START_CONSOLIDATED_PAGE_LOAD",
END_CONSOLIDATED_PAGE_LOAD: "END_CONSOLIDATED_PAGE_LOAD",
diff --git a/app/client/src/ce/navigation/FocusElements/AppIDE.ts b/app/client/src/ce/navigation/FocusElements/AppIDE.ts
index 5dc5538310b4..574148836bd3 100644
--- a/app/client/src/ce/navigation/FocusElements/AppIDE.ts
+++ b/app/client/src/ce/navigation/FocusElements/AppIDE.ts
@@ -83,6 +83,9 @@ import {
import { getFirstDatasourceId } from "selectors/datasourceSelectors";
import { FocusElement, FocusElementConfigType } from "navigation/FocusElements";
import type { FocusElementsConfigList } from "sagas/FocusRetentionSaga";
+import { getIDETabs } from "selectors/ideSelectors";
+import { setIDETabs } from "actions/ideActions";
+import { IDETabsDefaultValue } from "reducers/uiReducers/ideReducer";
export const AppIDEFocusElements: FocusElementsConfigList = {
[FocusEntity.DATASOURCE_LIST]: [
@@ -242,6 +245,13 @@ export const AppIDEFocusElements: FocusElementsConfigList = {
selector: getSelectedSegment,
setter: setSelectedSegment,
},
+ {
+ type: FocusElementConfigType.Redux,
+ name: FocusElement.IDETabs,
+ selector: getIDETabs,
+ setter: setIDETabs,
+ defaultValue: IDETabsDefaultValue,
+ },
{
type: FocusElementConfigType.Redux,
name: FocusElement.EntityExplorerWidth,
diff --git a/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.ts b/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.ts
index 3a33316a7078..47ff0af8dc48 100644
--- a/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.ts
+++ b/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.ts
@@ -138,7 +138,10 @@ export const AppIDEFocusStrategy: FocusStrategy = {
// Store editor state if previous url was in editor.
// Does not matter if still in editor or not
- if (prevFocusEntityInfo.appState === EditorState.EDITOR) {
+ if (
+ prevFocusEntityInfo.appState === EditorState.EDITOR &&
+ prevFocusEntityInfo.entity !== FocusEntity.NONE
+ ) {
entities.push({
entityInfo: {
entity: FocusEntity.EDITOR,
diff --git a/app/client/src/navigation/FocusElements.ts b/app/client/src/navigation/FocusElements.ts
index ed0614f37249..5802641e2ba4 100644
--- a/app/client/src/navigation/FocusElements.ts
+++ b/app/client/src/navigation/FocusElements.ts
@@ -25,6 +25,7 @@ export enum FocusElement {
SelectedQuery = "SelectedQuery",
SelectedJSObject = "SelectedJSObject",
SelectedSegment = "SelectedSegment",
+ IDETabs = "IDETabs",
}
export enum FocusElementConfigType {
diff --git a/app/client/src/reducers/uiReducers/ideReducer.ts b/app/client/src/reducers/uiReducers/ideReducer.ts
index c69ac726239f..deb8577101b1 100644
--- a/app/client/src/reducers/uiReducers/ideReducer.ts
+++ b/app/client/src/reducers/uiReducers/ideReducer.ts
@@ -5,14 +5,17 @@ import {
EditorEntityTab,
EditorViewMode,
} from "@appsmith/entities/IDE/constants";
+import { klona } from "klona";
+
+export const IDETabsDefaultValue = {
+ [EditorEntityTab.JS]: [],
+ [EditorEntityTab.QUERIES]: [],
+};
const initialState: IDEState = {
view: EditorViewMode.FullScreen,
pagesActive: false,
- tabs: {
- [EditorEntityTab.JS]: [],
- [EditorEntityTab.QUERIES]: [],
- },
+ tabs: IDETabsDefaultValue,
};
const ideReducer = createReducer(initialState, {
@@ -38,15 +41,44 @@ const ideReducer = createReducer(initialState, {
...state,
tabs: { ...state.tabs, [EditorEntityTab.QUERIES]: action.payload },
}),
+ [ReduxActionTypes.DELETE_ACTION_SUCCESS]: (
+ state: IDEState,
+ action: ReduxAction<{ id: string }>,
+ ) => ({
+ ...state,
+ tabs: {
+ ...state.tabs,
+ [EditorEntityTab.QUERIES]: state.tabs[EditorEntityTab.QUERIES].filter(
+ (tab) => tab !== action.payload.id,
+ ),
+ },
+ }),
+ [ReduxActionTypes.DELETE_JS_ACTION_SUCCESS]: (
+ state: IDEState,
+ action: ReduxAction<{ id: string }>,
+ ) => ({
+ ...state,
+ tabs: {
+ ...state.tabs,
+ [EditorEntityTab.JS]: state.tabs[EditorEntityTab.JS].filter(
+ (tab) => tab !== action.payload.id,
+ ),
+ },
+ }),
+ [ReduxActionTypes.RESET_EDITOR_REQUEST]: () => {
+ return klona(initialState);
+ },
});
export interface IDEState {
view: EditorViewMode;
pagesActive: boolean;
- tabs: {
- [EditorEntityTab.JS]: string[];
- [EditorEntityTab.QUERIES]: string[];
- };
+ tabs: IDETabs;
+}
+
+export interface IDETabs {
+ [EditorEntityTab.JS]: string[];
+ [EditorEntityTab.QUERIES]: string[];
}
export default ideReducer;
diff --git a/app/client/src/selectors/ideSelectors.tsx b/app/client/src/selectors/ideSelectors.tsx
index 0247c9d73f85..11fc5e67b7bf 100644
--- a/app/client/src/selectors/ideSelectors.tsx
+++ b/app/client/src/selectors/ideSelectors.tsx
@@ -44,3 +44,5 @@ export const getJSTabs = (state: AppState) =>
export const getQueryTabs = (state: AppState) =>
state.ui.ide.tabs[EditorEntityTab.QUERIES];
+
+export const getIDETabs = (state: AppState) => state.ui.ide.tabs;
|
a76fd48ddc80f079cbd5530f46061b649129f4c4
|
2022-08-16 11:54:13
|
Satish Gandham
|
chore: Update integration script to use performance testing code from private repo (#15991)
| false
|
Update integration script to use performance testing code from private repo (#15991)
|
chore
|
diff --git a/.github/workflows/integration-tests-command.yml b/.github/workflows/integration-tests-command.yml
index 9cdaf41c16e9..168a818397bf 100644
--- a/.github/workflows/integration-tests-command.yml
+++ b/.github/workflows/integration-tests-command.yml
@@ -1330,6 +1330,7 @@ jobs:
# Only run if the build step is successful
if: success()
runs-on: buildjet-4vcpu-ubuntu-2004
+
defaults:
run:
working-directory: app/client
@@ -1350,6 +1351,19 @@ jobs:
- 27017:27017
steps:
+ - name: Checkout Performance Infra code
+ uses: actions/checkout@v3
+ with:
+ repository: appsmithorg/performance-infra
+ token: ${{ secrets.GITHUB_TOKEN }}
+ ref: main
+ path: app/client/perf
+
+ - name: List files
+ run: ls
+ ls perf
+
+
# Check out merge commitGIT BRANCH
- name: Fork based /ok-to-test-perf checkout
uses: actions/checkout@v2
diff --git a/app/client/perf/gen-summary.js b/app/client/perf/gen-summary.js
deleted file mode 100644
index 84f25e1c858b..000000000000
--- a/app/client/perf/gen-summary.js
+++ /dev/null
@@ -1,6 +0,0 @@
-const { summaries } = require("./src/summary");
-const path = require("path");
-
-global.APP_ROOT = path.join(__dirname); //Going back one level from src folder to /perf
-
-summaries(`${__dirname}/traces/reports`);
diff --git a/app/client/perf/package.json b/app/client/perf/package.json
deleted file mode 100644
index fc03bc4cf2c7..000000000000
--- a/app/client/perf/package.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "name": "ui-performance-infra",
- "version": "1.0.0",
- "description": "Tools to automate chrome performance profiling",
- "main": "index.js",
- "scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
- },
- "author": "",
- "license": "ISC",
- "dependencies": {
- "@supabase/supabase-js": "^1.30.2",
- "median": "^0.0.2",
- "node-stdev": "^1.0.1",
- "puppeteer": "^13.5.1",
- "sanitize-filename": "^1.6.3",
- "tracelib": "^1.0.1"
- }
-}
diff --git a/app/client/perf/readme.md b/app/client/perf/readme.md
deleted file mode 100644
index 06e02eae4d22..000000000000
--- a/app/client/perf/readme.md
+++ /dev/null
@@ -1,33 +0,0 @@
-### Adding credentials to app export
-- In the exported app add this property under `datasourceList` in the item corresponding to the plugin you are adding credentials for.
-
- ```
- "datasourceConfiguration": {
- "connection": {
- "mode": "READ_WRITE",
- "ssl": {
- "authType": "DEFAULT"
- }
- },
- "endpoints": [{
- "host": "localhost",
- "port": 5432
- }],
- "sshProxyEnabled": false
- },
- ```
-- Add this key at the top level
- ```
- "decryptedFields": {
- "PostgresGolden": {
- "password": "********",
- "authType": "com.appsmith.external.models.DBAuth",
- "dbAuth": {
- "authenticationType": "dbAuth",
- "authenticationType": "dbAuth",
- "username": "********",
- "databaseName": "db_name"
- }
- }
- },
- ```
\ No newline at end of file
diff --git a/app/client/perf/src/ci/supabase.js b/app/client/perf/src/ci/supabase.js
deleted file mode 100644
index 9737f8b53c19..000000000000
--- a/app/client/perf/src/ci/supabase.js
+++ /dev/null
@@ -1,138 +0,0 @@
-const { createClient } = require("@supabase/supabase-js");
-const fs = require("fs");
-const { actions } = require("../../tests/actions");
-const { parseReports } = require("../summary");
-const supabaseUrl = "https://ymiketujsffsmdmgpmut.supabase.co";
-const os = require("os");
-const hostname = os.hostname();
-
-const metricsToLog = [
- "scripting",
- "painting",
- "rendering",
- "idle",
- "other",
- "ForcedLayout",
- "ForcedStyle",
- "LongHandler",
- "LongTask",
-];
-
-const supabaseKey = process.env.APPSMITH_PERF_SUPABASE_SECRET || "empty";
-const supabase = createClient(supabaseUrl, supabaseKey);
-
-const actionRows = Object.keys(actions).map((action) => ({
- name: actions[action],
-}));
-
-const createActions = async () => {
- const errors = [];
-
- await Promise.all(
- actionRows.map(async (action) => {
- const { data, error } = await supabase
- .from("action")
- .upsert([action], { ignoreDuplicates: true });
- if (error) {
- errors.push(error);
- }
- }),
- );
-
- console.log(errors);
-};
-
-const createMetrics = async () => {
- const errors = [];
-
- await Promise.all(
- metricsToLog.map(async (metric) => {
- const { data, error } = await supabase
- .from("metric")
- .upsert([{ name: metric }], { ignoreDuplicates: true });
- if (error) {
- errors.push(error);
- }
- }),
- );
-
- console.log(errors);
-};
-
-const createRunMeta = async () => {
- let prId;
- try {
- const ev = JSON.parse(
- fs.readFileSync(process.env.GITHUB_EVENT_PATH, "utf8"),
- );
-
- prId = ev.client_payload.pull_request.number;
- } catch (e) {
- console.log("Error fetching PR id", e);
- }
- const { data, error } = await supabase.from("run_meta").insert([
- {
- gh_run_number: process.env?.GITHUB_RUN_NUMBER || 1,
- commit_id: process.env?.GITHUB_SHA,
- branch: process.env?.GITHUB_REF_NAME,
- gh_run_id: process.env?.GITHUB_RUN_ID || 1,
- pull_request_id: prId || parsePullRequestId(process.env.GITHUB_REF),
- runner_name: process.env?.RUNNER_NAME,
- host_name: hostname,
- machine: process.env?.MACHINE || "buildjet-4vcpu-ubuntu-2004", // Hardcoded temporarily. Should be removed
- },
- ]);
- if (data) {
- return data[0];
- }
- console.log(error);
-};
-const saveData = async (results) => {
- const run_meta = await createRunMeta();
-
- const rows = [];
- Object.keys(results).forEach((action) => {
- Object.keys(results[action]).forEach((metric) => {
- let row = {};
- row["action"] = action;
- row["metric"] = metric;
- row["meta"] = run_meta.id;
- const runs = results[action][metric];
- runs.forEach((value, i) => {
- row = { ...row, value };
- rows.push(row);
- });
- });
- });
-
- const { data, error } = await supabase.from("run").insert(rows);
-
- if (error) {
- console.log(error);
- }
-};
-
-exports.saveToSupabase = async () => {
- const results = await parseReports(
- `${APP_ROOT}/traces/reports`,
- ["scripting", "painting", "rendering", "idle", "other"],
- ["ForcedLayout", "ForcedStyle", "LongHandler", "LongTask"],
- );
-
- await createMetrics();
- await createActions();
- await saveData(results);
-};
-
-"use strict";
-
-const parsePullRequestId = (githubRef) => {
- const result = /refs\/pull\/(\d+)\/merge/g.exec(githubRef);
- if (!result) {
- return -1;
- }
- const [, pullRequestId] = result;
- return pullRequestId;
-};
-
-createMetrics();
diff --git a/app/client/perf/src/index.js b/app/client/perf/src/index.js
deleted file mode 100644
index f83b759f3f75..000000000000
--- a/app/client/perf/src/index.js
+++ /dev/null
@@ -1,24 +0,0 @@
-const glob = require("glob");
-const path = require("path");
-const { summaries } = require("./summary");
-const { saveToSupabase } = require("./ci/supabase");
-var cp = require("child_process");
-var fs = require("fs");
-
-// Create the directory
-global.APP_ROOT = path.join(__dirname, ".."); //Going back one level from src folder to /perf
-const dir = `${APP_ROOT}/traces/reports`;
-if (!fs.existsSync(dir)) {
- fs.mkdirSync(dir, { recursive: true });
-}
-
-glob("./tests/*.perf.js", {}, async function(er, files) {
- // Initial setup
- await cp.execSync(`node ./tests/initial-setup.js`, { stdio: "inherit" });
-
- files.forEach(async (file) => {
- await cp.execSync(`node ${file}`, { stdio: "inherit" }); // Logging to terminal, log it to a file in future?
- });
- await summaries(`${APP_ROOT}/traces/reports`);
- await saveToSupabase();
-});
diff --git a/app/client/perf/src/perf.js b/app/client/perf/src/perf.js
deleted file mode 100644
index 29c07dd3473c..000000000000
--- a/app/client/perf/src/perf.js
+++ /dev/null
@@ -1,233 +0,0 @@
-const Tracelib = require("tracelib");
-const puppeteer = require("puppeteer");
-var sanitize = require("sanitize-filename");
-const fs = require("fs");
-const path = require("path");
-
-const {
- delay,
- getFormattedTime,
- login,
- sortObjectKeys,
-} = require("./utils/utils");
-
-const {
- cleanTheHost,
- setChromeProcessPriority,
-} = require("./utils/system-cleanup");
-
-const selectors = {
- appMoreIcon: "span.t--options-icon",
- workspaceImportAppOption: '[data-cy*="t--workspace-import-app"]',
- fileInput: "#fileInput",
- importButton: '[data-cy*="t--workspace-import-app-button"]',
- createNewApp: ".createnew",
-};
-
-module.exports = class Perf {
- constructor(launchOptions = {}) {
- this.iteration = launchOptions.iteration || 0; // Current iteration number
- this.launchOptions = {
- defaultViewport: null,
- args: ["--window-size=1920,1080"],
- ignoreHTTPSErrors: true, // @todo Remove it after initial testing
- ...launchOptions,
- };
-
- if (process.env.PERF_TEST_ENV === "dev") {
- this.launchOptions.executablePath =
- "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome";
- this.launchOptions.devtools = true;
- this.launchOptions.headless = false;
- }
-
- this.traces = [];
- this.currentTrace = null;
- this.browser = null;
-
- // Initial setup
- this.currentTestFile = process.argv[1]
- .split("/")
- .pop()
- .replace(".perf.js", "");
- global.APP_ROOT = path.join(__dirname, ".."); //Going back one level from src folder to /perf
-
- process.on("unhandledRejection", this.handleRejections);
- }
-
- handleRejections = async (reason = "", p = "") => {
- console.error("Unhandled Rejection at: Promise", p, "reason:", reason);
- const fileName = sanitize(`${this.currentTestFile}__${this.currentTrace}`);
-
- if (!this.page) {
- console.warn("No page instance was found", this.currentTestFile);
- return;
- }
- const screenshotPath = `${APP_ROOT}/traces/reports/${fileName}-${getFormattedTime()}.png`;
- await this.page.screenshot({
- path: screenshotPath,
- });
-
- const pageContent = await this.page.evaluate(() => {
- return document.querySelector("body").innerHTML;
- });
-
- fs.writeFile(
- `${APP_ROOT}/traces/reports/${fileName}-${getFormattedTime()}.html`,
- pageContent,
- (err) => {
- if (err) {
- console.error(err);
- }
- },
- );
-
- if (this.currentTrace) {
- await this.stopTrace();
- }
- this.browser.close();
- };
- /**
- * Launches the browser and, gives you the page
- */
- launch = async () => {
- await cleanTheHost();
- await delay(3000);
- this.browser = await puppeteer.launch(this.launchOptions);
- const pages_ = await this.browser.pages();
- this.page = pages_[0];
-
- await setChromeProcessPriority();
- await this._login();
- };
-
- _login = async () => {
- await login(this.page);
- await delay(2000, "after login");
- };
-
- startTrace = async (action = "foo") => {
- if (this.currentTrace) {
- console.warn(
- "Trace already in progress. You can run only one trace at a time",
- );
- return;
- }
-
- this.currentTrace = action;
- await delay(3000, `before starting trace ${action}`);
- await this.page._client.send("HeapProfiler.enable");
- await this.page._client.send("HeapProfiler.collectGarbage");
- await delay(1000, `After clearing memory`);
-
- const path = `${APP_ROOT}/traces/${action}-${
- this.iteration
- }-${getFormattedTime()}-chrome-profile.json`;
-
- await this.page.tracing.start({
- path: path,
- screenshots: true,
- });
- this.traces.push({ action, path });
- };
-
- stopTrace = async () => {
- this.currentTrace = null;
- await delay(3000, "before stopping the trace");
- await this.page.tracing.stop();
- };
-
- getPage = () => {
- if (this.page) return this.page;
- throw Error("Can't find the page, please call launch method.");
- };
-
- loadDSL = async (dsl) => {
- const selector = selectors.createNewApp;
- await this.page.waitForSelector(selector);
- await this.page.click(selector);
- // We goto the newly created app.
- // Lets update the page
- await this.page.waitForNavigation();
-
- const currentUrl = this.page.url();
- const pageId = currentUrl
- .split("/")[5]
- ?.split("-")
- .pop();
-
- await this.page.evaluate(
- async ({ dsl, pageId }) => {
- const layoutId = await fetch(`/api/v1/pages/${pageId}`)
- .then((response) => response.json())
- .then((data) => data.data.layouts[0].id);
-
- const pageSaveUrl = "/api/v1/layouts/" + layoutId + "/pages/" + pageId;
- await fetch(pageSaveUrl, {
- headers: {
- accept: "application/json, text/plain, */*",
- "content-type": "application/json",
- },
-
- referrerPolicy: "strict-origin-when-cross-origin",
- body: JSON.stringify(dsl),
- method: "PUT",
- mode: "cors",
- credentials: "include",
- })
- .then((res) =>
- console.log("Save page with new DSL response:", res.json()),
- )
- .catch((err) => {
- console.log("Save page with new DSL error:", err);
- });
- },
- { pageId, dsl },
- );
- await this.page.goto(currentUrl.replace("generate-page", ""), {
- waitUntil: "networkidle2",
- timeout: 60000,
- });
- };
-
- importApplication = async (jsonPath) => {
- await this.page.waitForSelector(selectors.appMoreIcon);
- await this.page.click(selectors.appMoreIcon);
- await this.page.waitForSelector(selectors.workspaceImportAppOption);
- await this.page.click(selectors.workspaceImportAppOption);
-
- const elementHandle = await this.page.$(selectors.fileInput);
- await elementHandle.uploadFile(jsonPath);
-
- await this.page.waitForNavigation();
- await this.page.reload();
- };
-
- generateReport = async () => {
- const report = {};
- this.traces.forEach(({ action, path }) => {
- report[action] = {};
- const trace = require(path);
- const tasks = new Tracelib.default(trace.traceEvents);
- report[action].path = path;
- report[action].summary = sortObjectKeys(tasks.getSummary());
- report[action].warnings = sortObjectKeys(tasks.getWarningCounts());
- });
-
- await fs.writeFile(
- `${APP_ROOT}/traces/reports/${getFormattedTime()}.json`,
- JSON.stringify(report, "", 4),
- (err) => {
- if (err) {
- console.log("Error writing file", err);
- } else {
- console.log("Successfully wrote report");
- }
- },
- );
- };
-
- close = async () => {
- this.browser.close();
- };
-};
diff --git a/app/client/perf/src/summary.js b/app/client/perf/src/summary.js
deleted file mode 100644
index 5c8acbfc48ca..000000000000
--- a/app/client/perf/src/summary.js
+++ /dev/null
@@ -1,119 +0,0 @@
-const fs = require("fs");
-const path = require("path");
-const sd = require("node-stdev");
-
-var median = require("median");
-
-exports.summaries = async (directory) => {
- const results = await parseReports(
- directory,
- ["scripting", "painting", "rendering"],
- [],
- );
-
- generateMarkdown(results);
-};
-
-const parseReports = async (
- directory,
- summaryFields = [],
- warningFields = [],
-) => {
- const files = await fs.promises.readdir(directory);
- const results = {};
- files.forEach((file) => {
- if (file.endsWith(".json")) {
- const content = require(`${directory}/${file}`);
- Object.keys(content).forEach((key) => {
- if (!results[key]) {
- results[key] = {};
- }
- summaryFields.forEach((summaryField) => {
- if (!results[key][summaryField]) {
- results[key][summaryField] = [];
- }
- results[key][summaryField].push(
- parseFloat(content[key].summary[summaryField].toFixed(2)),
- );
- });
- warningFields.forEach((warningField) => {
- if (!results[key][warningField]) {
- results[key][warningField] = [];
- }
- results[key][warningField].push(
- parseFloat(content[key].warnings[warningField]),
- );
- });
- });
- }
- });
- return results;
-};
-const getMaxSize = (results) => {
- let size = 0;
- Object.keys(results).forEach((key) => {
- const action = results[key];
- size = Math.max(action["scripting"].length, size);
- });
-
- return size;
-};
-
-const generateMarkdown = (results) => {
- const size = getMaxSize(results);
- let markdown = `<details><summary>Click to view performance test results</summary>\n\n| `;
- for (let i = 0; i < size; i++) {
- markdown = markdown + `| Run ${i + 1} `;
- }
- markdown = markdown + `| Median | Mean | SD.Sample | SD.Population`;
-
- markdown += "|\n";
-
- for (let i = 0; i <= size + 4; i++) {
- markdown = markdown + `| ------------- `;
- }
- markdown += "|\n";
-
- Object.keys(results).forEach((key) => {
- const action = results[key];
- markdown += `**${key}**`;
- for (let i = 0; i <= size + 4; i++) {
- markdown += `| `;
- }
- markdown += "|\n";
-
- Object.keys(action).forEach((key) => {
- const length = action[key].length;
- markdown += `| ${key} | `;
- markdown += action[key].reduce((sum, val) => `${sum} | ${val} `);
- if (length < size) {
- for (let i = 0; i < size - action[key].length; i++) {
- markdown += " | ";
- }
- }
- // Add median
- markdown += `| ${median(action[key])}`;
- // Add average
- const avg = parseFloat(
- (action[key].reduce((sum, val) => sum + val, 0) / length).toFixed(2),
- );
- markdown += `| ${avg} | ${((sd.sample(action[key]) / avg) * 100).toFixed(
- 2,
- )} | ${((sd.population(action[key]) / avg) * 100).toFixed(2)}`;
-
- markdown += "| \n";
- });
- });
-
- markdown += "</details>";
-
- fs.writeFile(`${APP_ROOT}/traces/reports/summary.md`, markdown, (err) => {
- if (err) {
- console.log("Error writing file", err);
- } else {
- console.log("Successfully wrote summary");
- }
- });
-};
-
-exports.parseReports = parseReports;
diff --git a/app/client/perf/src/utils/system-cleanup.js b/app/client/perf/src/utils/system-cleanup.js
deleted file mode 100644
index 9a29f27bef36..000000000000
--- a/app/client/perf/src/utils/system-cleanup.js
+++ /dev/null
@@ -1,53 +0,0 @@
-const cp = require("child_process");
-
-exports.cleanTheHost = async () => {
- await cp.exec("pidof chrome", (error, stdout, stderr) => {
- if (error) {
- console.log(`error: ${error.message}`);
- return;
- }
- if (stderr) {
- console.log(`stderr: ${stderr}`);
- return;
- }
- console.log(`Killing chrome processes: ${stdout}`);
- stdout.split(" ").forEach((PID) => {
- cp.exec(`sudo kill -9 ${PID}`, (error, stdout, stder) => {
- if (error) {
- console.log(`Kill error: ${error.message}`);
- return;
- }
- if (stderr) {
- console.log(`Kill stderr: ${stderr}`);
- return;
- }
- if (stdout) {
- console.log(`Kill stdout: ${stdout}`);
- return;
- }
- });
- });
- });
-
- // Clear OS caches
- await cp.exec("sync; echo 3 | sudo tee /proc/sys/vm/drop_caches");
-};
-
-exports.setChromeProcessPriority = async () => {
- await cp.exec("pidof chrome", (error, stdout, stderr) => {
- if (error) {
- console.log(`error: ${error.message}`);
- return;
- }
- if (stderr) {
- console.log(`stderr: ${stderr}`);
- return;
- }
- console.log(`stdout: setting priority: ${stdout}`);
-
- // Set priority of chrome processes to maximum
- stdout.split(" ").forEach((PID) => {
- cp.execSync(`sudo renice -20 ${PID}`);
- });
- });
-};
diff --git a/app/client/perf/src/utils/utils.js b/app/client/perf/src/utils/utils.js
deleted file mode 100644
index 95a59d564f3d..000000000000
--- a/app/client/perf/src/utils/utils.js
+++ /dev/null
@@ -1,144 +0,0 @@
-const fs = require("fs");
-const path = require("path");
-
-const delay = (time, msg = "") => {
- console.log(`waiting ${msg}:`, time / 1000, "s");
- return new Promise(function(resolve) {
- setTimeout(resolve, time);
- });
-};
-
-exports.delay = delay;
-
-exports.getDevToolsPage = async (browser) => {
- const targets = await browser.targets();
- const devtoolsTarget = targets.filter((t) => {
- return t.type() === "other" && t.url().startsWith("devtools://");
- })[0];
-
- // Hack to get a page pointing to the devtools
- devtoolsTarget._targetInfo.type = "page";
- const devtoolsPage = await devtoolsTarget.page();
- return devtoolsPage;
-};
-
-exports.gotoProfiler = async (devtoolsPage) => {
- await devtoolsPage.bringToFront();
- await devtoolsPage.keyboard.down("MetaLeft");
- await devtoolsPage.keyboard.press("[");
- await devtoolsPage.keyboard.up("MetaLeft");
-};
-
-exports.getProfilerFrame = async (devtoolsPage) => {
- const frames = await devtoolsPage.frames();
- const reactProfiler = frames[2]; // This is not foolproof
- return reactProfiler;
-};
-
-exports.startReactProfile = async (reactProfiler) => {
- const recordButton =
- "#container > div > div > div > div > div.Toolbar___30kHu > button.Button___1-PiG.InactiveRecordToggle___2CUtF";
- await reactProfiler.waitForSelector(recordButton);
- const container = await reactProfiler.$(recordButton);
- console.log("Starting recording");
- await reactProfiler.evaluate((el) => el.click(), container);
- console.log("Recording started");
-};
-
-exports.stopReactProfile = async (reactProfiler) => {
- const stopRecordingButton =
- "#container > div > div > div > div > div.Toolbar___30kHu > button.Button___1-PiG.ActiveRecordToggle___1Cpcb";
- await reactProfiler.waitForSelector(stopRecordingButton);
- const container = await reactProfiler.$(stopRecordingButton);
- console.log("Stopping recording");
- await reactProfiler.evaluate((el) => el.click(), container);
- console.log("Recording stopped");
-};
-
-exports.downloadReactProfile = async (reactProfiler) => {
- const saveProfileButton =
- "#container > div > div > div > div.LeftColumn___3I7-I > div.Toolbar___30kHu > button:nth-child(8)";
- await reactProfiler.waitForSelector(saveProfileButton);
- const container = await reactProfiler.$(saveProfileButton);
- await reactProfiler.evaluate((el) => el.click(), container);
- console.log("Downloaded the profile");
-};
-
-exports.saveProfile = async (reactProfiler, name) => {
- const anchorSelector =
- "#container > div > div > div > div.LeftColumn___3I7-I > div.Toolbar___30kHu > a";
- await reactProfiler.waitForSelector(anchorSelector);
- const anchor = await reactProfiler.$(anchorSelector);
- await reactProfiler.evaluate(
- (el) => console.log(el.getAttribute("href")),
- anchor,
- );
- const attr = await reactProfiler.$$eval(anchorSelector, (el) =>
- el.map((x) => x.getAttribute("href")),
- );
-
- const url = attr[0];
-
- const profile = await reactProfiler.evaluate(async (href) => {
- const blob = await fetch(href).then(async (r) => r.blob());
- const text = await blob.text();
- return text;
- }, url);
- const location = path.join(__dirname, `/profiles/${name}.json`);
- fs.writeFileSync(location, profile);
-};
-
-exports.login = async (page) => {
- const url = "https://dev.appsmith.com/user/login";
- // const url = "http://localhost/user/login";
-
- await page.goto(url);
- await page.setViewport({ width: 1920, height: 1080 });
-
- await delay(1000, "before login");
-
- const emailSelector = "input[name='username']";
- const passwordSelector = "input[name='password']";
- const buttonSelector = "button[type='submit']";
-
- await page.waitForSelector(emailSelector);
- await page.waitForSelector(passwordSelector);
- await page.waitForSelector(buttonSelector);
-
- await page.type(emailSelector, "[email protected]");
- await page.type(passwordSelector, "qwerty1234");
- delay(1000, "before clicking login button");
- await page.click(buttonSelector);
-};
-
-exports.getFormattedTime = () => {
- var today = new Date();
- var y = today.getFullYear();
- var m = today.getMonth() + 1;
- var d = today.getDate();
- var h = today.getHours();
- var mi = today.getMinutes();
- var s = today.getSeconds();
- return y + "-" + m + "-" + d + "-" + h + "-" + mi + "-" + s;
-};
-
-exports.sortObjectKeys = (obj) => {
- const sortedObj = {};
- Object.keys(obj)
- .sort()
- .forEach((key) => {
- sortedObj[key] = obj[key];
- });
- return sortedObj;
-};
-
-exports.makeid = (length = 8) => {
- var result = "";
- var characters =
- "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
- var charactersLength = characters.length;
- for (var i = 0; i < length; i++) {
- result += characters.charAt(Math.floor(Math.random() * charactersLength));
- }
- return result;
-};
diff --git a/app/client/perf/start-test.sh b/app/client/perf/start-test.sh
deleted file mode 100644
index 28f0fd4bbc56..000000000000
--- a/app/client/perf/start-test.sh
+++ /dev/null
@@ -1 +0,0 @@
-node ./src/index.js
diff --git a/app/client/perf/tests/actions.js b/app/client/perf/tests/actions.js
deleted file mode 100644
index 94591148a507..000000000000
--- a/app/client/perf/tests/actions.js
+++ /dev/null
@@ -1,10 +0,0 @@
-exports.actions = {
- SELECT_CATEGORY: "SELECT_CATEGORY",
- BIND_TABLE_DATA: "BIND_TABLE_DATA",
- CLICK_ON_TABLE_ROW: "CLICK_ON_TABLE_ROW",
- UPDATE_POST_TITLE: "UPDATE_POST_TITLE",
- OPEN_MODAL: "OPEN_MODAL",
- CLOSE_MODAL: "CLOSE_MODAL",
- SELECT_WIDGET_MENU_OPEN: "SELECT_WIDGET_MENU_OPEN",
- SELECT_WIDGET_SELECT_OPTION: "SELECT_WIDGET_SELECT_OPTION",
-};
diff --git a/app/client/perf/tests/dsl/ImportTest.json b/app/client/perf/tests/dsl/ImportTest.json
deleted file mode 100644
index f39bc90aecc3..000000000000
--- a/app/client/perf/tests/dsl/ImportTest.json
+++ /dev/null
@@ -1 +0,0 @@
-{"exportedApplication":{"name":"ImportTest","isPublic":false,"appIsExample":false,"unreadCommentThreads":0,"color":"#F4FFDE","icon":"email","slug":"importtest","evaluationVersion":2,"new":true},"datasourceList":[],"pageList":[{"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61c2bbdf7f07823aaeee800f_61c2bbdf7f07823aaeee8011","unpublishedPage":{"name":"Page1","slug":"page1","layouts":[{"id":"Page1","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1432,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1290,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":47,"minHeight":1292,"parentColumnSpace":1,"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Table1","defaultPageSize":0,"columnOrder":["id","userId","title","body"],"isVisibleDownload":true,"dynamicPropertyPathList":[],"displayName":"Table","iconSVG":"/static/media/icon.db8a9cbd.svg","topRow":0,"bottomRow":51,"isSortable":true,"parentRowSpace":10,"type":"TABLE_WIDGET","defaultSelectedRow":"0","hideCard":false,"animateLoading":true,"parentColumnSpace":22.1875,"dynamicTriggerPathList":[{"key":"onRowSelected"}],"dynamicBindingPathList":[{"key":"tableData"},{"key":"primaryColumns.userId.computedValue"},{"key":"primaryColumns.id.computedValue"},{"key":"primaryColumns.title.computedValue"},{"key":"primaryColumns.body.computedValue"}],"leftColumn":0,"primaryColumns":{"userId":{"index":0,"width":150,"id":"userId","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"userId","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.userId))}}"},"id":{"index":1,"width":150,"id":"id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.id))}}"},"title":{"index":2,"width":150,"id":"title","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"title","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.title))}}"},"body":{"index":3,"width":150,"id":"body","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"body","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.body))}}"}},"delimiter":",","onRowSelected":"{{Comments.run()}}","key":"n0pj8z97ep","derivedColumns":{},"rightColumn":38,"textSize":"PARAGRAPH","widgetId":"zjf167vmt5","isVisibleFilters":true,"tableData":"{{Posts.data}}","isVisible":true,"label":"Data","searchKey":"","enableClientSideSearch":true,"version":3,"totalRecordsCount":0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"step":62,"status":75,"id":60,"userId":63}},{"widgetName":"Table2","defaultPageSize":0,"columnOrder":["postId","id","name","email","body"],"isVisibleDownload":true,"dynamicPropertyPathList":[],"displayName":"Table","iconSVG":"/static/media/icon.db8a9cbd.svg","topRow":4,"bottomRow":49,"isSortable":true,"parentRowSpace":10,"type":"TABLE_WIDGET","defaultSelectedRow":"0","hideCard":false,"animateLoading":true,"parentColumnSpace":22.1875,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"tableData"},{"key":"primaryColumns.postId.computedValue"},{"key":"primaryColumns.id.computedValue"},{"key":"primaryColumns.name.computedValue"},{"key":"primaryColumns.email.computedValue"},{"key":"primaryColumns.body.computedValue"}],"leftColumn":38,"primaryColumns":{"postId":{"index":0,"width":150,"id":"postId","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"postId","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.postId))}}"},"id":{"index":1,"width":150,"id":"id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"id","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.id))}}"},"name":{"index":2,"width":150,"id":"name","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"name","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.name))}}"},"email":{"index":3,"width":150,"id":"email","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"email","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.email))}}"},"body":{"index":4,"width":150,"id":"body","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"body","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.body))}}"}},"delimiter":",","key":"n0pj8z97ep","derivedColumns":{},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"yg7bh7rx32","isVisibleFilters":true,"tableData":"{{Comments.data}}","isVisible":true,"label":"Data","searchKey":"","enableClientSideSearch":true,"version":3,"totalRecordsCount":0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"step":62,"status":75,"postId":67,"id":60}},{"widgetName":"Text1","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":22.1875,"dynamicTriggerPathList":[],"leftColumn":38,"dynamicBindingPathList":[{"key":"text"}],"text":"Comments on {{Table1.selectedRow.title}}","key":"cg0sw4ivpy","rightColumn":54,"textAlign":"LEFT","widgetId":"qmerdmwfb9","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"fontSize":"PARAGRAPH"}]},"layoutOnLoadActions":[[{"id":"61c2bc207f07823aaeee8014","name":"Posts","pluginType":"API","jsonPathKeys":[],"timeoutInMillisecond":10000}],[{"id":"61c2bc637f07823aaeee8016","name":"Comments","pluginType":"API","jsonPathKeys":["Table1.selectedRow.id"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[]},"publishedPage":{"name":"Page1","slug":"page1","layouts":[{"id":"Page1","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1224,"snapColumns":16,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1254,"containerStyle":"none","snapRows":33,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":4,"minHeight":1292,"parentColumnSpace":1,"dynamicBindingPathList":[],"leftColumn":0,"children":[]},"new":false}],"userPermissions":[]},"new":true}],"publishedDefaultPageName":"Page1","unpublishedDefaultPageName":"Page1","actionList":[{"id":"61c2bc207f07823aaeee8014","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61c2bbdf7f07823aaeee800f_61c2bc207f07823aaeee8013","pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Posts","datasource":{"userPermissions":[],"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":"http://jsonplaceholder.typicode.com"},"invalids":[],"messages":[],"isValid":true,"new":true},"pageId":"Page1","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","path":"/posts","headers":[],"encodeParamsToggle":true,"queryParameters":[],"body":"","httpMethod":"GET","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":true,"dynamicBindingPathList":[],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":[],"confirmBeforeExecute":false,"userPermissions":[],"validName":"Posts"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"61c2bc637f07823aaeee8016","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61c2bbdf7f07823aaeee800f_61c2bc637f07823aaeee8015","pluginType":"API","pluginId":"restapi-plugin","unpublishedAction":{"name":"Comments","datasource":{"userPermissions":[],"name":"DEFAULT_REST_DATASOURCE","pluginId":"restapi-plugin","datasourceConfiguration":{"url":"http://jsonplaceholder.typicode.com"},"invalids":[],"messages":[],"isValid":true,"new":true},"pageId":"Page1","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","path":"/comments","headers":[],"encodeParamsToggle":true,"queryParameters":[{"key":"postId","value":"{{Table1.selectedRow.id}}"}],"body":"","httpMethod":"GET","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":true,"dynamicBindingPathList":[{"key":"path"},{"key":"queryParameters[0].value"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.selectedRow.id"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"Comments"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false}],"actionCollectionList":[],"decryptedFields":{},"publishedLayoutmongoEscapedWidgets":{},"unpublishedLayoutmongoEscapedWidgets":{}}
\ No newline at end of file
diff --git a/app/client/perf/tests/dsl/blog-admin-app-mysql.json b/app/client/perf/tests/dsl/blog-admin-app-mysql.json
deleted file mode 100644
index 474a20e64951..000000000000
--- a/app/client/perf/tests/dsl/blog-admin-app-mysql.json
+++ /dev/null
@@ -1 +0,0 @@
-{"clientSchemaVersion":1,"serverSchemaVersion":1,"exportedApplication":{"name":"GoldenApp","isPublic":true,"appIsExample":false,"unreadCommentThreads":0,"color":"#F1DEFF","icon":"love","slug":"goldenapp","evaluationVersion":2,"appLayout":{"type":"DESKTOP"},"new":true},"datasourceList":[{"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"60780a0c7dc0e0136c83e0fb_61efc11639a0da5942775f07","name":"FakeAPI","pluginId":"mysql-plugin","datasourceConfiguration":{"connection":{"mode":"READ_WRITE","ssl":{"authType":"DEFAULT"}},"endpoints":[{"host":"localhost","port":3306}],"sshProxyEnabled":false},"invalids":[],"messages":[],"isValid":true,"new":true}],"pageList":[{"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61efc0f939a0da5942775f01_61efc19939a0da5942775f10","unpublishedPage":{"name":"Blog","slug":"blog","layouts":[{"id":"Blog","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":1010,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":32,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":17,"bottomRow":124,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":1110,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["ID","post_title","post_excerpt","post_status","post_author","post_date","post_date_gmt","post_content","comment_status","ping_status","post_password","post_name","to_ping","pinged","post_modified","post_modified_gmt","post_content_filtered","post_parent","guid","menu_order","post_type","post_mime_type","comment_count","object_id","term_taxonomy_id","term_order","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":109,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"},{"key":"onRowSelected"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"primaryColumns.ID.computedValue"},{"key":"primaryColumns.post_author.computedValue"},{"key":"primaryColumns.post_date.computedValue"},{"key":"primaryColumns.post_date_gmt.computedValue"},{"key":"primaryColumns.post_content.computedValue"},{"key":"primaryColumns.post_title.computedValue"},{"key":"primaryColumns.post_excerpt.computedValue"},{"key":"primaryColumns.post_status.computedValue"},{"key":"primaryColumns.comment_status.computedValue"},{"key":"primaryColumns.ping_status.computedValue"},{"key":"primaryColumns.post_password.computedValue"},{"key":"primaryColumns.post_name.computedValue"},{"key":"primaryColumns.to_ping.computedValue"},{"key":"primaryColumns.pinged.computedValue"},{"key":"primaryColumns.post_modified.computedValue"},{"key":"primaryColumns.post_modified_gmt.computedValue"},{"key":"primaryColumns.post_content_filtered.computedValue"},{"key":"primaryColumns.post_parent.computedValue"},{"key":"primaryColumns.guid.computedValue"},{"key":"primaryColumns.menu_order.computedValue"},{"key":"primaryColumns.post_type.computedValue"},{"key":"primaryColumns.post_mime_type.computedValue"},{"key":"primaryColumns.comment_count.computedValue"},{"key":"primaryColumns.object_id.computedValue"},{"key":"primaryColumns.term_taxonomy_id.computedValue"},{"key":"primaryColumns.term_order.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"ID":{"index":0,"width":150,"id":"ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"ID","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ID))}}"},"post_author":{"index":1,"width":150,"id":"post_author","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_author","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_author))}}"},"post_date":{"index":2,"width":150,"id":"post_date","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_date","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_date))}}"},"post_date_gmt":{"index":3,"width":150,"id":"post_date_gmt","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_date_gmt","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_date_gmt))}}"},"post_content":{"index":4,"width":150,"id":"post_content","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_content","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_content))}}"},"post_title":{"index":5,"width":150,"id":"post_title","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_title","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_title))}}"},"post_excerpt":{"index":6,"width":150,"id":"post_excerpt","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_excerpt","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_excerpt))}}"},"post_status":{"index":7,"width":150,"id":"post_status","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_status","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_status))}}"},"comment_status":{"index":8,"width":150,"id":"comment_status","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_status","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_status))}}"},"ping_status":{"index":9,"width":150,"id":"ping_status","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"ping_status","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ping_status))}}"},"post_password":{"index":10,"width":150,"id":"post_password","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_password","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_password))}}"},"post_name":{"index":11,"width":150,"id":"post_name","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_name","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_name))}}"},"to_ping":{"index":12,"width":150,"id":"to_ping","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"to_ping","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.to_ping))}}"},"pinged":{"index":13,"width":150,"id":"pinged","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"pinged","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.pinged))}}"},"post_modified":{"index":14,"width":150,"id":"post_modified","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_modified","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_modified))}}"},"post_modified_gmt":{"index":15,"width":150,"id":"post_modified_gmt","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_modified_gmt","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_modified_gmt))}}"},"post_content_filtered":{"index":16,"width":150,"id":"post_content_filtered","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_content_filtered","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_content_filtered))}}"},"post_parent":{"index":17,"width":150,"id":"post_parent","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_parent","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_parent))}}"},"guid":{"index":18,"width":150,"id":"guid","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"guid","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.guid))}}"},"menu_order":{"index":19,"width":150,"id":"menu_order","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"menu_order","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.menu_order))}}"},"post_type":{"index":20,"width":150,"id":"post_type","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_type","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_type))}}"},"post_mime_type":{"index":21,"width":150,"id":"post_mime_type","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_mime_type","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_mime_type))}}"},"comment_count":{"index":22,"width":150,"id":"comment_count","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_count","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_count))}}"},"object_id":{"index":23,"width":150,"id":"object_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"object_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.object_id))}}"},"term_taxonomy_id":{"index":24,"width":150,"id":"term_taxonomy_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"term_taxonomy_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.term_taxonomy_id))}}"},"term_order":{"index":25,"width":150,"id":"term_order","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"term_order","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.term_order))}}"}},"delimiter":",","onRowSelected":"{{GetComments.run()}}","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ID","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"post_date\",\n\t\"value\": \"post_date\"\n}, \n{\n\t\"label\": \"post_date_gmt\",\n\t\"value\": \"post_date_gmt\"\n}, \n{\n\t\"label\": \"guid\",\n\t\"value\": \"guid\"\n}, \n{\n\t\"label\": \"post_author\",\n\t\"value\": \"post_author\"\n}, \n{\n\t\"label\": \"ID\",\n\t\"value\": \"ID\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Blog Posts"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"ID:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"guid:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"guid","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"post_author:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"post_author","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"post_date:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"post_date","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text24","rightColumn":19,"textAlign":"RIGHT","widgetId":"9t3vdjd5xj","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"post_date_gmt:"},{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":62,"widgetId":"5rfqxgj0vm","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"post_date_gmt","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":73,"bottomRow":124,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.ID}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":32,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Text20Copy","rightColumn":13,"textAlign":"RIGHT","widgetId":"1sjs79otqs","topRow":28,"bottomRow":32,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Author"},{"widgetName":"author","isFilterable":false,"displayName":"Select","iconSVG":"/static/media/icon.bd99caba.svg","labelText":"","topRow":28,"bottomRow":35,"parentRowSpace":10,"type":"DROP_DOWN_WIDGET","serverSideFiltering":false,"hideCard":false,"defaultOptionValue":"{{Table1.selectedRow.post_author\n}}","selectionType":"SINGLE_SELECT","animateLoading":true,"parentColumnSpace":12.16796875,"dynamicTriggerPathList":[],"leftColumn":13,"dynamicBindingPathList":[{"key":"defaultOptionValue"},{"key":"options"}],"options":"{{GetUsers.data.map(({ID:value,user_nicename:label})=>({value,label}))}}","placeholderText":"Select option","isDisabled":false,"key":"csk41khcun","isRequired":false,"rightColumn":63,"widgetId":"7c1l22596b","isVisible":true,"version":1,"parentId":"cicukwhp5j","renderMode":"CANVAS","isLoading":false},{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":36,"bottomRow":40,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":41,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":36,"bottomRow":40,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":27,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"title","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":13,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.post_title}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"excerpt","rightColumn":63,"widgetId":"mlhvfasf31","topRow":10,"bottomRow":20,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":13,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.post_excerpt}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Post: {{Table1.selectedRow.post_title}}"},{"widgetName":"Text17","rightColumn":13,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Title"},{"widgetName":"Text18","rightColumn":13,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":10,"bottomRow":14,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Excerpt"},{"widgetName":"Text20","rightColumn":13,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":21,"bottomRow":25,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Post status"},{"widgetName":"p_status","isFilterable":false,"displayName":"Select","iconSVG":"/static/media/icon.bd99caba.svg","labelText":"","topRow":21,"bottomRow":28,"parentRowSpace":10,"type":"DROP_DOWN_WIDGET","serverSideFiltering":false,"hideCard":false,"defaultOptionValue":"{{Table1.selectedRow.post_status}}","selectionType":"SINGLE_SELECT","animateLoading":true,"parentColumnSpace":9.59375,"dynamicTriggerPathList":[],"leftColumn":13,"dynamicBindingPathList":[{"key":"defaultOptionValue"}],"options":"[\n {\n \"label\": \"Publish\",\n \"value\": \"publish\"\n },\n {\n \"label\": \"Draft\",\n \"value\": \"draft\"\n },\n {\n \"label\": \"Auto draft\",\n \"value\": \"auto-draft\"\n }\n]","placeholderText":"Select option","isDisabled":false,"key":"mlwomqyu3s","isRequired":false,"rightColumn":63,"widgetId":"lo0yxls487","isVisible":true,"version":1,"parentId":"cicukwhp5j","renderMode":"CANVAS","isLoading":false}]}]},{"boxShadow":"NONE","widgetName":"Container2","borderColor":"transparent","isCanvas":true,"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":17,"bottomRow":71,"parentRowSpace":10,"type":"CONTAINER_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":22.1875,"leftColumn":32,"children":[{"widgetName":"Canvas6","rightColumn":532.5,"detachFromLayout":true,"displayName":"Canvas","widgetId":"ns44diaamt","containerStyle":"none","topRow":0,"bottomRow":490,"parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"z86ak9za7r","minHeight":400,"renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"widgetName":"Text25","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":12.16796875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"text"}],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"{{Table1.selectedRow.post_title}}","key":"6pacxcck35","rightColumn":64,"textAlign":"LEFT","widgetId":"lhjdqceozq","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"ns44diaamt","renderMode":"CANVAS","isLoading":false,"fontSize":"HEADING1"},{"widgetName":"Text26","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":9,"bottomRow":47,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":12.16796875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"text"}],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"{{Table1.selectedRow.post_content}}","key":"6pacxcck35","rightColumn":64,"textAlign":"LEFT","widgetId":"msnx2elzmi","isVisible":true,"fontStyle":"","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"ns44diaamt","renderMode":"CANVAS","isLoading":false,"fontSize":"PARAGRAPH"}],"key":"m1q7rvnf0q"}],"borderWidth":"0","key":"6q011hdwm8","backgroundColor":"#FFFFFF","rightColumn":64,"widgetId":"z86ak9za7r","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"borderRadius":"0"},{"widgetName":"categories","displayName":"MultiSelect","iconSVG":"/static/media/icon.a3495809.svg","labelText":"","topRow":9,"bottomRow":16,"parentRowSpace":10,"type":"MULTI_SELECT_WIDGET","serverSideFiltering":false,"hideCard":false,"defaultOptionValue":"[0]","animateLoading":true,"parentColumnSpace":22.1875,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":6,"dynamicBindingPathList":[{"key":"options"}],"options":"{{GetCategories.data.map(cat=>({label:cat.name,value:cat.term_id}))}}","placeholderText":"Select categories","isDisabled":false,"key":"o2jl2eb348","isRequired":false,"rightColumn":26,"widgetId":"n2sv5nbi06","isVisible":true,"version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"onOptionChange":"{{SelectQuery.run()}}"},{"widgetName":"Text27","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":22.1875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"Show posts from","key":"kf4mmyg152","rightColumn":6,"textAlign":"LEFT","widgetId":"mywn2w5z48","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"fontSize":"PARAGRAPH"},{"widgetName":"Text28","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":0,"bottomRow":7,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":22.1875,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"A Simple Blog Admin","key":"kf4mmyg152","rightColumn":37,"textAlign":"CENTER","widgetId":"3k35414uwf","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"fontSize":"HEADING1"},{"widgetName":"Table2","defaultPageSize":0,"columnOrder":["comment_ID","comment_post_ID","comment_author","comment_author_email","comment_author_url","comment_author_IP","comment_date","comment_date_gmt","comment_content","comment_karma","comment_approved","comment_agent","comment_type","comment_parent","user_id"],"isVisibleDownload":true,"dynamicPropertyPathList":[],"displayName":"Table","iconSVG":"/static/media/icon.db8a9cbd.svg","topRow":125,"bottomRow":186,"isSortable":true,"parentRowSpace":10,"type":"TABLE_WIDGET","defaultSelectedRow":"0","hideCard":false,"animateLoading":true,"parentColumnSpace":30.234375,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"tableData"},{"key":"primaryColumns.comment_ID.computedValue"},{"key":"primaryColumns.comment_post_ID.computedValue"},{"key":"primaryColumns.comment_author.computedValue"},{"key":"primaryColumns.comment_author_email.computedValue"},{"key":"primaryColumns.comment_author_url.computedValue"},{"key":"primaryColumns.comment_author_IP.computedValue"},{"key":"primaryColumns.comment_date.computedValue"},{"key":"primaryColumns.comment_date_gmt.computedValue"},{"key":"primaryColumns.comment_content.computedValue"},{"key":"primaryColumns.comment_karma.computedValue"},{"key":"primaryColumns.comment_approved.computedValue"},{"key":"primaryColumns.comment_agent.computedValue"},{"key":"primaryColumns.comment_type.computedValue"},{"key":"primaryColumns.comment_parent.computedValue"},{"key":"primaryColumns.user_id.computedValue"}],"leftColumn":0,"primaryColumns":{"comment_ID":{"index":0,"width":150,"id":"comment_ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_ID","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_ID))}}"},"comment_post_ID":{"index":1,"width":150,"id":"comment_post_ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_post_ID","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_post_ID))}}"},"comment_author":{"index":2,"width":150,"id":"comment_author","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author))}}"},"comment_author_email":{"index":3,"width":150,"id":"comment_author_email","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author_email","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_email))}}"},"comment_author_url":{"index":4,"width":150,"id":"comment_author_url","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author_url","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_url))}}"},"comment_author_IP":{"index":5,"width":150,"id":"comment_author_IP","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author_IP","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_IP))}}"},"comment_date":{"index":6,"width":150,"id":"comment_date","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_date","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_date))}}"},"comment_date_gmt":{"index":7,"width":150,"id":"comment_date_gmt","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_date_gmt","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_date_gmt))}}"},"comment_content":{"index":8,"width":150,"id":"comment_content","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_content","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_content))}}"},"comment_karma":{"index":9,"width":150,"id":"comment_karma","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_karma","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_karma))}}"},"comment_approved":{"index":10,"width":150,"id":"comment_approved","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_approved","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_approved))}}"},"comment_agent":{"index":11,"width":150,"id":"comment_agent","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_agent","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_agent))}}"},"comment_type":{"index":12,"width":150,"id":"comment_type","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_type","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_type))}}"},"comment_parent":{"index":13,"width":150,"id":"comment_parent","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_parent","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_parent))}}"},"user_id":{"index":14,"width":150,"id":"user_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_id","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.user_id))}}"}},"delimiter":",","key":"3o40dz6neg","derivedColumns":{},"rightColumn":32,"textSize":"PARAGRAPH","widgetId":"0w2wtazhe9","isVisibleFilters":true,"tableData":"{{GetComments.data}}","isVisible":true,"label":"Data","searchKey":"","enableClientSideSearch":true,"version":3,"totalRecordsCount":0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"step":62,"status":75}},{"widgetName":"Modal1","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.4975978e.svg","topRow":7,"bottomRow":31,"parentRowSpace":10,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"animateLoading":true,"parentColumnSpace":19.8125,"leftColumn":38,"children":[{"widgetName":"Canvas7","displayName":"Canvas","topRow":0,"bottomRow":760,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":770,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Icon1","rightColumn":64,"onClick":"{{closeModal('Modal1')}}","color":"#040627","iconName":"cross","displayName":"Icon","iconSVG":"/static/media/icon.31d6cfe0.svg","widgetId":"hmgi4boxq2","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"hideCard":true,"parentId":"76vv2ztsz3","renderMode":"CANVAS","isLoading":false,"leftColumn":56,"iconSize":24,"key":"o7daf79fmd"},{"widgetName":"Text29","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"Post Comments","key":"brfs5vee1o","rightColumn":41,"textAlign":"LEFT","widgetId":"53g2qiabn4","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"76vv2ztsz3","renderMode":"CANVAS","isLoading":false,"fontSize":"HEADING1"},{"widgetName":"Button2","onClick":"{{closeModal('Modal1')}}","buttonColor":"#03B365","displayName":"Button","iconSVG":"/static/media/icon.cca02633.svg","topRow":70,"bottomRow":74,"type":"BUTTON_WIDGET","hideCard":false,"animateLoading":true,"leftColumn":38,"text":"Close","isDisabled":false,"key":"5m8dfthjur","rightColumn":50,"isDefaultClickDisabled":true,"widgetId":"xuk880axit","buttonStyle":"PRIMARY","isVisible":true,"recaptchaType":"V3","version":1,"parentId":"76vv2ztsz3","renderMode":"CANVAS","isLoading":false,"buttonVariant":"SECONDARY","placement":"CENTER"},{"widgetName":"Button3","buttonColor":"#03B365","displayName":"Button","iconSVG":"/static/media/icon.cca02633.svg","topRow":70,"bottomRow":74,"type":"BUTTON_WIDGET","hideCard":false,"animateLoading":true,"leftColumn":50,"text":"Confirm","isDisabled":false,"key":"5m8dfthjur","rightColumn":62,"isDefaultClickDisabled":true,"widgetId":"1qemf70h8t","buttonStyle":"PRIMARY_BUTTON","isVisible":true,"recaptchaType":"V3","version":1,"parentId":"76vv2ztsz3","renderMode":"CANVAS","isLoading":false,"buttonVariant":"PRIMARY","placement":"CENTER"},{"widgetName":"Table3","defaultPageSize":0,"columnOrder":["step","task","status","action"],"isVisibleDownload":true,"displayName":"Table","iconSVG":"/static/media/icon.db8a9cbd.svg","topRow":7,"bottomRow":61,"isSortable":true,"parentRowSpace":10,"type":"TABLE_WIDGET","defaultSelectedRow":"0","hideCard":false,"animateLoading":true,"parentColumnSpace":14.96875,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"primaryColumns.step.computedValue"},{"key":"primaryColumns.task.computedValue"},{"key":"primaryColumns.status.computedValue"},{"key":"primaryColumns.action.computedValue"},{"key":"tableData"}],"leftColumn":1,"primaryColumns":{"step":{"index":0,"width":150,"id":"step","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isCellVisible":true,"isDerived":false,"label":"step","computedValue":"{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.step))}}","buttonColor":"#03B365","menuColor":"#03B365","labelColor":"#FFFFFF"},"task":{"index":1,"width":150,"id":"task","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isCellVisible":true,"isDerived":false,"label":"task","computedValue":"{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.task))}}","buttonColor":"#03B365","menuColor":"#03B365","labelColor":"#FFFFFF"},"status":{"index":2,"width":150,"id":"status","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isCellVisible":true,"isDerived":false,"label":"status","computedValue":"{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.status))}}","buttonColor":"#03B365","menuColor":"#03B365","labelColor":"#FFFFFF"},"action":{"index":3,"width":150,"id":"action","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"button","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isCellVisible":true,"isDisabled":false,"isDerived":false,"label":"action","onClick":"{{currentRow.step === '#1' ? showAlert('Done', 'success') : currentRow.step === '#2' ? navigateTo('https://docs.appsmith.com/core-concepts/connecting-to-data-sources/querying-a-database',undefined,'NEW_WINDOW') : navigateTo('https://docs.appsmith.com/core-concepts/displaying-data-read/display-data-tables',undefined,'NEW_WINDOW')}}","computedValue":"{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.action))}}","buttonColor":"#03B365","menuColor":"#03B365","labelColor":"#FFFFFF"}},"delimiter":",","key":"mcujxyczb9","derivedColumns":{},"rightColumn":63,"textSize":"PARAGRAPH","widgetId":"iyd643nar2","isVisibleFilters":true,"tableData":"{{GetComments.data}}","isVisible":true,"label":"Data","searchKey":"","enableClientSideSearch":true,"version":3,"totalRecordsCount":0,"parentId":"76vv2ztsz3","renderMode":"CANVAS","isLoading":false,"horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"step":62,"status":75}}],"isDisabled":false,"key":"r6kp6re5b6","rightColumn":475.5,"detachFromLayout":true,"widgetId":"76vv2ztsz3","isVisible":true,"version":1,"parentId":"wmh1lgly6x","renderMode":"CANVAS","isLoading":false}],"key":"x9fztaaory","height":770,"rightColumn":62,"detachFromLayout":true,"widgetId":"wmh1lgly6x","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","renderMode":"CANVAS","isLoading":false,"width":970},{"template":{"Text30":{"isVisible":true,"text":"{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.post_title;\n })();\n })}}","fontSize":"PARAGRAPH","fontStyle":"BOLD","textAlign":"LEFT","textColor":"#231F20","truncateButtonColor":"#FFC13D","widgetName":"Text30","shouldScroll":false,"shouldTruncate":true,"version":1,"animateLoading":true,"type":"TEXT_WIDGET","hideCard":false,"displayName":"Text","key":"v1b9fzdb90","iconSVG":"/static/media/icon.97c59b52.svg","textStyle":"HEADING","dynamicBindingPathList":[{"key":"text"}],"dynamicTriggerPathList":[],"widgetId":"ohm5dccyt3","renderMode":"CANVAS","isLoading":false,"leftColumn":16,"rightColumn":28,"topRow":0,"bottomRow":4,"parentId":"usb4ttw3tc"},"Text31":{"isVisible":true,"text":"{{List1.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.post_content;\n })();\n })}}","fontSize":"PARAGRAPH","fontStyle":"","textAlign":"LEFT","textColor":"#231F20","truncateButtonColor":"#FFC13D","widgetName":"Text31","shouldScroll":false,"shouldTruncate":true,"version":1,"animateLoading":true,"type":"TEXT_WIDGET","hideCard":false,"displayName":"Text","key":"v1b9fzdb90","iconSVG":"/static/media/icon.97c59b52.svg","textStyle":"BODY","dynamicBindingPathList":[{"key":"text"}],"dynamicTriggerPathList":[],"widgetId":"reanp9iexm","renderMode":"CANVAS","isLoading":false,"leftColumn":16,"rightColumn":24,"topRow":4,"bottomRow":8,"parentId":"usb4ttw3tc"}},"widgetName":"List1","listData":"{{SelectQuery.data}}","isCanvas":true,"displayName":"List","iconSVG":"/static/media/icon.9925ee17.svg","topRow":125,"bottomRow":186,"parentRowSpace":10,"type":"LIST_WIDGET","hideCard":false,"gridGap":0,"animateLoading":true,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":32,"dynamicBindingPathList":[{"key":"template.Text30.text"},{"key":"template.Text31.text"},{"key":"listData"}],"gridType":"vertical","enhancements":true,"children":[{"widgetName":"Canvas8","displayName":"Canvas","topRow":0,"bottomRow":400,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":false,"hideCard":true,"dropDisabled":true,"openParentPropertyPane":true,"minHeight":400,"noPad":true,"parentColumnSpace":1,"leftColumn":0,"children":[{"boxShadow":"NONE","widgetName":"Container3","borderColor":"transparent","disallowCopy":true,"isCanvas":true,"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":0,"bottomRow":12,"dragDisabled":true,"type":"CONTAINER_WIDGET","hideCard":false,"openParentPropertyPane":true,"isDeletable":false,"animateLoading":true,"leftColumn":0,"children":[{"widgetName":"Canvas9","detachFromLayout":true,"displayName":"Canvas","widgetId":"usb4ttw3tc","containerStyle":"none","topRow":0,"bottomRow":120,"parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"nwq8wjbrp3","renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"widgetName":"Text30","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":0,"bottomRow":4,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"text"}],"leftColumn":0,"shouldTruncate":true,"truncateButtonColor":"#FFC13D","text":"{{currentItem.post_title}}","key":"v1b9fzdb90","rightColumn":64,"textAlign":"LEFT","widgetId":"ohm5dccyt3","logBlackList":{"isVisible":true,"text":true,"fontSize":true,"fontStyle":true,"textAlign":true,"textColor":true,"truncateButtonColor":true,"widgetName":true,"shouldScroll":true,"shouldTruncate":true,"version":true,"animateLoading":true,"type":true,"hideCard":true,"displayName":true,"key":true,"iconSVG":true,"isCanvas":true,"textStyle":true,"dynamicBindingPathList":true,"dynamicTriggerPathList":true,"minHeight":true,"widgetId":true,"renderMode":true,"isLoading":true,"parentColumnSpace":true,"parentRowSpace":true,"leftColumn":true,"rightColumn":true,"topRow":true,"bottomRow":true,"parentId":true},"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"usb4ttw3tc","renderMode":"CANVAS","isLoading":false,"fontSize":"PARAGRAPH","textStyle":"HEADING"},{"widgetName":"Text31","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":4,"bottomRow":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"text"}],"leftColumn":0,"shouldTruncate":true,"truncateButtonColor":"#FFC13D","text":"{{currentItem.post_content}}","key":"v1b9fzdb90","rightColumn":64,"textAlign":"LEFT","widgetId":"reanp9iexm","logBlackList":{"isVisible":true,"text":true,"fontSize":true,"fontStyle":true,"textAlign":true,"textColor":true,"truncateButtonColor":true,"widgetName":true,"shouldScroll":true,"shouldTruncate":true,"version":true,"animateLoading":true,"type":true,"hideCard":true,"displayName":true,"key":true,"iconSVG":true,"isCanvas":true,"textStyle":true,"dynamicBindingPathList":true,"dynamicTriggerPathList":true,"minHeight":true,"widgetId":true,"renderMode":true,"isLoading":true,"parentColumnSpace":true,"parentRowSpace":true,"leftColumn":true,"rightColumn":true,"topRow":true,"bottomRow":true,"parentId":true},"isVisible":true,"fontStyle":"","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"usb4ttw3tc","renderMode":"CANVAS","isLoading":false,"fontSize":"PARAGRAPH","textStyle":"BODY"}],"key":"mndafeeggk"}],"borderWidth":"0","key":"we7dsrlk5c","disablePropertyPane":true,"backgroundColor":"white","rightColumn":64,"widgetId":"nwq8wjbrp3","containerStyle":"card","isVisible":true,"version":1,"parentId":"5c8r86iul8","renderMode":"CANVAS","isLoading":false,"borderRadius":"0"}],"key":"mndafeeggk","rightColumn":475.5,"detachFromLayout":true,"widgetId":"5c8r86iul8","containerStyle":"none","isVisible":true,"version":1,"parentId":"7o3wx5k1nd","renderMode":"CANVAS","isLoading":false}],"privateWidgets":{"Text30":true,"Text31":true},"key":"g39x389saf","backgroundColor":"transparent","rightColumn":64,"itemBackgroundColor":"#FFFFFF","widgetId":"7o3wx5k1nd","isVisible":true,"parentId":"0","renderMode":"CANVAS","isLoading":false}]},"layoutOnLoadActions":[[{"id":"Blog_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","categories.selectedOptionValues.reduce((str,value)=>`${str},${value}`,'0')","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000},{"id":"Blog_GetUsers","name":"GetUsers","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}],[{"id":"Blog_GetComments","name":"GetComments","pluginType":"DB","jsonPathKeys":["Table1.selectedRow.ID"],"timeoutInMillisecond":10000}],[{"id":"Blog_GetCategories","name":"GetCategories","pluginType":"DB","jsonPathKeys":[],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"publishedPage":{"name":"Blog","slug":"blog","layouts":[{"id":"Blog","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":1010,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":32,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":17,"bottomRow":124,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":1110,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["ID","post_title","post_excerpt","post_status","post_author","post_date","post_date_gmt","post_content","comment_status","ping_status","post_password","post_name","to_ping","pinged","post_modified","post_modified_gmt","post_content_filtered","post_parent","guid","menu_order","post_type","post_mime_type","comment_count","object_id","term_taxonomy_id","term_order","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":109,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"},{"key":"onRowSelected"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"primaryColumns.ID.computedValue"},{"key":"primaryColumns.post_author.computedValue"},{"key":"primaryColumns.post_date.computedValue"},{"key":"primaryColumns.post_date_gmt.computedValue"},{"key":"primaryColumns.post_content.computedValue"},{"key":"primaryColumns.post_title.computedValue"},{"key":"primaryColumns.post_excerpt.computedValue"},{"key":"primaryColumns.post_status.computedValue"},{"key":"primaryColumns.comment_status.computedValue"},{"key":"primaryColumns.ping_status.computedValue"},{"key":"primaryColumns.post_password.computedValue"},{"key":"primaryColumns.post_name.computedValue"},{"key":"primaryColumns.to_ping.computedValue"},{"key":"primaryColumns.pinged.computedValue"},{"key":"primaryColumns.post_modified.computedValue"},{"key":"primaryColumns.post_modified_gmt.computedValue"},{"key":"primaryColumns.post_content_filtered.computedValue"},{"key":"primaryColumns.post_parent.computedValue"},{"key":"primaryColumns.guid.computedValue"},{"key":"primaryColumns.menu_order.computedValue"},{"key":"primaryColumns.post_type.computedValue"},{"key":"primaryColumns.post_mime_type.computedValue"},{"key":"primaryColumns.comment_count.computedValue"},{"key":"primaryColumns.object_id.computedValue"},{"key":"primaryColumns.term_taxonomy_id.computedValue"},{"key":"primaryColumns.term_order.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"ID":{"index":0,"width":150,"id":"ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"ID","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ID))}}"},"post_author":{"index":1,"width":150,"id":"post_author","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_author","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_author))}}"},"post_date":{"index":2,"width":150,"id":"post_date","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_date","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_date))}}"},"post_date_gmt":{"index":3,"width":150,"id":"post_date_gmt","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_date_gmt","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_date_gmt))}}"},"post_content":{"index":4,"width":150,"id":"post_content","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_content","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_content))}}"},"post_title":{"index":5,"width":150,"id":"post_title","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_title","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_title))}}"},"post_excerpt":{"index":6,"width":150,"id":"post_excerpt","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_excerpt","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_excerpt))}}"},"post_status":{"index":7,"width":150,"id":"post_status","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_status","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_status))}}"},"comment_status":{"index":8,"width":150,"id":"comment_status","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_status","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_status))}}"},"ping_status":{"index":9,"width":150,"id":"ping_status","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"ping_status","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ping_status))}}"},"post_password":{"index":10,"width":150,"id":"post_password","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_password","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_password))}}"},"post_name":{"index":11,"width":150,"id":"post_name","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_name","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_name))}}"},"to_ping":{"index":12,"width":150,"id":"to_ping","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"to_ping","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.to_ping))}}"},"pinged":{"index":13,"width":150,"id":"pinged","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"pinged","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.pinged))}}"},"post_modified":{"index":14,"width":150,"id":"post_modified","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_modified","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_modified))}}"},"post_modified_gmt":{"index":15,"width":150,"id":"post_modified_gmt","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_modified_gmt","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_modified_gmt))}}"},"post_content_filtered":{"index":16,"width":150,"id":"post_content_filtered","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_content_filtered","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_content_filtered))}}"},"post_parent":{"index":17,"width":150,"id":"post_parent","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_parent","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_parent))}}"},"guid":{"index":18,"width":150,"id":"guid","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"guid","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.guid))}}"},"menu_order":{"index":19,"width":150,"id":"menu_order","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"menu_order","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.menu_order))}}"},"post_type":{"index":20,"width":150,"id":"post_type","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_type","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_type))}}"},"post_mime_type":{"index":21,"width":150,"id":"post_mime_type","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_mime_type","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_mime_type))}}"},"comment_count":{"index":22,"width":150,"id":"comment_count","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_count","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_count))}}"},"object_id":{"index":23,"width":150,"id":"object_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"object_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.object_id))}}"},"term_taxonomy_id":{"index":24,"width":150,"id":"term_taxonomy_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"term_taxonomy_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.term_taxonomy_id))}}"},"term_order":{"index":25,"width":150,"id":"term_order","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"term_order","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.term_order))}}"}},"delimiter":",","onRowSelected":"{{GetComments.run()}}","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ID","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"post_date\",\n\t\"value\": \"post_date\"\n}, \n{\n\t\"label\": \"post_date_gmt\",\n\t\"value\": \"post_date_gmt\"\n}, \n{\n\t\"label\": \"guid\",\n\t\"value\": \"guid\"\n}, \n{\n\t\"label\": \"post_author\",\n\t\"value\": \"post_author\"\n}, \n{\n\t\"label\": \"ID\",\n\t\"value\": \"ID\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Blog Posts"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"ID:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"guid:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"guid","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"post_author:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"post_author","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"post_date:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"post_date","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text24","rightColumn":19,"textAlign":"RIGHT","widgetId":"9t3vdjd5xj","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"post_date_gmt:"},{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":62,"widgetId":"5rfqxgj0vm","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"post_date_gmt","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":73,"bottomRow":124,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.ID}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":32,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Text20Copy","rightColumn":13,"textAlign":"RIGHT","widgetId":"1sjs79otqs","topRow":28,"bottomRow":32,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Author"},{"widgetName":"author","isFilterable":false,"displayName":"Select","iconSVG":"/static/media/icon.bd99caba.svg","labelText":"","topRow":28,"bottomRow":35,"parentRowSpace":10,"type":"DROP_DOWN_WIDGET","serverSideFiltering":false,"hideCard":false,"defaultOptionValue":"{{Table1.selectedRow.post_author\n}}","selectionType":"SINGLE_SELECT","animateLoading":true,"parentColumnSpace":12.16796875,"dynamicTriggerPathList":[],"leftColumn":13,"dynamicBindingPathList":[{"key":"defaultOptionValue"},{"key":"options"}],"options":"{{GetUsers.data.map(({ID:value,user_nicename:label})=>({value,label}))}}","placeholderText":"Select option","isDisabled":false,"key":"csk41khcun","isRequired":false,"rightColumn":63,"widgetId":"7c1l22596b","isVisible":true,"version":1,"parentId":"cicukwhp5j","renderMode":"CANVAS","isLoading":false},{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":36,"bottomRow":40,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":41,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":36,"bottomRow":40,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":27,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"title","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":13,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.post_title}}","isDisabled":false,"validation":"true"},{"isRequired":false,"widgetName":"excerpt","rightColumn":63,"widgetId":"mlhvfasf31","topRow":10,"bottomRow":20,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":13,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.post_excerpt}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Post: {{Table1.selectedRow.post_title}}"},{"widgetName":"Text17","rightColumn":13,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Title"},{"widgetName":"Text18","rightColumn":13,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":10,"bottomRow":14,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Excerpt"},{"widgetName":"Text20","rightColumn":13,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":21,"bottomRow":25,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Post status"},{"widgetName":"p_status","isFilterable":false,"displayName":"Select","iconSVG":"/static/media/icon.bd99caba.svg","labelText":"","topRow":21,"bottomRow":28,"parentRowSpace":10,"type":"DROP_DOWN_WIDGET","serverSideFiltering":false,"hideCard":false,"defaultOptionValue":"{{Table1.selectedRow.post_status}}","selectionType":"SINGLE_SELECT","animateLoading":true,"parentColumnSpace":9.59375,"dynamicTriggerPathList":[],"leftColumn":13,"dynamicBindingPathList":[{"key":"defaultOptionValue"}],"options":"[\n {\n \"label\": \"Publish\",\n \"value\": \"publish\"\n },\n {\n \"label\": \"Draft\",\n \"value\": \"draft\"\n },\n {\n \"label\": \"Auto draft\",\n \"value\": \"auto-draft\"\n }\n]","placeholderText":"Select option","isDisabled":false,"key":"mlwomqyu3s","isRequired":false,"rightColumn":63,"widgetId":"lo0yxls487","isVisible":true,"version":1,"parentId":"cicukwhp5j","renderMode":"CANVAS","isLoading":false}]}]},{"boxShadow":"NONE","widgetName":"Container2","borderColor":"transparent","isCanvas":true,"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":17,"bottomRow":71,"parentRowSpace":10,"type":"CONTAINER_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":22.1875,"leftColumn":32,"children":[{"widgetName":"Canvas6","rightColumn":532.5,"detachFromLayout":true,"displayName":"Canvas","widgetId":"ns44diaamt","containerStyle":"none","topRow":0,"bottomRow":490,"parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"z86ak9za7r","minHeight":400,"renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"widgetName":"Text25","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":12.16796875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"text"}],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"{{Table1.selectedRow.post_title}}","key":"6pacxcck35","rightColumn":64,"textAlign":"LEFT","widgetId":"lhjdqceozq","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"ns44diaamt","renderMode":"CANVAS","isLoading":false,"fontSize":"HEADING1"},{"widgetName":"Text26","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":9,"bottomRow":47,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":12.16796875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"text"}],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"{{Table1.selectedRow.post_content}}","key":"6pacxcck35","rightColumn":64,"textAlign":"LEFT","widgetId":"msnx2elzmi","isVisible":true,"fontStyle":"","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"ns44diaamt","renderMode":"CANVAS","isLoading":false,"fontSize":"PARAGRAPH"}],"key":"m1q7rvnf0q"}],"borderWidth":"0","key":"6q011hdwm8","backgroundColor":"#FFFFFF","rightColumn":64,"widgetId":"z86ak9za7r","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"borderRadius":"0"},{"widgetName":"categories","displayName":"MultiSelect","iconSVG":"/static/media/icon.a3495809.svg","labelText":"","topRow":9,"bottomRow":16,"parentRowSpace":10,"type":"MULTI_SELECT_WIDGET","serverSideFiltering":false,"hideCard":false,"defaultOptionValue":"[0]","animateLoading":true,"parentColumnSpace":22.1875,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":6,"dynamicBindingPathList":[{"key":"options"}],"options":"{{GetCategories.data.map(cat=>({label:cat.name,value:cat.term_id}))}}","placeholderText":"Select categories","isDisabled":false,"key":"o2jl2eb348","isRequired":false,"rightColumn":26,"widgetId":"n2sv5nbi06","isVisible":true,"version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"onOptionChange":"{{SelectQuery.run()}}"},{"widgetName":"Text27","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":22.1875,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"Show posts from","key":"kf4mmyg152","rightColumn":6,"textAlign":"LEFT","widgetId":"mywn2w5z48","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"fontSize":"PARAGRAPH"},{"widgetName":"Text28","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":0,"bottomRow":7,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":22.1875,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"A Simple Blog Admin","key":"kf4mmyg152","rightColumn":37,"textAlign":"CENTER","widgetId":"3k35414uwf","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"fontSize":"HEADING1"},{"widgetName":"Table2","defaultPageSize":0,"columnOrder":["comment_ID","comment_post_ID","comment_author","comment_author_email","comment_author_url","comment_author_IP","comment_date","comment_date_gmt","comment_content","comment_karma","comment_approved","comment_agent","comment_type","comment_parent","user_id"],"isVisibleDownload":true,"dynamicPropertyPathList":[],"displayName":"Table","iconSVG":"/static/media/icon.db8a9cbd.svg","topRow":125,"bottomRow":186,"isSortable":true,"parentRowSpace":10,"type":"TABLE_WIDGET","defaultSelectedRow":"0","hideCard":false,"animateLoading":true,"parentColumnSpace":30.234375,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"tableData"},{"key":"primaryColumns.comment_ID.computedValue"},{"key":"primaryColumns.comment_post_ID.computedValue"},{"key":"primaryColumns.comment_author.computedValue"},{"key":"primaryColumns.comment_author_email.computedValue"},{"key":"primaryColumns.comment_author_url.computedValue"},{"key":"primaryColumns.comment_author_IP.computedValue"},{"key":"primaryColumns.comment_date.computedValue"},{"key":"primaryColumns.comment_date_gmt.computedValue"},{"key":"primaryColumns.comment_content.computedValue"},{"key":"primaryColumns.comment_karma.computedValue"},{"key":"primaryColumns.comment_approved.computedValue"},{"key":"primaryColumns.comment_agent.computedValue"},{"key":"primaryColumns.comment_type.computedValue"},{"key":"primaryColumns.comment_parent.computedValue"},{"key":"primaryColumns.user_id.computedValue"}],"leftColumn":0,"primaryColumns":{"comment_ID":{"index":0,"width":150,"id":"comment_ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_ID","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_ID))}}"},"comment_post_ID":{"index":1,"width":150,"id":"comment_post_ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_post_ID","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_post_ID))}}"},"comment_author":{"index":2,"width":150,"id":"comment_author","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author))}}"},"comment_author_email":{"index":3,"width":150,"id":"comment_author_email","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author_email","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_email))}}"},"comment_author_url":{"index":4,"width":150,"id":"comment_author_url","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author_url","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_url))}}"},"comment_author_IP":{"index":5,"width":150,"id":"comment_author_IP","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author_IP","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_IP))}}"},"comment_date":{"index":6,"width":150,"id":"comment_date","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_date","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_date))}}"},"comment_date_gmt":{"index":7,"width":150,"id":"comment_date_gmt","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_date_gmt","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_date_gmt))}}"},"comment_content":{"index":8,"width":150,"id":"comment_content","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_content","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_content))}}"},"comment_karma":{"index":9,"width":150,"id":"comment_karma","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_karma","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_karma))}}"},"comment_approved":{"index":10,"width":150,"id":"comment_approved","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_approved","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_approved))}}"},"comment_agent":{"index":11,"width":150,"id":"comment_agent","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_agent","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_agent))}}"},"comment_type":{"index":12,"width":150,"id":"comment_type","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_type","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_type))}}"},"comment_parent":{"index":13,"width":150,"id":"comment_parent","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_parent","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_parent))}}"},"user_id":{"index":14,"width":150,"id":"user_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_id","computedValue":"{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.user_id))}}"}},"delimiter":",","key":"3o40dz6neg","derivedColumns":{},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"0w2wtazhe9","isVisibleFilters":true,"tableData":"{{GetComments.data}}","isVisible":true,"label":"Data","searchKey":"","enableClientSideSearch":true,"version":3,"totalRecordsCount":0,"parentId":"0","renderMode":"CANVAS","isLoading":false,"horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"step":62,"status":75}},{"widgetName":"Modal1","isCanvas":true,"displayName":"Modal","iconSVG":"/static/media/icon.4975978e.svg","topRow":7,"bottomRow":31,"parentRowSpace":10,"type":"MODAL_WIDGET","hideCard":false,"shouldScrollContents":true,"animateLoading":true,"parentColumnSpace":19.8125,"leftColumn":38,"children":[{"widgetName":"Canvas7","displayName":"Canvas","topRow":0,"bottomRow":760,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"hideCard":true,"shouldScrollContents":false,"minHeight":770,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Icon1","rightColumn":64,"onClick":"{{closeModal('Modal1')}}","color":"#040627","iconName":"cross","displayName":"Icon","iconSVG":"/static/media/icon.31d6cfe0.svg","widgetId":"hmgi4boxq2","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_WIDGET","version":1,"hideCard":true,"parentId":"76vv2ztsz3","renderMode":"CANVAS","isLoading":false,"leftColumn":56,"iconSize":24,"key":"o7daf79fmd"},{"widgetName":"Text29","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"Post Comments","key":"brfs5vee1o","rightColumn":41,"textAlign":"LEFT","widgetId":"53g2qiabn4","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"76vv2ztsz3","renderMode":"CANVAS","isLoading":false,"fontSize":"HEADING1"},{"widgetName":"Button2","onClick":"{{closeModal('Modal1')}}","buttonColor":"#03B365","displayName":"Button","iconSVG":"/static/media/icon.cca02633.svg","topRow":70,"bottomRow":74,"type":"BUTTON_WIDGET","hideCard":false,"animateLoading":true,"leftColumn":38,"text":"Close","isDisabled":false,"key":"5m8dfthjur","rightColumn":50,"isDefaultClickDisabled":true,"widgetId":"xuk880axit","buttonStyle":"PRIMARY","isVisible":true,"recaptchaType":"V3","version":1,"parentId":"76vv2ztsz3","renderMode":"CANVAS","isLoading":false,"buttonVariant":"SECONDARY","placement":"CENTER"},{"widgetName":"Button3","buttonColor":"#03B365","displayName":"Button","iconSVG":"/static/media/icon.cca02633.svg","topRow":70,"bottomRow":74,"type":"BUTTON_WIDGET","hideCard":false,"animateLoading":true,"leftColumn":50,"text":"Confirm","isDisabled":false,"key":"5m8dfthjur","rightColumn":62,"isDefaultClickDisabled":true,"widgetId":"1qemf70h8t","buttonStyle":"PRIMARY_BUTTON","isVisible":true,"recaptchaType":"V3","version":1,"parentId":"76vv2ztsz3","renderMode":"CANVAS","isLoading":false,"buttonVariant":"PRIMARY","placement":"CENTER"},{"widgetName":"Table3","defaultPageSize":0,"columnOrder":["step","task","status","action"],"isVisibleDownload":true,"displayName":"Table","iconSVG":"/static/media/icon.db8a9cbd.svg","topRow":7,"bottomRow":61,"isSortable":true,"parentRowSpace":10,"type":"TABLE_WIDGET","defaultSelectedRow":"0","hideCard":false,"animateLoading":true,"parentColumnSpace":14.96875,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"primaryColumns.step.computedValue"},{"key":"primaryColumns.task.computedValue"},{"key":"primaryColumns.status.computedValue"},{"key":"primaryColumns.action.computedValue"},{"key":"tableData"}],"leftColumn":1,"primaryColumns":{"step":{"index":0,"width":150,"id":"step","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isCellVisible":true,"isDerived":false,"label":"step","computedValue":"{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.step))}}","buttonColor":"#03B365","menuColor":"#03B365","labelColor":"#FFFFFF"},"task":{"index":1,"width":150,"id":"task","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isCellVisible":true,"isDerived":false,"label":"task","computedValue":"{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.task))}}","buttonColor":"#03B365","menuColor":"#03B365","labelColor":"#FFFFFF"},"status":{"index":2,"width":150,"id":"status","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isCellVisible":true,"isDerived":false,"label":"status","computedValue":"{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.status))}}","buttonColor":"#03B365","menuColor":"#03B365","labelColor":"#FFFFFF"},"action":{"index":3,"width":150,"id":"action","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"button","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isCellVisible":true,"isDisabled":false,"isDerived":false,"label":"action","onClick":"{{currentRow.step === '#1' ? showAlert('Done', 'success') : currentRow.step === '#2' ? navigateTo('https://docs.appsmith.com/core-concepts/connecting-to-data-sources/querying-a-database',undefined,'NEW_WINDOW') : navigateTo('https://docs.appsmith.com/core-concepts/displaying-data-read/display-data-tables',undefined,'NEW_WINDOW')}}","computedValue":"{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.action))}}","buttonColor":"#03B365","menuColor":"#03B365","labelColor":"#FFFFFF"}},"delimiter":",","key":"mcujxyczb9","derivedColumns":{},"rightColumn":63,"textSize":"PARAGRAPH","widgetId":"iyd643nar2","isVisibleFilters":true,"tableData":"{{GetComments.data}}","isVisible":true,"label":"Data","searchKey":"","enableClientSideSearch":true,"version":3,"totalRecordsCount":0,"parentId":"76vv2ztsz3","renderMode":"CANVAS","isLoading":false,"horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"step":62,"status":75}}],"isDisabled":false,"key":"r6kp6re5b6","rightColumn":475.5,"detachFromLayout":true,"widgetId":"76vv2ztsz3","isVisible":true,"version":1,"parentId":"wmh1lgly6x","renderMode":"CANVAS","isLoading":false}],"key":"x9fztaaory","height":770,"rightColumn":62,"detachFromLayout":true,"widgetId":"wmh1lgly6x","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","renderMode":"CANVAS","isLoading":false,"width":970}]},"layoutOnLoadActions":[[{"id":"Blog_GetUsers","name":"GetUsers","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000},{"id":"Blog_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","categories.selectedOptionValues.reduce((str,value)=>`${str},${value}`,'0')","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}],[{"id":"Blog_GetComments","name":"GetComments","pluginType":"DB","jsonPathKeys":["Table1.selectedRow.ID"],"timeoutInMillisecond":10000}],[{"id":"Blog_GetCategories","name":"GetCategories","pluginType":"DB","jsonPathKeys":[],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"new":true},{"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61efc0f939a0da5942775f01_61eff4883b61bf7f582f1831","unpublishedPage":{"name":"Users","slug":"users","layouts":[{"id":"Users","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1432,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":50,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["ID","user_login","user_pass","user_nicename","user_email","user_url","user_registered","user_activation_key","user_status","display_name","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.ID.computedValue"},{"key":"primaryColumns.user_login.computedValue"},{"key":"primaryColumns.user_pass.computedValue"},{"key":"primaryColumns.user_nicename.computedValue"},{"key":"primaryColumns.user_email.computedValue"},{"key":"primaryColumns.user_url.computedValue"},{"key":"primaryColumns.user_registered.computedValue"},{"key":"primaryColumns.user_activation_key.computedValue"},{"key":"primaryColumns.user_status.computedValue"},{"key":"primaryColumns.display_name.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"ID":{"index":0,"width":150,"id":"ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"ID","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ID))}}"},"user_login":{"index":1,"width":150,"id":"user_login","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_login","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_login))}}"},"user_pass":{"index":2,"width":150,"id":"user_pass","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_pass","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_pass))}}"},"user_nicename":{"index":3,"width":150,"id":"user_nicename","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_nicename","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_nicename))}}"},"user_email":{"index":4,"width":150,"id":"user_email","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_email","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_email))}}"},"user_url":{"index":5,"width":150,"id":"user_url","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_url","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_url))}}"},"user_registered":{"index":6,"width":150,"id":"user_registered","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_registered","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_registered))}}"},"user_activation_key":{"index":7,"width":150,"id":"user_activation_key","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_activation_key","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_activation_key))}}"},"user_status":{"index":8,"width":150,"id":"user_status","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_status","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_status))}}"},"display_name":{"index":9,"width":150,"id":"display_name","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"display_name","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.display_name))}}"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ID","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"user_nicename\",\n\t\"value\": \"user_nicename\"\n}, \n{\n\t\"label\": \"user_email\",\n\t\"value\": \"user_email\"\n}, \n{\n\t\"label\": \"user_login\",\n\t\"value\": \"user_login\"\n}, \n{\n\t\"label\": \"user_pass\",\n\t\"value\": \"user_pass\"\n}, \n{\n\t\"label\": \"ID\",\n\t\"value\": \"ID\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_users Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"ID:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_login:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"user_login","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_pass:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"user_pass","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_nicename:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"user_nicename","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text24","rightColumn":19,"textAlign":"RIGHT","widgetId":"9t3vdjd5xj","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_email:"},{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":62,"widgetId":"5rfqxgj0vm","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"user_email","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.ID}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_login}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_pass}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_nicename}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"m4esf7fww5","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_email}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.ID}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_login:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_pass:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_nicename:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_email:"}]}]}]},"layoutOnLoadActions":[[{"id":"Users_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"publishedPage":{"name":"Users","slug":"users","layouts":[{"id":"Users","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1432,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":50,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["ID","user_login","user_pass","user_nicename","user_email","user_url","user_registered","user_activation_key","user_status","display_name","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.ID.computedValue"},{"key":"primaryColumns.user_login.computedValue"},{"key":"primaryColumns.user_pass.computedValue"},{"key":"primaryColumns.user_nicename.computedValue"},{"key":"primaryColumns.user_email.computedValue"},{"key":"primaryColumns.user_url.computedValue"},{"key":"primaryColumns.user_registered.computedValue"},{"key":"primaryColumns.user_activation_key.computedValue"},{"key":"primaryColumns.user_status.computedValue"},{"key":"primaryColumns.display_name.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"ID":{"index":0,"width":150,"id":"ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"ID","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ID))}}"},"user_login":{"index":1,"width":150,"id":"user_login","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_login","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_login))}}"},"user_pass":{"index":2,"width":150,"id":"user_pass","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_pass","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_pass))}}"},"user_nicename":{"index":3,"width":150,"id":"user_nicename","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_nicename","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_nicename))}}"},"user_email":{"index":4,"width":150,"id":"user_email","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_email","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_email))}}"},"user_url":{"index":5,"width":150,"id":"user_url","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_url","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_url))}}"},"user_registered":{"index":6,"width":150,"id":"user_registered","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_registered","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_registered))}}"},"user_activation_key":{"index":7,"width":150,"id":"user_activation_key","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_activation_key","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_activation_key))}}"},"user_status":{"index":8,"width":150,"id":"user_status","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_status","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_status))}}"},"display_name":{"index":9,"width":150,"id":"display_name","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"display_name","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.display_name))}}"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ID","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"user_nicename\",\n\t\"value\": \"user_nicename\"\n}, \n{\n\t\"label\": \"user_email\",\n\t\"value\": \"user_email\"\n}, \n{\n\t\"label\": \"user_login\",\n\t\"value\": \"user_login\"\n}, \n{\n\t\"label\": \"user_pass\",\n\t\"value\": \"user_pass\"\n}, \n{\n\t\"label\": \"ID\",\n\t\"value\": \"ID\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_users Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"ID:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_login:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"user_login","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_pass:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"user_pass","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_nicename:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"user_nicename","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text24","rightColumn":19,"textAlign":"RIGHT","widgetId":"9t3vdjd5xj","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_email:"},{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":62,"widgetId":"5rfqxgj0vm","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"user_email","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.ID}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_login}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_pass}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_nicename}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"m4esf7fww5","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_email}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.ID}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_login:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_pass:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_nicename:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_email:"}]}]}]},"layoutOnLoadActions":[[{"id":"Users_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"new":true},{"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61efc0f939a0da5942775f01_61f3ad8f345f0c36171f8d4b","unpublishedPage":{"name":"Comments","slug":"comments","layouts":[{"id":"Comments","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["comment_ID","comment_post_ID","comment_author","comment_author_email","comment_author_url","comment_author_IP","comment_date","comment_date_gmt","comment_content","comment_karma","comment_approved","comment_agent","comment_type","comment_parent","user_id","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.comment_ID.computedValue"},{"key":"primaryColumns.comment_post_ID.computedValue"},{"key":"primaryColumns.comment_author.computedValue"},{"key":"primaryColumns.comment_author_email.computedValue"},{"key":"primaryColumns.comment_author_url.computedValue"},{"key":"primaryColumns.comment_author_IP.computedValue"},{"key":"primaryColumns.comment_date.computedValue"},{"key":"primaryColumns.comment_date_gmt.computedValue"},{"key":"primaryColumns.comment_content.computedValue"},{"key":"primaryColumns.comment_karma.computedValue"},{"key":"primaryColumns.comment_approved.computedValue"},{"key":"primaryColumns.comment_agent.computedValue"},{"key":"primaryColumns.comment_type.computedValue"},{"key":"primaryColumns.comment_parent.computedValue"},{"key":"primaryColumns.user_id.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"comment_ID":{"index":0,"width":150,"id":"comment_ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_ID","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_ID))}}"},"comment_post_ID":{"index":1,"width":150,"id":"comment_post_ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_post_ID","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_post_ID))}}"},"comment_author":{"index":2,"width":150,"id":"comment_author","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author))}}"},"comment_author_email":{"index":3,"width":150,"id":"comment_author_email","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author_email","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_email))}}"},"comment_author_url":{"index":4,"width":150,"id":"comment_author_url","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author_url","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_url))}}"},"comment_author_IP":{"index":5,"width":150,"id":"comment_author_IP","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author_IP","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_IP))}}"},"comment_date":{"index":6,"width":150,"id":"comment_date","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_date","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_date))}}"},"comment_date_gmt":{"index":7,"width":150,"id":"comment_date_gmt","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_date_gmt","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_date_gmt))}}"},"comment_content":{"index":8,"width":150,"id":"comment_content","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_content","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_content))}}"},"comment_karma":{"index":9,"width":150,"id":"comment_karma","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_karma","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_karma))}}"},"comment_approved":{"index":10,"width":150,"id":"comment_approved","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_approved","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_approved))}}"},"comment_agent":{"index":11,"width":150,"id":"comment_agent","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_agent","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_agent))}}"},"comment_type":{"index":12,"width":150,"id":"comment_type","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_type","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_type))}}"},"comment_parent":{"index":13,"width":150,"id":"comment_parent","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_parent","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_parent))}}"},"user_id":{"index":14,"width":150,"id":"user_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_id))}}"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"comment_ID","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"comment_author\",\n\t\"value\": \"comment_author\"\n}, \n{\n\t\"label\": \"comment_author_url\",\n\t\"value\": \"comment_author_url\"\n}, \n{\n\t\"label\": \"comment_author_email\",\n\t\"value\": \"comment_author_email\"\n}, \n{\n\t\"label\": \"comment_post_ID\",\n\t\"value\": \"comment_post_ID\"\n}, \n{\n\t\"label\": \"comment_ID\",\n\t\"value\": \"comment_ID\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_comments Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_ID:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_author_email:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"comment_author_email","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_post_ID:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"comment_post_ID","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_author:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"comment_author","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text24","rightColumn":19,"textAlign":"RIGHT","widgetId":"9t3vdjd5xj","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_author_url:"},{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":62,"widgetId":"5rfqxgj0vm","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"comment_author_url","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.comment_ID}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.comment_author_email}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.comment_post_ID}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.comment_author}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"m4esf7fww5","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.comment_author_url}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.comment_ID}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_author_email:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_post_ID:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_author:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_author_url:"}]}]}]},"layoutOnLoadActions":[[{"id":"Comments_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"publishedPage":{"name":"Comments","slug":"comments","layouts":[{"id":"Comments","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["comment_ID","comment_post_ID","comment_author","comment_author_email","comment_author_url","comment_author_IP","comment_date","comment_date_gmt","comment_content","comment_karma","comment_approved","comment_agent","comment_type","comment_parent","user_id","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.comment_ID.computedValue"},{"key":"primaryColumns.comment_post_ID.computedValue"},{"key":"primaryColumns.comment_author.computedValue"},{"key":"primaryColumns.comment_author_email.computedValue"},{"key":"primaryColumns.comment_author_url.computedValue"},{"key":"primaryColumns.comment_author_IP.computedValue"},{"key":"primaryColumns.comment_date.computedValue"},{"key":"primaryColumns.comment_date_gmt.computedValue"},{"key":"primaryColumns.comment_content.computedValue"},{"key":"primaryColumns.comment_karma.computedValue"},{"key":"primaryColumns.comment_approved.computedValue"},{"key":"primaryColumns.comment_agent.computedValue"},{"key":"primaryColumns.comment_type.computedValue"},{"key":"primaryColumns.comment_parent.computedValue"},{"key":"primaryColumns.user_id.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"comment_ID":{"index":0,"width":150,"id":"comment_ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_ID","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_ID))}}"},"comment_post_ID":{"index":1,"width":150,"id":"comment_post_ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_post_ID","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_post_ID))}}"},"comment_author":{"index":2,"width":150,"id":"comment_author","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author))}}"},"comment_author_email":{"index":3,"width":150,"id":"comment_author_email","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author_email","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_email))}}"},"comment_author_url":{"index":4,"width":150,"id":"comment_author_url","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author_url","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_url))}}"},"comment_author_IP":{"index":5,"width":150,"id":"comment_author_IP","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_author_IP","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_IP))}}"},"comment_date":{"index":6,"width":150,"id":"comment_date","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_date","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_date))}}"},"comment_date_gmt":{"index":7,"width":150,"id":"comment_date_gmt","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_date_gmt","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_date_gmt))}}"},"comment_content":{"index":8,"width":150,"id":"comment_content","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_content","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_content))}}"},"comment_karma":{"index":9,"width":150,"id":"comment_karma","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_karma","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_karma))}}"},"comment_approved":{"index":10,"width":150,"id":"comment_approved","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_approved","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_approved))}}"},"comment_agent":{"index":11,"width":150,"id":"comment_agent","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_agent","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_agent))}}"},"comment_type":{"index":12,"width":150,"id":"comment_type","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_type","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_type))}}"},"comment_parent":{"index":13,"width":150,"id":"comment_parent","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"comment_parent","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_parent))}}"},"user_id":{"index":14,"width":150,"id":"user_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_id))}}"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"comment_ID","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"comment_author\",\n\t\"value\": \"comment_author\"\n}, \n{\n\t\"label\": \"comment_author_url\",\n\t\"value\": \"comment_author_url\"\n}, \n{\n\t\"label\": \"comment_author_email\",\n\t\"value\": \"comment_author_email\"\n}, \n{\n\t\"label\": \"comment_post_ID\",\n\t\"value\": \"comment_post_ID\"\n}, \n{\n\t\"label\": \"comment_ID\",\n\t\"value\": \"comment_ID\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_comments Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_ID:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_author_email:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"comment_author_email","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_post_ID:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"comment_post_ID","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_author:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"comment_author","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text24","rightColumn":19,"textAlign":"RIGHT","widgetId":"9t3vdjd5xj","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_author_url:"},{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":62,"widgetId":"5rfqxgj0vm","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"comment_author_url","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.comment_ID}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.comment_author_email}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.comment_post_ID}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.comment_author}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"m4esf7fww5","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.comment_author_url}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.comment_ID}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_author_email:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_post_ID:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_author:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_author_url:"}]}]}]},"layoutOnLoadActions":[[{"id":"Comments_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"new":true},{"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61efc0f939a0da5942775f01_61f3add7345f0c36171f8d59","unpublishedPage":{"name":"WP Options","slug":"wp-options","layouts":[{"id":"WP Options","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["option_id","option_name","option_value","autoload","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.option_id.computedValue"},{"key":"primaryColumns.option_name.computedValue"},{"key":"primaryColumns.option_value.computedValue"},{"key":"primaryColumns.autoload.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"option_id":{"index":0,"width":150,"id":"option_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"option_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_id))}}"},"option_name":{"index":1,"width":150,"id":"option_name","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"option_name","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_name))}}"},"option_value":{"index":2,"width":150,"id":"option_value","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"option_value","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_value))}}"},"autoload":{"index":3,"width":150,"id":"autoload","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"autoload","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.autoload))}}"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"option_id","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"autoload\",\n\t\"value\": \"autoload\"\n}, \n{\n\t\"label\": \"option_name\",\n\t\"value\": \"option_name\"\n}, \n{\n\t\"label\": \"option_value\",\n\t\"value\": \"option_value\"\n}, \n{\n\t\"label\": \"option_id\",\n\t\"value\": \"option_id\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_options Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_id:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_name:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"option_name","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_value:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"option_value","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"autoload:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"autoload","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.option_id}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.option_name}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.option_value}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.autoload}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.option_id}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_name:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_value:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"autoload:"}]}]}]},"layoutOnLoadActions":[[{"id":"WP Options_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"publishedPage":{"name":"WP Options","slug":"wp-options","layouts":[{"id":"WP Options","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["option_id","option_name","option_value","autoload","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.option_id.computedValue"},{"key":"primaryColumns.option_name.computedValue"},{"key":"primaryColumns.option_value.computedValue"},{"key":"primaryColumns.autoload.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"option_id":{"index":0,"width":150,"id":"option_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"option_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_id))}}"},"option_name":{"index":1,"width":150,"id":"option_name","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"option_name","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_name))}}"},"option_value":{"index":2,"width":150,"id":"option_value","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"option_value","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_value))}}"},"autoload":{"index":3,"width":150,"id":"autoload","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"autoload","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.autoload))}}"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"option_id","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"autoload\",\n\t\"value\": \"autoload\"\n}, \n{\n\t\"label\": \"option_name\",\n\t\"value\": \"option_name\"\n}, \n{\n\t\"label\": \"option_value\",\n\t\"value\": \"option_value\"\n}, \n{\n\t\"label\": \"option_id\",\n\t\"value\": \"option_id\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_options Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_id:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_name:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"option_name","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_value:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"option_value","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"autoload:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"autoload","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.option_id}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.option_name}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.option_value}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.autoload}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.option_id}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_name:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_value:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"autoload:"}]}]}]},"layoutOnLoadActions":[[{"id":"WP Options_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"new":true},{"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61efc0f939a0da5942775f01_61f3ae21345f0c36171f8d64","unpublishedPage":{"name":"Post Meta","slug":"post-meta","layouts":[{"id":"Post Meta","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["meta_id","post_id","meta_key","meta_value","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.meta_id.computedValue"},{"key":"primaryColumns.post_id.computedValue"},{"key":"primaryColumns.meta_key.computedValue"},{"key":"primaryColumns.meta_value.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"meta_id":{"index":0,"width":150,"id":"meta_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"meta_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_id))}}"},"post_id":{"index":1,"width":150,"id":"post_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_id))}}"},"meta_key":{"index":2,"width":150,"id":"meta_key","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"meta_key","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_key))}}"},"meta_value":{"index":3,"width":150,"id":"meta_value","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"meta_value","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_value))}}"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"meta_id","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"meta_value\",\n\t\"value\": \"meta_value\"\n}, \n{\n\t\"label\": \"meta_key\",\n\t\"value\": \"meta_key\"\n}, \n{\n\t\"label\": \"post_id\",\n\t\"value\": \"post_id\"\n}, \n{\n\t\"label\": \"meta_id\",\n\t\"value\": \"meta_id\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_postmeta Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_id:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_key:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"meta_key","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"post_id:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"post_id","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_value:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"meta_value","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.meta_id}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.meta_key}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.post_id}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.meta_value}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.meta_id}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_key:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"post_id:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_value:"}]}]}]},"layoutOnLoadActions":[[{"id":"Post Meta_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"publishedPage":{"name":"Post Meta","slug":"post-meta","layouts":[{"id":"Post Meta","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["meta_id","post_id","meta_key","meta_value","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.meta_id.computedValue"},{"key":"primaryColumns.post_id.computedValue"},{"key":"primaryColumns.meta_key.computedValue"},{"key":"primaryColumns.meta_value.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"meta_id":{"index":0,"width":150,"id":"meta_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"meta_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_id))}}"},"post_id":{"index":1,"width":150,"id":"post_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_id))}}"},"meta_key":{"index":2,"width":150,"id":"meta_key","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"meta_key","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_key))}}"},"meta_value":{"index":3,"width":150,"id":"meta_value","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"meta_value","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_value))}}"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"meta_id","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"meta_value\",\n\t\"value\": \"meta_value\"\n}, \n{\n\t\"label\": \"meta_key\",\n\t\"value\": \"meta_key\"\n}, \n{\n\t\"label\": \"post_id\",\n\t\"value\": \"post_id\"\n}, \n{\n\t\"label\": \"meta_id\",\n\t\"value\": \"meta_id\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_postmeta Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_id:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_key:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"meta_key","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"post_id:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"post_id","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_value:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"meta_value","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.meta_id}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.meta_key}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.post_id}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.meta_value}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.meta_id}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_key:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"post_id:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_value:"}]}]}]},"layoutOnLoadActions":[[{"id":"Post Meta_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"new":true},{"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61efc0f939a0da5942775f01_61f901fa51793d08672fc1c7","unpublishedPage":{"name":"Comments Meta","slug":"comments-meta","layouts":[{"id":"Comments Meta","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["col1","col2","col3","col4","col5","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"PARAGRAPH","index":3,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"PARAGRAPH","index":4,"isVisible":true,"label":"col5","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"PARAGRAPH","index":1,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"col3","fontStyle":"","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"PARAGRAPH","index":0,"isVisible":true,"label":"col1","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","verticalAlignment":"CENTER"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"meta_id","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"meta_value\",\n\t\"value\": \"meta_value\"\n}, \n{\n\t\"label\": \"meta_key\",\n\t\"value\": \"meta_key\"\n}, \n{\n\t\"label\": \"comment_id\",\n\t\"value\": \"comment_id\"\n}, \n{\n\t\"label\": \"meta_id\",\n\t\"value\": \"meta_id\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_commentmeta Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_id:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_key:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"meta_key","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_id:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"comment_id","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_value:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"meta_value","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.meta_id}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.meta_key}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.comment_id}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.meta_value}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.meta_id}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_key:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_id:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_value:"}]}]}]},"layoutOnLoadActions":[[{"id":"Comments Meta_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"new":true},{"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61efc0f939a0da5942775f01_61f9023051793d08672fc1d2","unpublishedPage":{"name":"Post Meta Copy","slug":"post-meta-copy","layouts":[{"id":"Post Meta Copy","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["meta_id","post_id","meta_key","meta_value","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.meta_id.computedValue"},{"key":"primaryColumns.post_id.computedValue"},{"key":"primaryColumns.meta_key.computedValue"},{"key":"primaryColumns.meta_value.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"meta_id":{"index":0,"width":150,"id":"meta_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"meta_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_id))}}"},"post_id":{"index":1,"width":150,"id":"post_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"post_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_id))}}"},"meta_key":{"index":2,"width":150,"id":"meta_key","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"meta_key","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_key))}}"},"meta_value":{"index":3,"width":150,"id":"meta_value","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"meta_value","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_value))}}"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"meta_id","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"meta_value\",\n\t\"value\": \"meta_value\"\n}, \n{\n\t\"label\": \"meta_key\",\n\t\"value\": \"meta_key\"\n}, \n{\n\t\"label\": \"post_id\",\n\t\"value\": \"post_id\"\n}, \n{\n\t\"label\": \"meta_id\",\n\t\"value\": \"meta_id\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_postmeta Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_id:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_key:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"meta_key","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"post_id:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"post_id","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_value:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"meta_value","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.meta_id}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.meta_key}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.post_id}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.meta_value}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.meta_id}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_key:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"post_id:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_value:"}]}]}]},"layoutOnLoadActions":[[{"id":"Post Meta Copy_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"new":true},{"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61efc0f939a0da5942775f01_61f9023551793d08672fc1dd","unpublishedPage":{"name":"Comments Meta Copy","slug":"comments-meta-copy","layouts":[{"id":"Comments Meta Copy","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["col1","col2","col3","col4","col5","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"PARAGRAPH","index":3,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"PARAGRAPH","index":4,"isVisible":true,"label":"col5","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"PARAGRAPH","index":1,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"PARAGRAPH","index":2,"isVisible":true,"label":"col3","fontStyle":"","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"PARAGRAPH","index":0,"isVisible":true,"label":"col1","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","verticalAlignment":"CENTER"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"meta_id","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"meta_value\",\n\t\"value\": \"meta_value\"\n}, \n{\n\t\"label\": \"meta_key\",\n\t\"value\": \"meta_key\"\n}, \n{\n\t\"label\": \"comment_id\",\n\t\"value\": \"comment_id\"\n}, \n{\n\t\"label\": \"meta_id\",\n\t\"value\": \"meta_id\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_commentmeta Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_id:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_key:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"meta_key","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_id:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"comment_id","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_value:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"meta_value","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.meta_id}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.meta_key}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.comment_id}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.meta_value}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.meta_id}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_key:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"comment_id:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"meta_value:"}]}]}]},"layoutOnLoadActions":[[{"id":"Comments Meta Copy_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"new":true},{"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61efc0f939a0da5942775f01_61f9024051793d08672fc1e8","unpublishedPage":{"name":"Users Copy","slug":"users-copy","layouts":[{"id":"Users Copy","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["ID","user_login","user_pass","user_nicename","user_email","user_url","user_registered","user_activation_key","user_status","display_name","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.ID.computedValue"},{"key":"primaryColumns.user_login.computedValue"},{"key":"primaryColumns.user_pass.computedValue"},{"key":"primaryColumns.user_nicename.computedValue"},{"key":"primaryColumns.user_email.computedValue"},{"key":"primaryColumns.user_url.computedValue"},{"key":"primaryColumns.user_registered.computedValue"},{"key":"primaryColumns.user_activation_key.computedValue"},{"key":"primaryColumns.user_status.computedValue"},{"key":"primaryColumns.display_name.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"ID":{"index":0,"width":150,"id":"ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"ID","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ID))}}"},"user_login":{"index":1,"width":150,"id":"user_login","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_login","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_login))}}"},"user_pass":{"index":2,"width":150,"id":"user_pass","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_pass","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_pass))}}"},"user_nicename":{"index":3,"width":150,"id":"user_nicename","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_nicename","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_nicename))}}"},"user_email":{"index":4,"width":150,"id":"user_email","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_email","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_email))}}"},"user_url":{"index":5,"width":150,"id":"user_url","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_url","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_url))}}"},"user_registered":{"index":6,"width":150,"id":"user_registered","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_registered","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_registered))}}"},"user_activation_key":{"index":7,"width":150,"id":"user_activation_key","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_activation_key","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_activation_key))}}"},"user_status":{"index":8,"width":150,"id":"user_status","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_status","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_status))}}"},"display_name":{"index":9,"width":150,"id":"display_name","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"display_name","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.display_name))}}"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ID","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"user_nicename\",\n\t\"value\": \"user_nicename\"\n}, \n{\n\t\"label\": \"user_email\",\n\t\"value\": \"user_email\"\n}, \n{\n\t\"label\": \"user_login\",\n\t\"value\": \"user_login\"\n}, \n{\n\t\"label\": \"user_pass\",\n\t\"value\": \"user_pass\"\n}, \n{\n\t\"label\": \"ID\",\n\t\"value\": \"ID\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_users Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"ID:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_login:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"user_login","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_pass:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"user_pass","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_nicename:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"user_nicename","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text24","rightColumn":19,"textAlign":"RIGHT","widgetId":"9t3vdjd5xj","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_email:"},{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":62,"widgetId":"5rfqxgj0vm","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"user_email","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.ID}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_login}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_pass}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_nicename}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"m4esf7fww5","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_email}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.ID}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_login:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_pass:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_nicename:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_email:"}]}]}]},"layoutOnLoadActions":[[{"id":"Users Copy_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"new":true},{"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61efc0f939a0da5942775f01_61f9024b51793d08672fc1f3","unpublishedPage":{"name":"Users Copy1","slug":"users-copy1","layouts":[{"id":"Users Copy1","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["ID","user_login","user_pass","user_nicename","user_email","user_url","user_registered","user_activation_key","user_status","display_name","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.ID.computedValue"},{"key":"primaryColumns.user_login.computedValue"},{"key":"primaryColumns.user_pass.computedValue"},{"key":"primaryColumns.user_nicename.computedValue"},{"key":"primaryColumns.user_email.computedValue"},{"key":"primaryColumns.user_url.computedValue"},{"key":"primaryColumns.user_registered.computedValue"},{"key":"primaryColumns.user_activation_key.computedValue"},{"key":"primaryColumns.user_status.computedValue"},{"key":"primaryColumns.display_name.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"ID":{"index":0,"width":150,"id":"ID","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"ID","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ID))}}"},"user_login":{"index":1,"width":150,"id":"user_login","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_login","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_login))}}"},"user_pass":{"index":2,"width":150,"id":"user_pass","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_pass","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_pass))}}"},"user_nicename":{"index":3,"width":150,"id":"user_nicename","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_nicename","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_nicename))}}"},"user_email":{"index":4,"width":150,"id":"user_email","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_email","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_email))}}"},"user_url":{"index":5,"width":150,"id":"user_url","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_url","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_url))}}"},"user_registered":{"index":6,"width":150,"id":"user_registered","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_registered","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_registered))}}"},"user_activation_key":{"index":7,"width":150,"id":"user_activation_key","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_activation_key","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_activation_key))}}"},"user_status":{"index":8,"width":150,"id":"user_status","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"user_status","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_status))}}"},"display_name":{"index":9,"width":150,"id":"display_name","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"display_name","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.display_name))}}"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ID","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"user_nicename\",\n\t\"value\": \"user_nicename\"\n}, \n{\n\t\"label\": \"user_email\",\n\t\"value\": \"user_email\"\n}, \n{\n\t\"label\": \"user_login\",\n\t\"value\": \"user_login\"\n}, \n{\n\t\"label\": \"user_pass\",\n\t\"value\": \"user_pass\"\n}, \n{\n\t\"label\": \"ID\",\n\t\"value\": \"ID\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_users Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"ID:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_login:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"user_login","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_pass:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"user_pass","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_nicename:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"user_nicename","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text24","rightColumn":19,"textAlign":"RIGHT","widgetId":"9t3vdjd5xj","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_email:"},{"isRequired":true,"widgetName":"insert_col_input5","rightColumn":62,"widgetId":"5rfqxgj0vm","topRow":33,"bottomRow":37,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"user_email","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.ID}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_login}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_pass}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_nicename}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_5","rightColumn":63,"widgetId":"m4esf7fww5","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.user_email}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.ID}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_login:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_pass:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_nicename:"},{"widgetName":"Text20","rightColumn":18,"textAlign":"RIGHT","widgetId":"gqpwf0yng6","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"user_email:"}]}]}]},"layoutOnLoadActions":[[{"id":"Users Copy1_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"new":true},{"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61efc0f939a0da5942775f01_61fa173a737f9a3b3662ef38","unpublishedPage":{"name":"WP Options Copy","slug":"wp-options-copy","layouts":[{"id":"WP Options Copy","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1280,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":51,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","topRow":0,"bottomRow":87,"parentRowSpace":10,"isVisible":"true","type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"children":[{"widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Table1","columnOrder":["option_id","option_name","option_value","autoload","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"}],"isVisibleDownload":true,"topRow":10,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.option_id.computedValue"},{"key":"primaryColumns.option_name.computedValue"},{"key":"primaryColumns.option_value.computedValue"},{"key":"primaryColumns.autoload.computedValue"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"isDerived":true,"computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"PARAGRAPH","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"option_id":{"index":0,"width":150,"id":"option_id","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"option_id","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_id))}}"},"option_name":{"index":1,"width":150,"id":"option_name","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"option_name","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_name))}}"},"option_value":{"index":2,"width":150,"id":"option_value","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"option_value","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_value))}}"},"autoload":{"index":3,"width":150,"id":"autoload","horizontalAlignment":"LEFT","verticalAlignment":"CENTER","columnType":"text","textSize":"PARAGRAPH","enableFilter":true,"enableSort":true,"isVisible":true,"isDisabled":false,"isCellVisible":true,"isDerived":false,"label":"autoload","computedValue":"{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.autoload))}}"}},"delimiter":",","derivedColumns":{"customColumn1":{"isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"PARAGRAPH","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"rightColumn":64,"textSize":"PARAGRAPH","widgetId":"jabdu9f16g","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"isRequired":false,"widgetName":"col_select","isFilterable":true,"rightColumn":22,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"asmgosgxjm","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"option_id","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":7,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n{\n\t\"label\": \"autoload\",\n\t\"value\": \"autoload\"\n}, \n{\n\t\"label\": \"option_name\",\n\t\"value\": \"option_name\"\n}, \n{\n\t\"label\": \"option_value\",\n\t\"value\": \"option_value\"\n}, \n{\n\t\"label\": \"option_id\",\n\t\"value\": \"option_id\"\n}]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text15","rightColumn":7,"textAlign":"LEFT","widgetId":"l8pgl90klz","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Order By :"},{"isRequired":false,"widgetName":"order_select","isFilterable":true,"rightColumn":33,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"10v8a19m25","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"{{SelectQuery.data.length > 0}}","label":"","type":"DROP_DOWN_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"defaultOptionValue":"ASC","parentColumnSpace":19.75,"dynamicTriggerPathList":[{"key":"onOptionChange"}],"leftColumn":22,"dynamicBindingPathList":[{"key":"isVisible"}],"options":"[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]","onOptionChange":"{{SelectQuery.run()}}","isDisabled":false},{"widgetName":"Text16","rightColumn":64,"textAlign":"LEFT","widgetId":"urzv99hdc8","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"perf_options Data"},{"boxShadow":"NONE","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"#03B365","widgetId":"2jj0197tff","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":60,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false},{"boxShadow":"NONE","widgetName":"add_btn","rightColumn":60,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"#03B365","widgetId":"kby34l9nbb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","type":"ICON_BUTTON_WIDGET","version":1,"parentId":"59rw5mx0bq","isLoading":false,"parentColumnSpace":12.0703125,"dynamicTriggerPathList":[{"key":"onClick"}],"borderRadius":"CIRCLE","leftColumn":56,"dynamicBindingPathList":[],"buttonVariant":"TERTIARY","isDisabled":false}]}]},{"widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Alert_text","rightColumn":41,"textAlign":"LEFT","widgetId":"reyoxo4oec","topRow":1,"bottomRow":5,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Delete Row"},{"widgetName":"Button1","rightColumn":46,"onClick":"{{closeModal('Delete_Modal')}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Cancel","isDisabled":false},{"widgetName":"Delete_Button","rightColumn":64,"onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#F22B2B","widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":"true","type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"widgetName":"Text12","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","topRow":8,"bottomRow":12,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"parentColumnSpace":6.875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"Are you sure you want to delete this item?"}],"isDisabled":false}],"width":456,"height":240},{"widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"canOutsideClickClose":true,"type":"MODAL_WIDGET","canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":"true","canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"widgetName":"Form2","backgroundColor":"#F6F7F8","rightColumn":64,"widgetId":"1ruewbc4ef","topRow":0,"bottomRow":58,"parentRowSpace":10,"isVisible":"true","type":"FORM_WIDGET","parentId":"9rhv3ioohq","isLoading":false,"shouldScrollContents":false,"parentColumnSpace":8,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas5","rightColumn":224,"detachFromLayout":true,"widgetId":"tp9pui0e6y","containerStyle":"none","topRow":0,"bottomRow":570,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"1ruewbc4ef","minHeight":580,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":true,"widgetName":"insert_button","rightColumn":62,"onClick":"{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#03B365","widgetId":"h8vxf3oh4s","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":43,"dynamicBindingPathList":[],"googleRecaptchaKey":"","buttonVariant":"PRIMARY","text":"Submit"},{"resetFormOnClick":true,"widgetName":"reset_button","rightColumn":42,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"o23gs26wm5","topRow":51,"bottomRow":55,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":29,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Close"},{"widgetName":"Text21","rightColumn":19,"textAlign":"RIGHT","widgetId":"cfmxebyn06","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_id:"},{"isRequired":false,"widgetName":"insert_col_input1","rightColumn":62,"widgetId":"h1wbbv7alb","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"Autogenerated Field","isDisabled":true,"validation":"true"},{"widgetName":"Text22","rightColumn":19,"textAlign":"RIGHT","widgetId":"jsffaxrqhw","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":2,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_name:"},{"isRequired":true,"widgetName":"insert_col_input2","rightColumn":62,"widgetId":"6enalyprua","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","defaultText":"","placeholderText":"option_name","isDisabled":false,"validation":"true"},{"widgetName":"Text23","rightColumn":19,"textAlign":"RIGHT","widgetId":"btk60uozsm","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":7.6865234375,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_value:"},{"isRequired":true,"widgetName":"insert_col_input3","rightColumn":62,"widgetId":"e490gfts69","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"option_value","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text14","rightColumn":19,"textAlign":"RIGHT","widgetId":"8fm60omwwv","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"leftColumn":3,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"autoload:"},{"isRequired":true,"widgetName":"insert_col_input4","rightColumn":62,"widgetId":"r55cydp0ao","topRow":26,"bottomRow":30,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"tp9pui0e6y","isLoading":false,"parentColumnSpace":8.0625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[],"inputType":"TEXT","placeholderText":"autoload","defaultText":"","isDisabled":false,"validation":"true"},{"widgetName":"Text13Copy","rightColumn":35,"textAlign":"LEFT","widgetId":"18x7vdv3gs","topRow":0,"bottomRow":4,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":false,"parentId":"tp9pui0e6y","isLoading":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"fontSize":"HEADING1","text":"Insert Row"}]}]}],"isDisabled":false}],"width":532,"height":600},{"widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"m7dvlazbn7","topRow":0,"bottomRow":46,"parentRowSpace":10,"isVisible":"{{!!Table1.selectedRow.option_id}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"}],"children":[{"widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"cicukwhp5j","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":"true","canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"m7dvlazbn7","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"resetFormOnClick":false,"widgetName":"update_button","rightColumn":63,"onClick":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03B365","widgetId":"4gnygu5jew","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":true,"leftColumn":42,"dynamicBindingPathList":[],"buttonVariant":"PRIMARY","text":"Update"},{"resetFormOnClick":true,"widgetName":"reset_update_button","rightColumn":42,"onClick":"","isDefaultClickDisabled":true,"dynamicPropertyPathList":[],"buttonColor":"#03b365","widgetId":"twwgpz5wfu","topRow":39,"bottomRow":43,"isVisible":"true","type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"cicukwhp5j","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"disabledWhenInvalid":false,"leftColumn":28,"dynamicBindingPathList":[],"buttonVariant":"SECONDARY","text":"Reset"},{"isRequired":true,"widgetName":"update_col_2","rightColumn":63,"widgetId":"in8e51pg3y","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.option_name}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_3","rightColumn":63,"widgetId":"mlhvfasf31","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.option_value}}","isDisabled":false,"validation":"true"},{"isRequired":true,"widgetName":"update_col_4","rightColumn":63,"widgetId":"0lz9vhcnr0","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","label":"","type":"INPUT_WIDGET","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"}],"inputType":"TEXT","defaultText":"{{Table1.selectedRow.autoload}}","isDisabled":false,"validation":"true"},{"widgetName":"Text9","rightColumn":63,"textAlign":"LEFT","widgetId":"4hnz8ktmz5","topRow":0,"bottomRow":4,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"HEADING1","text":"Update Row: {{Table1.selectedRow.option_id}}"},{"widgetName":"Text17","rightColumn":18,"textAlign":"RIGHT","widgetId":"afzzc7q8af","topRow":5,"bottomRow":9,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_name:"},{"widgetName":"Text18","rightColumn":18,"textAlign":"RIGHT","widgetId":"xqcsd2e5dj","topRow":12,"bottomRow":16,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"option_value:"},{"widgetName":"Text19","rightColumn":18,"textAlign":"RIGHT","widgetId":"l109ilp3vq","topRow":19,"bottomRow":23,"parentRowSpace":10,"isVisible":"true","fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"cicukwhp5j","isLoading":false,"parentColumnSpace":7.15625,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"fontSize":"PARAGRAPH","text":"autoload:"}]}]}]},"layoutOnLoadActions":[[{"id":"WP Options Copy_SelectQuery","name":"SelectQuery","pluginType":"DB","jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"timeoutInMillisecond":10000}]],"new":false}],"userPermissions":[],"isHidden":false},"new":true}],"publishedDefaultPageName":"Blog","unpublishedDefaultPageName":"Blog","actionList":[{"id":"Blog_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61efc19939a0da5942775f12","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_posts SET\n\t\tpost_title = '{{title.text}}',\n\t\tpost_excerpt = '{{excerpt.text}}',\n\t\tpost_author = '{{author.selectedOptionValue}}',\n\t\tpost_status = '{{p_status.selectedOptionValue}}'\n \n WHERE ID = {{Table1.selectedRow.ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.selectedRow.ID","title.text","author.selectedOptionValue","excerpt.text","p_status.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"publishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_posts SET\n\t\tpost_title = '{{title.text}}',\n\t\tpost_excerpt = '{{excerpt.text}}',\n\t\tpost_author = '{{author.selectedOptionValue}}',\n\t\tpost_status = '{{p_status.selectedOptionValue}}'\n \n WHERE ID = {{Table1.selectedRow.ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.selectedRow.ID","title.text","author.selectedOptionValue","excerpt.text","p_status.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"new":false},{"id":"Blog_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61efc19939a0da5942775f14","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"\n\n\nselect * from perf_posts \nINNER JOIN perf_term_relationships ON perf_posts.ID= perf_term_relationships.object_id\nwhere perf_term_relationships.term_taxonomy_id in ({{categories.selectedOptionValues.reduce((str,value)=>`${str},${value}`,'0')}})\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};\n\n\n\n\n\n\n\n\n","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","categories.selectedOptionValues.reduce((str,value)=>`${str},${value}`,'0')","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"publishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"\n\n\nselect * from perf_posts \nINNER JOIN perf_term_relationships ON perf_posts.ID= perf_term_relationships.object_id\nwhere perf_term_relationships.term_taxonomy_id in ({{categories.selectedOptionValues.reduce((str,value)=>`${str},${value}`,'0')}})\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};\n\n\n\n\n\n\n\n\n","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","categories.selectedOptionValues.reduce((str,value)=>`${str},${value}`,'0')","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"new":false},{"id":"Blog_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61efc19939a0da5942775f13","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_posts\n WHERE ID = {{Table1.triggeredRow.ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.ID"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"publishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_posts\n WHERE ID = {{Table1.triggeredRow.ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.ID"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"new":false},{"id":"Blog_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61efc19939a0da5942775f16","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_posts (\n\tguid, \n\tpost_author,\n\tpost_date, \n\tpost_date_gmt\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"publishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_posts (\n\tguid, \n\tpost_author,\n\tpost_date, \n\tpost_date_gmt\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"new":false},{"id":"Blog_GetCategories","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61efe23d3b61bf7f582f1826","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"GetCategories","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT term_id,name FROM perf_terms;\n","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":true,"dynamicBindingPathList":[],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":[],"confirmBeforeExecute":false,"userPermissions":[],"validName":"GetCategories"},"publishedAction":{"name":"GetCategories","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT term_id,name FROM perf_terms;\n","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":true,"dynamicBindingPathList":[],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":[],"confirmBeforeExecute":false,"userPermissions":[],"validName":"GetCategories"},"new":false},{"id":"Users_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61eff4a53b61bf7f582f1833","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_users\nWHERE user_login like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"publishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_users\nWHERE user_login like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"new":false},{"id":"Users_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61eff4a53b61bf7f582f1836","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_users (\n\tuser_login, \n\tuser_pass,\n\tuser_nicename, \n\tuser_email\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"publishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_users (\n\tuser_login, \n\tuser_pass,\n\tuser_nicename, \n\tuser_email\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"new":false},{"id":"Users_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61eff4a53b61bf7f582f1834","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_users SET\n\t\tuser_login = '{{update_col_2.text}}',\n user_pass = '{{update_col_3.text}}',\n user_nicename = '{{update_col_4.text}}',\n user_email = '{{update_col_5.text}}'\n WHERE ID = {{Table1.selectedRow.ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","update_col_2.text","Table1.selectedRow.ID","update_col_5.text","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"publishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_users SET\n\t\tuser_login = '{{update_col_2.text}}',\n user_pass = '{{update_col_3.text}}',\n user_nicename = '{{update_col_4.text}}',\n user_email = '{{update_col_5.text}}'\n WHERE ID = {{Table1.selectedRow.ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","update_col_2.text","Table1.selectedRow.ID","update_col_5.text","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"new":false},{"id":"Users_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61eff4a53b61bf7f582f1835","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_users\n WHERE ID = {{Table1.triggeredRow.ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.ID"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"publishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_users\n WHERE ID = {{Table1.triggeredRow.ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.ID"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"new":false},{"id":"Blog_GetUsers","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61eff4d73b61bf7f582f183b","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"GetUsers","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_users\nWHERE user_login like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"GetUsers"},"publishedAction":{"name":"GetUsers","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_users\nWHERE user_login like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"GetUsers"},"new":false},{"id":"Blog_GetComments","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f242880dcb6f75e86b5e78","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"GetComments","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_comments where comment_post_ID = {{Table1.selectedRow.ID}} ORDER BY comment_ID LIMIT 10;\n","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.selectedRow.ID"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"GetComments"},"publishedAction":{"name":"GetComments","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Blog","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_comments where comment_post_ID = {{Table1.selectedRow.ID}} ORDER BY comment_ID LIMIT 10;\n","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"dynamicBindingPathList":[{"key":"body"}],"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.selectedRow.ID"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"GetComments"},"new":false},{"id":"Comments_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f3adb1345f0c36171f8d4e","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_comments (\n\tcomment_author_email, \n\tcomment_post_ID,\n\tcomment_author, \n\tcomment_author_url\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"publishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_comments (\n\tcomment_author_email, \n\tcomment_post_ID,\n\tcomment_author, \n\tcomment_author_url\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"new":false},{"id":"Comments_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f3adb1345f0c36171f8d51","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_comments SET\n\t\tcomment_author_email = '{{update_col_2.text}}',\n comment_post_ID = '{{update_col_3.text}}',\n comment_author = '{{update_col_4.text}}',\n comment_author_url = '{{update_col_5.text}}'\n WHERE comment_ID = {{Table1.selectedRow.comment_ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","Table1.selectedRow.comment_ID","update_col_2.text","update_col_5.text","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"publishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_comments SET\n\t\tcomment_author_email = '{{update_col_2.text}}',\n comment_post_ID = '{{update_col_3.text}}',\n comment_author = '{{update_col_4.text}}',\n comment_author_url = '{{update_col_5.text}}'\n WHERE comment_ID = {{Table1.selectedRow.comment_ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","Table1.selectedRow.comment_ID","update_col_2.text","update_col_5.text","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"new":false},{"id":"Comments_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f3adb1345f0c36171f8d4f","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_comments\n WHERE comment_ID = {{Table1.triggeredRow.comment_ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.comment_ID"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"publishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_comments\n WHERE comment_ID = {{Table1.triggeredRow.comment_ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.comment_ID"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"new":false},{"id":"Comments_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f3adb1345f0c36171f8d50","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_comments\nWHERE comment_author_email like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"publishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_comments\nWHERE comment_author_email like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"new":false},{"id":"WP Options_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f3ae03345f0c36171f8d5c","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"WP Options","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_options (\n\toption_name, \n\toption_value,\n\tautoload)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}});","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"publishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"WP Options","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_options (\n\toption_name, \n\toption_value,\n\tautoload)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}});","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"new":false},{"id":"WP Options_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f3ae03345f0c36171f8d5b","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"WP Options","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_options\n WHERE option_id = {{Table1.triggeredRow.option_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.option_id"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"publishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"WP Options","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_options\n WHERE option_id = {{Table1.triggeredRow.option_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.option_id"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"new":false},{"id":"WP Options_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f3ae03345f0c36171f8d5f","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"WP Options","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_options\nWHERE option_name like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"publishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"WP Options","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_options\nWHERE option_name like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"new":false},{"id":"WP Options_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f3ae03345f0c36171f8d5d","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"WP Options","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_options SET\n\t\toption_name = '{{update_col_2.text}}',\n option_value = '{{update_col_3.text}}',\n autoload = '{{update_col_4.text}}'\nWHERE option_id = {{Table1.selectedRow.option_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","Table1.selectedRow.option_id","update_col_2.text","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"publishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"WP Options","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_options SET\n\t\toption_name = '{{update_col_2.text}}',\n option_value = '{{update_col_3.text}}',\n autoload = '{{update_col_4.text}}'\nWHERE option_id = {{Table1.selectedRow.option_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","Table1.selectedRow.option_id","update_col_2.text","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"new":false},{"id":"Post Meta_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f3ae36345f0c36171f8d66","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Post Meta","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_postmeta (\n\tmeta_key, \n\tpost_id,\n\tmeta_value)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}});","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"publishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Post Meta","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_postmeta (\n\tmeta_key, \n\tpost_id,\n\tmeta_value)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}});","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"new":false},{"id":"Post Meta_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f3ae36345f0c36171f8d67","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Post Meta","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_postmeta SET\n\t\tmeta_key = '{{update_col_2.text}}',\n post_id = '{{update_col_3.text}}',\n meta_value = '{{update_col_4.text}}'\nWHERE meta_id = {{Table1.selectedRow.meta_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","update_col_2.text","Table1.selectedRow.meta_id","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"publishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Post Meta","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_postmeta SET\n\t\tmeta_key = '{{update_col_2.text}}',\n post_id = '{{update_col_3.text}}',\n meta_value = '{{update_col_4.text}}'\nWHERE meta_id = {{Table1.selectedRow.meta_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","update_col_2.text","Table1.selectedRow.meta_id","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"new":false},{"id":"Post Meta_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f3ae36345f0c36171f8d68","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Post Meta","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_postmeta\n WHERE meta_id = {{Table1.triggeredRow.meta_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.meta_id"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"publishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Post Meta","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_postmeta\n WHERE meta_id = {{Table1.triggeredRow.meta_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.meta_id"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"new":false},{"id":"Post Meta_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f3ae36345f0c36171f8d6a","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Post Meta","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_postmeta\nWHERE meta_key like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"publishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Post Meta","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_postmeta\nWHERE meta_key like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"new":false},{"id":"Comments Meta_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9021751793d08672fc1c9","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments Meta","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_commentmeta\nWHERE meta_key like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Comments Meta_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9021751793d08672fc1ca","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments Meta","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_commentmeta (\n\tmeta_key, \n\tcomment_id,\n\tmeta_value)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}});","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Comments Meta_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9021751793d08672fc1cc","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments Meta","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_commentmeta SET\n\t\tmeta_key = '{{update_col_2.text}}',\n comment_id = '{{update_col_3.text}}',\n meta_value = '{{update_col_4.text}}'\nWHERE meta_id = {{Table1.selectedRow.meta_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","update_col_2.text","Table1.selectedRow.meta_id","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Comments Meta_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9021751793d08672fc1cd","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments Meta","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_commentmeta\n WHERE meta_id = {{Table1.triggeredRow.meta_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.meta_id"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Post Meta Copy_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9023051793d08672fc1d4","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Post Meta Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_postmeta SET\n\t\tmeta_key = '{{update_col_2.text}}',\n post_id = '{{update_col_3.text}}',\n meta_value = '{{update_col_4.text}}'\nWHERE meta_id = {{Table1.selectedRow.meta_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","update_col_2.text","Table1.selectedRow.meta_id","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Post Meta Copy_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9023051793d08672fc1d5","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Post Meta Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_postmeta\n WHERE meta_id = {{Table1.triggeredRow.meta_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.meta_id"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Post Meta Copy_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9023051793d08672fc1d6","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Post Meta Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_postmeta (\n\tmeta_key, \n\tpost_id,\n\tmeta_value)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}});","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Post Meta Copy_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9023051793d08672fc1d7","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Post Meta Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_postmeta\nWHERE meta_key like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Comments Meta Copy_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9023551793d08672fc1e0","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments Meta Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_commentmeta (\n\tmeta_key, \n\tcomment_id,\n\tmeta_value)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}});","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Comments Meta Copy_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9023551793d08672fc1df","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments Meta Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_commentmeta\nWHERE meta_key like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Comments Meta Copy_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9023551793d08672fc1e1","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments Meta Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_commentmeta SET\n\t\tmeta_key = '{{update_col_2.text}}',\n comment_id = '{{update_col_3.text}}',\n meta_value = '{{update_col_4.text}}'\nWHERE meta_id = {{Table1.selectedRow.meta_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","update_col_2.text","Table1.selectedRow.meta_id","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Comments Meta Copy_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9023551793d08672fc1e2","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Comments Meta Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_commentmeta\n WHERE meta_id = {{Table1.triggeredRow.meta_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.meta_id"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Users Copy_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9024051793d08672fc1ea","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_users (\n\tuser_login, \n\tuser_pass,\n\tuser_nicename, \n\tuser_email\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Users Copy_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9024051793d08672fc1ec","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_users SET\n\t\tuser_login = '{{update_col_2.text}}',\n user_pass = '{{update_col_3.text}}',\n user_nicename = '{{update_col_4.text}}',\n user_email = '{{update_col_5.text}}'\n WHERE ID = {{Table1.selectedRow.ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","update_col_2.text","Table1.selectedRow.ID","update_col_5.text","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Users Copy_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9024051793d08672fc1eb","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_users\n WHERE ID = {{Table1.triggeredRow.ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.ID"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Users Copy_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9024051793d08672fc1ed","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_users\nWHERE user_login like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Users Copy1_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9024b51793d08672fc1f5","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users Copy1","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_users\nWHERE user_login like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Users Copy1_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9024b51793d08672fc1f6","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users Copy1","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_users (\n\tuser_login, \n\tuser_pass,\n\tuser_nicename, \n\tuser_email\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Users Copy1_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9024b51793d08672fc1f8","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users Copy1","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_users\n WHERE ID = {{Table1.triggeredRow.ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.ID"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"Users Copy1_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61f9024b51793d08672fc1fb","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"Users Copy1","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_users SET\n\t\tuser_login = '{{update_col_2.text}}',\n user_pass = '{{update_col_3.text}}',\n user_nicename = '{{update_col_4.text}}',\n user_email = '{{update_col_5.text}}'\n WHERE ID = {{Table1.selectedRow.ID}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","update_col_2.text","Table1.selectedRow.ID","update_col_5.text","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"WP Options Copy_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61fa173b737f9a3b3662ef3a","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"SelectQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"WP Options Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"SELECT * FROM perf_options\nWHERE option_name like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"executeOnLoad":true,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["(Table1.pageNo - 1) * Table1.pageSize","Table1.searchText || \"\"","col_select.selectedOptionValue","Table1.pageSize","order_select.selectedOptionValue"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"SelectQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"WP Options Copy_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61fa173b737f9a3b3662ef3b","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"UpdateQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"WP Options Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"UPDATE perf_options SET\n\t\toption_name = '{{update_col_2.text}}',\n option_value = '{{update_col_3.text}}',\n autoload = '{{update_col_4.text}}'\nWHERE option_id = {{Table1.selectedRow.option_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["update_col_3.text","Table1.selectedRow.option_id","update_col_2.text","update_col_4.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"UpdateQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"WP Options Copy_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61fa173b737f9a3b3662ef3c","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"DeleteQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"WP Options Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"DELETE FROM perf_options\n WHERE option_id = {{Table1.triggeredRow.option_id}};","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["Table1.triggeredRow.option_id"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"DeleteQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false},{"id":"WP Options Copy_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"gitSyncId":"61efc0f939a0da5942775f01_61fa173b737f9a3b3662ef3e","pluginType":"DB","pluginId":"mysql-plugin","unpublishedAction":{"name":"InsertQuery","datasource":{"id":"FakeAPI","userPermissions":[],"pluginId":"mysql-plugin","messages":[],"isValid":true,"new":false},"pageId":"WP Options Copy","actionConfiguration":{"timeoutInMillisecond":10000,"paginationType":"NONE","encodeParamsToggle":true,"body":"INSERT INTO perf_options (\n\toption_name, \n\toption_value,\n\tautoload)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}});","pluginSpecifiedTemplates":[{"value":true}]},"executeOnLoad":false,"isValid":true,"invalids":[],"messages":[],"jsonPathKeys":["insert_col_input4.text","insert_col_input3.text","insert_col_input2.text"],"confirmBeforeExecute":false,"userPermissions":[],"validName":"InsertQuery"},"publishedAction":{"datasource":{"userPermissions":[],"messages":[],"isValid":true,"new":true},"messages":[],"confirmBeforeExecute":false,"userPermissions":[]},"new":false}],"actionCollectionList":[],"decryptedFields":{"FakeAPI":{"password":"root123","authType":"com.appsmith.external.models.DBAuth","dbAuth":{"authenticationType":"dbAuth","authenticationType":"dbAuth","username":"root","databaseName":"fakeapi"}}},"editModeTheme":{"name":"Classic","new":true,"isSystemTheme":true},"publishedTheme":{"name":"Classic","new":true,"isSystemTheme":true},"publishedLayoutmongoEscapedWidgets":{},"unpublishedLayoutmongoEscapedWidgets":{}}
\ No newline at end of file
diff --git a/app/client/perf/tests/dsl/blog-admin-app-postgres.json b/app/client/perf/tests/dsl/blog-admin-app-postgres.json
deleted file mode 100644
index c2c42e2ccdec..000000000000
--- a/app/client/perf/tests/dsl/blog-admin-app-postgres.json
+++ /dev/null
@@ -1,17280 +0,0 @@
-{
- "clientSchemaVersion": 1.0,
- "serverSchemaVersion": 6.0,
- "exportedApplication": {
- "name": "GoldenAppPostgres",
- "isPublic": true,
- "pages": [{
- "id": "Users",
- "isDefault": false
- }, {
- "id": "Comments",
- "isDefault": false
- }, {
- "id": "Post Meta",
- "isDefault": false
- }, {
- "id": "Blog",
- "isDefault": true
- }, {
- "id": "WP Options",
- "isDefault": false
- }],
- "publishedPages": [{
- "id": "Users",
- "isDefault": false
- }, {
- "id": "Comments",
- "isDefault": false
- }, {
- "id": "Post Meta",
- "isDefault": false
- }, {
- "id": "Blog",
- "isDefault": true
- }, {
- "id": "WP Options",
- "isDefault": false
- }],
- "viewMode": false,
- "appIsExample": false,
- "unreadCommentThreads": 0.0,
- "color": "#F1DEFF",
- "icon": "love",
- "slug": "goldenapppostgres",
- "evaluationVersion": 2.0,
- "applicationVersion": 1.0,
- "isManualUpdate": false,
- "deleted": false
- },
- "datasourceList": [{
- "name": "PostgresGolden",
- "pluginId": "postgres-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "gitSyncId": "61c9902d14b067061fc1a243_624d34477c84a52b1633510f",
- "datasourceConfiguration": {
- "connection": {
- "mode": "READ_WRITE",
- "ssl": {
- "authType": "DEFAULT"
- }
- },
- "endpoints": [{
- "host": "localhost",
- "port": 5432
- }],
- "sshProxyEnabled": false
- }
- }],
- "decryptedFields": {
- "PostgresGolden": {
- "password": "docker",
- "authType": "com.appsmith.external.models.DBAuth",
- "dbAuth": {
- "authenticationType": "dbAuth",
- "username": "docker",
- "databaseName": "ui_perf_test_db"
- }
- }
- },
- "pageList": [{
- "unpublishedPage": {
- "name": "Users",
- "slug": "users",
- "layouts": [{
- "viewMode": false,
- "dsl": {
- "widgetName": "MainContainer",
- "backgroundColor": "none",
- "rightColumn": 1432.0,
- "snapColumns": 64.0,
- "detachFromLayout": true,
- "widgetId": "0",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "containerStyle": "none",
- "snapRows": 125.0,
- "parentRowSpace": 1.0,
- "type": "CANVAS_WIDGET",
- "canExtend": true,
- "version": 50.0,
- "minHeight": 900.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [],
- "leftColumn": 0.0,
- "children": [{
- "backgroundColor": "#FFFFFF",
- "widgetName": "Container1",
- "rightColumn": 40.0,
- "widgetId": "mvubsemxfo",
- "containerStyle": "card",
- "topRow": 0.0,
- "bottomRow": 87.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "CONTAINER_WIDGET",
- "version": 1.0,
- "parentId": "0",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "leftColumn": 0.0,
- "children": [{
- "widgetName": "Canvas1",
- "rightColumn": 632.0,
- "detachFromLayout": true,
- "widgetId": "59rw5mx0bq",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "mvubsemxfo",
- "minHeight": 870.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Table1",
- "columnOrder": ["ID", "user_login", "user_pass", "user_nicename", "user_email", "user_url", "user_registered", "user_activation_key", "user_status", "display_name", "customColumn1"],
- "dynamicPropertyPathList": [{
- "key": "onPageChange"
- }],
- "isVisibleDownload": true,
- "topRow": 10.0,
- "bottomRow": 86.0,
- "parentRowSpace": 10.0,
- "onPageChange": "{{SelectQuery.run()}}",
- "isSortable": true,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [{
- "key": "onPageChange"
- }, {
- "key": "primaryColumns.customColumn1.onClick"
- }, {
- "key": "onSearchTextChanged"
- }],
- "dynamicBindingPathList": [{
- "key": "primaryColumns.customColumn1.buttonLabel"
- }, {
- "key": "tableData"
- }, {
- "key": "primaryColumns.ID.computedValue"
- }, {
- "key": "primaryColumns.user_login.computedValue"
- }, {
- "key": "primaryColumns.user_pass.computedValue"
- }, {
- "key": "primaryColumns.user_nicename.computedValue"
- }, {
- "key": "primaryColumns.user_email.computedValue"
- }, {
- "key": "primaryColumns.user_url.computedValue"
- }, {
- "key": "primaryColumns.user_registered.computedValue"
- }, {
- "key": "primaryColumns.user_activation_key.computedValue"
- }, {
- "key": "primaryColumns.user_status.computedValue"
- }, {
- "key": "primaryColumns.display_name.computedValue"
- }],
- "leftColumn": 0.0,
- "primaryColumns": {
- "customColumn1": {
- "isCellVisible": true,
- "isDerived": true,
- "computedValue": "",
- "onClick": "{{showModal('Delete_Modal')}}",
- "textSize": "PARAGRAPH",
- "buttonColor": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "Delete",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "isDisabled": false,
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- },
- "ID": {
- "index": 0.0,
- "width": 150.0,
- "id": "ID",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "ID",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ID))}}"
- },
- "user_login": {
- "index": 1.0,
- "width": 150.0,
- "id": "user_login",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_login",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_login))}}"
- },
- "user_pass": {
- "index": 2.0,
- "width": 150.0,
- "id": "user_pass",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_pass",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_pass))}}"
- },
- "user_nicename": {
- "index": 3.0,
- "width": 150.0,
- "id": "user_nicename",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_nicename",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_nicename))}}"
- },
- "user_email": {
- "index": 4.0,
- "width": 150.0,
- "id": "user_email",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_email",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_email))}}"
- },
- "user_url": {
- "index": 5.0,
- "width": 150.0,
- "id": "user_url",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_url",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_url))}}"
- },
- "user_registered": {
- "index": 6.0,
- "width": 150.0,
- "id": "user_registered",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_registered",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_registered))}}"
- },
- "user_activation_key": {
- "index": 7.0,
- "width": 150.0,
- "id": "user_activation_key",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_activation_key",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_activation_key))}}"
- },
- "user_status": {
- "index": 8.0,
- "width": 150.0,
- "id": "user_status",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_status",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_status))}}"
- },
- "display_name": {
- "index": 9.0,
- "width": 150.0,
- "id": "display_name",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "display_name",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.display_name))}}"
- }
- },
- "delimiter": ",",
- "derivedColumns": {
- "customColumn1": {
- "isDerived": true,
- "computedValue": "",
- "onClick": "{{DeleteQuery.run()}}",
- "textSize": "PARAGRAPH",
- "buttonStyle": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "customColumn1",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- }
- },
- "rightColumn": 64.0,
- "textSize": "PARAGRAPH",
- "widgetId": "jabdu9f16g",
- "isVisibleFilters": true,
- "tableData": "",
- "isVisible": "true",
- "label": "Data",
- "searchKey": "",
- "version": 3.0,
- "parentId": "59rw5mx0bq",
- "serverSidePaginationEnabled": true,
- "isLoading": false,
- "isVisibleCompactMode": true,
- "onSearchTextChanged": "{{SelectQuery.run()}}",
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "deliveryAddress": 170.0,
- "step": 62.0,
- "id": 228.0,
- "status": 75.0
- }
- }, {
- "isRequired": false,
- "widgetName": "col_select",
- "isFilterable": true,
- "rightColumn": 22.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "asmgosgxjm",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "ID",
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 7.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n{\n\t\"label\": \"user_nicename\",\n\t\"value\": \"user_nicename\"\n}, \n{\n\t\"label\": \"user_email\",\n\t\"value\": \"user_email\"\n}, \n{\n\t\"label\": \"user_login\",\n\t\"value\": \"user_login\"\n}, \n{\n\t\"label\": \"user_pass\",\n\t\"value\": \"user_pass\"\n}, \n{\n\t\"label\": \"ID\",\n\t\"value\": \"ID\"\n}]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text15",
- "rightColumn": 7.0,
- "textAlign": "LEFT",
- "widgetId": "l8pgl90klz",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Order By :"
- }, {
- "isRequired": false,
- "widgetName": "order_select",
- "isFilterable": true,
- "rightColumn": 33.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "10v8a19m25",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "ASC",
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 22.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text16",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "urzv99hdc8",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 11.78515625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "perf_users Data"
- }, {
- "boxShadow": "NONE",
- "widgetName": "refresh_btn",
- "rightColumn": 64.0,
- "onClick": "{{SelectQuery.run()}}",
- "iconName": "refresh",
- "buttonColor": "#03B365",
- "widgetId": "2jj0197tff",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 60.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }, {
- "boxShadow": "NONE",
- "widgetName": "add_btn",
- "rightColumn": 60.0,
- "onClick": "{{showModal('Insert_Modal')}}",
- "iconName": "add",
- "buttonColor": "#03B365",
- "widgetId": "kby34l9nbb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 56.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }]
- }]
- }, {
- "widgetName": "Delete_Modal",
- "rightColumn": 45.0,
- "detachFromLayout": true,
- "widgetId": "i3whp03wf0",
- "topRow": 13.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas3",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "zi8fjakv8o",
- "topRow": 0.0,
- "bottomRow": 230.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "i3whp03wf0",
- "shouldScrollContents": false,
- "minHeight": 240.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Alert_text",
- "rightColumn": 41.0,
- "textAlign": "LEFT",
- "widgetId": "reyoxo4oec",
- "topRow": 1.0,
- "bottomRow": 5.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Delete Row"
- }, {
- "widgetName": "Button1",
- "rightColumn": 46.0,
- "onClick": "{{closeModal('Delete_Modal')}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "lryg8kw537",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 34.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Cancel",
- "isDisabled": false
- }, {
- "widgetName": "Delete_Button",
- "rightColumn": 64.0,
- "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#F22B2B",
- "widgetId": "qq02lh7ust",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 48.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Confirm",
- "isDisabled": false
- }, {
- "widgetName": "Text12",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "48uac29g6e",
- "topRow": 8.0,
- "bottomRow": 12.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "parentColumnSpace": 6.875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Are you sure you want to delete this item?"
- }],
- "isDisabled": false
- }],
- "width": 456.0,
- "height": 240.0
- }, {
- "widgetName": "Insert_Modal",
- "rightColumn": 41.0,
- "detachFromLayout": true,
- "widgetId": "vmorzie6eq",
- "topRow": 16.0,
- "bottomRow": 40.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 17.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas4",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "9rhv3ioohq",
- "topRow": 0.0,
- "bottomRow": 610.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "vmorzie6eq",
- "shouldScrollContents": false,
- "minHeight": 600.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Form2",
- "backgroundColor": "#F6F7F8",
- "rightColumn": 64.0,
- "widgetId": "1ruewbc4ef",
- "topRow": 0.0,
- "bottomRow": 58.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "FORM_WIDGET",
- "parentId": "9rhv3ioohq",
- "isLoading": false,
- "shouldScrollContents": false,
- "parentColumnSpace": 8.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas5",
- "rightColumn": 224.0,
- "detachFromLayout": true,
- "widgetId": "tp9pui0e6y",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 570.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "1ruewbc4ef",
- "minHeight": 580.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": true,
- "widgetName": "insert_button",
- "rightColumn": 62.0,
- "onClick": "{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#03B365",
- "widgetId": "h8vxf3oh4s",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 43.0,
- "dynamicBindingPathList": [],
- "googleRecaptchaKey": "",
- "buttonVariant": "PRIMARY",
- "text": "Submit"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_button",
- "rightColumn": 42.0,
- "onClick": "{{closeModal('Insert_Modal')}}",
- "isDefaultClickDisabled": true,
- "buttonColor": "#03B365",
- "widgetId": "o23gs26wm5",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 29.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Close"
- }, {
- "widgetName": "Text21",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "cfmxebyn06",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "ID:"
- }, {
- "isRequired": false,
- "widgetName": "insert_col_input1",
- "rightColumn": 62.0,
- "widgetId": "h1wbbv7alb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "Autogenerated Field",
- "isDisabled": true,
- "validation": "true"
- }, {
- "widgetName": "Text22",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "jsffaxrqhw",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 2.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_login:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input2",
- "rightColumn": 62.0,
- "widgetId": "6enalyprua",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "defaultText": "",
- "placeholderText": "user_login",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text23",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "btk60uozsm",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_pass:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input3",
- "rightColumn": 62.0,
- "widgetId": "e490gfts69",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "user_pass",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text14",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "8fm60omwwv",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_nicename:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input4",
- "rightColumn": 62.0,
- "widgetId": "r55cydp0ao",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "user_nicename",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text24",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "9t3vdjd5xj",
- "topRow": 33.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_email:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input5",
- "rightColumn": 62.0,
- "widgetId": "5rfqxgj0vm",
- "topRow": 33.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "user_email",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text13Copy",
- "rightColumn": 35.0,
- "textAlign": "LEFT",
- "widgetId": "18x7vdv3gs",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "shouldScroll": false,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Insert Row"
- }]
- }]
- }],
- "isDisabled": false
- }],
- "width": 532.0,
- "height": 600.0
- }, {
- "widgetName": "Form1",
- "backgroundColor": "white",
- "rightColumn": 64.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "m7dvlazbn7",
- "topRow": 0.0,
- "bottomRow": 46.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{!!Table1.selectedRow.ID}}",
- "type": "FORM_WIDGET",
- "parentId": "0",
- "isLoading": false,
- "shouldScrollContents": true,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 40.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "children": [{
- "widgetName": "Canvas2",
- "rightColumn": 528.71875,
- "detachFromLayout": true,
- "widgetId": "cicukwhp5j",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 450.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "m7dvlazbn7",
- "minHeight": 460.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": false,
- "widgetName": "update_button",
- "rightColumn": 63.0,
- "onClick": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "4gnygu5jew",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 42.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Update"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_update_button",
- "rightColumn": 42.0,
- "onClick": "",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03b365",
- "widgetId": "twwgpz5wfu",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 28.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Reset"
- }, {
- "isRequired": true,
- "widgetName": "update_col_2",
- "rightColumn": 63.0,
- "widgetId": "in8e51pg3y",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.user_login}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_3",
- "rightColumn": 63.0,
- "widgetId": "mlhvfasf31",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.user_pass}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_4",
- "rightColumn": 63.0,
- "widgetId": "0lz9vhcnr0",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.user_nicename}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_5",
- "rightColumn": 63.0,
- "widgetId": "m4esf7fww5",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.user_email}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text9",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "4hnz8ktmz5",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "fontSize": "HEADING1",
- "text": "Update Row: {{Table1.selectedRow.ID}}"
- }, {
- "widgetName": "Text17",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "afzzc7q8af",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_login:"
- }, {
- "widgetName": "Text18",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "xqcsd2e5dj",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_pass:"
- }, {
- "widgetName": "Text19",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "l109ilp3vq",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_nicename:"
- }, {
- "widgetName": "Text20",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "gqpwf0yng6",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_email:"
- }]
- }]
- }]
- },
- "layoutOnLoadActions": [
- [{
- "id": "Users_SelectQuery",
- "name": "SelectQuery",
- "pluginType": "DB",
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "timeoutInMillisecond": 10000.0
- }]
- ],
- "validOnPageLoadActions": true,
- "id": "Users",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- }],
- "userPermissions": [],
- "policies": [],
- "isHidden": false
- },
- "publishedPage": {
- "name": "Users",
- "slug": "users",
- "layouts": [{
- "viewMode": false,
- "dsl": {
- "widgetName": "MainContainer",
- "backgroundColor": "none",
- "rightColumn": 1432.0,
- "snapColumns": 64.0,
- "detachFromLayout": true,
- "widgetId": "0",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "containerStyle": "none",
- "snapRows": 125.0,
- "parentRowSpace": 1.0,
- "type": "CANVAS_WIDGET",
- "canExtend": true,
- "version": 50.0,
- "minHeight": 900.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [],
- "leftColumn": 0.0,
- "children": [{
- "backgroundColor": "#FFFFFF",
- "widgetName": "Container1",
- "rightColumn": 40.0,
- "widgetId": "mvubsemxfo",
- "containerStyle": "card",
- "topRow": 0.0,
- "bottomRow": 87.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "CONTAINER_WIDGET",
- "version": 1.0,
- "parentId": "0",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "leftColumn": 0.0,
- "children": [{
- "widgetName": "Canvas1",
- "rightColumn": 632.0,
- "detachFromLayout": true,
- "widgetId": "59rw5mx0bq",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "mvubsemxfo",
- "minHeight": 870.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Table1",
- "columnOrder": ["ID", "user_login", "user_pass", "user_nicename", "user_email", "user_url", "user_registered", "user_activation_key", "user_status", "display_name", "customColumn1"],
- "dynamicPropertyPathList": [{
- "key": "onPageChange"
- }],
- "isVisibleDownload": true,
- "topRow": 10.0,
- "bottomRow": 86.0,
- "parentRowSpace": 10.0,
- "onPageChange": "{{SelectQuery.run()}}",
- "isSortable": true,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [{
- "key": "onPageChange"
- }, {
- "key": "primaryColumns.customColumn1.onClick"
- }, {
- "key": "onSearchTextChanged"
- }],
- "dynamicBindingPathList": [{
- "key": "primaryColumns.customColumn1.buttonLabel"
- }, {
- "key": "tableData"
- }, {
- "key": "primaryColumns.ID.computedValue"
- }, {
- "key": "primaryColumns.user_login.computedValue"
- }, {
- "key": "primaryColumns.user_pass.computedValue"
- }, {
- "key": "primaryColumns.user_nicename.computedValue"
- }, {
- "key": "primaryColumns.user_email.computedValue"
- }, {
- "key": "primaryColumns.user_url.computedValue"
- }, {
- "key": "primaryColumns.user_registered.computedValue"
- }, {
- "key": "primaryColumns.user_activation_key.computedValue"
- }, {
- "key": "primaryColumns.user_status.computedValue"
- }, {
- "key": "primaryColumns.display_name.computedValue"
- }],
- "leftColumn": 0.0,
- "primaryColumns": {
- "customColumn1": {
- "isCellVisible": true,
- "isDerived": true,
- "computedValue": "",
- "onClick": "{{showModal('Delete_Modal')}}",
- "textSize": "PARAGRAPH",
- "buttonColor": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "Delete",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "isDisabled": false,
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- },
- "ID": {
- "index": 0.0,
- "width": 150.0,
- "id": "ID",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "ID",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ID))}}"
- },
- "user_login": {
- "index": 1.0,
- "width": 150.0,
- "id": "user_login",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_login",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_login))}}"
- },
- "user_pass": {
- "index": 2.0,
- "width": 150.0,
- "id": "user_pass",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_pass",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_pass))}}"
- },
- "user_nicename": {
- "index": 3.0,
- "width": 150.0,
- "id": "user_nicename",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_nicename",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_nicename))}}"
- },
- "user_email": {
- "index": 4.0,
- "width": 150.0,
- "id": "user_email",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_email",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_email))}}"
- },
- "user_url": {
- "index": 5.0,
- "width": 150.0,
- "id": "user_url",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_url",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_url))}}"
- },
- "user_registered": {
- "index": 6.0,
- "width": 150.0,
- "id": "user_registered",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_registered",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_registered))}}"
- },
- "user_activation_key": {
- "index": 7.0,
- "width": 150.0,
- "id": "user_activation_key",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_activation_key",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_activation_key))}}"
- },
- "user_status": {
- "index": 8.0,
- "width": 150.0,
- "id": "user_status",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_status",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_status))}}"
- },
- "display_name": {
- "index": 9.0,
- "width": 150.0,
- "id": "display_name",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "display_name",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.display_name))}}"
- }
- },
- "delimiter": ",",
- "derivedColumns": {
- "customColumn1": {
- "isDerived": true,
- "computedValue": "",
- "onClick": "{{DeleteQuery.run()}}",
- "textSize": "PARAGRAPH",
- "buttonStyle": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "customColumn1",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- }
- },
- "rightColumn": 64.0,
- "textSize": "PARAGRAPH",
- "widgetId": "jabdu9f16g",
- "isVisibleFilters": true,
- "tableData": "",
- "isVisible": "true",
- "label": "Data",
- "searchKey": "",
- "version": 3.0,
- "parentId": "59rw5mx0bq",
- "serverSidePaginationEnabled": true,
- "isLoading": false,
- "isVisibleCompactMode": true,
- "onSearchTextChanged": "{{SelectQuery.run()}}",
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "deliveryAddress": 170.0,
- "step": 62.0,
- "id": 228.0,
- "status": 75.0
- }
- }, {
- "isRequired": false,
- "widgetName": "col_select",
- "isFilterable": true,
- "rightColumn": 22.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "asmgosgxjm",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "ID",
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 7.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n{\n\t\"label\": \"user_nicename\",\n\t\"value\": \"user_nicename\"\n}, \n{\n\t\"label\": \"user_email\",\n\t\"value\": \"user_email\"\n}, \n{\n\t\"label\": \"user_login\",\n\t\"value\": \"user_login\"\n}, \n{\n\t\"label\": \"user_pass\",\n\t\"value\": \"user_pass\"\n}, \n{\n\t\"label\": \"ID\",\n\t\"value\": \"ID\"\n}]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text15",
- "rightColumn": 7.0,
- "textAlign": "LEFT",
- "widgetId": "l8pgl90klz",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Order By :"
- }, {
- "isRequired": false,
- "widgetName": "order_select",
- "isFilterable": true,
- "rightColumn": 33.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "10v8a19m25",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "ASC",
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 22.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text16",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "urzv99hdc8",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 11.78515625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "perf_users Data"
- }, {
- "boxShadow": "NONE",
- "widgetName": "refresh_btn",
- "rightColumn": 64.0,
- "onClick": "{{SelectQuery.run()}}",
- "iconName": "refresh",
- "buttonColor": "#03B365",
- "widgetId": "2jj0197tff",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 60.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }, {
- "boxShadow": "NONE",
- "widgetName": "add_btn",
- "rightColumn": 60.0,
- "onClick": "{{showModal('Insert_Modal')}}",
- "iconName": "add",
- "buttonColor": "#03B365",
- "widgetId": "kby34l9nbb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 56.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }]
- }]
- }, {
- "widgetName": "Delete_Modal",
- "rightColumn": 45.0,
- "detachFromLayout": true,
- "widgetId": "i3whp03wf0",
- "topRow": 13.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas3",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "zi8fjakv8o",
- "topRow": 0.0,
- "bottomRow": 230.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "i3whp03wf0",
- "shouldScrollContents": false,
- "minHeight": 240.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Alert_text",
- "rightColumn": 41.0,
- "textAlign": "LEFT",
- "widgetId": "reyoxo4oec",
- "topRow": 1.0,
- "bottomRow": 5.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Delete Row"
- }, {
- "widgetName": "Button1",
- "rightColumn": 46.0,
- "onClick": "{{closeModal('Delete_Modal')}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "lryg8kw537",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 34.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Cancel",
- "isDisabled": false
- }, {
- "widgetName": "Delete_Button",
- "rightColumn": 64.0,
- "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#F22B2B",
- "widgetId": "qq02lh7ust",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 48.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Confirm",
- "isDisabled": false
- }, {
- "widgetName": "Text12",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "48uac29g6e",
- "topRow": 8.0,
- "bottomRow": 12.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "parentColumnSpace": 6.875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Are you sure you want to delete this item?"
- }],
- "isDisabled": false
- }],
- "width": 456.0,
- "height": 240.0
- }, {
- "widgetName": "Insert_Modal",
- "rightColumn": 41.0,
- "detachFromLayout": true,
- "widgetId": "vmorzie6eq",
- "topRow": 16.0,
- "bottomRow": 40.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 17.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas4",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "9rhv3ioohq",
- "topRow": 0.0,
- "bottomRow": 610.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "vmorzie6eq",
- "shouldScrollContents": false,
- "minHeight": 600.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Form2",
- "backgroundColor": "#F6F7F8",
- "rightColumn": 64.0,
- "widgetId": "1ruewbc4ef",
- "topRow": 0.0,
- "bottomRow": 58.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "FORM_WIDGET",
- "parentId": "9rhv3ioohq",
- "isLoading": false,
- "shouldScrollContents": false,
- "parentColumnSpace": 8.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas5",
- "rightColumn": 224.0,
- "detachFromLayout": true,
- "widgetId": "tp9pui0e6y",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 570.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "1ruewbc4ef",
- "minHeight": 580.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": true,
- "widgetName": "insert_button",
- "rightColumn": 62.0,
- "onClick": "{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#03B365",
- "widgetId": "h8vxf3oh4s",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 43.0,
- "dynamicBindingPathList": [],
- "googleRecaptchaKey": "",
- "buttonVariant": "PRIMARY",
- "text": "Submit"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_button",
- "rightColumn": 42.0,
- "onClick": "{{closeModal('Insert_Modal')}}",
- "isDefaultClickDisabled": true,
- "buttonColor": "#03B365",
- "widgetId": "o23gs26wm5",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 29.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Close"
- }, {
- "widgetName": "Text21",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "cfmxebyn06",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "ID:"
- }, {
- "isRequired": false,
- "widgetName": "insert_col_input1",
- "rightColumn": 62.0,
- "widgetId": "h1wbbv7alb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "Autogenerated Field",
- "isDisabled": true,
- "validation": "true"
- }, {
- "widgetName": "Text22",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "jsffaxrqhw",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 2.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_login:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input2",
- "rightColumn": 62.0,
- "widgetId": "6enalyprua",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "defaultText": "",
- "placeholderText": "user_login",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text23",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "btk60uozsm",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_pass:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input3",
- "rightColumn": 62.0,
- "widgetId": "e490gfts69",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "user_pass",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text14",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "8fm60omwwv",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_nicename:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input4",
- "rightColumn": 62.0,
- "widgetId": "r55cydp0ao",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "user_nicename",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text24",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "9t3vdjd5xj",
- "topRow": 33.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_email:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input5",
- "rightColumn": 62.0,
- "widgetId": "5rfqxgj0vm",
- "topRow": 33.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "user_email",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text13Copy",
- "rightColumn": 35.0,
- "textAlign": "LEFT",
- "widgetId": "18x7vdv3gs",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "shouldScroll": false,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Insert Row"
- }]
- }]
- }],
- "isDisabled": false
- }],
- "width": 532.0,
- "height": 600.0
- }, {
- "widgetName": "Form1",
- "backgroundColor": "white",
- "rightColumn": 64.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "m7dvlazbn7",
- "topRow": 0.0,
- "bottomRow": 46.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{!!Table1.selectedRow.ID}}",
- "type": "FORM_WIDGET",
- "parentId": "0",
- "isLoading": false,
- "shouldScrollContents": true,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 40.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "children": [{
- "widgetName": "Canvas2",
- "rightColumn": 528.71875,
- "detachFromLayout": true,
- "widgetId": "cicukwhp5j",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 450.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "m7dvlazbn7",
- "minHeight": 460.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": false,
- "widgetName": "update_button",
- "rightColumn": 63.0,
- "onClick": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "4gnygu5jew",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 42.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Update"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_update_button",
- "rightColumn": 42.0,
- "onClick": "",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03b365",
- "widgetId": "twwgpz5wfu",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 28.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Reset"
- }, {
- "isRequired": true,
- "widgetName": "update_col_2",
- "rightColumn": 63.0,
- "widgetId": "in8e51pg3y",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.user_login}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_3",
- "rightColumn": 63.0,
- "widgetId": "mlhvfasf31",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.user_pass}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_4",
- "rightColumn": 63.0,
- "widgetId": "0lz9vhcnr0",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.user_nicename}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_5",
- "rightColumn": 63.0,
- "widgetId": "m4esf7fww5",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.user_email}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text9",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "4hnz8ktmz5",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "fontSize": "HEADING1",
- "text": "Update Row: {{Table1.selectedRow.ID}}"
- }, {
- "widgetName": "Text17",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "afzzc7q8af",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_login:"
- }, {
- "widgetName": "Text18",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "xqcsd2e5dj",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_pass:"
- }, {
- "widgetName": "Text19",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "l109ilp3vq",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_nicename:"
- }, {
- "widgetName": "Text20",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "gqpwf0yng6",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "user_email:"
- }]
- }]
- }]
- },
- "layoutOnLoadActions": [
- [{
- "id": "Users_SelectQuery",
- "name": "SelectQuery",
- "pluginType": "DB",
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "timeoutInMillisecond": 10000.0
- }]
- ],
- "validOnPageLoadActions": true,
- "id": "Users",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- }],
- "userPermissions": [],
- "policies": [],
- "isHidden": false
- },
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61eff4883b61bf7f582f1831"
- }, {
- "unpublishedPage": {
- "name": "Comments",
- "slug": "comments",
- "layouts": [{
- "viewMode": false,
- "dsl": {
- "widgetName": "MainContainer",
- "backgroundColor": "none",
- "rightColumn": 1280.0,
- "snapColumns": 64.0,
- "detachFromLayout": true,
- "widgetId": "0",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "containerStyle": "none",
- "snapRows": 125.0,
- "parentRowSpace": 1.0,
- "type": "CANVAS_WIDGET",
- "canExtend": true,
- "version": 51.0,
- "minHeight": 900.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [],
- "leftColumn": 0.0,
- "children": [{
- "backgroundColor": "#FFFFFF",
- "widgetName": "Container1",
- "rightColumn": 40.0,
- "widgetId": "mvubsemxfo",
- "containerStyle": "card",
- "topRow": 0.0,
- "bottomRow": 87.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "CONTAINER_WIDGET",
- "version": 1.0,
- "parentId": "0",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "leftColumn": 0.0,
- "children": [{
- "widgetName": "Canvas1",
- "rightColumn": 632.0,
- "detachFromLayout": true,
- "widgetId": "59rw5mx0bq",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "mvubsemxfo",
- "minHeight": 870.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Table1",
- "columnOrder": ["comment_ID", "comment_post_ID", "comment_author", "comment_author_email", "comment_author_url", "comment_author_IP", "comment_date", "comment_date_gmt", "comment_content", "comment_karma", "comment_approved", "comment_agent", "comment_type", "comment_parent", "user_id", "customColumn1"],
- "dynamicPropertyPathList": [{
- "key": "onPageChange"
- }],
- "isVisibleDownload": true,
- "topRow": 10.0,
- "bottomRow": 86.0,
- "parentRowSpace": 10.0,
- "onPageChange": "{{SelectQuery.run()}}",
- "isSortable": true,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [{
- "key": "onPageChange"
- }, {
- "key": "primaryColumns.customColumn1.onClick"
- }, {
- "key": "onSearchTextChanged"
- }],
- "dynamicBindingPathList": [{
- "key": "primaryColumns.customColumn1.buttonLabel"
- }, {
- "key": "tableData"
- }, {
- "key": "primaryColumns.comment_ID.computedValue"
- }, {
- "key": "primaryColumns.comment_post_ID.computedValue"
- }, {
- "key": "primaryColumns.comment_author.computedValue"
- }, {
- "key": "primaryColumns.comment_author_email.computedValue"
- }, {
- "key": "primaryColumns.comment_author_url.computedValue"
- }, {
- "key": "primaryColumns.comment_author_IP.computedValue"
- }, {
- "key": "primaryColumns.comment_date.computedValue"
- }, {
- "key": "primaryColumns.comment_date_gmt.computedValue"
- }, {
- "key": "primaryColumns.comment_content.computedValue"
- }, {
- "key": "primaryColumns.comment_karma.computedValue"
- }, {
- "key": "primaryColumns.comment_approved.computedValue"
- }, {
- "key": "primaryColumns.comment_agent.computedValue"
- }, {
- "key": "primaryColumns.comment_type.computedValue"
- }, {
- "key": "primaryColumns.comment_parent.computedValue"
- }, {
- "key": "primaryColumns.user_id.computedValue"
- }],
- "leftColumn": 0.0,
- "primaryColumns": {
- "customColumn1": {
- "isCellVisible": true,
- "isDerived": true,
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}",
- "onClick": "{{showModal('Delete_Modal')}}",
- "textSize": "PARAGRAPH",
- "buttonColor": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "Delete",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "isDisabled": false,
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- },
- "comment_ID": {
- "index": 0.0,
- "width": 150.0,
- "id": "comment_ID",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_ID",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_ID))}}"
- },
- "comment_post_ID": {
- "index": 1.0,
- "width": 150.0,
- "id": "comment_post_ID",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_post_ID",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_post_ID))}}"
- },
- "comment_author": {
- "index": 2.0,
- "width": 150.0,
- "id": "comment_author",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author))}}"
- },
- "comment_author_email": {
- "index": 3.0,
- "width": 150.0,
- "id": "comment_author_email",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author_email",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_email))}}"
- },
- "comment_author_url": {
- "index": 4.0,
- "width": 150.0,
- "id": "comment_author_url",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author_url",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_url))}}"
- },
- "comment_author_IP": {
- "index": 5.0,
- "width": 150.0,
- "id": "comment_author_IP",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author_IP",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_IP))}}"
- },
- "comment_date": {
- "index": 6.0,
- "width": 150.0,
- "id": "comment_date",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_date",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_date))}}"
- },
- "comment_date_gmt": {
- "index": 7.0,
- "width": 150.0,
- "id": "comment_date_gmt",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_date_gmt",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_date_gmt))}}"
- },
- "comment_content": {
- "index": 8.0,
- "width": 150.0,
- "id": "comment_content",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_content",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_content))}}"
- },
- "comment_karma": {
- "index": 9.0,
- "width": 150.0,
- "id": "comment_karma",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_karma",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_karma))}}"
- },
- "comment_approved": {
- "index": 10.0,
- "width": 150.0,
- "id": "comment_approved",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_approved",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_approved))}}"
- },
- "comment_agent": {
- "index": 11.0,
- "width": 150.0,
- "id": "comment_agent",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_agent",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_agent))}}"
- },
- "comment_type": {
- "index": 12.0,
- "width": 150.0,
- "id": "comment_type",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_type",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_type))}}"
- },
- "comment_parent": {
- "index": 13.0,
- "width": 150.0,
- "id": "comment_parent",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_parent",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_parent))}}"
- },
- "user_id": {
- "index": 14.0,
- "width": 150.0,
- "id": "user_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_id",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_id))}}"
- }
- },
- "delimiter": ",",
- "derivedColumns": {
- "customColumn1": {
- "isDerived": true,
- "computedValue": "",
- "onClick": "{{DeleteQuery.run()}}",
- "textSize": "PARAGRAPH",
- "buttonStyle": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "customColumn1",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- }
- },
- "rightColumn": 64.0,
- "textSize": "PARAGRAPH",
- "widgetId": "jabdu9f16g",
- "isVisibleFilters": true,
- "tableData": "",
- "isVisible": "true",
- "label": "Data",
- "searchKey": "",
- "version": 3.0,
- "parentId": "59rw5mx0bq",
- "serverSidePaginationEnabled": true,
- "isLoading": false,
- "isVisibleCompactMode": true,
- "onSearchTextChanged": "{{SelectQuery.run()}}",
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "deliveryAddress": 170.0,
- "step": 62.0,
- "id": 228.0,
- "status": 75.0
- }
- }, {
- "isRequired": false,
- "widgetName": "col_select",
- "isFilterable": true,
- "rightColumn": 22.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "asmgosgxjm",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "comment_ID",
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 7.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n{\n\t\"label\": \"comment_author\",\n\t\"value\": \"comment_author\"\n}, \n{\n\t\"label\": \"comment_author_url\",\n\t\"value\": \"comment_author_url\"\n}, \n{\n\t\"label\": \"comment_author_email\",\n\t\"value\": \"comment_author_email\"\n}, \n{\n\t\"label\": \"comment_post_ID\",\n\t\"value\": \"comment_post_ID\"\n}, \n{\n\t\"label\": \"comment_ID\",\n\t\"value\": \"comment_ID\"\n}]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text15",
- "rightColumn": 7.0,
- "textAlign": "LEFT",
- "widgetId": "l8pgl90klz",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Order By :"
- }, {
- "isRequired": false,
- "widgetName": "order_select",
- "isFilterable": true,
- "rightColumn": 33.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "10v8a19m25",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "ASC",
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 22.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text16",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "urzv99hdc8",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 11.78515625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "perf_comments Data"
- }, {
- "boxShadow": "NONE",
- "widgetName": "refresh_btn",
- "rightColumn": 64.0,
- "onClick": "{{SelectQuery.run()}}",
- "iconName": "refresh",
- "buttonColor": "#03B365",
- "widgetId": "2jj0197tff",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 60.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }, {
- "boxShadow": "NONE",
- "widgetName": "add_btn",
- "rightColumn": 60.0,
- "onClick": "{{showModal('Insert_Modal')}}",
- "iconName": "add",
- "buttonColor": "#03B365",
- "widgetId": "kby34l9nbb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 56.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }]
- }]
- }, {
- "widgetName": "Delete_Modal",
- "rightColumn": 45.0,
- "detachFromLayout": true,
- "widgetId": "i3whp03wf0",
- "topRow": 13.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas3",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "zi8fjakv8o",
- "topRow": 0.0,
- "bottomRow": 230.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "i3whp03wf0",
- "shouldScrollContents": false,
- "minHeight": 240.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Alert_text",
- "rightColumn": 41.0,
- "textAlign": "LEFT",
- "widgetId": "reyoxo4oec",
- "topRow": 1.0,
- "bottomRow": 5.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Delete Row"
- }, {
- "widgetName": "Button1",
- "rightColumn": 46.0,
- "onClick": "{{closeModal('Delete_Modal')}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "lryg8kw537",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 34.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Cancel",
- "isDisabled": false
- }, {
- "widgetName": "Delete_Button",
- "rightColumn": 64.0,
- "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#F22B2B",
- "widgetId": "qq02lh7ust",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 48.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Confirm",
- "isDisabled": false
- }, {
- "widgetName": "Text12",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "48uac29g6e",
- "topRow": 8.0,
- "bottomRow": 12.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "parentColumnSpace": 6.875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Are you sure you want to delete this item?"
- }],
- "isDisabled": false
- }],
- "width": 456.0,
- "height": 240.0
- }, {
- "widgetName": "Insert_Modal",
- "rightColumn": 41.0,
- "detachFromLayout": true,
- "widgetId": "vmorzie6eq",
- "topRow": 16.0,
- "bottomRow": 40.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 17.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas4",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "9rhv3ioohq",
- "topRow": 0.0,
- "bottomRow": 610.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "vmorzie6eq",
- "shouldScrollContents": false,
- "minHeight": 600.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Form2",
- "backgroundColor": "#F6F7F8",
- "rightColumn": 64.0,
- "widgetId": "1ruewbc4ef",
- "topRow": 0.0,
- "bottomRow": 58.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "FORM_WIDGET",
- "parentId": "9rhv3ioohq",
- "isLoading": false,
- "shouldScrollContents": false,
- "parentColumnSpace": 8.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas5",
- "rightColumn": 224.0,
- "detachFromLayout": true,
- "widgetId": "tp9pui0e6y",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 570.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "1ruewbc4ef",
- "minHeight": 580.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": true,
- "widgetName": "insert_button",
- "rightColumn": 62.0,
- "onClick": "{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#03B365",
- "widgetId": "h8vxf3oh4s",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 43.0,
- "dynamicBindingPathList": [],
- "googleRecaptchaKey": "",
- "buttonVariant": "PRIMARY",
- "text": "Submit"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_button",
- "rightColumn": 42.0,
- "onClick": "{{closeModal('Insert_Modal')}}",
- "isDefaultClickDisabled": true,
- "buttonColor": "#03B365",
- "widgetId": "o23gs26wm5",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 29.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Close"
- }, {
- "widgetName": "Text21",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "cfmxebyn06",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_ID:"
- }, {
- "isRequired": false,
- "widgetName": "insert_col_input1",
- "rightColumn": 62.0,
- "widgetId": "h1wbbv7alb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "Autogenerated Field",
- "isDisabled": true,
- "validation": "true"
- }, {
- "widgetName": "Text22",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "jsffaxrqhw",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 2.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_author_email:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input2",
- "rightColumn": 62.0,
- "widgetId": "6enalyprua",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "defaultText": "",
- "placeholderText": "comment_author_email",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text23",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "btk60uozsm",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_post_ID:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input3",
- "rightColumn": 62.0,
- "widgetId": "e490gfts69",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "comment_post_ID",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text14",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "8fm60omwwv",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_author:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input4",
- "rightColumn": 62.0,
- "widgetId": "r55cydp0ao",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "comment_author",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text24",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "9t3vdjd5xj",
- "topRow": 33.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_author_url:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input5",
- "rightColumn": 62.0,
- "widgetId": "5rfqxgj0vm",
- "topRow": 33.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "comment_author_url",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text13Copy",
- "rightColumn": 35.0,
- "textAlign": "LEFT",
- "widgetId": "18x7vdv3gs",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "shouldScroll": false,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Insert Row"
- }]
- }]
- }],
- "isDisabled": false
- }],
- "width": 532.0,
- "height": 600.0
- }, {
- "widgetName": "Form1",
- "backgroundColor": "white",
- "rightColumn": 64.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "m7dvlazbn7",
- "topRow": 0.0,
- "bottomRow": 46.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{!!Table1.selectedRow.comment_ID}}",
- "type": "FORM_WIDGET",
- "parentId": "0",
- "isLoading": false,
- "shouldScrollContents": true,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 40.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "children": [{
- "widgetName": "Canvas2",
- "rightColumn": 528.71875,
- "detachFromLayout": true,
- "widgetId": "cicukwhp5j",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 450.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "m7dvlazbn7",
- "minHeight": 460.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": false,
- "widgetName": "update_button",
- "rightColumn": 63.0,
- "onClick": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "4gnygu5jew",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 42.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Update"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_update_button",
- "rightColumn": 42.0,
- "onClick": "",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03b365",
- "widgetId": "twwgpz5wfu",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 28.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Reset"
- }, {
- "isRequired": true,
- "widgetName": "update_col_2",
- "rightColumn": 63.0,
- "widgetId": "in8e51pg3y",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.comment_author_email}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_3",
- "rightColumn": 63.0,
- "widgetId": "mlhvfasf31",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.comment_post_ID}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_4",
- "rightColumn": 63.0,
- "widgetId": "0lz9vhcnr0",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.comment_author}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_5",
- "rightColumn": 63.0,
- "widgetId": "m4esf7fww5",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.comment_author_url}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text9",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "4hnz8ktmz5",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "fontSize": "HEADING1",
- "text": "Update Row: {{Table1.selectedRow.comment_ID}}"
- }, {
- "widgetName": "Text17",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "afzzc7q8af",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_author_email:"
- }, {
- "widgetName": "Text18",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "xqcsd2e5dj",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_post_ID:"
- }, {
- "widgetName": "Text19",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "l109ilp3vq",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_author:"
- }, {
- "widgetName": "Text20",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "gqpwf0yng6",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_author_url:"
- }]
- }]
- }]
- },
- "layoutOnLoadActions": [
- [{
- "id": "Comments_SelectQuery",
- "name": "SelectQuery",
- "pluginType": "DB",
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "timeoutInMillisecond": 10000.0
- }]
- ],
- "validOnPageLoadActions": true,
- "id": "Comments",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- }],
- "userPermissions": [],
- "policies": [],
- "isHidden": false
- },
- "publishedPage": {
- "name": "Comments",
- "slug": "comments",
- "layouts": [{
- "viewMode": false,
- "dsl": {
- "widgetName": "MainContainer",
- "backgroundColor": "none",
- "rightColumn": 1280.0,
- "snapColumns": 64.0,
- "detachFromLayout": true,
- "widgetId": "0",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "containerStyle": "none",
- "snapRows": 125.0,
- "parentRowSpace": 1.0,
- "type": "CANVAS_WIDGET",
- "canExtend": true,
- "version": 51.0,
- "minHeight": 900.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [],
- "leftColumn": 0.0,
- "children": [{
- "backgroundColor": "#FFFFFF",
- "widgetName": "Container1",
- "rightColumn": 40.0,
- "widgetId": "mvubsemxfo",
- "containerStyle": "card",
- "topRow": 0.0,
- "bottomRow": 87.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "CONTAINER_WIDGET",
- "version": 1.0,
- "parentId": "0",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "leftColumn": 0.0,
- "children": [{
- "widgetName": "Canvas1",
- "rightColumn": 632.0,
- "detachFromLayout": true,
- "widgetId": "59rw5mx0bq",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "mvubsemxfo",
- "minHeight": 870.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Table1",
- "columnOrder": ["comment_ID", "comment_post_ID", "comment_author", "comment_author_email", "comment_author_url", "comment_author_IP", "comment_date", "comment_date_gmt", "comment_content", "comment_karma", "comment_approved", "comment_agent", "comment_type", "comment_parent", "user_id", "customColumn1"],
- "dynamicPropertyPathList": [{
- "key": "onPageChange"
- }],
- "isVisibleDownload": true,
- "topRow": 10.0,
- "bottomRow": 86.0,
- "parentRowSpace": 10.0,
- "onPageChange": "{{SelectQuery.run()}}",
- "isSortable": true,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [{
- "key": "onPageChange"
- }, {
- "key": "primaryColumns.customColumn1.onClick"
- }, {
- "key": "onSearchTextChanged"
- }],
- "dynamicBindingPathList": [{
- "key": "primaryColumns.customColumn1.buttonLabel"
- }, {
- "key": "tableData"
- }, {
- "key": "primaryColumns.comment_ID.computedValue"
- }, {
- "key": "primaryColumns.comment_post_ID.computedValue"
- }, {
- "key": "primaryColumns.comment_author.computedValue"
- }, {
- "key": "primaryColumns.comment_author_email.computedValue"
- }, {
- "key": "primaryColumns.comment_author_url.computedValue"
- }, {
- "key": "primaryColumns.comment_author_IP.computedValue"
- }, {
- "key": "primaryColumns.comment_date.computedValue"
- }, {
- "key": "primaryColumns.comment_date_gmt.computedValue"
- }, {
- "key": "primaryColumns.comment_content.computedValue"
- }, {
- "key": "primaryColumns.comment_karma.computedValue"
- }, {
- "key": "primaryColumns.comment_approved.computedValue"
- }, {
- "key": "primaryColumns.comment_agent.computedValue"
- }, {
- "key": "primaryColumns.comment_type.computedValue"
- }, {
- "key": "primaryColumns.comment_parent.computedValue"
- }, {
- "key": "primaryColumns.user_id.computedValue"
- }],
- "leftColumn": 0.0,
- "primaryColumns": {
- "customColumn1": {
- "isCellVisible": true,
- "isDerived": true,
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}",
- "onClick": "{{showModal('Delete_Modal')}}",
- "textSize": "PARAGRAPH",
- "buttonColor": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "Delete",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "isDisabled": false,
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- },
- "comment_ID": {
- "index": 0.0,
- "width": 150.0,
- "id": "comment_ID",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_ID",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_ID))}}"
- },
- "comment_post_ID": {
- "index": 1.0,
- "width": 150.0,
- "id": "comment_post_ID",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_post_ID",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_post_ID))}}"
- },
- "comment_author": {
- "index": 2.0,
- "width": 150.0,
- "id": "comment_author",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author))}}"
- },
- "comment_author_email": {
- "index": 3.0,
- "width": 150.0,
- "id": "comment_author_email",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author_email",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_email))}}"
- },
- "comment_author_url": {
- "index": 4.0,
- "width": 150.0,
- "id": "comment_author_url",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author_url",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_url))}}"
- },
- "comment_author_IP": {
- "index": 5.0,
- "width": 150.0,
- "id": "comment_author_IP",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author_IP",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_IP))}}"
- },
- "comment_date": {
- "index": 6.0,
- "width": 150.0,
- "id": "comment_date",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_date",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_date))}}"
- },
- "comment_date_gmt": {
- "index": 7.0,
- "width": 150.0,
- "id": "comment_date_gmt",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_date_gmt",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_date_gmt))}}"
- },
- "comment_content": {
- "index": 8.0,
- "width": 150.0,
- "id": "comment_content",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_content",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_content))}}"
- },
- "comment_karma": {
- "index": 9.0,
- "width": 150.0,
- "id": "comment_karma",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_karma",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_karma))}}"
- },
- "comment_approved": {
- "index": 10.0,
- "width": 150.0,
- "id": "comment_approved",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_approved",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_approved))}}"
- },
- "comment_agent": {
- "index": 11.0,
- "width": 150.0,
- "id": "comment_agent",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_agent",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_agent))}}"
- },
- "comment_type": {
- "index": 12.0,
- "width": 150.0,
- "id": "comment_type",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_type",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_type))}}"
- },
- "comment_parent": {
- "index": 13.0,
- "width": 150.0,
- "id": "comment_parent",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_parent",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_parent))}}"
- },
- "user_id": {
- "index": 14.0,
- "width": 150.0,
- "id": "user_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_id",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.user_id))}}"
- }
- },
- "delimiter": ",",
- "derivedColumns": {
- "customColumn1": {
- "isDerived": true,
- "computedValue": "",
- "onClick": "{{DeleteQuery.run()}}",
- "textSize": "PARAGRAPH",
- "buttonStyle": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "customColumn1",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- }
- },
- "rightColumn": 64.0,
- "textSize": "PARAGRAPH",
- "widgetId": "jabdu9f16g",
- "isVisibleFilters": true,
- "tableData": "",
- "isVisible": "true",
- "label": "Data",
- "searchKey": "",
- "version": 3.0,
- "parentId": "59rw5mx0bq",
- "serverSidePaginationEnabled": true,
- "isLoading": false,
- "isVisibleCompactMode": true,
- "onSearchTextChanged": "{{SelectQuery.run()}}",
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "deliveryAddress": 170.0,
- "step": 62.0,
- "id": 228.0,
- "status": 75.0
- }
- }, {
- "isRequired": false,
- "widgetName": "col_select",
- "isFilterable": true,
- "rightColumn": 22.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "asmgosgxjm",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "comment_ID",
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 7.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n{\n\t\"label\": \"comment_author\",\n\t\"value\": \"comment_author\"\n}, \n{\n\t\"label\": \"comment_author_url\",\n\t\"value\": \"comment_author_url\"\n}, \n{\n\t\"label\": \"comment_author_email\",\n\t\"value\": \"comment_author_email\"\n}, \n{\n\t\"label\": \"comment_post_ID\",\n\t\"value\": \"comment_post_ID\"\n}, \n{\n\t\"label\": \"comment_ID\",\n\t\"value\": \"comment_ID\"\n}]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text15",
- "rightColumn": 7.0,
- "textAlign": "LEFT",
- "widgetId": "l8pgl90klz",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Order By :"
- }, {
- "isRequired": false,
- "widgetName": "order_select",
- "isFilterable": true,
- "rightColumn": 33.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "10v8a19m25",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "ASC",
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 22.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text16",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "urzv99hdc8",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 11.78515625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "perf_comments Data"
- }, {
- "boxShadow": "NONE",
- "widgetName": "refresh_btn",
- "rightColumn": 64.0,
- "onClick": "{{SelectQuery.run()}}",
- "iconName": "refresh",
- "buttonColor": "#03B365",
- "widgetId": "2jj0197tff",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 60.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }, {
- "boxShadow": "NONE",
- "widgetName": "add_btn",
- "rightColumn": 60.0,
- "onClick": "{{showModal('Insert_Modal')}}",
- "iconName": "add",
- "buttonColor": "#03B365",
- "widgetId": "kby34l9nbb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 56.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }]
- }]
- }, {
- "widgetName": "Delete_Modal",
- "rightColumn": 45.0,
- "detachFromLayout": true,
- "widgetId": "i3whp03wf0",
- "topRow": 13.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas3",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "zi8fjakv8o",
- "topRow": 0.0,
- "bottomRow": 230.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "i3whp03wf0",
- "shouldScrollContents": false,
- "minHeight": 240.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Alert_text",
- "rightColumn": 41.0,
- "textAlign": "LEFT",
- "widgetId": "reyoxo4oec",
- "topRow": 1.0,
- "bottomRow": 5.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Delete Row"
- }, {
- "widgetName": "Button1",
- "rightColumn": 46.0,
- "onClick": "{{closeModal('Delete_Modal')}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "lryg8kw537",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 34.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Cancel",
- "isDisabled": false
- }, {
- "widgetName": "Delete_Button",
- "rightColumn": 64.0,
- "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#F22B2B",
- "widgetId": "qq02lh7ust",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 48.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Confirm",
- "isDisabled": false
- }, {
- "widgetName": "Text12",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "48uac29g6e",
- "topRow": 8.0,
- "bottomRow": 12.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "parentColumnSpace": 6.875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Are you sure you want to delete this item?"
- }],
- "isDisabled": false
- }],
- "width": 456.0,
- "height": 240.0
- }, {
- "widgetName": "Insert_Modal",
- "rightColumn": 41.0,
- "detachFromLayout": true,
- "widgetId": "vmorzie6eq",
- "topRow": 16.0,
- "bottomRow": 40.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 17.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas4",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "9rhv3ioohq",
- "topRow": 0.0,
- "bottomRow": 610.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "vmorzie6eq",
- "shouldScrollContents": false,
- "minHeight": 600.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Form2",
- "backgroundColor": "#F6F7F8",
- "rightColumn": 64.0,
- "widgetId": "1ruewbc4ef",
- "topRow": 0.0,
- "bottomRow": 58.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "FORM_WIDGET",
- "parentId": "9rhv3ioohq",
- "isLoading": false,
- "shouldScrollContents": false,
- "parentColumnSpace": 8.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas5",
- "rightColumn": 224.0,
- "detachFromLayout": true,
- "widgetId": "tp9pui0e6y",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 570.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "1ruewbc4ef",
- "minHeight": 580.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": true,
- "widgetName": "insert_button",
- "rightColumn": 62.0,
- "onClick": "{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#03B365",
- "widgetId": "h8vxf3oh4s",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 43.0,
- "dynamicBindingPathList": [],
- "googleRecaptchaKey": "",
- "buttonVariant": "PRIMARY",
- "text": "Submit"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_button",
- "rightColumn": 42.0,
- "onClick": "{{closeModal('Insert_Modal')}}",
- "isDefaultClickDisabled": true,
- "buttonColor": "#03B365",
- "widgetId": "o23gs26wm5",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 29.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Close"
- }, {
- "widgetName": "Text21",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "cfmxebyn06",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_ID:"
- }, {
- "isRequired": false,
- "widgetName": "insert_col_input1",
- "rightColumn": 62.0,
- "widgetId": "h1wbbv7alb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "Autogenerated Field",
- "isDisabled": true,
- "validation": "true"
- }, {
- "widgetName": "Text22",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "jsffaxrqhw",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 2.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_author_email:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input2",
- "rightColumn": 62.0,
- "widgetId": "6enalyprua",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "defaultText": "",
- "placeholderText": "comment_author_email",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text23",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "btk60uozsm",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_post_ID:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input3",
- "rightColumn": 62.0,
- "widgetId": "e490gfts69",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "comment_post_ID",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text14",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "8fm60omwwv",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_author:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input4",
- "rightColumn": 62.0,
- "widgetId": "r55cydp0ao",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "comment_author",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text24",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "9t3vdjd5xj",
- "topRow": 33.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_author_url:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input5",
- "rightColumn": 62.0,
- "widgetId": "5rfqxgj0vm",
- "topRow": 33.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "comment_author_url",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text13Copy",
- "rightColumn": 35.0,
- "textAlign": "LEFT",
- "widgetId": "18x7vdv3gs",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "shouldScroll": false,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Insert Row"
- }]
- }]
- }],
- "isDisabled": false
- }],
- "width": 532.0,
- "height": 600.0
- }, {
- "widgetName": "Form1",
- "backgroundColor": "white",
- "rightColumn": 64.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "m7dvlazbn7",
- "topRow": 0.0,
- "bottomRow": 46.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{!!Table1.selectedRow.comment_ID}}",
- "type": "FORM_WIDGET",
- "parentId": "0",
- "isLoading": false,
- "shouldScrollContents": true,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 40.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "children": [{
- "widgetName": "Canvas2",
- "rightColumn": 528.71875,
- "detachFromLayout": true,
- "widgetId": "cicukwhp5j",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 450.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "m7dvlazbn7",
- "minHeight": 460.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": false,
- "widgetName": "update_button",
- "rightColumn": 63.0,
- "onClick": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "4gnygu5jew",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 42.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Update"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_update_button",
- "rightColumn": 42.0,
- "onClick": "",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03b365",
- "widgetId": "twwgpz5wfu",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 28.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Reset"
- }, {
- "isRequired": true,
- "widgetName": "update_col_2",
- "rightColumn": 63.0,
- "widgetId": "in8e51pg3y",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.comment_author_email}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_3",
- "rightColumn": 63.0,
- "widgetId": "mlhvfasf31",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.comment_post_ID}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_4",
- "rightColumn": 63.0,
- "widgetId": "0lz9vhcnr0",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.comment_author}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_5",
- "rightColumn": 63.0,
- "widgetId": "m4esf7fww5",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.comment_author_url}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text9",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "4hnz8ktmz5",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "fontSize": "HEADING1",
- "text": "Update Row: {{Table1.selectedRow.comment_ID}}"
- }, {
- "widgetName": "Text17",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "afzzc7q8af",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_author_email:"
- }, {
- "widgetName": "Text18",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "xqcsd2e5dj",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_post_ID:"
- }, {
- "widgetName": "Text19",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "l109ilp3vq",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_author:"
- }, {
- "widgetName": "Text20",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "gqpwf0yng6",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "comment_author_url:"
- }]
- }]
- }]
- },
- "layoutOnLoadActions": [
- [{
- "id": "Comments_SelectQuery",
- "name": "SelectQuery",
- "pluginType": "DB",
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "timeoutInMillisecond": 10000.0
- }]
- ],
- "validOnPageLoadActions": true,
- "id": "Comments",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- }],
- "userPermissions": [],
- "policies": [],
- "isHidden": false
- },
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3ad8f345f0c36171f8d4b"
- }, {
- "unpublishedPage": {
- "name": "Post Meta",
- "slug": "post-meta",
- "layouts": [{
- "viewMode": false,
- "dsl": {
- "widgetName": "MainContainer",
- "backgroundColor": "none",
- "rightColumn": 1280.0,
- "snapColumns": 64.0,
- "detachFromLayout": true,
- "widgetId": "0",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "containerStyle": "none",
- "snapRows": 125.0,
- "parentRowSpace": 1.0,
- "type": "CANVAS_WIDGET",
- "canExtend": true,
- "version": 51.0,
- "minHeight": 900.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [],
- "leftColumn": 0.0,
- "children": [{
- "backgroundColor": "#FFFFFF",
- "widgetName": "Container1",
- "rightColumn": 40.0,
- "widgetId": "mvubsemxfo",
- "containerStyle": "card",
- "topRow": 0.0,
- "bottomRow": 87.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "CONTAINER_WIDGET",
- "version": 1.0,
- "parentId": "0",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "leftColumn": 0.0,
- "children": [{
- "widgetName": "Canvas1",
- "rightColumn": 632.0,
- "detachFromLayout": true,
- "widgetId": "59rw5mx0bq",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "mvubsemxfo",
- "minHeight": 870.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Table1",
- "columnOrder": ["meta_id", "post_id", "meta_key", "meta_value", "customColumn1"],
- "dynamicPropertyPathList": [{
- "key": "onPageChange"
- }],
- "isVisibleDownload": true,
- "topRow": 10.0,
- "bottomRow": 86.0,
- "parentRowSpace": 10.0,
- "onPageChange": "{{SelectQuery.run()}}",
- "isSortable": true,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [{
- "key": "onPageChange"
- }, {
- "key": "primaryColumns.customColumn1.onClick"
- }, {
- "key": "onSearchTextChanged"
- }],
- "dynamicBindingPathList": [{
- "key": "primaryColumns.customColumn1.buttonLabel"
- }, {
- "key": "tableData"
- }, {
- "key": "primaryColumns.meta_id.computedValue"
- }, {
- "key": "primaryColumns.post_id.computedValue"
- }, {
- "key": "primaryColumns.meta_key.computedValue"
- }, {
- "key": "primaryColumns.meta_value.computedValue"
- }],
- "leftColumn": 0.0,
- "primaryColumns": {
- "customColumn1": {
- "isCellVisible": true,
- "isDerived": true,
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}",
- "onClick": "{{showModal('Delete_Modal')}}",
- "textSize": "PARAGRAPH",
- "buttonColor": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "Delete",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "isDisabled": false,
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- },
- "meta_id": {
- "index": 0.0,
- "width": 150.0,
- "id": "meta_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "meta_id",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_id))}}"
- },
- "post_id": {
- "index": 1.0,
- "width": 150.0,
- "id": "post_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_id",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_id))}}"
- },
- "meta_key": {
- "index": 2.0,
- "width": 150.0,
- "id": "meta_key",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "meta_key",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_key))}}"
- },
- "meta_value": {
- "index": 3.0,
- "width": 150.0,
- "id": "meta_value",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "meta_value",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_value))}}"
- }
- },
- "delimiter": ",",
- "derivedColumns": {
- "customColumn1": {
- "isDerived": true,
- "computedValue": "",
- "onClick": "{{DeleteQuery.run()}}",
- "textSize": "PARAGRAPH",
- "buttonStyle": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "customColumn1",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- }
- },
- "rightColumn": 64.0,
- "textSize": "PARAGRAPH",
- "widgetId": "jabdu9f16g",
- "isVisibleFilters": true,
- "tableData": "",
- "isVisible": "true",
- "label": "Data",
- "searchKey": "",
- "version": 3.0,
- "parentId": "59rw5mx0bq",
- "serverSidePaginationEnabled": true,
- "isLoading": false,
- "isVisibleCompactMode": true,
- "onSearchTextChanged": "{{SelectQuery.run()}}",
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "deliveryAddress": 170.0,
- "step": 62.0,
- "id": 228.0,
- "status": 75.0
- }
- }, {
- "isRequired": false,
- "widgetName": "col_select",
- "isFilterable": true,
- "rightColumn": 22.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "asmgosgxjm",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "meta_id",
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 7.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n{\n\t\"label\": \"meta_value\",\n\t\"value\": \"meta_value\"\n}, \n{\n\t\"label\": \"meta_key\",\n\t\"value\": \"meta_key\"\n}, \n{\n\t\"label\": \"post_id\",\n\t\"value\": \"post_id\"\n}, \n{\n\t\"label\": \"meta_id\",\n\t\"value\": \"meta_id\"\n}]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text15",
- "rightColumn": 7.0,
- "textAlign": "LEFT",
- "widgetId": "l8pgl90klz",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Order By :"
- }, {
- "isRequired": false,
- "widgetName": "order_select",
- "isFilterable": true,
- "rightColumn": 33.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "10v8a19m25",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "ASC",
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 22.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text16",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "urzv99hdc8",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 11.78515625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "perf_postmeta Data"
- }, {
- "boxShadow": "NONE",
- "widgetName": "refresh_btn",
- "rightColumn": 64.0,
- "onClick": "{{SelectQuery.run()}}",
- "iconName": "refresh",
- "buttonColor": "#03B365",
- "widgetId": "2jj0197tff",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 60.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }, {
- "boxShadow": "NONE",
- "widgetName": "add_btn",
- "rightColumn": 60.0,
- "onClick": "{{showModal('Insert_Modal')}}",
- "iconName": "add",
- "buttonColor": "#03B365",
- "widgetId": "kby34l9nbb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 56.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }]
- }]
- }, {
- "widgetName": "Delete_Modal",
- "rightColumn": 45.0,
- "detachFromLayout": true,
- "widgetId": "i3whp03wf0",
- "topRow": 13.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas3",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "zi8fjakv8o",
- "topRow": 0.0,
- "bottomRow": 230.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "i3whp03wf0",
- "shouldScrollContents": false,
- "minHeight": 240.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Alert_text",
- "rightColumn": 41.0,
- "textAlign": "LEFT",
- "widgetId": "reyoxo4oec",
- "topRow": 1.0,
- "bottomRow": 5.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Delete Row"
- }, {
- "widgetName": "Button1",
- "rightColumn": 46.0,
- "onClick": "{{closeModal('Delete_Modal')}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "lryg8kw537",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 34.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Cancel",
- "isDisabled": false
- }, {
- "widgetName": "Delete_Button",
- "rightColumn": 64.0,
- "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#F22B2B",
- "widgetId": "qq02lh7ust",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 48.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Confirm",
- "isDisabled": false
- }, {
- "widgetName": "Text12",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "48uac29g6e",
- "topRow": 8.0,
- "bottomRow": 12.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "parentColumnSpace": 6.875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Are you sure you want to delete this item?"
- }],
- "isDisabled": false
- }],
- "width": 456.0,
- "height": 240.0
- }, {
- "widgetName": "Insert_Modal",
- "rightColumn": 41.0,
- "detachFromLayout": true,
- "widgetId": "vmorzie6eq",
- "topRow": 16.0,
- "bottomRow": 40.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 17.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas4",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "9rhv3ioohq",
- "topRow": 0.0,
- "bottomRow": 610.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "vmorzie6eq",
- "shouldScrollContents": false,
- "minHeight": 600.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Form2",
- "backgroundColor": "#F6F7F8",
- "rightColumn": 64.0,
- "widgetId": "1ruewbc4ef",
- "topRow": 0.0,
- "bottomRow": 58.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "FORM_WIDGET",
- "parentId": "9rhv3ioohq",
- "isLoading": false,
- "shouldScrollContents": false,
- "parentColumnSpace": 8.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas5",
- "rightColumn": 224.0,
- "detachFromLayout": true,
- "widgetId": "tp9pui0e6y",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 570.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "1ruewbc4ef",
- "minHeight": 580.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": true,
- "widgetName": "insert_button",
- "rightColumn": 62.0,
- "onClick": "{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#03B365",
- "widgetId": "h8vxf3oh4s",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 43.0,
- "dynamicBindingPathList": [],
- "googleRecaptchaKey": "",
- "buttonVariant": "PRIMARY",
- "text": "Submit"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_button",
- "rightColumn": 42.0,
- "onClick": "{{closeModal('Insert_Modal')}}",
- "isDefaultClickDisabled": true,
- "buttonColor": "#03B365",
- "widgetId": "o23gs26wm5",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 29.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Close"
- }, {
- "widgetName": "Text21",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "cfmxebyn06",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "meta_id:"
- }, {
- "isRequired": false,
- "widgetName": "insert_col_input1",
- "rightColumn": 62.0,
- "widgetId": "h1wbbv7alb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "Autogenerated Field",
- "isDisabled": true,
- "validation": "true"
- }, {
- "widgetName": "Text22",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "jsffaxrqhw",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 2.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "meta_key:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input2",
- "rightColumn": 62.0,
- "widgetId": "6enalyprua",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "defaultText": "",
- "placeholderText": "meta_key",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text23",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "btk60uozsm",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "post_id:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input3",
- "rightColumn": 62.0,
- "widgetId": "e490gfts69",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "post_id",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text14",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "8fm60omwwv",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "meta_value:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input4",
- "rightColumn": 62.0,
- "widgetId": "r55cydp0ao",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "meta_value",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text13Copy",
- "rightColumn": 35.0,
- "textAlign": "LEFT",
- "widgetId": "18x7vdv3gs",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "shouldScroll": false,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Insert Row"
- }]
- }]
- }],
- "isDisabled": false
- }],
- "width": 532.0,
- "height": 600.0
- }, {
- "widgetName": "Form1",
- "backgroundColor": "white",
- "rightColumn": 64.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "m7dvlazbn7",
- "topRow": 0.0,
- "bottomRow": 46.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{!!Table1.selectedRow.meta_id}}",
- "type": "FORM_WIDGET",
- "parentId": "0",
- "isLoading": false,
- "shouldScrollContents": true,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 40.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "children": [{
- "widgetName": "Canvas2",
- "rightColumn": 528.71875,
- "detachFromLayout": true,
- "widgetId": "cicukwhp5j",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 450.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "m7dvlazbn7",
- "minHeight": 460.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": false,
- "widgetName": "update_button",
- "rightColumn": 63.0,
- "onClick": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "4gnygu5jew",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 42.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Update"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_update_button",
- "rightColumn": 42.0,
- "onClick": "",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03b365",
- "widgetId": "twwgpz5wfu",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 28.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Reset"
- }, {
- "isRequired": true,
- "widgetName": "update_col_2",
- "rightColumn": 63.0,
- "widgetId": "in8e51pg3y",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.meta_key}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_3",
- "rightColumn": 63.0,
- "widgetId": "mlhvfasf31",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.post_id}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_4",
- "rightColumn": 63.0,
- "widgetId": "0lz9vhcnr0",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.meta_value}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text9",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "4hnz8ktmz5",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "fontSize": "HEADING1",
- "text": "Update Row: {{Table1.selectedRow.meta_id}}"
- }, {
- "widgetName": "Text17",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "afzzc7q8af",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "meta_key:"
- }, {
- "widgetName": "Text18",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "xqcsd2e5dj",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "post_id:"
- }, {
- "widgetName": "Text19",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "l109ilp3vq",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "meta_value:"
- }]
- }]
- }]
- },
- "layoutOnLoadActions": [
- [{
- "id": "Post Meta_SelectQuery",
- "name": "SelectQuery",
- "pluginType": "DB",
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "timeoutInMillisecond": 10000.0
- }]
- ],
- "validOnPageLoadActions": true,
- "id": "Post Meta",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- }],
- "userPermissions": [],
- "policies": [],
- "isHidden": false
- },
- "publishedPage": {
- "name": "Post Meta",
- "slug": "post-meta",
- "layouts": [{
- "viewMode": false,
- "dsl": {
- "widgetName": "MainContainer",
- "backgroundColor": "none",
- "rightColumn": 1280.0,
- "snapColumns": 64.0,
- "detachFromLayout": true,
- "widgetId": "0",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "containerStyle": "none",
- "snapRows": 125.0,
- "parentRowSpace": 1.0,
- "type": "CANVAS_WIDGET",
- "canExtend": true,
- "version": 51.0,
- "minHeight": 900.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [],
- "leftColumn": 0.0,
- "children": [{
- "backgroundColor": "#FFFFFF",
- "widgetName": "Container1",
- "rightColumn": 40.0,
- "widgetId": "mvubsemxfo",
- "containerStyle": "card",
- "topRow": 0.0,
- "bottomRow": 87.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "CONTAINER_WIDGET",
- "version": 1.0,
- "parentId": "0",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "leftColumn": 0.0,
- "children": [{
- "widgetName": "Canvas1",
- "rightColumn": 632.0,
- "detachFromLayout": true,
- "widgetId": "59rw5mx0bq",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "mvubsemxfo",
- "minHeight": 870.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Table1",
- "columnOrder": ["meta_id", "post_id", "meta_key", "meta_value", "customColumn1"],
- "dynamicPropertyPathList": [{
- "key": "onPageChange"
- }],
- "isVisibleDownload": true,
- "topRow": 10.0,
- "bottomRow": 86.0,
- "parentRowSpace": 10.0,
- "onPageChange": "{{SelectQuery.run()}}",
- "isSortable": true,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [{
- "key": "onPageChange"
- }, {
- "key": "primaryColumns.customColumn1.onClick"
- }, {
- "key": "onSearchTextChanged"
- }],
- "dynamicBindingPathList": [{
- "key": "primaryColumns.customColumn1.buttonLabel"
- }, {
- "key": "tableData"
- }, {
- "key": "primaryColumns.meta_id.computedValue"
- }, {
- "key": "primaryColumns.post_id.computedValue"
- }, {
- "key": "primaryColumns.meta_key.computedValue"
- }, {
- "key": "primaryColumns.meta_value.computedValue"
- }],
- "leftColumn": 0.0,
- "primaryColumns": {
- "customColumn1": {
- "isCellVisible": true,
- "isDerived": true,
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}",
- "onClick": "{{showModal('Delete_Modal')}}",
- "textSize": "PARAGRAPH",
- "buttonColor": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "Delete",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "isDisabled": false,
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- },
- "meta_id": {
- "index": 0.0,
- "width": 150.0,
- "id": "meta_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "meta_id",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_id))}}"
- },
- "post_id": {
- "index": 1.0,
- "width": 150.0,
- "id": "post_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_id",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_id))}}"
- },
- "meta_key": {
- "index": 2.0,
- "width": 150.0,
- "id": "meta_key",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "meta_key",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_key))}}"
- },
- "meta_value": {
- "index": 3.0,
- "width": 150.0,
- "id": "meta_value",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "meta_value",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.meta_value))}}"
- }
- },
- "delimiter": ",",
- "derivedColumns": {
- "customColumn1": {
- "isDerived": true,
- "computedValue": "",
- "onClick": "{{DeleteQuery.run()}}",
- "textSize": "PARAGRAPH",
- "buttonStyle": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "customColumn1",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- }
- },
- "rightColumn": 64.0,
- "textSize": "PARAGRAPH",
- "widgetId": "jabdu9f16g",
- "isVisibleFilters": true,
- "tableData": "",
- "isVisible": "true",
- "label": "Data",
- "searchKey": "",
- "version": 3.0,
- "parentId": "59rw5mx0bq",
- "serverSidePaginationEnabled": true,
- "isLoading": false,
- "isVisibleCompactMode": true,
- "onSearchTextChanged": "{{SelectQuery.run()}}",
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "deliveryAddress": 170.0,
- "step": 62.0,
- "id": 228.0,
- "status": 75.0
- }
- }, {
- "isRequired": false,
- "widgetName": "col_select",
- "isFilterable": true,
- "rightColumn": 22.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "asmgosgxjm",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "meta_id",
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 7.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n{\n\t\"label\": \"meta_value\",\n\t\"value\": \"meta_value\"\n}, \n{\n\t\"label\": \"meta_key\",\n\t\"value\": \"meta_key\"\n}, \n{\n\t\"label\": \"post_id\",\n\t\"value\": \"post_id\"\n}, \n{\n\t\"label\": \"meta_id\",\n\t\"value\": \"meta_id\"\n}]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text15",
- "rightColumn": 7.0,
- "textAlign": "LEFT",
- "widgetId": "l8pgl90klz",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Order By :"
- }, {
- "isRequired": false,
- "widgetName": "order_select",
- "isFilterable": true,
- "rightColumn": 33.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "10v8a19m25",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "ASC",
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 22.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text16",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "urzv99hdc8",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 11.78515625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "perf_postmeta Data"
- }, {
- "boxShadow": "NONE",
- "widgetName": "refresh_btn",
- "rightColumn": 64.0,
- "onClick": "{{SelectQuery.run()}}",
- "iconName": "refresh",
- "buttonColor": "#03B365",
- "widgetId": "2jj0197tff",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 60.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }, {
- "boxShadow": "NONE",
- "widgetName": "add_btn",
- "rightColumn": 60.0,
- "onClick": "{{showModal('Insert_Modal')}}",
- "iconName": "add",
- "buttonColor": "#03B365",
- "widgetId": "kby34l9nbb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 56.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }]
- }]
- }, {
- "widgetName": "Delete_Modal",
- "rightColumn": 45.0,
- "detachFromLayout": true,
- "widgetId": "i3whp03wf0",
- "topRow": 13.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas3",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "zi8fjakv8o",
- "topRow": 0.0,
- "bottomRow": 230.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "i3whp03wf0",
- "shouldScrollContents": false,
- "minHeight": 240.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Alert_text",
- "rightColumn": 41.0,
- "textAlign": "LEFT",
- "widgetId": "reyoxo4oec",
- "topRow": 1.0,
- "bottomRow": 5.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Delete Row"
- }, {
- "widgetName": "Button1",
- "rightColumn": 46.0,
- "onClick": "{{closeModal('Delete_Modal')}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "lryg8kw537",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 34.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Cancel",
- "isDisabled": false
- }, {
- "widgetName": "Delete_Button",
- "rightColumn": 64.0,
- "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#F22B2B",
- "widgetId": "qq02lh7ust",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 48.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Confirm",
- "isDisabled": false
- }, {
- "widgetName": "Text12",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "48uac29g6e",
- "topRow": 8.0,
- "bottomRow": 12.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "parentColumnSpace": 6.875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Are you sure you want to delete this item?"
- }],
- "isDisabled": false
- }],
- "width": 456.0,
- "height": 240.0
- }, {
- "widgetName": "Insert_Modal",
- "rightColumn": 41.0,
- "detachFromLayout": true,
- "widgetId": "vmorzie6eq",
- "topRow": 16.0,
- "bottomRow": 40.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 17.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas4",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "9rhv3ioohq",
- "topRow": 0.0,
- "bottomRow": 610.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "vmorzie6eq",
- "shouldScrollContents": false,
- "minHeight": 600.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Form2",
- "backgroundColor": "#F6F7F8",
- "rightColumn": 64.0,
- "widgetId": "1ruewbc4ef",
- "topRow": 0.0,
- "bottomRow": 58.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "FORM_WIDGET",
- "parentId": "9rhv3ioohq",
- "isLoading": false,
- "shouldScrollContents": false,
- "parentColumnSpace": 8.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas5",
- "rightColumn": 224.0,
- "detachFromLayout": true,
- "widgetId": "tp9pui0e6y",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 570.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "1ruewbc4ef",
- "minHeight": 580.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": true,
- "widgetName": "insert_button",
- "rightColumn": 62.0,
- "onClick": "{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#03B365",
- "widgetId": "h8vxf3oh4s",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 43.0,
- "dynamicBindingPathList": [],
- "googleRecaptchaKey": "",
- "buttonVariant": "PRIMARY",
- "text": "Submit"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_button",
- "rightColumn": 42.0,
- "onClick": "{{closeModal('Insert_Modal')}}",
- "isDefaultClickDisabled": true,
- "buttonColor": "#03B365",
- "widgetId": "o23gs26wm5",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 29.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Close"
- }, {
- "widgetName": "Text21",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "cfmxebyn06",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "meta_id:"
- }, {
- "isRequired": false,
- "widgetName": "insert_col_input1",
- "rightColumn": 62.0,
- "widgetId": "h1wbbv7alb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "Autogenerated Field",
- "isDisabled": true,
- "validation": "true"
- }, {
- "widgetName": "Text22",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "jsffaxrqhw",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 2.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "meta_key:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input2",
- "rightColumn": 62.0,
- "widgetId": "6enalyprua",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "defaultText": "",
- "placeholderText": "meta_key",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text23",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "btk60uozsm",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "post_id:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input3",
- "rightColumn": 62.0,
- "widgetId": "e490gfts69",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "post_id",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text14",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "8fm60omwwv",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "meta_value:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input4",
- "rightColumn": 62.0,
- "widgetId": "r55cydp0ao",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "meta_value",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text13Copy",
- "rightColumn": 35.0,
- "textAlign": "LEFT",
- "widgetId": "18x7vdv3gs",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "shouldScroll": false,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Insert Row"
- }]
- }]
- }],
- "isDisabled": false
- }],
- "width": 532.0,
- "height": 600.0
- }, {
- "widgetName": "Form1",
- "backgroundColor": "white",
- "rightColumn": 64.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "m7dvlazbn7",
- "topRow": 0.0,
- "bottomRow": 46.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{!!Table1.selectedRow.meta_id}}",
- "type": "FORM_WIDGET",
- "parentId": "0",
- "isLoading": false,
- "shouldScrollContents": true,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 40.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "children": [{
- "widgetName": "Canvas2",
- "rightColumn": 528.71875,
- "detachFromLayout": true,
- "widgetId": "cicukwhp5j",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 450.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "m7dvlazbn7",
- "minHeight": 460.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": false,
- "widgetName": "update_button",
- "rightColumn": 63.0,
- "onClick": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "4gnygu5jew",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 42.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Update"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_update_button",
- "rightColumn": 42.0,
- "onClick": "",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03b365",
- "widgetId": "twwgpz5wfu",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 28.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Reset"
- }, {
- "isRequired": true,
- "widgetName": "update_col_2",
- "rightColumn": 63.0,
- "widgetId": "in8e51pg3y",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.meta_key}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_3",
- "rightColumn": 63.0,
- "widgetId": "mlhvfasf31",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.post_id}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_4",
- "rightColumn": 63.0,
- "widgetId": "0lz9vhcnr0",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.meta_value}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text9",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "4hnz8ktmz5",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "fontSize": "HEADING1",
- "text": "Update Row: {{Table1.selectedRow.meta_id}}"
- }, {
- "widgetName": "Text17",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "afzzc7q8af",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "meta_key:"
- }, {
- "widgetName": "Text18",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "xqcsd2e5dj",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "post_id:"
- }, {
- "widgetName": "Text19",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "l109ilp3vq",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "meta_value:"
- }]
- }]
- }]
- },
- "layoutOnLoadActions": [
- [{
- "id": "Post Meta_SelectQuery",
- "name": "SelectQuery",
- "pluginType": "DB",
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "timeoutInMillisecond": 10000.0
- }]
- ],
- "validOnPageLoadActions": true,
- "id": "Post Meta",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- }],
- "userPermissions": [],
- "policies": [],
- "isHidden": false
- },
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3ae21345f0c36171f8d64"
- }, {
- "unpublishedPage": {
- "name": "Blog",
- "slug": "blog",
- "layouts": [{
- "viewMode": false,
- "dsl": {
- "widgetName": "MainContainer",
- "backgroundColor": "none",
- "rightColumn": 1432.0,
- "snapColumns": 64.0,
- "detachFromLayout": true,
- "widgetId": "0",
- "topRow": 0.0,
- "bottomRow": 1820.0,
- "containerStyle": "none",
- "snapRows": 125.0,
- "parentRowSpace": 1.0,
- "type": "CANVAS_WIDGET",
- "canExtend": true,
- "version": 59.0,
- "minHeight": 1010.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [],
- "leftColumn": 0.0,
- "children": [{
- "labelTextSize": "0.875rem",
- "boxShadow": "none",
- "backgroundColor": "#FFFFFF",
- "widgetName": "Container1",
- "rightColumn": 32.0,
- "widgetId": "mvubsemxfo",
- "containerStyle": "card",
- "topRow": 8.0,
- "bottomRow": 102.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "CONTAINER_WIDGET",
- "version": 1.0,
- "parentId": "0",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "leftColumn": 0.0,
- "borderRadius": "0px",
- "dynamicBindingPathList": [],
- "children": [{
- "labelTextSize": "0.875rem",
- "boxShadow": "none",
- "widgetName": "Canvas1",
- "rightColumn": 632.0,
- "detachFromLayout": true,
- "widgetId": "59rw5mx0bq",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 1110.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "mvubsemxfo",
- "minHeight": 870.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "borderRadius": "0px",
- "children": [{
- "boxShadow": "none",
- "widgetName": "Table1",
- "columnOrder": ["id", "post_title", "post_author", "post_date", "post_date_gmt", "post_content", "post_excerpt", "post_status", "comment_status", "ping_status", "post_password", "post_name", "to_ping", "pinged", "post_modified", "post_modified_gmt", "post_content_filtered", "post_parent", "guid", "menu_order", "post_type", "post_mime_type", "comment_count", "__hevo__database_name", "__hevo__ingested_at", "object_id", "term_taxonomy_id", "term_order", "customColumn1"],
- "dynamicPropertyPathList": [{
- "key": "onPageChange"
- }],
- "isVisibleDownload": true,
- "topRow": 10.0,
- "bottomRow": 109.0,
- "parentRowSpace": 10.0,
- "onPageChange": "{{SelectQuery.run()}}",
- "isSortable": true,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [{
- "key": "onPageChange"
- }, {
- "key": "primaryColumns.customColumn1.onClick"
- }, {
- "key": "onSearchTextChanged"
- }, {
- "key": "onRowSelected"
- }],
- "dynamicBindingPathList": [{
- "key": "primaryColumns.__hevo__ingested_at.computedValue"
- }, {
- "key": "primaryColumns.__hevo__database_name.computedValue"
- }, {
- "key": "primaryColumns.id.computedValue"
- }, {
- "key": "primaryColumns.term_order.computedValue"
- }, {
- "key": "primaryColumns.term_taxonomy_id.computedValue"
- }, {
- "key": "primaryColumns.object_id.computedValue"
- }, {
- "key": "primaryColumns.comment_count.computedValue"
- }, {
- "key": "primaryColumns.post_mime_type.computedValue"
- }, {
- "key": "primaryColumns.post_type.computedValue"
- }, {
- "key": "primaryColumns.menu_order.computedValue"
- }, {
- "key": "primaryColumns.guid.computedValue"
- }, {
- "key": "primaryColumns.post_parent.computedValue"
- }, {
- "key": "primaryColumns.post_content_filtered.computedValue"
- }, {
- "key": "primaryColumns.post_modified_gmt.computedValue"
- }, {
- "key": "primaryColumns.post_modified.computedValue"
- }, {
- "key": "primaryColumns.pinged.computedValue"
- }, {
- "key": "primaryColumns.to_ping.computedValue"
- }, {
- "key": "primaryColumns.post_name.computedValue"
- }, {
- "key": "primaryColumns.post_password.computedValue"
- }, {
- "key": "primaryColumns.ping_status.computedValue"
- }, {
- "key": "primaryColumns.comment_status.computedValue"
- }, {
- "key": "primaryColumns.post_status.computedValue"
- }, {
- "key": "primaryColumns.post_excerpt.computedValue"
- }, {
- "key": "primaryColumns.post_title.computedValue"
- }, {
- "key": "primaryColumns.post_content.computedValue"
- }, {
- "key": "primaryColumns.post_date_gmt.computedValue"
- }, {
- "key": "primaryColumns.post_date.computedValue"
- }, {
- "key": "primaryColumns.post_author.computedValue"
- }, {
- "key": "primaryColumns.customColumn1.buttonLabel"
- }, {
- "key": "accentColor"
- }, {
- "key": "tableData"
- }],
- "leftColumn": 0.0,
- "primaryColumns": {
- "customColumn1": {
- "isCellVisible": true,
- "isDerived": true,
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}",
- "onClick": "{{showModal('Delete_Modal')}}",
- "textSize": "0.875rem",
- "buttonColor": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "Delete",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "isDisabled": false,
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_author": {
- "index": 1.0,
- "width": 150.0,
- "id": "post_author",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_author",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_author))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_date": {
- "index": 2.0,
- "width": 150.0,
- "id": "post_date",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_date",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_date))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_date_gmt": {
- "index": 3.0,
- "width": 150.0,
- "id": "post_date_gmt",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_date_gmt",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_date_gmt))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_content": {
- "index": 4.0,
- "width": 150.0,
- "id": "post_content",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_content",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_content))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_title": {
- "index": 5.0,
- "width": 150.0,
- "id": "post_title",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_title",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_title))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_excerpt": {
- "index": 6.0,
- "width": 150.0,
- "id": "post_excerpt",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_excerpt",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_excerpt))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_status": {
- "index": 7.0,
- "width": 150.0,
- "id": "post_status",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_status",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_status))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_status": {
- "index": 8.0,
- "width": 150.0,
- "id": "comment_status",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_status",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_status))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "ping_status": {
- "index": 9.0,
- "width": 150.0,
- "id": "ping_status",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "ping_status",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ping_status))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_password": {
- "index": 10.0,
- "width": 150.0,
- "id": "post_password",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_password",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_password))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_name": {
- "index": 11.0,
- "width": 150.0,
- "id": "post_name",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_name",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_name))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "to_ping": {
- "index": 12.0,
- "width": 150.0,
- "id": "to_ping",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "to_ping",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.to_ping))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "pinged": {
- "index": 13.0,
- "width": 150.0,
- "id": "pinged",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "pinged",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.pinged))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_modified": {
- "index": 14.0,
- "width": 150.0,
- "id": "post_modified",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_modified",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_modified))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_modified_gmt": {
- "index": 15.0,
- "width": 150.0,
- "id": "post_modified_gmt",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_modified_gmt",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_modified_gmt))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_content_filtered": {
- "index": 16.0,
- "width": 150.0,
- "id": "post_content_filtered",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_content_filtered",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_content_filtered))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_parent": {
- "index": 17.0,
- "width": 150.0,
- "id": "post_parent",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_parent",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_parent))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "guid": {
- "index": 18.0,
- "width": 150.0,
- "id": "guid",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "guid",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.guid))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "menu_order": {
- "index": 19.0,
- "width": 150.0,
- "id": "menu_order",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "menu_order",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.menu_order))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_type": {
- "index": 20.0,
- "width": 150.0,
- "id": "post_type",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_type",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_type))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "post_mime_type": {
- "index": 21.0,
- "width": 150.0,
- "id": "post_mime_type",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_mime_type",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_mime_type))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_count": {
- "index": 22.0,
- "width": 150.0,
- "id": "comment_count",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_count",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_count))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "object_id": {
- "index": 23.0,
- "width": 150.0,
- "id": "object_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "object_id",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.object_id))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "term_taxonomy_id": {
- "index": 24.0,
- "width": 150.0,
- "id": "term_taxonomy_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "term_taxonomy_id",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.term_taxonomy_id))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "term_order": {
- "index": 25.0,
- "width": 150.0,
- "id": "term_order",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "term_order",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.term_order))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "id": {
- "index": 0.0,
- "width": 150.0,
- "id": "id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "id",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.id))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "__hevo__database_name": {
- "index": 23.0,
- "width": 150.0,
- "id": "__hevo__database_name",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "__hevo__database_name",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.__hevo__database_name))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "__hevo__ingested_at": {
- "index": 24.0,
- "width": 150.0,
- "id": "__hevo__ingested_at",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "__hevo__ingested_at",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.__hevo__ingested_at))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- }
- },
- "delimiter": ",",
- "onRowSelected": "{{GetComments.run()}}",
- "derivedColumns": {
- "customColumn1": {
- "isDerived": true,
- "computedValue": "",
- "onClick": "{{DeleteQuery.run()}}",
- "textSize": "0.875rem",
- "buttonStyle": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "customColumn1",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER",
- "borderRadius": "0px",
- "boxShadow": "none"
- }
- },
- "labelTextSize": "0.875rem",
- "rightColumn": 64.0,
- "textSize": "0.875rem",
- "widgetId": "jabdu9f16g",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisibleFilters": true,
- "tableData": "",
- "isVisible": "true",
- "label": "Data",
- "searchKey": "",
- "version": 3.0,
- "parentId": "59rw5mx0bq",
- "serverSidePaginationEnabled": true,
- "isLoading": false,
- "isVisibleCompactMode": true,
- "onSearchTextChanged": "{{SelectQuery.run()}}",
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "childStylesheet": {
- "button": {
- "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "boxShadow": "none"
- },
- "menuButton": {
- "menuColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "boxShadow": "none"
- },
- "iconButton": {
- "menuColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "boxShadow": "none"
- }
- },
- "borderRadius": "0px",
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "deliveryAddress": 170.0,
- "step": 62.0,
- "id": 95.0,
- "status": 75.0
- }
- }, {
- "boxShadow": "none",
- "widgetName": "col_select",
- "isFilterable": true,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "type": "DROP_DOWN_WIDGET",
- "defaultOptionValue": "ID",
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 7.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n{\n\t\"label\": \"post_date\",\n\t\"value\": \"post_date\"\n}, \n{\n\t\"label\": \"post_date_gmt\",\n\t\"value\": \"post_date_gmt\"\n}, \n{\n\t\"label\": \"guid\",\n\t\"value\": \"guid\"\n}, \n{\n\t\"label\": \"post_author\",\n\t\"value\": \"post_author\"\n}, \n{\n\t\"label\": \"ID\",\n\t\"value\": \"ID\"\n}]",
- "isDisabled": false,
- "labelTextSize": "0.875rem",
- "isRequired": false,
- "rightColumn": 22.0,
- "widgetId": "asmgosgxjm",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "borderRadius": "0px",
- "onOptionChange": "{{SelectQuery.run()}}"
- }, {
- "boxShadow": "none",
- "widgetName": "Text15",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "text": "Order By :",
- "labelTextSize": "0.875rem",
- "rightColumn": 7.0,
- "textAlign": "LEFT",
- "widgetId": "l8pgl90klz",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "0.875rem"
- }, {
- "boxShadow": "none",
- "widgetName": "order_select",
- "isFilterable": true,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "type": "DROP_DOWN_WIDGET",
- "defaultOptionValue": "ASC",
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 22.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]",
- "isDisabled": false,
- "labelTextSize": "0.875rem",
- "isRequired": false,
- "rightColumn": 33.0,
- "widgetId": "10v8a19m25",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "borderRadius": "0px",
- "onOptionChange": "{{SelectQuery.run()}}"
- }, {
- "boxShadow": "none",
- "widgetName": "Text16",
- "dynamicPropertyPathList": [{
- "key": "fontSize"
- }],
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "parentColumnSpace": 11.78515625,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "text": "Blog Posts",
- "labelTextSize": "0.875rem",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "urzv99hdc8",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "1.5rem"
- }, {
- "boxShadow": "none",
- "widgetName": "refresh_btn",
- "onClick": "{{SelectQuery.run()}}",
- "buttonColor": "#03B365",
- "dynamicPropertyPathList": [{
- "key": "borderRadius"
- }],
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "type": "ICON_BUTTON_WIDGET",
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 60.0,
- "dynamicBindingPathList": [],
- "isDisabled": false,
- "labelTextSize": "0.875rem",
- "rightColumn": 64.0,
- "iconName": "refresh",
- "widgetId": "2jj0197tff",
- "isVisible": "true",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "borderRadius": "9999px",
- "buttonVariant": "TERTIARY"
- }, {
- "boxShadow": "none",
- "widgetName": "add_btn",
- "onClick": "{{showModal('Insert_Modal')}}",
- "buttonColor": "#03B365",
- "dynamicPropertyPathList": [{
- "key": "borderRadius"
- }],
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "type": "ICON_BUTTON_WIDGET",
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 56.0,
- "dynamicBindingPathList": [],
- "isDisabled": false,
- "labelTextSize": "0.875rem",
- "rightColumn": 60.0,
- "iconName": "add",
- "widgetId": "kby34l9nbb",
- "isVisible": "true",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "borderRadius": "9999px",
- "buttonVariant": "TERTIARY"
- }]
- }]
- }, {
- "boxShadow": "none",
- "widgetName": "Delete_Modal",
- "topRow": 13.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "type": "MODAL_WIDGET",
- "shouldScrollContents": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "children": [{
- "boxShadow": "none",
- "widgetName": "Canvas3",
- "topRow": 0.0,
- "bottomRow": 230.0,
- "parentRowSpace": 1.0,
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "shouldScrollContents": false,
- "minHeight": 240.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "boxShadow": "none",
- "widgetName": "Alert_text",
- "dynamicPropertyPathList": [{
- "key": "fontSize"
- }],
- "topRow": 1.0,
- "bottomRow": 5.0,
- "type": "TEXT_WIDGET",
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "text": "Delete Row",
- "labelTextSize": "0.875rem",
- "rightColumn": 41.0,
- "textAlign": "LEFT",
- "widgetId": "reyoxo4oec",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "1.5rem"
- }, {
- "boxShadow": "none",
- "widgetName": "Button1",
- "onClick": "{{closeModal('Delete_Modal')}}",
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "type": "BUTTON_WIDGET",
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 34.0,
- "dynamicBindingPathList": [],
- "text": "Cancel",
- "isDisabled": false,
- "labelTextSize": "0.875rem",
- "rightColumn": 46.0,
- "isDefaultClickDisabled": true,
- "widgetId": "lryg8kw537",
- "isVisible": "true",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "borderRadius": "0px",
- "buttonVariant": "PRIMARY"
- }, {
- "boxShadow": "none",
- "widgetName": "Delete_Button",
- "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}",
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#F22B2B",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "type": "BUTTON_WIDGET",
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 48.0,
- "dynamicBindingPathList": [],
- "text": "Confirm",
- "isDisabled": false,
- "labelTextSize": "0.875rem",
- "rightColumn": 64.0,
- "isDefaultClickDisabled": true,
- "widgetId": "qq02lh7ust",
- "isVisible": "true",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "borderRadius": "0px",
- "buttonVariant": "PRIMARY"
- }, {
- "boxShadow": "none",
- "widgetName": "Text12",
- "topRow": 8.0,
- "bottomRow": 12.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "parentColumnSpace": 6.875,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "text": "Are you sure you want to delete this item?",
- "labelTextSize": "0.875rem",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "48uac29g6e",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "0.875rem"
- }],
- "isDisabled": false,
- "labelTextSize": "0.875rem",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "zi8fjakv8o",
- "isVisible": "true",
- "version": 1.0,
- "parentId": "i3whp03wf0",
- "isLoading": false,
- "borderRadius": "0px"
- }],
- "height": 240.0,
- "labelTextSize": "0.875rem",
- "rightColumn": 45.0,
- "detachFromLayout": true,
- "widgetId": "i3whp03wf0",
- "canOutsideClickClose": true,
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "isLoading": false,
- "borderRadius": "0px",
- "width": 456.0
- }, {
- "boxShadow": "none",
- "widgetName": "Insert_Modal",
- "topRow": 16.0,
- "bottomRow": 40.0,
- "parentRowSpace": 10.0,
- "type": "MODAL_WIDGET",
- "shouldScrollContents": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 17.0,
- "dynamicBindingPathList": [],
- "children": [{
- "boxShadow": "none",
- "widgetName": "Canvas4",
- "topRow": 0.0,
- "bottomRow": 610.0,
- "parentRowSpace": 1.0,
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "shouldScrollContents": false,
- "minHeight": 600.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "labelTextSize": "0.875rem",
- "boxShadow": "none",
- "widgetName": "Form2",
- "backgroundColor": "#F6F7F8",
- "rightColumn": 64.0,
- "widgetId": "1ruewbc4ef",
- "topRow": 0.0,
- "bottomRow": 58.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "FORM_WIDGET",
- "parentId": "9rhv3ioohq",
- "isLoading": false,
- "shouldScrollContents": false,
- "parentColumnSpace": 8.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "borderRadius": "0px",
- "children": [{
- "labelTextSize": "0.875rem",
- "boxShadow": "none",
- "widgetName": "Canvas5",
- "rightColumn": 224.0,
- "detachFromLayout": true,
- "widgetId": "tp9pui0e6y",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 570.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "1ruewbc4ef",
- "minHeight": 580.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "borderRadius": "0px",
- "children": [{
- "resetFormOnClick": true,
- "boxShadow": "none",
- "widgetName": "insert_button",
- "onClick": "{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}",
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#03B365",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "type": "FORM_BUTTON_WIDGET",
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 43.0,
- "dynamicBindingPathList": [],
- "googleRecaptchaKey": "",
- "text": "Submit",
- "labelTextSize": "0.875rem",
- "rightColumn": 62.0,
- "isDefaultClickDisabled": true,
- "widgetId": "h8vxf3oh4s",
- "isVisible": "true",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "disabledWhenInvalid": true,
- "borderRadius": "0px",
- "buttonVariant": "PRIMARY"
- }, {
- "resetFormOnClick": true,
- "boxShadow": "none",
- "widgetName": "reset_button",
- "onClick": "{{closeModal('Insert_Modal')}}",
- "buttonColor": "#03B365",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "type": "FORM_BUTTON_WIDGET",
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 29.0,
- "dynamicBindingPathList": [],
- "text": "Close",
- "labelTextSize": "0.875rem",
- "rightColumn": 42.0,
- "isDefaultClickDisabled": true,
- "widgetId": "o23gs26wm5",
- "isVisible": "true",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "disabledWhenInvalid": false,
- "borderRadius": "0px",
- "buttonVariant": "SECONDARY"
- }, {
- "boxShadow": "none",
- "widgetName": "Text21",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "text": "ID:",
- "labelTextSize": "0.875rem",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "cfmxebyn06",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "0.875rem"
- }, {
- "boxShadow": "none",
- "widgetName": "insert_col_input1",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "type": "INPUT_WIDGET",
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "Autogenerated Field",
- "isDisabled": true,
- "validation": "true",
- "labelTextSize": "0.875rem",
- "isRequired": false,
- "rightColumn": 62.0,
- "widgetId": "h1wbbv7alb",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisible": "true",
- "label": "",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "borderRadius": "0px"
- }, {
- "boxShadow": "none",
- "widgetName": "Text22",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 2.0,
- "dynamicBindingPathList": [],
- "text": "guid:",
- "labelTextSize": "0.875rem",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "jsffaxrqhw",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "0.875rem"
- }, {
- "boxShadow": "none",
- "widgetName": "insert_col_input2",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "type": "INPUT_WIDGET",
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "guid",
- "isDisabled": false,
- "validation": "true",
- "labelTextSize": "0.875rem",
- "isRequired": true,
- "rightColumn": 62.0,
- "widgetId": "6enalyprua",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisible": "true",
- "label": "",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "borderRadius": "0px",
- "defaultText": ""
- }, {
- "boxShadow": "none",
- "widgetName": "Text23",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "text": "post_author:",
- "labelTextSize": "0.875rem",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "btk60uozsm",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "0.875rem"
- }, {
- "boxShadow": "none",
- "widgetName": "insert_col_input3",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "type": "INPUT_WIDGET",
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "post_author",
- "isDisabled": false,
- "validation": "true",
- "labelTextSize": "0.875rem",
- "isRequired": true,
- "rightColumn": 62.0,
- "widgetId": "e490gfts69",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisible": "true",
- "label": "",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "borderRadius": "0px",
- "defaultText": ""
- }, {
- "boxShadow": "none",
- "widgetName": "Text14",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "text": "post_date:",
- "labelTextSize": "0.875rem",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "8fm60omwwv",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "0.875rem"
- }, {
- "boxShadow": "none",
- "widgetName": "insert_col_input4",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "type": "INPUT_WIDGET",
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "post_date",
- "isDisabled": false,
- "validation": "true",
- "labelTextSize": "0.875rem",
- "isRequired": true,
- "rightColumn": 62.0,
- "widgetId": "r55cydp0ao",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisible": "true",
- "label": "",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "borderRadius": "0px",
- "defaultText": ""
- }, {
- "boxShadow": "none",
- "widgetName": "Text24",
- "topRow": 33.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "text": "post_date_gmt:",
- "labelTextSize": "0.875rem",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "9t3vdjd5xj",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "0.875rem"
- }, {
- "boxShadow": "none",
- "widgetName": "insert_col_input5",
- "topRow": 33.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "type": "INPUT_WIDGET",
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "post_date_gmt",
- "isDisabled": false,
- "validation": "true",
- "labelTextSize": "0.875rem",
- "isRequired": true,
- "rightColumn": 62.0,
- "widgetId": "5rfqxgj0vm",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisible": "true",
- "label": "",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "borderRadius": "0px"
- }, {
- "boxShadow": "none",
- "widgetName": "Text13Copy",
- "dynamicPropertyPathList": [{
- "key": "fontSize"
- }],
- "topRow": 0.0,
- "bottomRow": 4.0,
- "type": "TEXT_WIDGET",
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "text": "Insert Row",
- "labelTextSize": "0.875rem",
- "rightColumn": 35.0,
- "textAlign": "LEFT",
- "widgetId": "18x7vdv3gs",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "1.5rem"
- }]
- }]
- }],
- "isDisabled": false,
- "labelTextSize": "0.875rem",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "9rhv3ioohq",
- "isVisible": "true",
- "version": 1.0,
- "parentId": "vmorzie6eq",
- "isLoading": false,
- "borderRadius": "0px"
- }],
- "height": 600.0,
- "labelTextSize": "0.875rem",
- "rightColumn": 41.0,
- "detachFromLayout": true,
- "widgetId": "vmorzie6eq",
- "canOutsideClickClose": true,
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "isLoading": false,
- "borderRadius": "0px",
- "width": 532.0
- }, {
- "labelTextSize": "0.875rem",
- "boxShadow": "none",
- "widgetName": "Form1",
- "backgroundColor": "white",
- "rightColumn": 64.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "m7dvlazbn7",
- "topRow": 51.0,
- "bottomRow": 102.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{!!Table1.selectedRow.id}}",
- "type": "FORM_WIDGET",
- "parentId": "0",
- "isLoading": false,
- "shouldScrollContents": true,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 32.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "borderRadius": "0px",
- "children": [{
- "labelTextSize": "0.875rem",
- "boxShadow": "none",
- "widgetName": "Canvas2",
- "rightColumn": 528.71875,
- "detachFromLayout": true,
- "widgetId": "cicukwhp5j",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 450.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "m7dvlazbn7",
- "minHeight": 460.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "borderRadius": "0px",
- "children": [{
- "boxShadow": "none",
- "widgetName": "Text20Copy",
- "topRow": 28.0,
- "bottomRow": 32.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "text": "Author",
- "labelTextSize": "0.875rem",
- "rightColumn": 13.0,
- "textAlign": "RIGHT",
- "widgetId": "1sjs79otqs",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "0.875rem"
- }, {
- "resetFormOnClick": false,
- "boxShadow": "none",
- "widgetName": "update_button",
- "onClick": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}",
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "topRow": 36.0,
- "bottomRow": 40.0,
- "type": "FORM_BUTTON_WIDGET",
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 42.0,
- "dynamicBindingPathList": [],
- "text": "Update",
- "labelTextSize": "0.875rem",
- "rightColumn": 63.0,
- "isDefaultClickDisabled": true,
- "widgetId": "4gnygu5jew",
- "isVisible": "true",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "disabledWhenInvalid": true,
- "borderRadius": "0px",
- "buttonVariant": "PRIMARY"
- }, {
- "resetFormOnClick": true,
- "boxShadow": "none",
- "widgetName": "reset_update_button",
- "onClick": "",
- "dynamicPropertyPathList": [],
- "buttonColor": "#03b365",
- "topRow": 36.0,
- "bottomRow": 40.0,
- "type": "FORM_BUTTON_WIDGET",
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 27.0,
- "dynamicBindingPathList": [],
- "text": "Reset",
- "labelTextSize": "0.875rem",
- "rightColumn": 41.0,
- "isDefaultClickDisabled": true,
- "widgetId": "twwgpz5wfu",
- "isVisible": "true",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "disabledWhenInvalid": false,
- "borderRadius": "0px",
- "buttonVariant": "SECONDARY"
- }, {
- "boxShadow": "none",
- "widgetName": "Text9",
- "dynamicPropertyPathList": [{
- "key": "fontSize"
- }],
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 1.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "text": "Update Post: {{Table1.selectedRow.post_title}}",
- "labelTextSize": "0.875rem",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "4hnz8ktmz5",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "1.5rem"
- }, {
- "boxShadow": "none",
- "widgetName": "Text17",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "text": "Title",
- "labelTextSize": "0.875rem",
- "rightColumn": 13.0,
- "textAlign": "RIGHT",
- "widgetId": "afzzc7q8af",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "0.875rem"
- }, {
- "boxShadow": "none",
- "widgetName": "Text18",
- "topRow": 10.0,
- "bottomRow": 14.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "text": "Excerpt",
- "labelTextSize": "0.875rem",
- "rightColumn": 13.0,
- "textAlign": "RIGHT",
- "widgetId": "xqcsd2e5dj",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "0.875rem"
- }, {
- "boxShadow": "none",
- "widgetName": "Text20",
- "topRow": 21.0,
- "bottomRow": 25.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "text": "Post status",
- "labelTextSize": "0.875rem",
- "rightColumn": 13.0,
- "textAlign": "RIGHT",
- "widgetId": "gqpwf0yng6",
- "isVisible": "true",
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "0.875rem"
- }, {
- "boxShadow": "none",
- "widgetName": "title",
- "displayName": "Input",
- "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg",
- "searchTags": ["form", "text input", "number", "textarea"],
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "labelWidth": 5.0,
- "autoFocus": false,
- "type": "INPUT_WIDGET_V2",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 22.1875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 13.0,
- "dynamicBindingPathList": [{
- "key": "accentColor"
- }, {
- "key": "borderRadius"
- }, {
- "key": "defaultText"
- }],
- "labelPosition": "Left",
- "labelStyle": "",
- "inputType": "TEXT",
- "isDisabled": false,
- "key": "kdtze4kp88",
- "labelTextSize": "0.875rem",
- "isRequired": false,
- "isDeprecated": false,
- "rightColumn": 63.0,
- "widgetId": "armli8hauj",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisible": true,
- "label": "",
- "version": 2.0,
- "parentId": "cicukwhp5j",
- "labelAlignment": "left",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "iconAlign": "left",
- "defaultText": "{{Table1.selectedRow.post_title}}"
- }, {
- "boxShadow": "none",
- "widgetName": "excerpt",
- "displayName": "Input",
- "iconSVG": "/static/media/icon.9f505595da61a34f563dba82adeb06ec.svg",
- "searchTags": ["form", "text input", "number", "textarea"],
- "topRow": 10.0,
- "bottomRow": 19.0,
- "parentRowSpace": 10.0,
- "labelWidth": 5.0,
- "autoFocus": false,
- "type": "INPUT_WIDGET_V2",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 22.1875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 13.0,
- "dynamicBindingPathList": [{
- "key": "accentColor"
- }, {
- "key": "borderRadius"
- }, {
- "key": "defaultText"
- }],
- "labelPosition": "Left",
- "labelStyle": "",
- "inputType": "TEXT",
- "isDisabled": false,
- "key": "zcbtkchv75",
- "labelTextSize": "0.875rem",
- "isRequired": false,
- "isDeprecated": false,
- "rightColumn": 63.0,
- "widgetId": "8bfosy6n39",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisible": true,
- "label": "",
- "version": 2.0,
- "parentId": "cicukwhp5j",
- "labelAlignment": "left",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "iconAlign": "left",
- "defaultText": "{{Table1.selectedRow.post_excerpt}}"
- }, {
- "boxShadow": "none",
- "widgetName": "Select1",
- "isFilterable": true,
- "displayName": "Select",
- "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg",
- "labelText": "",
- "searchTags": ["dropdown"],
- "topRow": 21.0,
- "bottomRow": 25.0,
- "parentRowSpace": 10.0,
- "labelWidth": 5.0,
- "type": "SELECT_WIDGET",
- "serverSideFiltering": false,
- "hideCard": false,
- "defaultOptionValue": "{{Table1.selectedRow.post_status}}",
- "animateLoading": true,
- "parentColumnSpace": 22.1875,
- "dynamicTriggerPathList": [],
- "leftColumn": 13.0,
- "dynamicBindingPathList": [{
- "key": "accentColor"
- }, {
- "key": "borderRadius"
- }, {
- "key": "defaultOptionValue"
- }],
- "labelPosition": "Left",
- "options": "[\n {\n \"label\": \"Publish\",\n \"value\": \"publish\"\n },\n {\n \"label\": \"Draft\",\n \"value\": \"draft\"\n },\n {\n \"label\": \"Auto draft\",\n \"value\": \"auto-draft\"\n }\n]",
- "placeholderText": "Select option",
- "isDisabled": false,
- "key": "r5itm70cd7",
- "labelTextSize": "0.875rem",
- "isRequired": false,
- "isDeprecated": false,
- "rightColumn": 63.0,
- "widgetId": "0kgxivei8o",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisible": true,
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "labelAlignment": "left",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
- }, {
- "boxShadow": "none",
- "widgetName": "author",
- "isFilterable": true,
- "displayName": "Select",
- "iconSVG": "/static/media/icon.bd99caba5853ad71e4b3d8daffacb3a2.svg",
- "labelText": "",
- "searchTags": ["dropdown"],
- "topRow": 28.0,
- "bottomRow": 32.0,
- "parentRowSpace": 10.0,
- "labelWidth": 5.0,
- "type": "SELECT_WIDGET",
- "serverSideFiltering": false,
- "hideCard": false,
- "defaultOptionValue": "{{Table1.selectedRow.post_author\n}}",
- "animateLoading": true,
- "parentColumnSpace": 22.1875,
- "dynamicTriggerPathList": [],
- "leftColumn": 13.0,
- "dynamicBindingPathList": [{
- "key": "accentColor"
- }, {
- "key": "borderRadius"
- }, {
- "key": "options"
- }, {
- "key": "defaultOptionValue"
- }],
- "labelPosition": "Left",
- "options": "{{GetUsers.data.map(({id:value,user_nicename:label})=>({value,label}))}}",
- "placeholderText": "Select option",
- "isDisabled": false,
- "key": "r5itm70cd7",
- "labelTextSize": "0.875rem",
- "isRequired": false,
- "isDeprecated": false,
- "rightColumn": 63.0,
- "widgetId": "wjak1g7ibc",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisible": true,
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "labelAlignment": "left",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
- }]
- }]
- }, {
- "boxShadow": "none",
- "widgetName": "Container2",
- "borderColor": "transparent",
- "isCanvas": true,
- "dynamicPropertyPathList": [{
- "key": "borderRadius"
- }],
- "displayName": "Container",
- "iconSVG": "/static/media/icon.1977dca3.svg",
- "topRow": 4.0,
- "bottomRow": 51.0,
- "parentRowSpace": 10.0,
- "type": "CONTAINER_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 22.1875,
- "leftColumn": 32.0,
- "dynamicBindingPathList": [],
- "children": [{
- "boxShadow": "none",
- "widgetName": "Canvas6",
- "displayName": "Canvas",
- "topRow": 0.0,
- "bottomRow": 490.0,
- "parentRowSpace": 1.0,
- "type": "CANVAS_WIDGET",
- "canExtend": false,
- "hideCard": true,
- "minHeight": 400.0,
- "parentColumnSpace": 1.0,
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "boxShadow": "none",
- "widgetName": "Text25",
- "dynamicPropertyPathList": [{
- "key": "fontSize"
- }],
- "displayName": "Text",
- "iconSVG": "/static/media/icon.97c59b52.svg",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 12.16796875,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 0.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "truncateButtonColor": "#FFC13D",
- "text": "{{Table1.selectedRow.post_title}}",
- "key": "6pacxcck35",
- "labelTextSize": "0.875rem",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "lhjdqceozq",
- "isVisible": true,
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "ns44diaamt",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "1.5rem"
- }, {
- "boxShadow": "none",
- "widgetName": "Text26",
- "displayName": "Text",
- "iconSVG": "/static/media/icon.97c59b52.svg",
- "topRow": 9.0,
- "bottomRow": 47.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 12.16796875,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 0.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "truncateButtonColor": "#FFC13D",
- "text": "{{Table1.selectedRow.post_content}}",
- "key": "6pacxcck35",
- "labelTextSize": "0.875rem",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "msnx2elzmi",
- "isVisible": true,
- "fontStyle": "",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "ns44diaamt",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "0.875rem"
- }],
- "key": "m1q7rvnf0q",
- "labelTextSize": "0.875rem",
- "rightColumn": 532.5,
- "detachFromLayout": true,
- "widgetId": "ns44diaamt",
- "containerStyle": "none",
- "isVisible": true,
- "version": 1.0,
- "parentId": "z86ak9za7r",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "0px"
- }],
- "borderWidth": "0",
- "key": "6q011hdwm8",
- "labelTextSize": "0.875rem",
- "backgroundColor": "#FFFFFF",
- "rightColumn": 64.0,
- "widgetId": "z86ak9za7r",
- "containerStyle": "card",
- "isVisible": true,
- "version": 1.0,
- "parentId": "0",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "0px"
- }, {
- "boxShadow": "none",
- "widgetName": "Text27",
- "displayName": "Text",
- "iconSVG": "/static/media/icon.97c59b52.svg",
- "topRow": 4.0,
- "bottomRow": 8.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 22.1875,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "truncateButtonColor": "#FFC13D",
- "text": "Show posts from",
- "key": "kf4mmyg152",
- "labelTextSize": "0.875rem",
- "rightColumn": 6.0,
- "textAlign": "LEFT",
- "widgetId": "mywn2w5z48",
- "isVisible": true,
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "0",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "0.875rem"
- }, {
- "boxShadow": "none",
- "widgetName": "Text28",
- "dynamicPropertyPathList": [{
- "key": "fontSize"
- }],
- "displayName": "Text",
- "iconSVG": "/static/media/icon.97c59b52.svg",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 22.1875,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "truncateButtonColor": "#FFC13D",
- "text": "A Simple Blog Admin",
- "key": "kf4mmyg152",
- "labelTextSize": "0.875rem",
- "rightColumn": 37.0,
- "textAlign": "CENTER",
- "widgetId": "3k35414uwf",
- "isVisible": true,
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "0",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "1.5rem"
- }, {
- "boxShadow": "none",
- "widgetName": "Table2",
- "defaultPageSize": 0.0,
- "columnOrder": ["comment_ID", "comment_post_ID", "comment_author", "comment_author_email", "comment_author_url", "comment_author_IP", "comment_date", "comment_date_gmt", "comment_content", "comment_karma", "comment_approved", "comment_agent", "comment_type", "comment_parent", "user_id"],
- "isVisibleDownload": true,
- "dynamicPropertyPathList": [],
- "displayName": "Table",
- "iconSVG": "/static/media/icon.db8a9cbd.svg",
- "topRow": 102.0,
- "bottomRow": 163.0,
- "isSortable": true,
- "parentRowSpace": 10.0,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 30.234375,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [{
- "key": "tableData"
- }, {
- "key": "primaryColumns.user_id.computedValue"
- }, {
- "key": "primaryColumns.comment_parent.computedValue"
- }, {
- "key": "primaryColumns.comment_type.computedValue"
- }, {
- "key": "primaryColumns.comment_agent.computedValue"
- }, {
- "key": "primaryColumns.comment_approved.computedValue"
- }, {
- "key": "primaryColumns.comment_karma.computedValue"
- }, {
- "key": "primaryColumns.comment_content.computedValue"
- }, {
- "key": "primaryColumns.comment_date_gmt.computedValue"
- }, {
- "key": "primaryColumns.comment_date.computedValue"
- }, {
- "key": "primaryColumns.comment_author_IP.computedValue"
- }, {
- "key": "primaryColumns.comment_author_url.computedValue"
- }, {
- "key": "primaryColumns.comment_author_email.computedValue"
- }, {
- "key": "primaryColumns.comment_author.computedValue"
- }, {
- "key": "primaryColumns.comment_post_ID.computedValue"
- }, {
- "key": "primaryColumns.comment_ID.computedValue"
- }, {
- "key": "accentColor"
- }],
- "leftColumn": 0.0,
- "primaryColumns": {
- "comment_ID": {
- "index": 0.0,
- "width": 150.0,
- "id": "comment_ID",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_ID",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_ID))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_post_ID": {
- "index": 1.0,
- "width": 150.0,
- "id": "comment_post_ID",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_post_ID",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_post_ID))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_author": {
- "index": 2.0,
- "width": 150.0,
- "id": "comment_author",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_author_email": {
- "index": 3.0,
- "width": 150.0,
- "id": "comment_author_email",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author_email",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_email))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_author_url": {
- "index": 4.0,
- "width": 150.0,
- "id": "comment_author_url",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author_url",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_url))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_author_IP": {
- "index": 5.0,
- "width": 150.0,
- "id": "comment_author_IP",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author_IP",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_IP))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_date": {
- "index": 6.0,
- "width": 150.0,
- "id": "comment_date",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_date",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_date))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_date_gmt": {
- "index": 7.0,
- "width": 150.0,
- "id": "comment_date_gmt",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_date_gmt",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_date_gmt))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_content": {
- "index": 8.0,
- "width": 150.0,
- "id": "comment_content",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_content",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_content))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_karma": {
- "index": 9.0,
- "width": 150.0,
- "id": "comment_karma",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_karma",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_karma))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_approved": {
- "index": 10.0,
- "width": 150.0,
- "id": "comment_approved",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_approved",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_approved))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_agent": {
- "index": 11.0,
- "width": 150.0,
- "id": "comment_agent",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_agent",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_agent))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_type": {
- "index": 12.0,
- "width": 150.0,
- "id": "comment_type",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_type",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_type))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "comment_parent": {
- "index": 13.0,
- "width": 150.0,
- "id": "comment_parent",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_parent",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_parent))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "user_id": {
- "index": 14.0,
- "width": 150.0,
- "id": "user_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_id",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.user_id))}}",
- "borderRadius": "0px",
- "boxShadow": "none"
- }
- },
- "delimiter": ",",
- "key": "3o40dz6neg",
- "derivedColumns": {},
- "labelTextSize": "0.875rem",
- "rightColumn": 64.0,
- "textSize": "0.875rem",
- "widgetId": "0w2wtazhe9",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisibleFilters": true,
- "tableData": "{{GetComments.data}}",
- "isVisible": true,
- "label": "Data",
- "searchKey": "",
- "enableClientSideSearch": true,
- "version": 3.0,
- "totalRecordsCount": 0.0,
- "parentId": "0",
- "renderMode": "CANVAS",
- "isLoading": false,
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "childStylesheet": {
- "button": {
- "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "boxShadow": "none"
- },
- "menuButton": {
- "menuColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "boxShadow": "none"
- },
- "iconButton": {
- "menuColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "boxShadow": "none"
- }
- },
- "borderRadius": "0px",
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "step": 62.0,
- "status": 75.0
- }
- }, {
- "boxShadow": "none",
- "widgetName": "Modal1",
- "isCanvas": true,
- "displayName": "Modal",
- "iconSVG": "/static/media/icon.4975978e.svg",
- "topRow": 7.0,
- "bottomRow": 31.0,
- "parentRowSpace": 10.0,
- "type": "MODAL_WIDGET",
- "hideCard": false,
- "shouldScrollContents": true,
- "animateLoading": true,
- "parentColumnSpace": 19.8125,
- "leftColumn": 38.0,
- "dynamicBindingPathList": [],
- "children": [{
- "boxShadow": "none",
- "widgetName": "Canvas7",
- "displayName": "Canvas",
- "topRow": 0.0,
- "bottomRow": 760.0,
- "parentRowSpace": 1.0,
- "type": "CANVAS_WIDGET",
- "canExtend": true,
- "hideCard": true,
- "shouldScrollContents": false,
- "minHeight": 770.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "boxShadow": "none",
- "widgetName": "Icon1",
- "onClick": "{{closeModal('Modal1')}}",
- "buttonColor": "#2E3D49",
- "displayName": "Icon",
- "iconSVG": "/static/media/icon.31d6cfe0.svg",
- "topRow": 1.0,
- "bottomRow": 5.0,
- "type": "ICON_BUTTON_WIDGET",
- "hideCard": true,
- "leftColumn": 56.0,
- "dynamicBindingPathList": [],
- "iconSize": 24.0,
- "key": "o7daf79fmd",
- "labelTextSize": "0.875rem",
- "rightColumn": 64.0,
- "iconName": "cross",
- "widgetId": "hmgi4boxq2",
- "isVisible": true,
- "version": 1.0,
- "parentId": "76vv2ztsz3",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "0px",
- "buttonVariant": "TERTIARY"
- }, {
- "boxShadow": "none",
- "widgetName": "Text29",
- "dynamicPropertyPathList": [{
- "key": "fontSize"
- }],
- "displayName": "Text",
- "iconSVG": "/static/media/icon.97c59b52.svg",
- "topRow": 1.0,
- "bottomRow": 5.0,
- "type": "TEXT_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "dynamicTriggerPathList": [],
- "overflow": "NONE",
- "fontFamily": "System Default",
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "truncateButtonColor": "#FFC13D",
- "text": "Post Comments",
- "key": "brfs5vee1o",
- "labelTextSize": "0.875rem",
- "rightColumn": 41.0,
- "textAlign": "LEFT",
- "widgetId": "53g2qiabn4",
- "isVisible": true,
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "76vv2ztsz3",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "0px",
- "fontSize": "1.5rem"
- }, {
- "boxShadow": "none",
- "widgetName": "Button2",
- "onClick": "{{closeModal('Modal1')}}",
- "buttonColor": "#03B365",
- "displayName": "Button",
- "iconSVG": "/static/media/icon.cca02633.svg",
- "topRow": 70.0,
- "bottomRow": 74.0,
- "type": "BUTTON_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "leftColumn": 38.0,
- "dynamicBindingPathList": [],
- "text": "Close",
- "isDisabled": false,
- "key": "5m8dfthjur",
- "labelTextSize": "0.875rem",
- "rightColumn": 50.0,
- "isDefaultClickDisabled": true,
- "widgetId": "xuk880axit",
- "buttonStyle": "PRIMARY",
- "isVisible": true,
- "recaptchaType": "V3",
- "version": 1.0,
- "parentId": "76vv2ztsz3",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "0px",
- "buttonVariant": "SECONDARY",
- "placement": "CENTER"
- }, {
- "boxShadow": "none",
- "widgetName": "Button3",
- "buttonColor": "#03B365",
- "displayName": "Button",
- "iconSVG": "/static/media/icon.cca02633.svg",
- "topRow": 70.0,
- "bottomRow": 74.0,
- "type": "BUTTON_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "leftColumn": 50.0,
- "dynamicBindingPathList": [],
- "text": "Confirm",
- "isDisabled": false,
- "key": "5m8dfthjur",
- "labelTextSize": "0.875rem",
- "rightColumn": 62.0,
- "isDefaultClickDisabled": true,
- "widgetId": "1qemf70h8t",
- "buttonStyle": "PRIMARY_BUTTON",
- "isVisible": true,
- "recaptchaType": "V3",
- "version": 1.0,
- "parentId": "76vv2ztsz3",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "0px",
- "buttonVariant": "PRIMARY",
- "placement": "CENTER"
- }, {
- "boxShadow": "none",
- "widgetName": "Table3",
- "defaultPageSize": 0.0,
- "columnOrder": ["step", "task", "status", "action"],
- "isVisibleDownload": true,
- "displayName": "Table",
- "iconSVG": "/static/media/icon.db8a9cbd.svg",
- "topRow": 7.0,
- "bottomRow": 61.0,
- "isSortable": true,
- "parentRowSpace": 10.0,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 14.96875,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [{
- "key": "tableData"
- }, {
- "key": "primaryColumns.status.computedValue"
- }, {
- "key": "primaryColumns.task.computedValue"
- }, {
- "key": "primaryColumns.step.computedValue"
- }, {
- "key": "accentColor"
- }],
- "leftColumn": 1.0,
- "primaryColumns": {
- "step": {
- "index": 0.0,
- "width": 150.0,
- "id": "step",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isCellVisible": true,
- "isDerived": false,
- "label": "step",
- "computedValue": "{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.step))}}",
- "buttonColor": "#03B365",
- "menuColor": "#03B365",
- "labelColor": "#FFFFFF",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "task": {
- "index": 1.0,
- "width": 150.0,
- "id": "task",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isCellVisible": true,
- "isDerived": false,
- "label": "task",
- "computedValue": "{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.task))}}",
- "buttonColor": "#03B365",
- "menuColor": "#03B365",
- "labelColor": "#FFFFFF",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "status": {
- "index": 2.0,
- "width": 150.0,
- "id": "status",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isCellVisible": true,
- "isDerived": false,
- "label": "status",
- "computedValue": "{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.status))}}",
- "buttonColor": "#03B365",
- "menuColor": "#03B365",
- "labelColor": "#FFFFFF",
- "borderRadius": "0px",
- "boxShadow": "none"
- },
- "action": {
- "index": 3.0,
- "width": 150.0,
- "id": "action",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "button",
- "textSize": "0.875rem",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isCellVisible": true,
- "isDisabled": false,
- "isDerived": false,
- "label": "action",
- "onClick": "{{currentRow.step === '#1' ? showAlert('Done', 'success') : currentRow.step === '#2' ? navigateTo('https://docs.appsmith.com/core-concepts/connecting-to-data-sources/querying-a-database',undefined,'NEW_WINDOW') : navigateTo('https://docs.appsmith.com/core-concepts/displaying-data-read/display-data-tables',undefined,'NEW_WINDOW')}}",
- "computedValue": "{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.action))}}",
- "buttonColor": "#03B365",
- "menuColor": "#03B365",
- "labelColor": "#FFFFFF",
- "borderRadius": "0px",
- "boxShadow": "none"
- }
- },
- "delimiter": ",",
- "key": "mcujxyczb9",
- "derivedColumns": {},
- "labelTextSize": "0.875rem",
- "rightColumn": 63.0,
- "textSize": "0.875rem",
- "widgetId": "iyd643nar2",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisibleFilters": true,
- "tableData": "{{GetComments.data}}",
- "isVisible": true,
- "label": "Data",
- "searchKey": "",
- "enableClientSideSearch": true,
- "version": 3.0,
- "totalRecordsCount": 0.0,
- "parentId": "76vv2ztsz3",
- "renderMode": "CANVAS",
- "isLoading": false,
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "childStylesheet": {
- "button": {
- "buttonColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "boxShadow": "none"
- },
- "menuButton": {
- "menuColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "boxShadow": "none"
- },
- "iconButton": {
- "menuColor": "{{appsmith.theme.colors.primaryColor}}",
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "boxShadow": "none"
- }
- },
- "borderRadius": "0px",
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "step": 62.0,
- "status": 75.0
- }
- }],
- "isDisabled": false,
- "key": "r6kp6re5b6",
- "labelTextSize": "0.875rem",
- "rightColumn": 475.5,
- "detachFromLayout": true,
- "widgetId": "76vv2ztsz3",
- "isVisible": true,
- "version": 1.0,
- "parentId": "wmh1lgly6x",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "0px"
- }],
- "key": "x9fztaaory",
- "height": 770.0,
- "labelTextSize": "0.875rem",
- "rightColumn": 62.0,
- "detachFromLayout": true,
- "widgetId": "wmh1lgly6x",
- "canOutsideClickClose": true,
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "0px",
- "width": 970.0
- }, {
- "boxShadow": "none",
- "widgetName": "categories",
- "isFilterable": true,
- "displayName": "MultiSelect",
- "iconSVG": "/static/media/icon.a3495809ae48291a64404f3bb04b0e69.svg",
- "labelText": "",
- "searchTags": ["dropdown", "tags"],
- "topRow": 4.0,
- "bottomRow": 8.0,
- "parentRowSpace": 10.0,
- "labelWidth": 5.0,
- "type": "MULTI_SELECT_WIDGET_V2",
- "serverSideFiltering": false,
- "hideCard": false,
- "defaultOptionValue": "[ ]",
- "animateLoading": true,
- "parentColumnSpace": 22.1875,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 7.0,
- "dynamicBindingPathList": [{
- "key": "accentColor"
- }, {
- "key": "borderRadius"
- }, {
- "key": "options"
- }],
- "labelPosition": "Left",
- "options": "{{GetCategories.data.map(cat=>({label:cat.name,value:cat.term_id}))}}",
- "placeholderText": "Select option(s)",
- "isDisabled": false,
- "key": "pf8n73ejl3",
- "labelTextSize": "0.875rem",
- "isRequired": false,
- "isDeprecated": false,
- "rightColumn": 27.0,
- "widgetId": "e0fnd5bi93",
- "accentColor": "{{appsmith.theme.colors.primaryColor}}",
- "isVisible": true,
- "version": 1.0,
- "parentId": "0",
- "labelAlignment": "left",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
- "onOptionChange": "{{SelectQuery.run()}}"
- }]
- },
- "layoutOnLoadActions": [
- [{
- "id": "Blog_GetUsers",
- "name": "GetUsers",
- "confirmBeforeExecute": false,
- "pluginType": "DB",
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "timeoutInMillisecond": 10000.0
- }],
- [{
- "id": "Blog_GetComments",
- "name": "GetComments",
- "confirmBeforeExecute": false,
- "pluginType": "DB",
- "jsonPathKeys": ["Table1.selectedRow.id"],
- "timeoutInMillisecond": 10000.0
- }, {
- "id": "Blog_SelectQuery",
- "name": "SelectQuery",
- "confirmBeforeExecute": false,
- "pluginType": "DB",
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "categories.selectedOptionValues.reduce((str,value)=>`${str},${value}`,'0')", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "timeoutInMillisecond": 10000.0
- }],
- [{
- "id": "Blog_GetCategories",
- "name": "GetCategories",
- "confirmBeforeExecute": false,
- "pluginType": "DB",
- "jsonPathKeys": [],
- "timeoutInMillisecond": 10000.0
- }]
- ],
- "validOnPageLoadActions": true,
- "id": "Blog",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- }],
- "userPermissions": [],
- "policies": [],
- "isHidden": false
- },
- "publishedPage": {
- "name": "Blog",
- "slug": "blog",
- "layouts": [{
- "viewMode": false,
- "dsl": {
- "widgetName": "MainContainer",
- "backgroundColor": "none",
- "rightColumn": 1280.0,
- "snapColumns": 64.0,
- "detachFromLayout": true,
- "widgetId": "0",
- "topRow": 0.0,
- "bottomRow": 1880.0,
- "containerStyle": "none",
- "snapRows": 125.0,
- "parentRowSpace": 1.0,
- "type": "CANVAS_WIDGET",
- "canExtend": true,
- "version": 51.0,
- "minHeight": 1010.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [],
- "leftColumn": 0.0,
- "children": [{
- "backgroundColor": "#FFFFFF",
- "widgetName": "Container1",
- "rightColumn": 32.0,
- "widgetId": "mvubsemxfo",
- "containerStyle": "card",
- "topRow": 17.0,
- "bottomRow": 124.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "CONTAINER_WIDGET",
- "version": 1.0,
- "parentId": "0",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "leftColumn": 0.0,
- "children": [{
- "widgetName": "Canvas1",
- "rightColumn": 632.0,
- "detachFromLayout": true,
- "widgetId": "59rw5mx0bq",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 1110.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "mvubsemxfo",
- "minHeight": 870.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Table1",
- "columnOrder": ["ID", "post_title", "post_excerpt", "post_status", "post_author", "post_date", "post_date_gmt", "post_content", "comment_status", "ping_status", "post_password", "post_name", "to_ping", "pinged", "post_modified", "post_modified_gmt", "post_content_filtered", "post_parent", "guid", "menu_order", "post_type", "post_mime_type", "comment_count", "object_id", "term_taxonomy_id", "term_order", "customColumn1"],
- "dynamicPropertyPathList": [{
- "key": "onPageChange"
- }],
- "isVisibleDownload": true,
- "topRow": 10.0,
- "bottomRow": 109.0,
- "parentRowSpace": 10.0,
- "onPageChange": "{{SelectQuery.run()}}",
- "isSortable": true,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [{
- "key": "onPageChange"
- }, {
- "key": "primaryColumns.customColumn1.onClick"
- }, {
- "key": "onSearchTextChanged"
- }, {
- "key": "onRowSelected"
- }],
- "dynamicBindingPathList": [{
- "key": "primaryColumns.customColumn1.buttonLabel"
- }, {
- "key": "primaryColumns.ID.computedValue"
- }, {
- "key": "primaryColumns.post_author.computedValue"
- }, {
- "key": "primaryColumns.post_date.computedValue"
- }, {
- "key": "primaryColumns.post_date_gmt.computedValue"
- }, {
- "key": "primaryColumns.post_content.computedValue"
- }, {
- "key": "primaryColumns.post_title.computedValue"
- }, {
- "key": "primaryColumns.post_excerpt.computedValue"
- }, {
- "key": "primaryColumns.post_status.computedValue"
- }, {
- "key": "primaryColumns.comment_status.computedValue"
- }, {
- "key": "primaryColumns.ping_status.computedValue"
- }, {
- "key": "primaryColumns.post_password.computedValue"
- }, {
- "key": "primaryColumns.post_name.computedValue"
- }, {
- "key": "primaryColumns.to_ping.computedValue"
- }, {
- "key": "primaryColumns.pinged.computedValue"
- }, {
- "key": "primaryColumns.post_modified.computedValue"
- }, {
- "key": "primaryColumns.post_modified_gmt.computedValue"
- }, {
- "key": "primaryColumns.post_content_filtered.computedValue"
- }, {
- "key": "primaryColumns.post_parent.computedValue"
- }, {
- "key": "primaryColumns.guid.computedValue"
- }, {
- "key": "primaryColumns.menu_order.computedValue"
- }, {
- "key": "primaryColumns.post_type.computedValue"
- }, {
- "key": "primaryColumns.post_mime_type.computedValue"
- }, {
- "key": "primaryColumns.comment_count.computedValue"
- }, {
- "key": "primaryColumns.object_id.computedValue"
- }, {
- "key": "primaryColumns.term_taxonomy_id.computedValue"
- }, {
- "key": "primaryColumns.term_order.computedValue"
- }],
- "leftColumn": 0.0,
- "primaryColumns": {
- "customColumn1": {
- "isCellVisible": true,
- "isDerived": true,
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}",
- "onClick": "{{showModal('Delete_Modal')}}",
- "textSize": "PARAGRAPH",
- "buttonColor": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "Delete",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "isDisabled": false,
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- },
- "ID": {
- "index": 0.0,
- "width": 150.0,
- "id": "ID",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "ID",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ID))}}"
- },
- "post_author": {
- "index": 1.0,
- "width": 150.0,
- "id": "post_author",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_author",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_author))}}"
- },
- "post_date": {
- "index": 2.0,
- "width": 150.0,
- "id": "post_date",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_date",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_date))}}"
- },
- "post_date_gmt": {
- "index": 3.0,
- "width": 150.0,
- "id": "post_date_gmt",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_date_gmt",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_date_gmt))}}"
- },
- "post_content": {
- "index": 4.0,
- "width": 150.0,
- "id": "post_content",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_content",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_content))}}"
- },
- "post_title": {
- "index": 5.0,
- "width": 150.0,
- "id": "post_title",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_title",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_title))}}"
- },
- "post_excerpt": {
- "index": 6.0,
- "width": 150.0,
- "id": "post_excerpt",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_excerpt",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_excerpt))}}"
- },
- "post_status": {
- "index": 7.0,
- "width": 150.0,
- "id": "post_status",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_status",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_status))}}"
- },
- "comment_status": {
- "index": 8.0,
- "width": 150.0,
- "id": "comment_status",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_status",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_status))}}"
- },
- "ping_status": {
- "index": 9.0,
- "width": 150.0,
- "id": "ping_status",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "ping_status",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.ping_status))}}"
- },
- "post_password": {
- "index": 10.0,
- "width": 150.0,
- "id": "post_password",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_password",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_password))}}"
- },
- "post_name": {
- "index": 11.0,
- "width": 150.0,
- "id": "post_name",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_name",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_name))}}"
- },
- "to_ping": {
- "index": 12.0,
- "width": 150.0,
- "id": "to_ping",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "to_ping",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.to_ping))}}"
- },
- "pinged": {
- "index": 13.0,
- "width": 150.0,
- "id": "pinged",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "pinged",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.pinged))}}"
- },
- "post_modified": {
- "index": 14.0,
- "width": 150.0,
- "id": "post_modified",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_modified",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_modified))}}"
- },
- "post_modified_gmt": {
- "index": 15.0,
- "width": 150.0,
- "id": "post_modified_gmt",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_modified_gmt",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_modified_gmt))}}"
- },
- "post_content_filtered": {
- "index": 16.0,
- "width": 150.0,
- "id": "post_content_filtered",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_content_filtered",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_content_filtered))}}"
- },
- "post_parent": {
- "index": 17.0,
- "width": 150.0,
- "id": "post_parent",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_parent",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_parent))}}"
- },
- "guid": {
- "index": 18.0,
- "width": 150.0,
- "id": "guid",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "guid",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.guid))}}"
- },
- "menu_order": {
- "index": 19.0,
- "width": 150.0,
- "id": "menu_order",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "menu_order",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.menu_order))}}"
- },
- "post_type": {
- "index": 20.0,
- "width": 150.0,
- "id": "post_type",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_type",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_type))}}"
- },
- "post_mime_type": {
- "index": 21.0,
- "width": 150.0,
- "id": "post_mime_type",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "post_mime_type",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.post_mime_type))}}"
- },
- "comment_count": {
- "index": 22.0,
- "width": 150.0,
- "id": "comment_count",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_count",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.comment_count))}}"
- },
- "object_id": {
- "index": 23.0,
- "width": 150.0,
- "id": "object_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "object_id",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.object_id))}}"
- },
- "term_taxonomy_id": {
- "index": 24.0,
- "width": 150.0,
- "id": "term_taxonomy_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "term_taxonomy_id",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.term_taxonomy_id))}}"
- },
- "term_order": {
- "index": 25.0,
- "width": 150.0,
- "id": "term_order",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "term_order",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.term_order))}}"
- }
- },
- "delimiter": ",",
- "onRowSelected": "{{GetComments.run()}}",
- "derivedColumns": {
- "customColumn1": {
- "isDerived": true,
- "computedValue": "",
- "onClick": "{{DeleteQuery.run()}}",
- "textSize": "PARAGRAPH",
- "buttonStyle": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "customColumn1",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- }
- },
- "rightColumn": 64.0,
- "textSize": "PARAGRAPH",
- "widgetId": "jabdu9f16g",
- "isVisibleFilters": true,
- "tableData": "",
- "isVisible": "true",
- "label": "Data",
- "searchKey": "",
- "version": 3.0,
- "parentId": "59rw5mx0bq",
- "serverSidePaginationEnabled": true,
- "isLoading": false,
- "isVisibleCompactMode": true,
- "onSearchTextChanged": "{{SelectQuery.run()}}",
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "deliveryAddress": 170.0,
- "step": 62.0,
- "id": 228.0,
- "status": 75.0
- }
- }, {
- "isRequired": false,
- "widgetName": "col_select",
- "isFilterable": true,
- "rightColumn": 22.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "asmgosgxjm",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "ID",
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 7.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n{\n\t\"label\": \"post_date\",\n\t\"value\": \"post_date\"\n}, \n{\n\t\"label\": \"post_date_gmt\",\n\t\"value\": \"post_date_gmt\"\n}, \n{\n\t\"label\": \"guid\",\n\t\"value\": \"guid\"\n}, \n{\n\t\"label\": \"post_author\",\n\t\"value\": \"post_author\"\n}, \n{\n\t\"label\": \"ID\",\n\t\"value\": \"ID\"\n}]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text15",
- "rightColumn": 7.0,
- "textAlign": "LEFT",
- "widgetId": "l8pgl90klz",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Order By :"
- }, {
- "isRequired": false,
- "widgetName": "order_select",
- "isFilterable": true,
- "rightColumn": 33.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "10v8a19m25",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "ASC",
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 22.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text16",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "urzv99hdc8",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 11.78515625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Blog Posts"
- }, {
- "boxShadow": "NONE",
- "widgetName": "refresh_btn",
- "rightColumn": 64.0,
- "onClick": "{{SelectQuery.run()}}",
- "iconName": "refresh",
- "buttonColor": "#03B365",
- "widgetId": "2jj0197tff",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 60.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }, {
- "boxShadow": "NONE",
- "widgetName": "add_btn",
- "rightColumn": 60.0,
- "onClick": "{{showModal('Insert_Modal')}}",
- "iconName": "add",
- "buttonColor": "#03B365",
- "widgetId": "kby34l9nbb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 56.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }]
- }]
- }, {
- "widgetName": "Delete_Modal",
- "rightColumn": 45.0,
- "detachFromLayout": true,
- "widgetId": "i3whp03wf0",
- "topRow": 13.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas3",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "zi8fjakv8o",
- "topRow": 0.0,
- "bottomRow": 230.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "i3whp03wf0",
- "shouldScrollContents": false,
- "minHeight": 240.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Alert_text",
- "rightColumn": 41.0,
- "textAlign": "LEFT",
- "widgetId": "reyoxo4oec",
- "topRow": 1.0,
- "bottomRow": 5.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Delete Row"
- }, {
- "widgetName": "Button1",
- "rightColumn": 46.0,
- "onClick": "{{closeModal('Delete_Modal')}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "lryg8kw537",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 34.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Cancel",
- "isDisabled": false
- }, {
- "widgetName": "Delete_Button",
- "rightColumn": 64.0,
- "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#F22B2B",
- "widgetId": "qq02lh7ust",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 48.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Confirm",
- "isDisabled": false
- }, {
- "widgetName": "Text12",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "48uac29g6e",
- "topRow": 8.0,
- "bottomRow": 12.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "parentColumnSpace": 6.875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Are you sure you want to delete this item?"
- }],
- "isDisabled": false
- }],
- "width": 456.0,
- "height": 240.0
- }, {
- "widgetName": "Insert_Modal",
- "rightColumn": 41.0,
- "detachFromLayout": true,
- "widgetId": "vmorzie6eq",
- "topRow": 16.0,
- "bottomRow": 40.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 17.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas4",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "9rhv3ioohq",
- "topRow": 0.0,
- "bottomRow": 610.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "vmorzie6eq",
- "shouldScrollContents": false,
- "minHeight": 600.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Form2",
- "backgroundColor": "#F6F7F8",
- "rightColumn": 64.0,
- "widgetId": "1ruewbc4ef",
- "topRow": 0.0,
- "bottomRow": 58.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "FORM_WIDGET",
- "parentId": "9rhv3ioohq",
- "isLoading": false,
- "shouldScrollContents": false,
- "parentColumnSpace": 8.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas5",
- "rightColumn": 224.0,
- "detachFromLayout": true,
- "widgetId": "tp9pui0e6y",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 570.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "1ruewbc4ef",
- "minHeight": 580.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": true,
- "widgetName": "insert_button",
- "rightColumn": 62.0,
- "onClick": "{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#03B365",
- "widgetId": "h8vxf3oh4s",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 43.0,
- "dynamicBindingPathList": [],
- "googleRecaptchaKey": "",
- "buttonVariant": "PRIMARY",
- "text": "Submit"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_button",
- "rightColumn": 42.0,
- "onClick": "{{closeModal('Insert_Modal')}}",
- "isDefaultClickDisabled": true,
- "buttonColor": "#03B365",
- "widgetId": "o23gs26wm5",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 29.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Close"
- }, {
- "widgetName": "Text21",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "cfmxebyn06",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "ID:"
- }, {
- "isRequired": false,
- "widgetName": "insert_col_input1",
- "rightColumn": 62.0,
- "widgetId": "h1wbbv7alb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "Autogenerated Field",
- "isDisabled": true,
- "validation": "true"
- }, {
- "widgetName": "Text22",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "jsffaxrqhw",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 2.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "guid:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input2",
- "rightColumn": 62.0,
- "widgetId": "6enalyprua",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "defaultText": "",
- "placeholderText": "guid",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text23",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "btk60uozsm",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "post_author:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input3",
- "rightColumn": 62.0,
- "widgetId": "e490gfts69",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "post_author",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text14",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "8fm60omwwv",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "post_date:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input4",
- "rightColumn": 62.0,
- "widgetId": "r55cydp0ao",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "post_date",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text24",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "9t3vdjd5xj",
- "topRow": 33.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "post_date_gmt:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input5",
- "rightColumn": 62.0,
- "widgetId": "5rfqxgj0vm",
- "topRow": 33.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "post_date_gmt",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text13Copy",
- "rightColumn": 35.0,
- "textAlign": "LEFT",
- "widgetId": "18x7vdv3gs",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "shouldScroll": false,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Insert Row"
- }]
- }]
- }],
- "isDisabled": false
- }],
- "width": 532.0,
- "height": 600.0
- }, {
- "widgetName": "Form1",
- "backgroundColor": "white",
- "rightColumn": 64.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "m7dvlazbn7",
- "topRow": 73.0,
- "bottomRow": 124.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{!!Table1.selectedRow.ID}}",
- "type": "FORM_WIDGET",
- "parentId": "0",
- "isLoading": false,
- "shouldScrollContents": true,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 32.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "children": [{
- "widgetName": "Canvas2",
- "rightColumn": 528.71875,
- "detachFromLayout": true,
- "widgetId": "cicukwhp5j",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 450.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "m7dvlazbn7",
- "minHeight": 460.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Text20Copy",
- "rightColumn": 13.0,
- "textAlign": "RIGHT",
- "widgetId": "1sjs79otqs",
- "topRow": 28.0,
- "bottomRow": 32.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Author"
- }, {
- "widgetName": "author",
- "isFilterable": false,
- "displayName": "Select",
- "iconSVG": "/static/media/icon.bd99caba.svg",
- "labelText": "",
- "topRow": 28.0,
- "bottomRow": 35.0,
- "parentRowSpace": 10.0,
- "type": "DROP_DOWN_WIDGET",
- "serverSideFiltering": false,
- "hideCard": false,
- "defaultOptionValue": "{{Table1.selectedRow.post_author\n}}",
- "selectionType": "SINGLE_SELECT",
- "animateLoading": true,
- "parentColumnSpace": 12.16796875,
- "dynamicTriggerPathList": [],
- "leftColumn": 13.0,
- "dynamicBindingPathList": [{
- "key": "defaultOptionValue"
- }, {
- "key": "options"
- }],
- "options": "{{GetUsers.data.map(({id:value,user_nicename:label})=>({value,label}))}}",
- "placeholderText": "Select option",
- "isDisabled": false,
- "key": "csk41khcun",
- "isRequired": false,
- "rightColumn": 63.0,
- "widgetId": "7c1l22596b",
- "isVisible": true,
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "renderMode": "CANVAS",
- "isLoading": false
- }, {
- "resetFormOnClick": false,
- "widgetName": "update_button",
- "rightColumn": 63.0,
- "onClick": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "4gnygu5jew",
- "topRow": 36.0,
- "bottomRow": 40.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 42.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Update"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_update_button",
- "rightColumn": 41.0,
- "onClick": "",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03b365",
- "widgetId": "twwgpz5wfu",
- "topRow": 36.0,
- "bottomRow": 40.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 27.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Reset"
- }, {
- "isRequired": true,
- "widgetName": "title",
- "rightColumn": 63.0,
- "widgetId": "in8e51pg3y",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 13.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.post_title}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": false,
- "widgetName": "excerpt",
- "rightColumn": 63.0,
- "widgetId": "mlhvfasf31",
- "topRow": 10.0,
- "bottomRow": 20.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 13.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.post_excerpt}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text9",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "4hnz8ktmz5",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "fontSize": "HEADING1",
- "text": "Update Post: {{Table1.selectedRow.post_title}}"
- }, {
- "widgetName": "Text17",
- "rightColumn": 13.0,
- "textAlign": "RIGHT",
- "widgetId": "afzzc7q8af",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Title"
- }, {
- "widgetName": "Text18",
- "rightColumn": 13.0,
- "textAlign": "RIGHT",
- "widgetId": "xqcsd2e5dj",
- "topRow": 10.0,
- "bottomRow": 14.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Excerpt"
- }, {
- "widgetName": "Text20",
- "rightColumn": 13.0,
- "textAlign": "RIGHT",
- "widgetId": "gqpwf0yng6",
- "topRow": 21.0,
- "bottomRow": 25.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Post status"
- }, {
- "widgetName": "p_status",
- "isFilterable": false,
- "displayName": "Select",
- "iconSVG": "/static/media/icon.bd99caba.svg",
- "labelText": "",
- "topRow": 21.0,
- "bottomRow": 28.0,
- "parentRowSpace": 10.0,
- "type": "DROP_DOWN_WIDGET",
- "serverSideFiltering": false,
- "hideCard": false,
- "defaultOptionValue": "{{Table1.selectedRow.post_status}}",
- "selectionType": "SINGLE_SELECT",
- "animateLoading": true,
- "parentColumnSpace": 9.59375,
- "dynamicTriggerPathList": [],
- "leftColumn": 13.0,
- "dynamicBindingPathList": [{
- "key": "defaultOptionValue"
- }],
- "options": "[\n {\n \"label\": \"Publish\",\n \"value\": \"publish\"\n },\n {\n \"label\": \"Draft\",\n \"value\": \"draft\"\n },\n {\n \"label\": \"Auto draft\",\n \"value\": \"auto-draft\"\n }\n]",
- "placeholderText": "Select option",
- "isDisabled": false,
- "key": "mlwomqyu3s",
- "isRequired": false,
- "rightColumn": 63.0,
- "widgetId": "lo0yxls487",
- "isVisible": true,
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "renderMode": "CANVAS",
- "isLoading": false
- }]
- }]
- }, {
- "boxShadow": "NONE",
- "widgetName": "Container2",
- "borderColor": "transparent",
- "isCanvas": true,
- "displayName": "Container",
- "iconSVG": "/static/media/icon.1977dca3.svg",
- "topRow": 17.0,
- "bottomRow": 71.0,
- "parentRowSpace": 10.0,
- "type": "CONTAINER_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 22.1875,
- "leftColumn": 32.0,
- "children": [{
- "widgetName": "Canvas6",
- "rightColumn": 532.5,
- "detachFromLayout": true,
- "displayName": "Canvas",
- "widgetId": "ns44diaamt",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 490.0,
- "parentRowSpace": 1.0,
- "isVisible": true,
- "type": "CANVAS_WIDGET",
- "canExtend": false,
- "version": 1.0,
- "hideCard": true,
- "parentId": "z86ak9za7r",
- "minHeight": 400.0,
- "renderMode": "CANVAS",
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "leftColumn": 0.0,
- "children": [{
- "widgetName": "Text25",
- "displayName": "Text",
- "iconSVG": "/static/media/icon.97c59b52.svg",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 12.16796875,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "shouldTruncate": false,
- "truncateButtonColor": "#FFC13D",
- "text": "{{Table1.selectedRow.post_title}}",
- "key": "6pacxcck35",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "lhjdqceozq",
- "isVisible": true,
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "shouldScroll": false,
- "version": 1.0,
- "parentId": "ns44diaamt",
- "renderMode": "CANVAS",
- "isLoading": false,
- "fontSize": "HEADING1"
- }, {
- "widgetName": "Text26",
- "displayName": "Text",
- "iconSVG": "/static/media/icon.97c59b52.svg",
- "topRow": 9.0,
- "bottomRow": 47.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 12.16796875,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "shouldTruncate": false,
- "truncateButtonColor": "#FFC13D",
- "text": "{{Table1.selectedRow.post_content}}",
- "key": "6pacxcck35",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "msnx2elzmi",
- "isVisible": true,
- "fontStyle": "",
- "textColor": "#231F20",
- "shouldScroll": false,
- "version": 1.0,
- "parentId": "ns44diaamt",
- "renderMode": "CANVAS",
- "isLoading": false,
- "fontSize": "PARAGRAPH"
- }],
- "key": "m1q7rvnf0q"
- }],
- "borderWidth": "0",
- "key": "6q011hdwm8",
- "backgroundColor": "#FFFFFF",
- "rightColumn": 64.0,
- "widgetId": "z86ak9za7r",
- "containerStyle": "card",
- "isVisible": true,
- "version": 1.0,
- "parentId": "0",
- "renderMode": "CANVAS",
- "isLoading": false,
- "borderRadius": "0"
- }, {
- "widgetName": "categories",
- "displayName": "MultiSelect",
- "iconSVG": "/static/media/icon.a3495809.svg",
- "labelText": "",
- "topRow": 9.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "type": "MULTI_SELECT_WIDGET",
- "serverSideFiltering": false,
- "hideCard": false,
- "defaultOptionValue": "[0]",
- "animateLoading": true,
- "parentColumnSpace": 22.1875,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 6.0,
- "dynamicBindingPathList": [{
- "key": "options"
- }],
- "options": "{{GetCategories.data.map(cat=>({label:cat.name,value:cat.term_id}))}}",
- "placeholderText": "Select categories",
- "isDisabled": false,
- "key": "o2jl2eb348",
- "isRequired": false,
- "rightColumn": 26.0,
- "widgetId": "n2sv5nbi06",
- "isVisible": true,
- "version": 1.0,
- "parentId": "0",
- "renderMode": "CANVAS",
- "isLoading": false,
- "onOptionChange": "{{SelectQuery.run()}}"
- }, {
- "widgetName": "Text27",
- "displayName": "Text",
- "iconSVG": "/static/media/icon.97c59b52.svg",
- "topRow": 10.0,
- "bottomRow": 14.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 22.1875,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "shouldTruncate": false,
- "truncateButtonColor": "#FFC13D",
- "text": "Show posts from",
- "key": "kf4mmyg152",
- "rightColumn": 6.0,
- "textAlign": "LEFT",
- "widgetId": "mywn2w5z48",
- "isVisible": true,
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "shouldScroll": false,
- "version": 1.0,
- "parentId": "0",
- "renderMode": "CANVAS",
- "isLoading": false,
- "fontSize": "PARAGRAPH"
- }, {
- "widgetName": "Text28",
- "displayName": "Text",
- "iconSVG": "/static/media/icon.97c59b52.svg",
- "topRow": 0.0,
- "bottomRow": 7.0,
- "parentRowSpace": 10.0,
- "type": "TEXT_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 22.1875,
- "dynamicTriggerPathList": [],
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "shouldTruncate": false,
- "truncateButtonColor": "#FFC13D",
- "text": "A Simple Blog Admin",
- "key": "kf4mmyg152",
- "rightColumn": 37.0,
- "textAlign": "CENTER",
- "widgetId": "3k35414uwf",
- "isVisible": true,
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "shouldScroll": false,
- "version": 1.0,
- "parentId": "0",
- "renderMode": "CANVAS",
- "isLoading": false,
- "fontSize": "HEADING1"
- }, {
- "widgetName": "Table2",
- "defaultPageSize": 0.0,
- "columnOrder": ["comment_ID", "comment_post_ID", "comment_author", "comment_author_email", "comment_author_url", "comment_author_IP", "comment_date", "comment_date_gmt", "comment_content", "comment_karma", "comment_approved", "comment_agent", "comment_type", "comment_parent", "user_id"],
- "isVisibleDownload": true,
- "dynamicPropertyPathList": [],
- "displayName": "Table",
- "iconSVG": "/static/media/icon.db8a9cbd.svg",
- "topRow": 125.0,
- "bottomRow": 186.0,
- "isSortable": true,
- "parentRowSpace": 10.0,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 30.234375,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [{
- "key": "tableData"
- }, {
- "key": "primaryColumns.comment_ID.computedValue"
- }, {
- "key": "primaryColumns.comment_post_ID.computedValue"
- }, {
- "key": "primaryColumns.comment_author.computedValue"
- }, {
- "key": "primaryColumns.comment_author_email.computedValue"
- }, {
- "key": "primaryColumns.comment_author_url.computedValue"
- }, {
- "key": "primaryColumns.comment_author_IP.computedValue"
- }, {
- "key": "primaryColumns.comment_date.computedValue"
- }, {
- "key": "primaryColumns.comment_date_gmt.computedValue"
- }, {
- "key": "primaryColumns.comment_content.computedValue"
- }, {
- "key": "primaryColumns.comment_karma.computedValue"
- }, {
- "key": "primaryColumns.comment_approved.computedValue"
- }, {
- "key": "primaryColumns.comment_agent.computedValue"
- }, {
- "key": "primaryColumns.comment_type.computedValue"
- }, {
- "key": "primaryColumns.comment_parent.computedValue"
- }, {
- "key": "primaryColumns.user_id.computedValue"
- }],
- "leftColumn": 0.0,
- "primaryColumns": {
- "comment_ID": {
- "index": 0.0,
- "width": 150.0,
- "id": "comment_ID",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_ID",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_ID))}}"
- },
- "comment_post_ID": {
- "index": 1.0,
- "width": 150.0,
- "id": "comment_post_ID",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_post_ID",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_post_ID))}}"
- },
- "comment_author": {
- "index": 2.0,
- "width": 150.0,
- "id": "comment_author",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author))}}"
- },
- "comment_author_email": {
- "index": 3.0,
- "width": 150.0,
- "id": "comment_author_email",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author_email",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_email))}}"
- },
- "comment_author_url": {
- "index": 4.0,
- "width": 150.0,
- "id": "comment_author_url",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author_url",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_url))}}"
- },
- "comment_author_IP": {
- "index": 5.0,
- "width": 150.0,
- "id": "comment_author_IP",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_author_IP",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_author_IP))}}"
- },
- "comment_date": {
- "index": 6.0,
- "width": 150.0,
- "id": "comment_date",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_date",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_date))}}"
- },
- "comment_date_gmt": {
- "index": 7.0,
- "width": 150.0,
- "id": "comment_date_gmt",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_date_gmt",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_date_gmt))}}"
- },
- "comment_content": {
- "index": 8.0,
- "width": 150.0,
- "id": "comment_content",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_content",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_content))}}"
- },
- "comment_karma": {
- "index": 9.0,
- "width": 150.0,
- "id": "comment_karma",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_karma",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_karma))}}"
- },
- "comment_approved": {
- "index": 10.0,
- "width": 150.0,
- "id": "comment_approved",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_approved",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_approved))}}"
- },
- "comment_agent": {
- "index": 11.0,
- "width": 150.0,
- "id": "comment_agent",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_agent",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_agent))}}"
- },
- "comment_type": {
- "index": 12.0,
- "width": 150.0,
- "id": "comment_type",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_type",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_type))}}"
- },
- "comment_parent": {
- "index": 13.0,
- "width": 150.0,
- "id": "comment_parent",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "comment_parent",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.comment_parent))}}"
- },
- "user_id": {
- "index": 14.0,
- "width": 150.0,
- "id": "user_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "user_id",
- "computedValue": "{{Table2.sanitizedTableData.map((currentRow) => ( currentRow.user_id))}}"
- }
- },
- "delimiter": ",",
- "key": "3o40dz6neg",
- "derivedColumns": {},
- "rightColumn": 64.0,
- "textSize": "PARAGRAPH",
- "widgetId": "0w2wtazhe9",
- "isVisibleFilters": true,
- "tableData": "{{GetComments.data}}",
- "isVisible": true,
- "label": "Data",
- "searchKey": "",
- "enableClientSideSearch": true,
- "version": 3.0,
- "totalRecordsCount": 0.0,
- "parentId": "0",
- "renderMode": "CANVAS",
- "isLoading": false,
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "step": 62.0,
- "status": 75.0
- }
- }, {
- "widgetName": "Modal1",
- "isCanvas": true,
- "displayName": "Modal",
- "iconSVG": "/static/media/icon.4975978e.svg",
- "topRow": 7.0,
- "bottomRow": 31.0,
- "parentRowSpace": 10.0,
- "type": "MODAL_WIDGET",
- "hideCard": false,
- "shouldScrollContents": true,
- "animateLoading": true,
- "parentColumnSpace": 19.8125,
- "leftColumn": 38.0,
- "children": [{
- "widgetName": "Canvas7",
- "displayName": "Canvas",
- "topRow": 0.0,
- "bottomRow": 760.0,
- "parentRowSpace": 1.0,
- "type": "CANVAS_WIDGET",
- "canExtend": true,
- "hideCard": true,
- "shouldScrollContents": false,
- "minHeight": 770.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Icon1",
- "rightColumn": 64.0,
- "onClick": "{{closeModal('Modal1')}}",
- "color": "#040627",
- "iconName": "cross",
- "displayName": "Icon",
- "iconSVG": "/static/media/icon.31d6cfe0.svg",
- "widgetId": "hmgi4boxq2",
- "topRow": 1.0,
- "bottomRow": 5.0,
- "isVisible": true,
- "type": "ICON_WIDGET",
- "version": 1.0,
- "hideCard": true,
- "parentId": "76vv2ztsz3",
- "renderMode": "CANVAS",
- "isLoading": false,
- "leftColumn": 56.0,
- "iconSize": 24.0,
- "key": "o7daf79fmd"
- }, {
- "widgetName": "Text29",
- "displayName": "Text",
- "iconSVG": "/static/media/icon.97c59b52.svg",
- "topRow": 1.0,
- "bottomRow": 5.0,
- "type": "TEXT_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "shouldTruncate": false,
- "truncateButtonColor": "#FFC13D",
- "text": "Post Comments",
- "key": "brfs5vee1o",
- "rightColumn": 41.0,
- "textAlign": "LEFT",
- "widgetId": "53g2qiabn4",
- "isVisible": true,
- "fontStyle": "BOLD",
- "textColor": "#231F20",
- "shouldScroll": false,
- "version": 1.0,
- "parentId": "76vv2ztsz3",
- "renderMode": "CANVAS",
- "isLoading": false,
- "fontSize": "HEADING1"
- }, {
- "widgetName": "Button2",
- "onClick": "{{closeModal('Modal1')}}",
- "buttonColor": "#03B365",
- "displayName": "Button",
- "iconSVG": "/static/media/icon.cca02633.svg",
- "topRow": 70.0,
- "bottomRow": 74.0,
- "type": "BUTTON_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "leftColumn": 38.0,
- "text": "Close",
- "isDisabled": false,
- "key": "5m8dfthjur",
- "rightColumn": 50.0,
- "isDefaultClickDisabled": true,
- "widgetId": "xuk880axit",
- "buttonStyle": "PRIMARY",
- "isVisible": true,
- "recaptchaType": "V3",
- "version": 1.0,
- "parentId": "76vv2ztsz3",
- "renderMode": "CANVAS",
- "isLoading": false,
- "buttonVariant": "SECONDARY",
- "placement": "CENTER"
- }, {
- "widgetName": "Button3",
- "buttonColor": "#03B365",
- "displayName": "Button",
- "iconSVG": "/static/media/icon.cca02633.svg",
- "topRow": 70.0,
- "bottomRow": 74.0,
- "type": "BUTTON_WIDGET",
- "hideCard": false,
- "animateLoading": true,
- "leftColumn": 50.0,
- "text": "Confirm",
- "isDisabled": false,
- "key": "5m8dfthjur",
- "rightColumn": 62.0,
- "isDefaultClickDisabled": true,
- "widgetId": "1qemf70h8t",
- "buttonStyle": "PRIMARY_BUTTON",
- "isVisible": true,
- "recaptchaType": "V3",
- "version": 1.0,
- "parentId": "76vv2ztsz3",
- "renderMode": "CANVAS",
- "isLoading": false,
- "buttonVariant": "PRIMARY",
- "placement": "CENTER"
- }, {
- "widgetName": "Table3",
- "defaultPageSize": 0.0,
- "columnOrder": ["step", "task", "status", "action"],
- "isVisibleDownload": true,
- "displayName": "Table",
- "iconSVG": "/static/media/icon.db8a9cbd.svg",
- "topRow": 7.0,
- "bottomRow": 61.0,
- "isSortable": true,
- "parentRowSpace": 10.0,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "hideCard": false,
- "animateLoading": true,
- "parentColumnSpace": 14.96875,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [{
- "key": "primaryColumns.step.computedValue"
- }, {
- "key": "primaryColumns.task.computedValue"
- }, {
- "key": "primaryColumns.status.computedValue"
- }, {
- "key": "primaryColumns.action.computedValue"
- }, {
- "key": "tableData"
- }],
- "leftColumn": 1.0,
- "primaryColumns": {
- "step": {
- "index": 0.0,
- "width": 150.0,
- "id": "step",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isCellVisible": true,
- "isDerived": false,
- "label": "step",
- "computedValue": "{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.step))}}",
- "buttonColor": "#03B365",
- "menuColor": "#03B365",
- "labelColor": "#FFFFFF"
- },
- "task": {
- "index": 1.0,
- "width": 150.0,
- "id": "task",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isCellVisible": true,
- "isDerived": false,
- "label": "task",
- "computedValue": "{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.task))}}",
- "buttonColor": "#03B365",
- "menuColor": "#03B365",
- "labelColor": "#FFFFFF"
- },
- "status": {
- "index": 2.0,
- "width": 150.0,
- "id": "status",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isCellVisible": true,
- "isDerived": false,
- "label": "status",
- "computedValue": "{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.status))}}",
- "buttonColor": "#03B365",
- "menuColor": "#03B365",
- "labelColor": "#FFFFFF"
- },
- "action": {
- "index": 3.0,
- "width": 150.0,
- "id": "action",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "button",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isCellVisible": true,
- "isDisabled": false,
- "isDerived": false,
- "label": "action",
- "onClick": "{{currentRow.step === '#1' ? showAlert('Done', 'success') : currentRow.step === '#2' ? navigateTo('https://docs.appsmith.com/core-concepts/connecting-to-data-sources/querying-a-database',undefined,'NEW_WINDOW') : navigateTo('https://docs.appsmith.com/core-concepts/displaying-data-read/display-data-tables',undefined,'NEW_WINDOW')}}",
- "computedValue": "{{Table3.sanitizedTableData.map((currentRow) => ( currentRow.action))}}",
- "buttonColor": "#03B365",
- "menuColor": "#03B365",
- "labelColor": "#FFFFFF"
- }
- },
- "delimiter": ",",
- "key": "mcujxyczb9",
- "derivedColumns": {},
- "rightColumn": 63.0,
- "textSize": "PARAGRAPH",
- "widgetId": "iyd643nar2",
- "isVisibleFilters": true,
- "tableData": "{{GetComments.data}}",
- "isVisible": true,
- "label": "Data",
- "searchKey": "",
- "enableClientSideSearch": true,
- "version": 3.0,
- "totalRecordsCount": 0.0,
- "parentId": "76vv2ztsz3",
- "renderMode": "CANVAS",
- "isLoading": false,
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "step": 62.0,
- "status": 75.0
- }
- }],
- "isDisabled": false,
- "key": "r6kp6re5b6",
- "rightColumn": 475.5,
- "detachFromLayout": true,
- "widgetId": "76vv2ztsz3",
- "isVisible": true,
- "version": 1.0,
- "parentId": "wmh1lgly6x",
- "renderMode": "CANVAS",
- "isLoading": false
- }],
- "key": "x9fztaaory",
- "height": 770.0,
- "rightColumn": 62.0,
- "detachFromLayout": true,
- "widgetId": "wmh1lgly6x",
- "canOutsideClickClose": true,
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "renderMode": "CANVAS",
- "isLoading": false,
- "width": 970.0
- }]
- },
- "layoutOnLoadActions": [
- [{
- "id": "Blog_GetUsers",
- "name": "GetUsers",
- "pluginType": "DB",
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "timeoutInMillisecond": 10000.0
- }, {
- "id": "Blog_SelectQuery",
- "name": "SelectQuery",
- "pluginType": "DB",
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "categories.selectedOptionValues.reduce((str,value)=>`${str},${value}`,'0')", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "timeoutInMillisecond": 10000.0
- }],
- [{
- "id": "Blog_GetComments",
- "name": "GetComments",
- "pluginType": "DB",
- "jsonPathKeys": ["Table1.selectedRow.ID"],
- "timeoutInMillisecond": 10000.0
- }],
- [{
- "id": "Blog_GetCategories",
- "name": "GetCategories",
- "pluginType": "DB",
- "jsonPathKeys": [],
- "timeoutInMillisecond": 10000.0
- }]
- ],
- "validOnPageLoadActions": true,
- "id": "Blog",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- }],
- "userPermissions": [],
- "policies": [],
- "isHidden": false
- },
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61efc19939a0da5942775f10"
- }, {
- "unpublishedPage": {
- "name": "WP Options",
- "slug": "wp-options",
- "layouts": [{
- "viewMode": false,
- "dsl": {
- "widgetName": "MainContainer",
- "backgroundColor": "none",
- "rightColumn": 1280.0,
- "snapColumns": 64.0,
- "detachFromLayout": true,
- "widgetId": "0",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "containerStyle": "none",
- "snapRows": 125.0,
- "parentRowSpace": 1.0,
- "type": "CANVAS_WIDGET",
- "canExtend": true,
- "version": 51.0,
- "minHeight": 900.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [],
- "leftColumn": 0.0,
- "children": [{
- "backgroundColor": "#FFFFFF",
- "widgetName": "Container1",
- "rightColumn": 40.0,
- "widgetId": "mvubsemxfo",
- "containerStyle": "card",
- "topRow": 0.0,
- "bottomRow": 87.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "CONTAINER_WIDGET",
- "version": 1.0,
- "parentId": "0",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "leftColumn": 0.0,
- "children": [{
- "widgetName": "Canvas1",
- "rightColumn": 632.0,
- "detachFromLayout": true,
- "widgetId": "59rw5mx0bq",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "mvubsemxfo",
- "minHeight": 870.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Table1",
- "columnOrder": ["option_id", "option_name", "option_value", "autoload", "customColumn1"],
- "dynamicPropertyPathList": [{
- "key": "onPageChange"
- }],
- "isVisibleDownload": true,
- "topRow": 10.0,
- "bottomRow": 86.0,
- "parentRowSpace": 10.0,
- "onPageChange": "{{SelectQuery.run()}}",
- "isSortable": true,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [{
- "key": "onPageChange"
- }, {
- "key": "primaryColumns.customColumn1.onClick"
- }, {
- "key": "onSearchTextChanged"
- }],
- "dynamicBindingPathList": [{
- "key": "primaryColumns.customColumn1.buttonLabel"
- }, {
- "key": "tableData"
- }, {
- "key": "primaryColumns.option_id.computedValue"
- }, {
- "key": "primaryColumns.option_name.computedValue"
- }, {
- "key": "primaryColumns.option_value.computedValue"
- }, {
- "key": "primaryColumns.autoload.computedValue"
- }],
- "leftColumn": 0.0,
- "primaryColumns": {
- "customColumn1": {
- "isCellVisible": true,
- "isDerived": true,
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}",
- "onClick": "{{showModal('Delete_Modal')}}",
- "textSize": "PARAGRAPH",
- "buttonColor": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "Delete",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "isDisabled": false,
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- },
- "option_id": {
- "index": 0.0,
- "width": 150.0,
- "id": "option_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "option_id",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_id))}}"
- },
- "option_name": {
- "index": 1.0,
- "width": 150.0,
- "id": "option_name",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "option_name",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_name))}}"
- },
- "option_value": {
- "index": 2.0,
- "width": 150.0,
- "id": "option_value",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "option_value",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_value))}}"
- },
- "autoload": {
- "index": 3.0,
- "width": 150.0,
- "id": "autoload",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "autoload",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.autoload))}}"
- }
- },
- "delimiter": ",",
- "derivedColumns": {
- "customColumn1": {
- "isDerived": true,
- "computedValue": "",
- "onClick": "{{DeleteQuery.run()}}",
- "textSize": "PARAGRAPH",
- "buttonStyle": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "customColumn1",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- }
- },
- "rightColumn": 64.0,
- "textSize": "PARAGRAPH",
- "widgetId": "jabdu9f16g",
- "isVisibleFilters": true,
- "tableData": "",
- "isVisible": "true",
- "label": "Data",
- "searchKey": "",
- "version": 3.0,
- "parentId": "59rw5mx0bq",
- "serverSidePaginationEnabled": true,
- "isLoading": false,
- "isVisibleCompactMode": true,
- "onSearchTextChanged": "{{SelectQuery.run()}}",
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "deliveryAddress": 170.0,
- "step": 62.0,
- "id": 228.0,
- "status": 75.0
- }
- }, {
- "isRequired": false,
- "widgetName": "col_select",
- "isFilterable": true,
- "rightColumn": 22.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "asmgosgxjm",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "option_id",
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 7.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n{\n\t\"label\": \"autoload\",\n\t\"value\": \"autoload\"\n}, \n{\n\t\"label\": \"option_name\",\n\t\"value\": \"option_name\"\n}, \n{\n\t\"label\": \"option_value\",\n\t\"value\": \"option_value\"\n}, \n{\n\t\"label\": \"option_id\",\n\t\"value\": \"option_id\"\n}]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text15",
- "rightColumn": 7.0,
- "textAlign": "LEFT",
- "widgetId": "l8pgl90klz",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Order By :"
- }, {
- "isRequired": false,
- "widgetName": "order_select",
- "isFilterable": true,
- "rightColumn": 33.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "10v8a19m25",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "ASC",
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 22.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text16",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "urzv99hdc8",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 11.78515625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "perf_options Data"
- }, {
- "boxShadow": "NONE",
- "widgetName": "refresh_btn",
- "rightColumn": 64.0,
- "onClick": "{{SelectQuery.run()}}",
- "iconName": "refresh",
- "buttonColor": "#03B365",
- "widgetId": "2jj0197tff",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 60.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }, {
- "boxShadow": "NONE",
- "widgetName": "add_btn",
- "rightColumn": 60.0,
- "onClick": "{{showModal('Insert_Modal')}}",
- "iconName": "add",
- "buttonColor": "#03B365",
- "widgetId": "kby34l9nbb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 56.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }]
- }]
- }, {
- "widgetName": "Delete_Modal",
- "rightColumn": 45.0,
- "detachFromLayout": true,
- "widgetId": "i3whp03wf0",
- "topRow": 13.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas3",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "zi8fjakv8o",
- "topRow": 0.0,
- "bottomRow": 230.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "i3whp03wf0",
- "shouldScrollContents": false,
- "minHeight": 240.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Alert_text",
- "rightColumn": 41.0,
- "textAlign": "LEFT",
- "widgetId": "reyoxo4oec",
- "topRow": 1.0,
- "bottomRow": 5.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Delete Row"
- }, {
- "widgetName": "Button1",
- "rightColumn": 46.0,
- "onClick": "{{closeModal('Delete_Modal')}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "lryg8kw537",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 34.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Cancel",
- "isDisabled": false
- }, {
- "widgetName": "Delete_Button",
- "rightColumn": 64.0,
- "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#F22B2B",
- "widgetId": "qq02lh7ust",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 48.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Confirm",
- "isDisabled": false
- }, {
- "widgetName": "Text12",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "48uac29g6e",
- "topRow": 8.0,
- "bottomRow": 12.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "parentColumnSpace": 6.875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Are you sure you want to delete this item?"
- }],
- "isDisabled": false
- }],
- "width": 456.0,
- "height": 240.0
- }, {
- "widgetName": "Insert_Modal",
- "rightColumn": 41.0,
- "detachFromLayout": true,
- "widgetId": "vmorzie6eq",
- "topRow": 16.0,
- "bottomRow": 40.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 17.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas4",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "9rhv3ioohq",
- "topRow": 0.0,
- "bottomRow": 610.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "vmorzie6eq",
- "shouldScrollContents": false,
- "minHeight": 600.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Form2",
- "backgroundColor": "#F6F7F8",
- "rightColumn": 64.0,
- "widgetId": "1ruewbc4ef",
- "topRow": 0.0,
- "bottomRow": 58.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "FORM_WIDGET",
- "parentId": "9rhv3ioohq",
- "isLoading": false,
- "shouldScrollContents": false,
- "parentColumnSpace": 8.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas5",
- "rightColumn": 224.0,
- "detachFromLayout": true,
- "widgetId": "tp9pui0e6y",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 570.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "1ruewbc4ef",
- "minHeight": 580.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": true,
- "widgetName": "insert_button",
- "rightColumn": 62.0,
- "onClick": "{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#03B365",
- "widgetId": "h8vxf3oh4s",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 43.0,
- "dynamicBindingPathList": [],
- "googleRecaptchaKey": "",
- "buttonVariant": "PRIMARY",
- "text": "Submit"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_button",
- "rightColumn": 42.0,
- "onClick": "{{closeModal('Insert_Modal')}}",
- "isDefaultClickDisabled": true,
- "buttonColor": "#03B365",
- "widgetId": "o23gs26wm5",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 29.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Close"
- }, {
- "widgetName": "Text21",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "cfmxebyn06",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "option_id:"
- }, {
- "isRequired": false,
- "widgetName": "insert_col_input1",
- "rightColumn": 62.0,
- "widgetId": "h1wbbv7alb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "Autogenerated Field",
- "isDisabled": true,
- "validation": "true"
- }, {
- "widgetName": "Text22",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "jsffaxrqhw",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 2.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "option_name:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input2",
- "rightColumn": 62.0,
- "widgetId": "6enalyprua",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "defaultText": "",
- "placeholderText": "option_name",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text23",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "btk60uozsm",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "option_value:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input3",
- "rightColumn": 62.0,
- "widgetId": "e490gfts69",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "option_value",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text14",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "8fm60omwwv",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "autoload:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input4",
- "rightColumn": 62.0,
- "widgetId": "r55cydp0ao",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "autoload",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text13Copy",
- "rightColumn": 35.0,
- "textAlign": "LEFT",
- "widgetId": "18x7vdv3gs",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "shouldScroll": false,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Insert Row"
- }]
- }]
- }],
- "isDisabled": false
- }],
- "width": 532.0,
- "height": 600.0
- }, {
- "widgetName": "Form1",
- "backgroundColor": "white",
- "rightColumn": 64.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "m7dvlazbn7",
- "topRow": 0.0,
- "bottomRow": 46.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{!!Table1.selectedRow.option_id}}",
- "type": "FORM_WIDGET",
- "parentId": "0",
- "isLoading": false,
- "shouldScrollContents": true,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 40.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "children": [{
- "widgetName": "Canvas2",
- "rightColumn": 528.71875,
- "detachFromLayout": true,
- "widgetId": "cicukwhp5j",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 450.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "m7dvlazbn7",
- "minHeight": 460.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": false,
- "widgetName": "update_button",
- "rightColumn": 63.0,
- "onClick": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "4gnygu5jew",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 42.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Update"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_update_button",
- "rightColumn": 42.0,
- "onClick": "",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03b365",
- "widgetId": "twwgpz5wfu",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 28.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Reset"
- }, {
- "isRequired": true,
- "widgetName": "update_col_2",
- "rightColumn": 63.0,
- "widgetId": "in8e51pg3y",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.option_name}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_3",
- "rightColumn": 63.0,
- "widgetId": "mlhvfasf31",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.option_value}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_4",
- "rightColumn": 63.0,
- "widgetId": "0lz9vhcnr0",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.autoload}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text9",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "4hnz8ktmz5",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "fontSize": "HEADING1",
- "text": "Update Row: {{Table1.selectedRow.option_id}}"
- }, {
- "widgetName": "Text17",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "afzzc7q8af",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "option_name:"
- }, {
- "widgetName": "Text18",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "xqcsd2e5dj",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "option_value:"
- }, {
- "widgetName": "Text19",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "l109ilp3vq",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "autoload:"
- }]
- }]
- }]
- },
- "layoutOnLoadActions": [
- [{
- "id": "WP Options_SelectQuery",
- "name": "SelectQuery",
- "pluginType": "DB",
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "timeoutInMillisecond": 10000.0
- }]
- ],
- "validOnPageLoadActions": true,
- "id": "WP Options",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- }],
- "userPermissions": [],
- "policies": [],
- "isHidden": false
- },
- "publishedPage": {
- "name": "WP Options",
- "slug": "wp-options",
- "layouts": [{
- "viewMode": false,
- "dsl": {
- "widgetName": "MainContainer",
- "backgroundColor": "none",
- "rightColumn": 1280.0,
- "snapColumns": 64.0,
- "detachFromLayout": true,
- "widgetId": "0",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "containerStyle": "none",
- "snapRows": 125.0,
- "parentRowSpace": 1.0,
- "type": "CANVAS_WIDGET",
- "canExtend": true,
- "version": 51.0,
- "minHeight": 900.0,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "dynamicBindingPathList": [],
- "leftColumn": 0.0,
- "children": [{
- "backgroundColor": "#FFFFFF",
- "widgetName": "Container1",
- "rightColumn": 40.0,
- "widgetId": "mvubsemxfo",
- "containerStyle": "card",
- "topRow": 0.0,
- "bottomRow": 87.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "CONTAINER_WIDGET",
- "version": 1.0,
- "parentId": "0",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "leftColumn": 0.0,
- "children": [{
- "widgetName": "Canvas1",
- "rightColumn": 632.0,
- "detachFromLayout": true,
- "widgetId": "59rw5mx0bq",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 890.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "mvubsemxfo",
- "minHeight": 870.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Table1",
- "columnOrder": ["option_id", "option_name", "option_value", "autoload", "customColumn1"],
- "dynamicPropertyPathList": [{
- "key": "onPageChange"
- }],
- "isVisibleDownload": true,
- "topRow": 10.0,
- "bottomRow": 86.0,
- "parentRowSpace": 10.0,
- "onPageChange": "{{SelectQuery.run()}}",
- "isSortable": true,
- "type": "TABLE_WIDGET",
- "defaultSelectedRow": "0",
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [{
- "key": "onPageChange"
- }, {
- "key": "primaryColumns.customColumn1.onClick"
- }, {
- "key": "onSearchTextChanged"
- }],
- "dynamicBindingPathList": [{
- "key": "primaryColumns.customColumn1.buttonLabel"
- }, {
- "key": "tableData"
- }, {
- "key": "primaryColumns.option_id.computedValue"
- }, {
- "key": "primaryColumns.option_name.computedValue"
- }, {
- "key": "primaryColumns.option_value.computedValue"
- }, {
- "key": "primaryColumns.autoload.computedValue"
- }],
- "leftColumn": 0.0,
- "primaryColumns": {
- "customColumn1": {
- "isCellVisible": true,
- "isDerived": true,
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}",
- "onClick": "{{showModal('Delete_Modal')}}",
- "textSize": "PARAGRAPH",
- "buttonColor": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "Delete",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "isDisabled": false,
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- },
- "option_id": {
- "index": 0.0,
- "width": 150.0,
- "id": "option_id",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "option_id",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_id))}}"
- },
- "option_name": {
- "index": 1.0,
- "width": 150.0,
- "id": "option_name",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "option_name",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_name))}}"
- },
- "option_value": {
- "index": 2.0,
- "width": 150.0,
- "id": "option_value",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "option_value",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.option_value))}}"
- },
- "autoload": {
- "index": 3.0,
- "width": 150.0,
- "id": "autoload",
- "horizontalAlignment": "LEFT",
- "verticalAlignment": "CENTER",
- "columnType": "text",
- "textSize": "PARAGRAPH",
- "enableFilter": true,
- "enableSort": true,
- "isVisible": true,
- "isDisabled": false,
- "isCellVisible": true,
- "isDerived": false,
- "label": "autoload",
- "computedValue": "{{Table1.sanitizedTableData.map((currentRow) => ( currentRow.autoload))}}"
- }
- },
- "delimiter": ",",
- "derivedColumns": {
- "customColumn1": {
- "isDerived": true,
- "computedValue": "",
- "onClick": "{{DeleteQuery.run()}}",
- "textSize": "PARAGRAPH",
- "buttonStyle": "#DD4B34",
- "index": 7.0,
- "isVisible": true,
- "label": "customColumn1",
- "buttonLabel": "{{Table1.sanitizedTableData.map((currentRow) => { return 'Delete'})}}",
- "columnType": "button",
- "horizontalAlignment": "LEFT",
- "width": 150.0,
- "enableFilter": true,
- "enableSort": true,
- "id": "customColumn1",
- "buttonLabelColor": "#FFFFFF",
- "verticalAlignment": "CENTER"
- }
- },
- "rightColumn": 64.0,
- "textSize": "PARAGRAPH",
- "widgetId": "jabdu9f16g",
- "isVisibleFilters": true,
- "tableData": "",
- "isVisible": "true",
- "label": "Data",
- "searchKey": "",
- "version": 3.0,
- "parentId": "59rw5mx0bq",
- "serverSidePaginationEnabled": true,
- "isLoading": false,
- "isVisibleCompactMode": true,
- "onSearchTextChanged": "{{SelectQuery.run()}}",
- "horizontalAlignment": "LEFT",
- "isVisibleSearch": true,
- "isVisiblePagination": true,
- "verticalAlignment": "CENTER",
- "columnSizeMap": {
- "task": 245.0,
- "deliveryAddress": 170.0,
- "step": 62.0,
- "id": 228.0,
- "status": 75.0
- }
- }, {
- "isRequired": false,
- "widgetName": "col_select",
- "isFilterable": true,
- "rightColumn": 22.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "asmgosgxjm",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "option_id",
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 7.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n{\n\t\"label\": \"autoload\",\n\t\"value\": \"autoload\"\n}, \n{\n\t\"label\": \"option_name\",\n\t\"value\": \"option_name\"\n}, \n{\n\t\"label\": \"option_value\",\n\t\"value\": \"option_value\"\n}, \n{\n\t\"label\": \"option_id\",\n\t\"value\": \"option_id\"\n}]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text15",
- "rightColumn": 7.0,
- "textAlign": "LEFT",
- "widgetId": "l8pgl90klz",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Order By :"
- }, {
- "isRequired": false,
- "widgetName": "order_select",
- "isFilterable": true,
- "rightColumn": 33.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "10v8a19m25",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{SelectQuery.data.length > 0}}",
- "label": "",
- "type": "DROP_DOWN_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "defaultOptionValue": "ASC",
- "parentColumnSpace": 19.75,
- "dynamicTriggerPathList": [{
- "key": "onOptionChange"
- }],
- "leftColumn": 22.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "options": "[\n {\n \"label\": \"Ascending\",\n \"value\": \"ASC\"\n },\n {\n \"label\": \"Descending\",\n \"value\": \"DESC\"\n }\n]",
- "onOptionChange": "{{SelectQuery.run()}}",
- "isDisabled": false
- }, {
- "widgetName": "Text16",
- "rightColumn": 64.0,
- "textAlign": "LEFT",
- "widgetId": "urzv99hdc8",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 11.78515625,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "perf_options Data"
- }, {
- "boxShadow": "NONE",
- "widgetName": "refresh_btn",
- "rightColumn": 64.0,
- "onClick": "{{SelectQuery.run()}}",
- "iconName": "refresh",
- "buttonColor": "#03B365",
- "widgetId": "2jj0197tff",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 60.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }, {
- "boxShadow": "NONE",
- "widgetName": "add_btn",
- "rightColumn": 60.0,
- "onClick": "{{showModal('Insert_Modal')}}",
- "iconName": "add",
- "buttonColor": "#03B365",
- "widgetId": "kby34l9nbb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "ICON_BUTTON_WIDGET",
- "version": 1.0,
- "parentId": "59rw5mx0bq",
- "isLoading": false,
- "parentColumnSpace": 12.0703125,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "borderRadius": "CIRCLE",
- "leftColumn": 56.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "TERTIARY",
- "isDisabled": false
- }]
- }]
- }, {
- "widgetName": "Delete_Modal",
- "rightColumn": 45.0,
- "detachFromLayout": true,
- "widgetId": "i3whp03wf0",
- "topRow": 13.0,
- "bottomRow": 37.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas3",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "zi8fjakv8o",
- "topRow": 0.0,
- "bottomRow": 230.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "i3whp03wf0",
- "shouldScrollContents": false,
- "minHeight": 240.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Alert_text",
- "rightColumn": 41.0,
- "textAlign": "LEFT",
- "widgetId": "reyoxo4oec",
- "topRow": 1.0,
- "bottomRow": 5.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Delete Row"
- }, {
- "widgetName": "Button1",
- "rightColumn": 46.0,
- "onClick": "{{closeModal('Delete_Modal')}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "lryg8kw537",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 34.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Cancel",
- "isDisabled": false
- }, {
- "widgetName": "Delete_Button",
- "rightColumn": 64.0,
- "onClick": "{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#F22B2B",
- "widgetId": "qq02lh7ust",
- "topRow": 17.0,
- "bottomRow": 21.0,
- "isVisible": "true",
- "type": "BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "leftColumn": 48.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Confirm",
- "isDisabled": false
- }, {
- "widgetName": "Text12",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "48uac29g6e",
- "topRow": 8.0,
- "bottomRow": 12.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "zi8fjakv8o",
- "isLoading": false,
- "parentColumnSpace": 6.875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "Are you sure you want to delete this item?"
- }],
- "isDisabled": false
- }],
- "width": 456.0,
- "height": 240.0
- }, {
- "widgetName": "Insert_Modal",
- "rightColumn": 41.0,
- "detachFromLayout": true,
- "widgetId": "vmorzie6eq",
- "topRow": 16.0,
- "bottomRow": 40.0,
- "parentRowSpace": 10.0,
- "canOutsideClickClose": true,
- "type": "MODAL_WIDGET",
- "canEscapeKeyClose": true,
- "version": 2.0,
- "parentId": "0",
- "shouldScrollContents": false,
- "isLoading": false,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 17.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas4",
- "rightColumn": 453.1875,
- "detachFromLayout": true,
- "widgetId": "9rhv3ioohq",
- "topRow": 0.0,
- "bottomRow": 610.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": true,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "vmorzie6eq",
- "shouldScrollContents": false,
- "minHeight": 600.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Form2",
- "backgroundColor": "#F6F7F8",
- "rightColumn": 64.0,
- "widgetId": "1ruewbc4ef",
- "topRow": 0.0,
- "bottomRow": 58.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "type": "FORM_WIDGET",
- "parentId": "9rhv3ioohq",
- "isLoading": false,
- "shouldScrollContents": false,
- "parentColumnSpace": 8.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "children": [{
- "widgetName": "Canvas5",
- "rightColumn": 224.0,
- "detachFromLayout": true,
- "widgetId": "tp9pui0e6y",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 570.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "1ruewbc4ef",
- "minHeight": 580.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": true,
- "widgetName": "insert_button",
- "rightColumn": 62.0,
- "onClick": "{{InsertQuery.run(() => SelectQuery.run(() => closeModal('Insert_Modal')))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [{
- "key": "onClick"
- }],
- "buttonColor": "#03B365",
- "widgetId": "h8vxf3oh4s",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 43.0,
- "dynamicBindingPathList": [],
- "googleRecaptchaKey": "",
- "buttonVariant": "PRIMARY",
- "text": "Submit"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_button",
- "rightColumn": 42.0,
- "onClick": "{{closeModal('Insert_Modal')}}",
- "isDefaultClickDisabled": true,
- "buttonColor": "#03B365",
- "widgetId": "o23gs26wm5",
- "topRow": 51.0,
- "bottomRow": 55.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 29.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Close"
- }, {
- "widgetName": "Text21",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "cfmxebyn06",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "option_id:"
- }, {
- "isRequired": false,
- "widgetName": "insert_col_input1",
- "rightColumn": 62.0,
- "widgetId": "h1wbbv7alb",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "Autogenerated Field",
- "isDisabled": true,
- "validation": "true"
- }, {
- "widgetName": "Text22",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "jsffaxrqhw",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 2.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "option_name:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input2",
- "rightColumn": 62.0,
- "widgetId": "6enalyprua",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "defaultText": "",
- "placeholderText": "option_name",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text23",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "btk60uozsm",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 7.6865234375,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "option_value:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input3",
- "rightColumn": 62.0,
- "widgetId": "e490gfts69",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "option_value",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text14",
- "rightColumn": 19.0,
- "textAlign": "RIGHT",
- "widgetId": "8fm60omwwv",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "leftColumn": 3.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "autoload:"
- }, {
- "isRequired": true,
- "widgetName": "insert_col_input4",
- "rightColumn": 62.0,
- "widgetId": "r55cydp0ao",
- "topRow": 26.0,
- "bottomRow": 30.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "parentColumnSpace": 8.0625,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 21.0,
- "dynamicBindingPathList": [],
- "inputType": "TEXT",
- "placeholderText": "autoload",
- "defaultText": "",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text13Copy",
- "rightColumn": 35.0,
- "textAlign": "LEFT",
- "widgetId": "18x7vdv3gs",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "shouldScroll": false,
- "parentId": "tp9pui0e6y",
- "isLoading": false,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "fontSize": "HEADING1",
- "text": "Insert Row"
- }]
- }]
- }],
- "isDisabled": false
- }],
- "width": 532.0,
- "height": 600.0
- }, {
- "widgetName": "Form1",
- "backgroundColor": "white",
- "rightColumn": 64.0,
- "dynamicPropertyPathList": [{
- "key": "isVisible"
- }],
- "widgetId": "m7dvlazbn7",
- "topRow": 0.0,
- "bottomRow": 46.0,
- "parentRowSpace": 10.0,
- "isVisible": "{{!!Table1.selectedRow.option_id}}",
- "type": "FORM_WIDGET",
- "parentId": "0",
- "isLoading": false,
- "shouldScrollContents": true,
- "parentColumnSpace": 18.8828125,
- "dynamicTriggerPathList": [],
- "leftColumn": 40.0,
- "dynamicBindingPathList": [{
- "key": "isVisible"
- }],
- "children": [{
- "widgetName": "Canvas2",
- "rightColumn": 528.71875,
- "detachFromLayout": true,
- "widgetId": "cicukwhp5j",
- "containerStyle": "none",
- "topRow": 0.0,
- "bottomRow": 450.0,
- "parentRowSpace": 1.0,
- "isVisible": "true",
- "canExtend": false,
- "type": "CANVAS_WIDGET",
- "version": 1.0,
- "parentId": "m7dvlazbn7",
- "minHeight": 460.0,
- "isLoading": false,
- "parentColumnSpace": 1.0,
- "dynamicTriggerPathList": [],
- "leftColumn": 0.0,
- "dynamicBindingPathList": [],
- "children": [{
- "resetFormOnClick": false,
- "widgetName": "update_button",
- "rightColumn": 63.0,
- "onClick": "{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating resource!','error'))}}",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03B365",
- "widgetId": "4gnygu5jew",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": true,
- "leftColumn": 42.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "PRIMARY",
- "text": "Update"
- }, {
- "resetFormOnClick": true,
- "widgetName": "reset_update_button",
- "rightColumn": 42.0,
- "onClick": "",
- "isDefaultClickDisabled": true,
- "dynamicPropertyPathList": [],
- "buttonColor": "#03b365",
- "widgetId": "twwgpz5wfu",
- "topRow": 39.0,
- "bottomRow": 43.0,
- "isVisible": "true",
- "type": "FORM_BUTTON_WIDGET",
- "version": 1.0,
- "recaptchaType": "V3",
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "dynamicTriggerPathList": [{
- "key": "onClick"
- }],
- "disabledWhenInvalid": false,
- "leftColumn": 28.0,
- "dynamicBindingPathList": [],
- "buttonVariant": "SECONDARY",
- "text": "Reset"
- }, {
- "isRequired": true,
- "widgetName": "update_col_2",
- "rightColumn": 63.0,
- "widgetId": "in8e51pg3y",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.option_name}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_3",
- "rightColumn": 63.0,
- "widgetId": "mlhvfasf31",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.option_value}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "isRequired": true,
- "widgetName": "update_col_4",
- "rightColumn": 63.0,
- "widgetId": "0lz9vhcnr0",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "label": "",
- "type": "INPUT_WIDGET",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "resetOnSubmit": true,
- "leftColumn": 19.0,
- "dynamicBindingPathList": [{
- "key": "defaultText"
- }],
- "inputType": "TEXT",
- "defaultText": "{{Table1.selectedRow.autoload}}",
- "isDisabled": false,
- "validation": "true"
- }, {
- "widgetName": "Text9",
- "rightColumn": 63.0,
- "textAlign": "LEFT",
- "widgetId": "4hnz8ktmz5",
- "topRow": 0.0,
- "bottomRow": 4.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 8.8963623046875,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [{
- "key": "text"
- }],
- "fontSize": "HEADING1",
- "text": "Update Row: {{Table1.selectedRow.option_id}}"
- }, {
- "widgetName": "Text17",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "afzzc7q8af",
- "topRow": 5.0,
- "bottomRow": 9.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "option_name:"
- }, {
- "widgetName": "Text18",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "xqcsd2e5dj",
- "topRow": 12.0,
- "bottomRow": 16.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "option_value:"
- }, {
- "widgetName": "Text19",
- "rightColumn": 18.0,
- "textAlign": "RIGHT",
- "widgetId": "l109ilp3vq",
- "topRow": 19.0,
- "bottomRow": 23.0,
- "parentRowSpace": 10.0,
- "isVisible": "true",
- "fontStyle": "BOLD",
- "type": "TEXT_WIDGET",
- "textColor": "#231F20",
- "version": 1.0,
- "parentId": "cicukwhp5j",
- "isLoading": false,
- "parentColumnSpace": 7.15625,
- "dynamicTriggerPathList": [],
- "leftColumn": 1.0,
- "dynamicBindingPathList": [],
- "fontSize": "PARAGRAPH",
- "text": "autoload:"
- }]
- }]
- }]
- },
- "layoutOnLoadActions": [
- [{
- "id": "WP Options_SelectQuery",
- "name": "SelectQuery",
- "pluginType": "DB",
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "timeoutInMillisecond": 10000.0
- }]
- ],
- "validOnPageLoadActions": true,
- "id": "WP Options",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- }],
- "userPermissions": [],
- "policies": [],
- "isHidden": false
- },
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3add7345f0c36171f8d59"
- }],
- "actionList": [{
- "pluginType": "DB",
- "pluginId": "postgres-plugin",
- "unpublishedAction": {
- "name": "UpdateQuery",
- "datasource": {
- "pluginId": "postgres-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "id": "PostgresGolden",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "UPDATE perf_posts SET\n\t\tpost_title = '{{title.text}}',\n\t\tpost_excerpt = '{{excerpt.text}}',\n\t\tpost_author = '{{author.selectedOptionValue}}',\n\t\tpost_status = '{{p_status.selectedOptionValue}}'\n \n WHERE id = {{Table1.selectedRow.id}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "dynamicBindingPathList": [{
- "key": "body"
- }],
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.selectedRow.id", "title.text", "author.selectedOptionValue", "excerpt.text", "p_status.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "UpdateQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "UPDATE perf_posts SET\n\t\tpost_title = '{{title.text}}',\n\t\tpost_excerpt = '{{excerpt.text}}',\n\t\tpost_author = '{{author.selectedOptionValue}}',\n\t\tpost_status = '{{p_status.selectedOptionValue}}'\n \n WHERE ID = {{Table1.selectedRow.ID}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "dynamicBindingPathList": [{
- "key": "body"
- }],
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.selectedRow.ID", "title.text", "author.selectedOptionValue", "excerpt.text", "p_status.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Blog_UpdateQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61efc19939a0da5942775f12"
- }, {
- "pluginType": "DB",
- "pluginId": "postgres-plugin",
- "unpublishedAction": {
- "name": "SelectQuery",
- "datasource": {
- "name": "PostgresGolden",
- "pluginId": "postgres-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "id": "PostgresGolden",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "select * from perf_posts \nINNER JOIN perf_term_relationships ON perf_posts.ID= perf_term_relationships.object_id\nwhere perf_term_relationships.term_taxonomy_id in ({{categories.selectedOptionValues.reduce((str,value)=>`${str},${value}`,'0')}})\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};\n\n\n\n\n\n\n\n\n",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "dynamicBindingPathList": [{
- "key": "body"
- }],
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "categories.selectedOptionValues.reduce((str,value)=>`${str},${value}`,'0')", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "SelectQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "\n\n\nselect * from perf_posts \nINNER JOIN perf_term_relationships ON perf_posts.ID= perf_term_relationships.object_id\nwhere perf_term_relationships.term_taxonomy_id in ({{categories.selectedOptionValues.reduce((str,value)=>`${str},${value}`,'0')}})\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};\n\n\n\n\n\n\n\n\n",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "dynamicBindingPathList": [{
- "key": "body"
- }],
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "categories.selectedOptionValues.reduce((str,value)=>`${str},${value}`,'0')", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Blog_SelectQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61efc19939a0da5942775f14"
- }, {
- "pluginType": "DB",
- "pluginId": "postgres-plugin",
- "unpublishedAction": {
- "name": "DeleteQuery",
- "datasource": {
- "pluginId": "postgres-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "id": "PostgresGolden",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "DELETE FROM perf_posts\n WHERE id = {{Table1.triggeredRow.id}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "dynamicBindingPathList": [{
- "key": "body"
- }],
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.triggeredRow.id"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "DeleteQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "DELETE FROM perf_posts\n WHERE ID = {{Table1.triggeredRow.ID}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.triggeredRow.ID"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Blog_DeleteQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61efc19939a0da5942775f13"
- }, {
- "pluginType": "DB",
- "pluginId": "postgres-plugin",
- "unpublishedAction": {
- "name": "InsertQuery",
- "datasource": {
- "pluginId": "postgres-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "id": "PostgresGolden",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "INSERT INTO perf_posts (\n\tguid, \n\tpost_author,\n\tpost_date, \n\tpost_date_gmt\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "dynamicBindingPathList": [],
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["insert_col_input5.text", "insert_col_input4.text", "insert_col_input3.text", "insert_col_input2.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "InsertQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "INSERT INTO perf_posts (\n\tguid, \n\tpost_author,\n\tpost_date, \n\tpost_date_gmt\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["insert_col_input5.text", "insert_col_input4.text", "insert_col_input3.text", "insert_col_input2.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Blog_InsertQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61efc19939a0da5942775f16"
- }, {
- "pluginType": "DB",
- "pluginId": "postgres-plugin",
- "unpublishedAction": {
- "name": "GetCategories",
- "datasource": {
- "name": "PostgresGolden",
- "pluginId": "postgres-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "id": "PostgresGolden",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT term_id,name FROM perf_terms ORDER BY term_id;\n",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": true,
- "dynamicBindingPathList": [],
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": [],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "GetCategories",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT term_id,name FROM perf_terms;\n",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": true,
- "dynamicBindingPathList": [],
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": [],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Blog_GetCategories",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61efe23d3b61bf7f582f1826"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "SelectQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Users",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT * FROM perf_users\nWHERE user_login like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "SelectQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Users",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT * FROM perf_users\nWHERE user_login like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Users_SelectQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61eff4a53b61bf7f582f1833"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "InsertQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Users",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "INSERT INTO perf_users (\n\tuser_login, \n\tuser_pass,\n\tuser_nicename, \n\tuser_email\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["insert_col_input5.text", "insert_col_input4.text", "insert_col_input3.text", "insert_col_input2.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "InsertQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Users",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "INSERT INTO perf_users (\n\tuser_login, \n\tuser_pass,\n\tuser_nicename, \n\tuser_email\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["insert_col_input5.text", "insert_col_input4.text", "insert_col_input3.text", "insert_col_input2.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Users_InsertQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61eff4a53b61bf7f582f1836"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "DeleteQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Users",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "DELETE FROM perf_users\n WHERE ID = {{Table1.triggeredRow.ID}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.triggeredRow.ID"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "DeleteQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Users",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "DELETE FROM perf_users\n WHERE ID = {{Table1.triggeredRow.ID}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.triggeredRow.ID"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Users_DeleteQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61eff4a53b61bf7f582f1835"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "UpdateQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Users",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "UPDATE perf_users SET\n\t\tuser_login = '{{update_col_2.text}}',\n user_pass = '{{update_col_3.text}}',\n user_nicename = '{{update_col_4.text}}',\n user_email = '{{update_col_5.text}}'\n WHERE ID = {{Table1.selectedRow.ID}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["update_col_3.text", "update_col_2.text", "Table1.selectedRow.ID", "update_col_5.text", "update_col_4.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "UpdateQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Users",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "UPDATE perf_users SET\n\t\tuser_login = '{{update_col_2.text}}',\n user_pass = '{{update_col_3.text}}',\n user_nicename = '{{update_col_4.text}}',\n user_email = '{{update_col_5.text}}'\n WHERE ID = {{Table1.selectedRow.ID}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["update_col_3.text", "update_col_2.text", "Table1.selectedRow.ID", "update_col_5.text", "update_col_4.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Users_UpdateQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61eff4a53b61bf7f582f1834"
- }, {
- "pluginType": "DB",
- "pluginId": "postgres-plugin",
- "unpublishedAction": {
- "name": "GetComments",
- "datasource": {
- "pluginId": "postgres-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "id": "PostgresGolden",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT * FROM perf_comments where comment_post_id = {{Table1.selectedRow.id}} ORDER BY comment_id LIMIT 10;\n",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "dynamicBindingPathList": [{
- "key": "body"
- }],
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.selectedRow.id"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "GetComments",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT * FROM perf_comments where comment_post_ID = {{Table1.selectedRow.ID}} ORDER BY comment_ID LIMIT 10;\n",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "dynamicBindingPathList": [{
- "key": "body"
- }],
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.selectedRow.ID"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Blog_GetComments",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f242880dcb6f75e86b5e78"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "InsertQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Comments",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "INSERT INTO perf_comments (\n\tcomment_author_email, \n\tcomment_post_ID,\n\tcomment_author, \n\tcomment_author_url\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["insert_col_input5.text", "insert_col_input4.text", "insert_col_input3.text", "insert_col_input2.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "InsertQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Comments",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "INSERT INTO perf_comments (\n\tcomment_author_email, \n\tcomment_post_ID,\n\tcomment_author, \n\tcomment_author_url\n)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}}, \n\t\t\t\t{{insert_col_input5.text}}\n);",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["insert_col_input5.text", "insert_col_input4.text", "insert_col_input3.text", "insert_col_input2.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Comments_InsertQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3adb1345f0c36171f8d4e"
- }, {
- "pluginType": "DB",
- "pluginId": "postgres-plugin",
- "unpublishedAction": {
- "name": "GetUsers",
- "datasource": {
- "pluginId": "postgres-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "id": "PostgresGolden",
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT * FROM perf_users\nWHERE user_login like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "dynamicBindingPathList": [],
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "GetUsers",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Blog",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT * FROM perf_users\nWHERE user_login like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Blog_GetUsers",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61eff4d73b61bf7f582f183b"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "UpdateQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Comments",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "UPDATE perf_comments SET\n\t\tcomment_author_email = '{{update_col_2.text}}',\n comment_post_ID = '{{update_col_3.text}}',\n comment_author = '{{update_col_4.text}}',\n comment_author_url = '{{update_col_5.text}}'\n WHERE comment_ID = {{Table1.selectedRow.comment_ID}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["update_col_3.text", "Table1.selectedRow.comment_ID", "update_col_2.text", "update_col_5.text", "update_col_4.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "UpdateQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Comments",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "UPDATE perf_comments SET\n\t\tcomment_author_email = '{{update_col_2.text}}',\n comment_post_ID = '{{update_col_3.text}}',\n comment_author = '{{update_col_4.text}}',\n comment_author_url = '{{update_col_5.text}}'\n WHERE comment_ID = {{Table1.selectedRow.comment_ID}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["update_col_3.text", "Table1.selectedRow.comment_ID", "update_col_2.text", "update_col_5.text", "update_col_4.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Comments_UpdateQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3adb1345f0c36171f8d51"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "DeleteQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Comments",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "DELETE FROM perf_comments\n WHERE comment_ID = {{Table1.triggeredRow.comment_ID}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.triggeredRow.comment_ID"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "DeleteQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Comments",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "DELETE FROM perf_comments\n WHERE comment_ID = {{Table1.triggeredRow.comment_ID}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.triggeredRow.comment_ID"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Comments_DeleteQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3adb1345f0c36171f8d4f"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "SelectQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Comments",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT * FROM perf_comments\nWHERE comment_author_email like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "SelectQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Comments",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT * FROM perf_comments\nWHERE comment_author_email like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Comments_SelectQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3adb1345f0c36171f8d50"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "InsertQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "WP Options",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "INSERT INTO perf_options (\n\toption_name, \n\toption_value,\n\tautoload)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}});",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["insert_col_input4.text", "insert_col_input3.text", "insert_col_input2.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "InsertQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "WP Options",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "INSERT INTO perf_options (\n\toption_name, \n\toption_value,\n\tautoload)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}});",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["insert_col_input4.text", "insert_col_input3.text", "insert_col_input2.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "WP Options_InsertQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3ae03345f0c36171f8d5c"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "DeleteQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "WP Options",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "DELETE FROM perf_options\n WHERE option_id = {{Table1.triggeredRow.option_id}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.triggeredRow.option_id"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "DeleteQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "WP Options",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "DELETE FROM perf_options\n WHERE option_id = {{Table1.triggeredRow.option_id}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.triggeredRow.option_id"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "WP Options_DeleteQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3ae03345f0c36171f8d5b"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "SelectQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "WP Options",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT * FROM perf_options\nWHERE option_name like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "SelectQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "WP Options",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT * FROM perf_options\nWHERE option_name like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "WP Options_SelectQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3ae03345f0c36171f8d5f"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "UpdateQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "WP Options",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "UPDATE perf_options SET\n\t\toption_name = '{{update_col_2.text}}',\n option_value = '{{update_col_3.text}}',\n autoload = '{{update_col_4.text}}'\nWHERE option_id = {{Table1.selectedRow.option_id}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["update_col_3.text", "Table1.selectedRow.option_id", "update_col_2.text", "update_col_4.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "UpdateQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "WP Options",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "UPDATE perf_options SET\n\t\toption_name = '{{update_col_2.text}}',\n option_value = '{{update_col_3.text}}',\n autoload = '{{update_col_4.text}}'\nWHERE option_id = {{Table1.selectedRow.option_id}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["update_col_3.text", "Table1.selectedRow.option_id", "update_col_2.text", "update_col_4.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "WP Options_UpdateQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3ae03345f0c36171f8d5d"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "InsertQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Post Meta",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "INSERT INTO perf_postmeta (\n\tmeta_key, \n\tpost_id,\n\tmeta_value)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}});",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["insert_col_input4.text", "insert_col_input3.text", "insert_col_input2.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "InsertQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Post Meta",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "INSERT INTO perf_postmeta (\n\tmeta_key, \n\tpost_id,\n\tmeta_value)\nVALUES (\n\t\t\t\t{{insert_col_input2.text}}, \n\t\t\t\t{{insert_col_input3.text}}, \n\t\t\t\t{{insert_col_input4.text}});",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["insert_col_input4.text", "insert_col_input3.text", "insert_col_input2.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Post Meta_InsertQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3ae36345f0c36171f8d66"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "DeleteQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Post Meta",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "DELETE FROM perf_postmeta\n WHERE meta_id = {{Table1.triggeredRow.meta_id}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.triggeredRow.meta_id"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "DeleteQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Post Meta",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "DELETE FROM perf_postmeta\n WHERE meta_id = {{Table1.triggeredRow.meta_id}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["Table1.triggeredRow.meta_id"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Post Meta_DeleteQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3ae36345f0c36171f8d68"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "UpdateQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Post Meta",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "UPDATE perf_postmeta SET\n\t\tmeta_key = '{{update_col_2.text}}',\n post_id = '{{update_col_3.text}}',\n meta_value = '{{update_col_4.text}}'\nWHERE meta_id = {{Table1.selectedRow.meta_id}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["update_col_3.text", "update_col_2.text", "Table1.selectedRow.meta_id", "update_col_4.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "UpdateQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Post Meta",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "UPDATE perf_postmeta SET\n\t\tmeta_key = '{{update_col_2.text}}',\n post_id = '{{update_col_3.text}}',\n meta_value = '{{update_col_4.text}}'\nWHERE meta_id = {{Table1.selectedRow.meta_id}};",
- "pluginSpecifiedTemplates": [{
- "value": true
- }]
- },
- "executeOnLoad": false,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["update_col_3.text", "update_col_2.text", "Table1.selectedRow.meta_id", "update_col_4.text"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Post Meta_UpdateQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3ae36345f0c36171f8d67"
- }, {
- "pluginType": "DB",
- "pluginId": "mysql-plugin",
- "unpublishedAction": {
- "name": "SelectQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Post Meta",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT * FROM perf_postmeta\nWHERE meta_key like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "publishedAction": {
- "name": "SelectQuery",
- "datasource": {
- "pluginId": "mysql-plugin",
- "messages": [],
- "isAutoGenerated": false,
- "deleted": false,
- "policies": [],
- "userPermissions": []
- },
- "pageId": "Post Meta",
- "actionConfiguration": {
- "timeoutInMillisecond": 10000.0,
- "paginationType": "NONE",
- "encodeParamsToggle": true,
- "body": "SELECT * FROM perf_postmeta\nWHERE meta_key like '%{{Table1.searchText || \"\"}}%'\nORDER BY {{col_select.selectedOptionValue}} {{order_select.selectedOptionValue}}\nLIMIT {{Table1.pageSize}}\nOFFSET {{(Table1.pageNo - 1) * Table1.pageSize}};",
- "pluginSpecifiedTemplates": [{
- "value": false
- }]
- },
- "executeOnLoad": true,
- "isValid": true,
- "invalids": [],
- "messages": [],
- "jsonPathKeys": ["(Table1.pageNo - 1) * Table1.pageSize", "Table1.searchText || \"\"", "col_select.selectedOptionValue", "Table1.pageSize", "order_select.selectedOptionValue"],
- "userSetOnLoad": false,
- "confirmBeforeExecute": false,
- "policies": [],
- "userPermissions": []
- },
- "id": "Post Meta_SelectQuery",
- "deleted": false,
- "gitSyncId": "61efc0f939a0da5942775f01_61f3ae36345f0c36171f8d6a"
- }],
- "actionCollectionList": [],
- "updatedResources": {
- "actionList": ["UpdateQuery##ENTITY_SEPARATOR##Post Meta", "SelectQuery##ENTITY_SEPARATOR##Users", "DeleteQuery##ENTITY_SEPARATOR##WP Options", "GetComments##ENTITY_SEPARATOR##Blog", "UpdateQuery##ENTITY_SEPARATOR##WP Options", "DeleteQuery##ENTITY_SEPARATOR##Blog", "SelectQuery##ENTITY_SEPARATOR##Blog", "GetCategories##ENTITY_SEPARATOR##Blog", "GetUsers##ENTITY_SEPARATOR##Blog", "UpdateQuery##ENTITY_SEPARATOR##Blog", "DeleteQuery##ENTITY_SEPARATOR##Users", "InsertQuery##ENTITY_SEPARATOR##Comments", "InsertQuery##ENTITY_SEPARATOR##Post Meta", "UpdateQuery##ENTITY_SEPARATOR##Users", "UpdateQuery##ENTITY_SEPARATOR##Comments", "DeleteQuery##ENTITY_SEPARATOR##Comments", "DeleteQuery##ENTITY_SEPARATOR##Post Meta", "InsertQuery##ENTITY_SEPARATOR##WP Options", "InsertQuery##ENTITY_SEPARATOR##Blog", "InsertQuery##ENTITY_SEPARATOR##Users", "SelectQuery##ENTITY_SEPARATOR##Post Meta", "SelectQuery##ENTITY_SEPARATOR##Comments", "SelectQuery##ENTITY_SEPARATOR##WP Options"],
- "pageList": ["Comments", "Users", "WP Options", "Blog", "Post Meta"],
- "actionCollectionList": []
- },
- "editModeTheme": {
- "name": "Classic",
- "displayName": "Classic",
- "isSystemTheme": true,
- "deleted": false
- },
- "publishedTheme": {
- "name": "Classic",
- "displayName": "Classic",
- "isSystemTheme": true,
- "deleted": false
- }
-}
\ No newline at end of file
diff --git a/app/client/perf/tests/dsl/simple-typing.js b/app/client/perf/tests/dsl/simple-typing.js
deleted file mode 100644
index 2c041461b6a0..000000000000
--- a/app/client/perf/tests/dsl/simple-typing.js
+++ /dev/null
@@ -1,85 +0,0 @@
-exports.dsl = {
- dsl: {
- widgetName: "MainContainer",
- backgroundColor: "none",
- rightColumn: 1936,
- snapColumns: 64,
- detachFromLayout: true,
- widgetId: "0",
- topRow: 0,
- bottomRow: 1290,
- containerStyle: "none",
- snapRows: 125,
- parentRowSpace: 1,
- type: "CANVAS_WIDGET",
- canExtend: true,
- version: 46,
- minHeight: 1292,
- parentColumnSpace: 1,
- dynamicBindingPathList: [],
- leftColumn: 0,
- children: [
- {
- isVisible: true,
- text: "<h1>{{Input1.text}}</h1>",
- fontSize: "HEADING1",
- fontStyle: "BOLD",
- textAlign: "LEFT",
- textColor: "#231F20",
- widgetName: "Text1",
- version: 1,
- type: "TEXT_WIDGET",
- hideCard: false,
- displayName: "Text",
- key: "4ln743vbxf",
- iconSVG: "/static/media/icon.97c59b52.svg",
- widgetId: "oylox3e28e",
- renderMode: "CANVAS",
- isLoading: false,
- parentColumnSpace: 30.0625,
- parentRowSpace: 10,
- leftColumn: 1,
- rightColumn: 39,
- topRow: 16,
- bottomRow: 40,
- parentId: "0",
- dynamicBindingPathList: [
- {
- key: "text",
- },
- ],
- dynamicTriggerPathList: [],
- },
- {
- isVisible: true,
- inputType: "TEXT",
- label: "",
- widgetName: "Input1",
- version: 1,
- defaultText: "",
- iconAlign: "left",
- autoFocus: false,
- labelStyle: "",
- resetOnSubmit: true,
- isRequired: false,
- isDisabled: false,
- allowCurrencyChange: false,
- type: "INPUT_WIDGET",
- hideCard: false,
- displayName: "Input",
- key: "4xvbov2itw",
- iconSVG: "/static/media/icon.9f505595.svg",
- widgetId: "d454uqlxd0",
- renderMode: "CANVAS",
- isLoading: false,
- parentColumnSpace: 30.0625,
- parentRowSpace: 10,
- leftColumn: 1,
- rightColumn: 12,
- topRow: 9,
- bottomRow: 13,
- parentId: "0",
- },
- ],
- },
-};
diff --git a/app/client/perf/tests/dsl/stress-select-widget.json b/app/client/perf/tests/dsl/stress-select-widget.json
deleted file mode 100644
index 9383128419e7..000000000000
--- a/app/client/perf/tests/dsl/stress-select-widget.json
+++ /dev/null
@@ -1 +0,0 @@
-{"clientSchemaVersion":1,"serverSchemaVersion":3,"exportedApplication":{"name":"Stress select widget","isPublic":false,"appIsExample":false,"unreadCommentThreads":0,"color":"#D6D1F2","icon":"snowy-weather","slug":"stress-select-widget","evaluationVersion":2,"new":true},"datasourceList":[],"pageList":[{"userPermissions":["read:pages","manage:pages"],"gitSyncId":"623816609fa6862ae807c56a_623816609fa6862ae807c56c","unpublishedPage":{"name":"Page1","slug":"page1","layouts":[{"id":"Page1","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":5016,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":53,"minHeight":580,"parentColumnSpace":1,"dynamicBindingPathList":[],"leftColumn":0,"children":[{"widgetName":"Select1","isFilterable":true,"displayName":"Select","iconSVG":"/static/media/icon.bd99caba.svg","labelText":"","topRow":31,"bottomRow":35,"parentRowSpace":10,"type":"SELECT_WIDGET","serverSideFiltering":false,"hideCard":false,"defaultOptionValue":"0","animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"options":"[\n\t\t{\n \"label\": 0,\n \"value\": 0\n },\n {\n \"label\": 1,\n \"value\": 1\n },\n {\n \"label\": 2,\n \"value\": 2\n },\n {\n \"label\": 3,\n \"value\": 3\n },\n {\n \"label\": 4,\n \"value\": 4\n },\n {\n \"label\": 5,\n \"value\": 5\n },\n {\n \"label\": 6,\n \"value\": 6\n },\n {\n \"label\": 7,\n \"value\": 7\n },\n {\n \"label\": 8,\n \"value\": 8\n },\n {\n \"label\": 9,\n \"value\": 9\n },\n {\n \"label\": 10,\n \"value\": 10\n },\n {\n \"label\": 11,\n \"value\": 11\n },\n {\n \"label\": 12,\n \"value\": 12\n },\n {\n \"label\": 13,\n \"value\": 13\n },\n {\n \"label\": 14,\n \"value\": 14\n },\n {\n \"label\": 15,\n \"value\": 15\n },\n {\n \"label\": 16,\n \"value\": 16\n },\n {\n \"label\": 17,\n \"value\": 17\n },\n {\n \"label\": 18,\n \"value\": 18\n },\n {\n \"label\": 19,\n \"value\": 19\n },\n {\n \"label\": 20,\n \"value\": 20\n },\n {\n \"label\": 21,\n \"value\": 21\n },\n {\n \"label\": 22,\n \"value\": 22\n },\n {\n \"label\": 23,\n \"value\": 23\n },\n {\n \"label\": 24,\n \"value\": 24\n },\n {\n \"label\": 25,\n \"value\": 25\n },\n {\n \"label\": 26,\n \"value\": 26\n },\n {\n \"label\": 27,\n \"value\": 27\n },\n {\n \"label\": 28,\n \"value\": 28\n },\n {\n \"label\": 29,\n \"value\": 29\n },\n {\n \"label\": 30,\n \"value\": 30\n },\n {\n \"label\": 31,\n \"value\": 31\n },\n {\n \"label\": 32,\n \"value\": 32\n },\n {\n \"label\": 33,\n \"value\": 33\n },\n {\n \"label\": 34,\n \"value\": 34\n },\n {\n \"label\": 35,\n \"value\": 35\n },\n {\n \"label\": 36,\n \"value\": 36\n },\n {\n \"label\": 37,\n \"value\": 37\n },\n {\n \"label\": 38,\n \"value\": 38\n },\n {\n \"label\": 39,\n \"value\": 39\n },\n {\n \"label\": 40,\n \"value\": 40\n },\n {\n \"label\": 41,\n \"value\": 41\n },\n {\n \"label\": 42,\n \"value\": 42\n },\n {\n \"label\": 43,\n \"value\": 43\n },\n {\n \"label\": 44,\n \"value\": 44\n },\n {\n \"label\": 45,\n \"value\": 45\n },\n {\n \"label\": 46,\n \"value\": 46\n },\n {\n \"label\": 47,\n \"value\": 47\n },\n {\n \"label\": 48,\n \"value\": 48\n },\n {\n \"label\": 49,\n \"value\": 49\n },\n {\n \"label\": 50,\n \"value\": 50\n },\n {\n \"label\": 51,\n \"value\": 51\n },\n {\n \"label\": 52,\n \"value\": 52\n },\n {\n \"label\": 53,\n \"value\": 53\n },\n {\n \"label\": 54,\n \"value\": 54\n },\n {\n \"label\": 55,\n \"value\": 55\n },\n {\n \"label\": 56,\n \"value\": 56\n },\n {\n \"label\": 57,\n \"value\": 57\n },\n {\n \"label\": 58,\n \"value\": 58\n },\n {\n \"label\": 59,\n \"value\": 59\n },\n {\n \"label\": 60,\n \"value\": 60\n },\n {\n \"label\": 61,\n \"value\": 61\n },\n {\n \"label\": 62,\n \"value\": 62\n },\n {\n \"label\": 63,\n \"value\": 63\n },\n {\n \"label\": 64,\n \"value\": 64\n },\n {\n \"label\": 65,\n \"value\": 65\n },\n {\n \"label\": 66,\n \"value\": 66\n },\n {\n \"label\": 67,\n \"value\": 67\n },\n {\n \"label\": 68,\n \"value\": 68\n },\n {\n \"label\": 69,\n \"value\": 69\n },\n {\n \"label\": 70,\n \"value\": 70\n },\n {\n \"label\": 71,\n \"value\": 71\n },\n {\n \"label\": 72,\n \"value\": 72\n },\n {\n \"label\": 73,\n \"value\": 73\n },\n {\n \"label\": 74,\n \"value\": 74\n },\n {\n \"label\": 75,\n \"value\": 75\n },\n {\n \"label\": 76,\n \"value\": 76\n },\n {\n \"label\": 77,\n \"value\": 77\n },\n {\n \"label\": 78,\n \"value\": 78\n },\n {\n \"label\": 79,\n \"value\": 79\n },\n {\n \"label\": 80,\n \"value\": 80\n },\n {\n \"label\": 81,\n \"value\": 81\n },\n {\n \"label\": 82,\n \"value\": 82\n },\n {\n \"label\": 83,\n \"value\": 83\n },\n {\n \"label\": 84,\n \"value\": 84\n },\n {\n \"label\": 85,\n \"value\": 85\n },\n {\n \"label\": 86,\n \"value\": 86\n },\n {\n \"label\": 87,\n \"value\": 87\n },\n {\n \"label\": 88,\n \"value\": 88\n },\n {\n \"label\": 89,\n \"value\": 89\n },\n {\n \"label\": 90,\n \"value\": 90\n },\n {\n \"label\": 91,\n \"value\": 91\n },\n {\n \"label\": 92,\n \"value\": 92\n },\n {\n \"label\": 93,\n \"value\": 93\n },\n {\n \"label\": 94,\n \"value\": 94\n },\n {\n \"label\": 95,\n \"value\": 95\n },\n {\n \"label\": 96,\n \"value\": 96\n },\n {\n \"label\": 97,\n \"value\": 97\n },\n {\n \"label\": 98,\n \"value\": 98\n },\n {\n \"label\": 99,\n \"value\": 99\n },\n {\n \"label\": 100,\n \"value\": 100\n },\n {\n \"label\": 101,\n \"value\": 101\n },\n {\n \"label\": 102,\n \"value\": 102\n },\n {\n \"label\": 103,\n \"value\": 103\n },\n {\n \"label\": 104,\n \"value\": 104\n },\n {\n \"label\": 105,\n \"value\": 105\n },\n {\n \"label\": 106,\n \"value\": 106\n },\n {\n \"label\": 107,\n \"value\": 107\n },\n {\n \"label\": 108,\n \"value\": 108\n },\n {\n \"label\": 109,\n \"value\": 109\n },\n {\n \"label\": 110,\n \"value\": 110\n },\n {\n \"label\": 111,\n \"value\": 111\n },\n {\n \"label\": 112,\n \"value\": 112\n },\n {\n \"label\": 113,\n \"value\": 113\n },\n {\n \"label\": 114,\n \"value\": 114\n },\n {\n \"label\": 115,\n \"value\": 115\n },\n {\n \"label\": 116,\n \"value\": 116\n },\n {\n \"label\": 117,\n \"value\": 117\n },\n {\n \"label\": 118,\n \"value\": 118\n },\n {\n \"label\": 119,\n \"value\": 119\n },\n {\n \"label\": 120,\n \"value\": 120\n },\n {\n \"label\": 121,\n \"value\": 121\n },\n {\n \"label\": 122,\n \"value\": 122\n },\n {\n \"label\": 123,\n \"value\": 123\n },\n {\n \"label\": 124,\n \"value\": 124\n },\n {\n \"label\": 125,\n \"value\": 125\n },\n {\n \"label\": 126,\n \"value\": 126\n },\n {\n \"label\": 127,\n \"value\": 127\n },\n {\n \"label\": 128,\n \"value\": 128\n },\n {\n \"label\": 129,\n \"value\": 129\n },\n {\n \"label\": 130,\n \"value\": 130\n },\n {\n \"label\": 131,\n \"value\": 131\n },\n {\n \"label\": 132,\n \"value\": 132\n },\n {\n \"label\": 133,\n \"value\": 133\n },\n {\n \"label\": 134,\n \"value\": 134\n },\n {\n \"label\": 135,\n \"value\": 135\n },\n {\n \"label\": 136,\n \"value\": 136\n },\n {\n \"label\": 137,\n \"value\": 137\n },\n {\n \"label\": 138,\n \"value\": 138\n },\n {\n \"label\": 139,\n \"value\": 139\n },\n {\n \"label\": 140,\n \"value\": 140\n },\n {\n \"label\": 141,\n \"value\": 141\n },\n {\n \"label\": 142,\n \"value\": 142\n },\n {\n \"label\": 143,\n \"value\": 143\n },\n {\n \"label\": 144,\n \"value\": 144\n },\n {\n \"label\": 145,\n \"value\": 145\n },\n {\n \"label\": 146,\n \"value\": 146\n },\n {\n \"label\": 147,\n \"value\": 147\n },\n {\n \"label\": 148,\n \"value\": 148\n },\n {\n \"label\": 149,\n \"value\": 149\n },\n {\n \"label\": 150,\n \"value\": 150\n },\n {\n \"label\": 151,\n \"value\": 151\n },\n {\n \"label\": 152,\n \"value\": 152\n },\n {\n \"label\": 153,\n \"value\": 153\n },\n {\n \"label\": 154,\n \"value\": 154\n },\n {\n \"label\": 155,\n \"value\": 155\n },\n {\n \"label\": 156,\n \"value\": 156\n },\n {\n \"label\": 157,\n \"value\": 157\n },\n {\n \"label\": 158,\n \"value\": 158\n },\n {\n \"label\": 159,\n \"value\": 159\n },\n {\n \"label\": 160,\n \"value\": 160\n },\n {\n \"label\": 161,\n \"value\": 161\n },\n {\n \"label\": 162,\n \"value\": 162\n },\n {\n \"label\": 163,\n \"value\": 163\n },\n {\n \"label\": 164,\n \"value\": 164\n },\n {\n \"label\": 165,\n \"value\": 165\n },\n {\n \"label\": 166,\n \"value\": 166\n },\n {\n \"label\": 167,\n \"value\": 167\n },\n {\n \"label\": 168,\n \"value\": 168\n },\n {\n \"label\": 169,\n \"value\": 169\n },\n {\n \"label\": 170,\n \"value\": 170\n },\n {\n \"label\": 171,\n \"value\": 171\n },\n {\n \"label\": 172,\n \"value\": 172\n },\n {\n \"label\": 173,\n \"value\": 173\n },\n {\n \"label\": 174,\n \"value\": 174\n },\n {\n \"label\": 175,\n \"value\": 175\n },\n {\n \"label\": 176,\n \"value\": 176\n },\n {\n \"label\": 177,\n \"value\": 177\n },\n {\n \"label\": 178,\n \"value\": 178\n },\n {\n \"label\": 179,\n \"value\": 179\n },\n {\n \"label\": 180,\n \"value\": 180\n },\n {\n \"label\": 181,\n \"value\": 181\n },\n {\n \"label\": 182,\n \"value\": 182\n },\n {\n \"label\": 183,\n \"value\": 183\n },\n {\n \"label\": 184,\n \"value\": 184\n },\n {\n \"label\": 185,\n \"value\": 185\n },\n {\n \"label\": 186,\n \"value\": 186\n },\n {\n \"label\": 187,\n \"value\": 187\n },\n {\n \"label\": 188,\n \"value\": 188\n },\n {\n \"label\": 189,\n \"value\": 189\n },\n {\n \"label\": 190,\n \"value\": 190\n },\n {\n \"label\": 191,\n \"value\": 191\n },\n {\n \"label\": 192,\n \"value\": 192\n },\n {\n \"label\": 193,\n \"value\": 193\n },\n {\n \"label\": 194,\n \"value\": 194\n },\n {\n \"label\": 195,\n \"value\": 195\n },\n {\n \"label\": 196,\n \"value\": 196\n },\n {\n \"label\": 197,\n \"value\": 197\n },\n {\n \"label\": 198,\n \"value\": 198\n },\n {\n \"label\": 199,\n \"value\": 199\n },\n {\n \"label\": 200,\n \"value\": 200\n },\n {\n \"label\": 201,\n \"value\": 201\n },\n {\n \"label\": 202,\n \"value\": 202\n },\n {\n \"label\": 203,\n \"value\": 203\n },\n {\n \"label\": 204,\n \"value\": 204\n },\n {\n \"label\": 205,\n \"value\": 205\n },\n {\n \"label\": 206,\n \"value\": 206\n },\n {\n \"label\": 207,\n \"value\": 207\n },\n {\n \"label\": 208,\n \"value\": 208\n },\n {\n \"label\": 209,\n \"value\": 209\n },\n {\n \"label\": 210,\n \"value\": 210\n },\n {\n \"label\": 211,\n \"value\": 211\n },\n {\n \"label\": 212,\n \"value\": 212\n },\n {\n \"label\": 213,\n \"value\": 213\n },\n {\n \"label\": 214,\n \"value\": 214\n },\n {\n \"label\": 215,\n \"value\": 215\n },\n {\n \"label\": 216,\n \"value\": 216\n },\n {\n \"label\": 217,\n \"value\": 217\n },\n {\n \"label\": 218,\n \"value\": 218\n },\n {\n \"label\": 219,\n \"value\": 219\n },\n {\n \"label\": 220,\n \"value\": 220\n },\n {\n \"label\": 221,\n \"value\": 221\n },\n {\n \"label\": 222,\n \"value\": 222\n },\n {\n \"label\": 223,\n \"value\": 223\n },\n {\n \"label\": 224,\n \"value\": 224\n },\n {\n \"label\": 225,\n \"value\": 225\n },\n {\n \"label\": 226,\n \"value\": 226\n },\n {\n \"label\": 227,\n \"value\": 227\n },\n {\n \"label\": 228,\n \"value\": 228\n },\n {\n \"label\": 229,\n \"value\": 229\n },\n {\n \"label\": 230,\n \"value\": 230\n },\n {\n \"label\": 231,\n \"value\": 231\n },\n {\n \"label\": 232,\n \"value\": 232\n },\n {\n \"label\": 233,\n \"value\": 233\n },\n {\n \"label\": 234,\n \"value\": 234\n },\n {\n \"label\": 235,\n \"value\": 235\n },\n {\n \"label\": 236,\n \"value\": 236\n },\n {\n \"label\": 237,\n \"value\": 237\n },\n {\n \"label\": 238,\n \"value\": 238\n },\n {\n \"label\": 239,\n \"value\": 239\n },\n {\n \"label\": 240,\n \"value\": 240\n },\n {\n \"label\": 241,\n \"value\": 241\n },\n {\n \"label\": 242,\n \"value\": 242\n },\n {\n \"label\": 243,\n \"value\": 243\n },\n {\n \"label\": 244,\n \"value\": 244\n },\n {\n \"label\": 245,\n \"value\": 245\n },\n {\n \"label\": 246,\n \"value\": 246\n },\n {\n \"label\": 247,\n \"value\": 247\n },\n {\n \"label\": 248,\n \"value\": 248\n },\n {\n \"label\": 249,\n \"value\": 249\n },\n {\n \"label\": 250,\n \"value\": 250\n },\n {\n \"label\": 251,\n \"value\": 251\n },\n {\n \"label\": 252,\n \"value\": 252\n },\n {\n \"label\": 253,\n \"value\": 253\n },\n {\n \"label\": 254,\n \"value\": 254\n },\n {\n \"label\": 255,\n \"value\": 255\n },\n {\n \"label\": 256,\n \"value\": 256\n },\n {\n \"label\": 257,\n \"value\": 257\n },\n {\n \"label\": 258,\n \"value\": 258\n },\n {\n \"label\": 259,\n \"value\": 259\n },\n {\n \"label\": 260,\n \"value\": 260\n },\n {\n \"label\": 261,\n \"value\": 261\n },\n {\n \"label\": 262,\n \"value\": 262\n },\n {\n \"label\": 263,\n \"value\": 263\n },\n {\n \"label\": 264,\n \"value\": 264\n },\n {\n \"label\": 265,\n \"value\": 265\n },\n {\n \"label\": 266,\n \"value\": 266\n },\n {\n \"label\": 267,\n \"value\": 267\n },\n {\n \"label\": 268,\n \"value\": 268\n },\n {\n \"label\": 269,\n \"value\": 269\n },\n {\n \"label\": 270,\n \"value\": 270\n },\n {\n \"label\": 271,\n \"value\": 271\n },\n {\n \"label\": 272,\n \"value\": 272\n },\n {\n \"label\": 273,\n \"value\": 273\n },\n {\n \"label\": 274,\n \"value\": 274\n },\n {\n \"label\": 275,\n \"value\": 275\n },\n {\n \"label\": 276,\n \"value\": 276\n },\n {\n \"label\": 277,\n \"value\": 277\n },\n {\n \"label\": 278,\n \"value\": 278\n },\n {\n \"label\": 279,\n \"value\": 279\n },\n {\n \"label\": 280,\n \"value\": 280\n },\n {\n \"label\": 281,\n \"value\": 281\n },\n {\n \"label\": 282,\n \"value\": 282\n },\n {\n \"label\": 283,\n \"value\": 283\n },\n {\n \"label\": 284,\n \"value\": 284\n },\n {\n \"label\": 285,\n \"value\": 285\n },\n {\n \"label\": 286,\n \"value\": 286\n },\n {\n \"label\": 287,\n \"value\": 287\n },\n {\n \"label\": 288,\n \"value\": 288\n },\n {\n \"label\": 289,\n \"value\": 289\n },\n {\n \"label\": 290,\n \"value\": 290\n },\n {\n \"label\": 291,\n \"value\": 291\n },\n {\n \"label\": 292,\n \"value\": 292\n },\n {\n \"label\": 293,\n \"value\": 293\n },\n {\n \"label\": 294,\n \"value\": 294\n },\n {\n \"label\": 295,\n \"value\": 295\n },\n {\n \"label\": 296,\n \"value\": 296\n },\n {\n \"label\": 297,\n \"value\": 297\n },\n {\n \"label\": 298,\n \"value\": 298\n },\n {\n \"label\": 299,\n \"value\": 299\n },\n {\n \"label\": 300,\n \"value\": 300\n },\n {\n \"label\": 301,\n \"value\": 301\n },\n {\n \"label\": 302,\n \"value\": 302\n },\n {\n \"label\": 303,\n \"value\": 303\n },\n {\n \"label\": 304,\n \"value\": 304\n },\n {\n \"label\": 305,\n \"value\": 305\n },\n {\n \"label\": 306,\n \"value\": 306\n },\n {\n \"label\": 307,\n \"value\": 307\n },\n {\n \"label\": 308,\n \"value\": 308\n },\n {\n \"label\": 309,\n \"value\": 309\n },\n {\n \"label\": 310,\n \"value\": 310\n },\n {\n \"label\": 311,\n \"value\": 311\n },\n {\n \"label\": 312,\n \"value\": 312\n },\n {\n \"label\": 313,\n \"value\": 313\n },\n {\n \"label\": 314,\n \"value\": 314\n },\n {\n \"label\": 315,\n \"value\": 315\n },\n {\n \"label\": 316,\n \"value\": 316\n },\n {\n \"label\": 317,\n \"value\": 317\n },\n {\n \"label\": 318,\n \"value\": 318\n },\n {\n \"label\": 319,\n \"value\": 319\n },\n {\n \"label\": 320,\n \"value\": 320\n },\n {\n \"label\": 321,\n \"value\": 321\n },\n {\n \"label\": 322,\n \"value\": 322\n },\n {\n \"label\": 323,\n \"value\": 323\n },\n {\n \"label\": 324,\n \"value\": 324\n },\n {\n \"label\": 325,\n \"value\": 325\n },\n {\n \"label\": 326,\n \"value\": 326\n },\n {\n \"label\": 327,\n \"value\": 327\n },\n {\n \"label\": 328,\n \"value\": 328\n },\n {\n \"label\": 329,\n \"value\": 329\n },\n {\n \"label\": 330,\n \"value\": 330\n },\n {\n \"label\": 331,\n \"value\": 331\n },\n {\n \"label\": 332,\n \"value\": 332\n },\n {\n \"label\": 333,\n \"value\": 333\n },\n {\n \"label\": 334,\n \"value\": 334\n },\n {\n \"label\": 335,\n \"value\": 335\n },\n {\n \"label\": 336,\n \"value\": 336\n },\n {\n \"label\": 337,\n \"value\": 337\n },\n {\n \"label\": 338,\n \"value\": 338\n },\n {\n \"label\": 339,\n \"value\": 339\n },\n {\n \"label\": 340,\n \"value\": 340\n },\n {\n \"label\": 341,\n \"value\": 341\n },\n {\n \"label\": 342,\n \"value\": 342\n },\n {\n \"label\": 343,\n \"value\": 343\n },\n {\n \"label\": 344,\n \"value\": 344\n },\n {\n \"label\": 345,\n \"value\": 345\n },\n {\n \"label\": 346,\n \"value\": 346\n },\n {\n \"label\": 347,\n \"value\": 347\n },\n {\n \"label\": 348,\n \"value\": 348\n },\n {\n \"label\": 349,\n \"value\": 349\n },\n {\n \"label\": 350,\n \"value\": 350\n },\n {\n \"label\": 351,\n \"value\": 351\n },\n {\n \"label\": 352,\n \"value\": 352\n },\n {\n \"label\": 353,\n \"value\": 353\n },\n {\n \"label\": 354,\n \"value\": 354\n },\n {\n \"label\": 355,\n \"value\": 355\n },\n {\n \"label\": 356,\n \"value\": 356\n },\n {\n \"label\": 357,\n \"value\": 357\n },\n {\n \"label\": 358,\n \"value\": 358\n },\n {\n \"label\": 359,\n \"value\": 359\n },\n {\n \"label\": 360,\n \"value\": 360\n },\n {\n \"label\": 361,\n \"value\": 361\n },\n {\n \"label\": 362,\n \"value\": 362\n },\n {\n \"label\": 363,\n \"value\": 363\n },\n {\n \"label\": 364,\n \"value\": 364\n },\n {\n \"label\": 365,\n \"value\": 365\n },\n {\n \"label\": 366,\n \"value\": 366\n },\n {\n \"label\": 367,\n \"value\": 367\n },\n {\n \"label\": 368,\n \"value\": 368\n },\n {\n \"label\": 369,\n \"value\": 369\n },\n {\n \"label\": 370,\n \"value\": 370\n },\n {\n \"label\": 371,\n \"value\": 371\n },\n {\n \"label\": 372,\n \"value\": 372\n },\n {\n \"label\": 373,\n \"value\": 373\n },\n {\n \"label\": 374,\n \"value\": 374\n },\n {\n \"label\": 375,\n \"value\": 375\n },\n {\n \"label\": 376,\n \"value\": 376\n },\n {\n \"label\": 377,\n \"value\": 377\n },\n {\n \"label\": 378,\n \"value\": 378\n },\n {\n \"label\": 379,\n \"value\": 379\n },\n {\n \"label\": 380,\n \"value\": 380\n },\n {\n \"label\": 381,\n \"value\": 381\n },\n {\n \"label\": 382,\n \"value\": 382\n },\n {\n \"label\": 383,\n \"value\": 383\n },\n {\n \"label\": 384,\n \"value\": 384\n },\n {\n \"label\": 385,\n \"value\": 385\n },\n {\n \"label\": 386,\n \"value\": 386\n },\n {\n \"label\": 387,\n \"value\": 387\n },\n {\n \"label\": 388,\n \"value\": 388\n },\n {\n \"label\": 389,\n \"value\": 389\n },\n {\n \"label\": 390,\n \"value\": 390\n },\n {\n \"label\": 391,\n \"value\": 391\n },\n {\n \"label\": 392,\n \"value\": 392\n },\n {\n \"label\": 393,\n \"value\": 393\n },\n {\n \"label\": 394,\n \"value\": 394\n },\n {\n \"label\": 395,\n \"value\": 395\n },\n {\n \"label\": 396,\n \"value\": 396\n },\n {\n \"label\": 397,\n \"value\": 397\n },\n {\n \"label\": 398,\n \"value\": 398\n },\n {\n \"label\": 399,\n \"value\": 399\n },\n {\n \"label\": 400,\n \"value\": 400\n },\n {\n \"label\": 401,\n \"value\": 401\n },\n {\n \"label\": 402,\n \"value\": 402\n },\n {\n \"label\": 403,\n \"value\": 403\n },\n {\n \"label\": 404,\n \"value\": 404\n },\n {\n \"label\": 405,\n \"value\": 405\n },\n {\n \"label\": 406,\n \"value\": 406\n },\n {\n \"label\": 407,\n \"value\": 407\n },\n {\n \"label\": 408,\n \"value\": 408\n },\n {\n \"label\": 409,\n \"value\": 409\n },\n {\n \"label\": 410,\n \"value\": 410\n },\n {\n \"label\": 411,\n \"value\": 411\n },\n {\n \"label\": 412,\n \"value\": 412\n },\n {\n \"label\": 413,\n \"value\": 413\n },\n {\n \"label\": 414,\n \"value\": 414\n },\n {\n \"label\": 415,\n \"value\": 415\n },\n {\n \"label\": 416,\n \"value\": 416\n },\n {\n \"label\": 417,\n \"value\": 417\n },\n {\n \"label\": 418,\n \"value\": 418\n },\n {\n \"label\": 419,\n \"value\": 419\n },\n {\n \"label\": 420,\n \"value\": 420\n },\n {\n \"label\": 421,\n \"value\": 421\n },\n {\n \"label\": 422,\n \"value\": 422\n },\n {\n \"label\": 423,\n \"value\": 423\n },\n {\n \"label\": 424,\n \"value\": 424\n },\n {\n \"label\": 425,\n \"value\": 425\n },\n {\n \"label\": 426,\n \"value\": 426\n },\n {\n \"label\": 427,\n \"value\": 427\n },\n {\n \"label\": 428,\n \"value\": 428\n },\n {\n \"label\": 429,\n \"value\": 429\n },\n {\n \"label\": 430,\n \"value\": 430\n },\n {\n \"label\": 431,\n \"value\": 431\n },\n {\n \"label\": 432,\n \"value\": 432\n },\n {\n \"label\": 433,\n \"value\": 433\n },\n {\n \"label\": 434,\n \"value\": 434\n },\n {\n \"label\": 435,\n \"value\": 435\n },\n {\n \"label\": 436,\n \"value\": 436\n },\n {\n \"label\": 437,\n \"value\": 437\n },\n {\n \"label\": 438,\n \"value\": 438\n },\n {\n \"label\": 439,\n \"value\": 439\n },\n {\n \"label\": 440,\n \"value\": 440\n },\n {\n \"label\": 441,\n \"value\": 441\n },\n {\n \"label\": 442,\n \"value\": 442\n },\n {\n \"label\": 443,\n \"value\": 443\n },\n {\n \"label\": 444,\n \"value\": 444\n },\n {\n \"label\": 445,\n \"value\": 445\n },\n {\n \"label\": 446,\n \"value\": 446\n },\n {\n \"label\": 447,\n \"value\": 447\n },\n {\n \"label\": 448,\n \"value\": 448\n },\n {\n \"label\": 449,\n \"value\": 449\n },\n {\n \"label\": 450,\n \"value\": 450\n },\n {\n \"label\": 451,\n \"value\": 451\n },\n {\n \"label\": 452,\n \"value\": 452\n },\n {\n \"label\": 453,\n \"value\": 453\n },\n {\n \"label\": 454,\n \"value\": 454\n },\n {\n \"label\": 455,\n \"value\": 455\n },\n {\n \"label\": 456,\n \"value\": 456\n },\n {\n \"label\": 457,\n \"value\": 457\n },\n {\n \"label\": 458,\n \"value\": 458\n },\n {\n \"label\": 459,\n \"value\": 459\n },\n {\n \"label\": 460,\n \"value\": 460\n },\n {\n \"label\": 461,\n \"value\": 461\n },\n {\n \"label\": 462,\n \"value\": 462\n },\n {\n \"label\": 463,\n \"value\": 463\n },\n {\n \"label\": 464,\n \"value\": 464\n },\n {\n \"label\": 465,\n \"value\": 465\n },\n {\n \"label\": 466,\n \"value\": 466\n },\n {\n \"label\": 467,\n \"value\": 467\n },\n {\n \"label\": 468,\n \"value\": 468\n },\n {\n \"label\": 469,\n \"value\": 469\n },\n {\n \"label\": 470,\n \"value\": 470\n },\n {\n \"label\": 471,\n \"value\": 471\n },\n {\n \"label\": 472,\n \"value\": 472\n },\n {\n \"label\": 473,\n \"value\": 473\n },\n {\n \"label\": 474,\n \"value\": 474\n },\n {\n \"label\": 475,\n \"value\": 475\n },\n {\n \"label\": 476,\n \"value\": 476\n },\n {\n \"label\": 477,\n \"value\": 477\n },\n {\n \"label\": 478,\n \"value\": 478\n },\n {\n \"label\": 479,\n \"value\": 479\n },\n {\n \"label\": 480,\n \"value\": 480\n },\n {\n \"label\": 481,\n \"value\": 481\n },\n {\n \"label\": 482,\n \"value\": 482\n },\n {\n \"label\": 483,\n \"value\": 483\n },\n {\n \"label\": 484,\n \"value\": 484\n },\n {\n \"label\": 485,\n \"value\": 485\n },\n {\n \"label\": 486,\n \"value\": 486\n },\n {\n \"label\": 487,\n \"value\": 487\n },\n {\n \"label\": 488,\n \"value\": 488\n },\n {\n \"label\": 489,\n \"value\": 489\n },\n {\n \"label\": 490,\n \"value\": 490\n },\n {\n \"label\": 491,\n \"value\": 491\n },\n {\n \"label\": 492,\n \"value\": 492\n },\n {\n \"label\": 493,\n \"value\": 493\n },\n {\n \"label\": 494,\n \"value\": 494\n },\n {\n \"label\": 495,\n \"value\": 495\n },\n {\n \"label\": 496,\n \"value\": 496\n },\n {\n \"label\": 497,\n \"value\": 497\n },\n {\n \"label\": 498,\n \"value\": 498\n },\n {\n \"label\": 499,\n \"value\": 499\n },\n {\n \"label\": 500,\n \"value\": 500\n },\n {\n \"label\": 501,\n \"value\": 501\n },\n {\n \"label\": 502,\n \"value\": 502\n },\n {\n \"label\": 503,\n \"value\": 503\n },\n {\n \"label\": 504,\n \"value\": 504\n },\n {\n \"label\": 505,\n \"value\": 505\n },\n {\n \"label\": 506,\n \"value\": 506\n },\n {\n \"label\": 507,\n \"value\": 507\n },\n {\n \"label\": 508,\n \"value\": 508\n },\n {\n \"label\": 509,\n \"value\": 509\n },\n {\n \"label\": 510,\n \"value\": 510\n },\n {\n \"label\": 511,\n \"value\": 511\n },\n {\n \"label\": 512,\n \"value\": 512\n },\n {\n \"label\": 513,\n \"value\": 513\n },\n {\n \"label\": 514,\n \"value\": 514\n },\n {\n \"label\": 515,\n \"value\": 515\n },\n {\n \"label\": 516,\n \"value\": 516\n },\n {\n \"label\": 517,\n \"value\": 517\n },\n {\n \"label\": 518,\n \"value\": 518\n },\n {\n \"label\": 519,\n \"value\": 519\n },\n {\n \"label\": 520,\n \"value\": 520\n },\n {\n \"label\": 521,\n \"value\": 521\n },\n {\n \"label\": 522,\n \"value\": 522\n },\n {\n \"label\": 523,\n \"value\": 523\n },\n {\n \"label\": 524,\n \"value\": 524\n },\n {\n \"label\": 525,\n \"value\": 525\n },\n {\n \"label\": 526,\n \"value\": 526\n },\n {\n \"label\": 527,\n \"value\": 527\n },\n {\n \"label\": 528,\n \"value\": 528\n },\n {\n \"label\": 529,\n \"value\": 529\n },\n {\n \"label\": 530,\n \"value\": 530\n },\n {\n \"label\": 531,\n \"value\": 531\n },\n {\n \"label\": 532,\n \"value\": 532\n },\n {\n \"label\": 533,\n \"value\": 533\n },\n {\n \"label\": 534,\n \"value\": 534\n },\n {\n \"label\": 535,\n \"value\": 535\n },\n {\n \"label\": 536,\n \"value\": 536\n },\n {\n \"label\": 537,\n \"value\": 537\n },\n {\n \"label\": 538,\n \"value\": 538\n },\n {\n \"label\": 539,\n \"value\": 539\n },\n {\n \"label\": 540,\n \"value\": 540\n },\n {\n \"label\": 541,\n \"value\": 541\n },\n {\n \"label\": 542,\n \"value\": 542\n },\n {\n \"label\": 543,\n \"value\": 543\n },\n {\n \"label\": 544,\n \"value\": 544\n },\n {\n \"label\": 545,\n \"value\": 545\n },\n {\n \"label\": 546,\n \"value\": 546\n },\n {\n \"label\": 547,\n \"value\": 547\n },\n {\n \"label\": 548,\n \"value\": 548\n },\n {\n \"label\": 549,\n \"value\": 549\n },\n {\n \"label\": 550,\n \"value\": 550\n },\n {\n \"label\": 551,\n \"value\": 551\n },\n {\n \"label\": 552,\n \"value\": 552\n },\n {\n \"label\": 553,\n \"value\": 553\n },\n {\n \"label\": 554,\n \"value\": 554\n },\n {\n \"label\": 555,\n \"value\": 555\n },\n {\n \"label\": 556,\n \"value\": 556\n },\n {\n \"label\": 557,\n \"value\": 557\n },\n {\n \"label\": 558,\n \"value\": 558\n },\n {\n \"label\": 559,\n \"value\": 559\n },\n {\n \"label\": 560,\n \"value\": 560\n },\n {\n \"label\": 561,\n \"value\": 561\n },\n {\n \"label\": 562,\n \"value\": 562\n },\n {\n \"label\": 563,\n \"value\": 563\n },\n {\n \"label\": 564,\n \"value\": 564\n },\n {\n \"label\": 565,\n \"value\": 565\n },\n {\n \"label\": 566,\n \"value\": 566\n },\n {\n \"label\": 567,\n \"value\": 567\n },\n {\n \"label\": 568,\n \"value\": 568\n },\n {\n \"label\": 569,\n \"value\": 569\n },\n {\n \"label\": 570,\n \"value\": 570\n },\n {\n \"label\": 571,\n \"value\": 571\n },\n {\n \"label\": 572,\n \"value\": 572\n },\n {\n \"label\": 573,\n \"value\": 573\n },\n {\n \"label\": 574,\n \"value\": 574\n },\n {\n \"label\": 575,\n \"value\": 575\n },\n {\n \"label\": 576,\n \"value\": 576\n },\n {\n \"label\": 577,\n \"value\": 577\n },\n {\n \"label\": 578,\n \"value\": 578\n },\n {\n \"label\": 579,\n \"value\": 579\n },\n {\n \"label\": 580,\n \"value\": 580\n },\n {\n \"label\": 581,\n \"value\": 581\n },\n {\n \"label\": 582,\n \"value\": 582\n },\n {\n \"label\": 583,\n \"value\": 583\n },\n {\n \"label\": 584,\n \"value\": 584\n },\n {\n \"label\": 585,\n \"value\": 585\n },\n {\n \"label\": 586,\n \"value\": 586\n },\n {\n \"label\": 587,\n \"value\": 587\n },\n {\n \"label\": 588,\n \"value\": 588\n },\n {\n \"label\": 589,\n \"value\": 589\n },\n {\n \"label\": 590,\n \"value\": 590\n },\n {\n \"label\": 591,\n \"value\": 591\n },\n {\n \"label\": 592,\n \"value\": 592\n },\n {\n \"label\": 593,\n \"value\": 593\n },\n {\n \"label\": 594,\n \"value\": 594\n },\n {\n \"label\": 595,\n \"value\": 595\n },\n {\n \"label\": 596,\n \"value\": 596\n },\n {\n \"label\": 597,\n \"value\": 597\n },\n {\n \"label\": 598,\n \"value\": 598\n },\n {\n \"label\": 599,\n \"value\": 599\n },\n {\n \"label\": 600,\n \"value\": 600\n },\n {\n \"label\": 601,\n \"value\": 601\n },\n {\n \"label\": 602,\n \"value\": 602\n },\n {\n \"label\": 603,\n \"value\": 603\n },\n {\n \"label\": 604,\n \"value\": 604\n },\n {\n \"label\": 605,\n \"value\": 605\n },\n {\n \"label\": 606,\n \"value\": 606\n },\n {\n \"label\": 607,\n \"value\": 607\n },\n {\n \"label\": 608,\n \"value\": 608\n },\n {\n \"label\": 609,\n \"value\": 609\n },\n {\n \"label\": 610,\n \"value\": 610\n },\n {\n \"label\": 611,\n \"value\": 611\n },\n {\n \"label\": 612,\n \"value\": 612\n },\n {\n \"label\": 613,\n \"value\": 613\n },\n {\n \"label\": 614,\n \"value\": 614\n },\n {\n \"label\": 615,\n \"value\": 615\n },\n {\n \"label\": 616,\n \"value\": 616\n },\n {\n \"label\": 617,\n \"value\": 617\n },\n {\n \"label\": 618,\n \"value\": 618\n },\n {\n \"label\": 619,\n \"value\": 619\n },\n {\n \"label\": 620,\n \"value\": 620\n },\n {\n \"label\": 621,\n \"value\": 621\n },\n {\n \"label\": 622,\n \"value\": 622\n },\n {\n \"label\": 623,\n \"value\": 623\n },\n {\n \"label\": 624,\n \"value\": 624\n },\n {\n \"label\": 625,\n \"value\": 625\n },\n {\n \"label\": 626,\n \"value\": 626\n },\n {\n \"label\": 627,\n \"value\": 627\n },\n {\n \"label\": 628,\n \"value\": 628\n },\n {\n \"label\": 629,\n \"value\": 629\n },\n {\n \"label\": 630,\n \"value\": 630\n },\n {\n \"label\": 631,\n \"value\": 631\n },\n {\n \"label\": 632,\n \"value\": 632\n },\n {\n \"label\": 633,\n \"value\": 633\n },\n {\n \"label\": 634,\n \"value\": 634\n },\n {\n \"label\": 635,\n \"value\": 635\n },\n {\n \"label\": 636,\n \"value\": 636\n },\n {\n \"label\": 637,\n \"value\": 637\n },\n {\n \"label\": 638,\n \"value\": 638\n },\n {\n \"label\": 639,\n \"value\": 639\n },\n {\n \"label\": 640,\n \"value\": 640\n },\n {\n \"label\": 641,\n \"value\": 641\n },\n {\n \"label\": 642,\n \"value\": 642\n },\n {\n \"label\": 643,\n \"value\": 643\n },\n {\n \"label\": 644,\n \"value\": 644\n },\n {\n \"label\": 645,\n \"value\": 645\n },\n {\n \"label\": 646,\n \"value\": 646\n },\n {\n \"label\": 647,\n \"value\": 647\n },\n {\n \"label\": 648,\n \"value\": 648\n },\n {\n \"label\": 649,\n \"value\": 649\n },\n {\n \"label\": 650,\n \"value\": 650\n },\n {\n \"label\": 651,\n \"value\": 651\n },\n {\n \"label\": 652,\n \"value\": 652\n },\n {\n \"label\": 653,\n \"value\": 653\n },\n {\n \"label\": 654,\n \"value\": 654\n },\n {\n \"label\": 655,\n \"value\": 655\n },\n {\n \"label\": 656,\n \"value\": 656\n },\n {\n \"label\": 657,\n \"value\": 657\n },\n {\n \"label\": 658,\n \"value\": 658\n },\n {\n \"label\": 659,\n \"value\": 659\n },\n {\n \"label\": 660,\n \"value\": 660\n },\n {\n \"label\": 661,\n \"value\": 661\n },\n {\n \"label\": 662,\n \"value\": 662\n },\n {\n \"label\": 663,\n \"value\": 663\n },\n {\n \"label\": 664,\n \"value\": 664\n },\n {\n \"label\": 665,\n \"value\": 665\n },\n {\n \"label\": 666,\n \"value\": 666\n },\n {\n \"label\": 667,\n \"value\": 667\n },\n {\n \"label\": 668,\n \"value\": 668\n },\n {\n \"label\": 669,\n \"value\": 669\n },\n {\n \"label\": 670,\n \"value\": 670\n },\n {\n \"label\": 671,\n \"value\": 671\n },\n {\n \"label\": 672,\n \"value\": 672\n },\n {\n \"label\": 673,\n \"value\": 673\n },\n {\n \"label\": 674,\n \"value\": 674\n },\n {\n \"label\": 675,\n \"value\": 675\n },\n {\n \"label\": 676,\n \"value\": 676\n },\n {\n \"label\": 677,\n \"value\": 677\n },\n {\n \"label\": 678,\n \"value\": 678\n },\n {\n \"label\": 679,\n \"value\": 679\n },\n {\n \"label\": 680,\n \"value\": 680\n },\n {\n \"label\": 681,\n \"value\": 681\n },\n {\n \"label\": 682,\n \"value\": 682\n },\n {\n \"label\": 683,\n \"value\": 683\n },\n {\n \"label\": 684,\n \"value\": 684\n },\n {\n \"label\": 685,\n \"value\": 685\n },\n {\n \"label\": 686,\n \"value\": 686\n },\n {\n \"label\": 687,\n \"value\": 687\n },\n {\n \"label\": 688,\n \"value\": 688\n },\n {\n \"label\": 689,\n \"value\": 689\n },\n {\n \"label\": 690,\n \"value\": 690\n },\n {\n \"label\": 691,\n \"value\": 691\n },\n {\n \"label\": 692,\n \"value\": 692\n },\n {\n \"label\": 693,\n \"value\": 693\n },\n {\n \"label\": 694,\n \"value\": 694\n },\n {\n \"label\": 695,\n \"value\": 695\n },\n {\n \"label\": 696,\n \"value\": 696\n },\n {\n \"label\": 697,\n \"value\": 697\n },\n {\n \"label\": 698,\n \"value\": 698\n },\n {\n \"label\": 699,\n \"value\": 699\n },\n {\n \"label\": 700,\n \"value\": 700\n },\n {\n \"label\": 701,\n \"value\": 701\n },\n {\n \"label\": 702,\n \"value\": 702\n },\n {\n \"label\": 703,\n \"value\": 703\n },\n {\n \"label\": 704,\n \"value\": 704\n },\n {\n \"label\": 705,\n \"value\": 705\n },\n {\n \"label\": 706,\n \"value\": 706\n },\n {\n \"label\": 707,\n \"value\": 707\n },\n {\n \"label\": 708,\n \"value\": 708\n },\n {\n \"label\": 709,\n \"value\": 709\n },\n {\n \"label\": 710,\n \"value\": 710\n },\n {\n \"label\": 711,\n \"value\": 711\n },\n {\n \"label\": 712,\n \"value\": 712\n },\n {\n \"label\": 713,\n \"value\": 713\n },\n {\n \"label\": 714,\n \"value\": 714\n },\n {\n \"label\": 715,\n \"value\": 715\n },\n {\n \"label\": 716,\n \"value\": 716\n },\n {\n \"label\": 717,\n \"value\": 717\n },\n {\n \"label\": 718,\n \"value\": 718\n },\n {\n \"label\": 719,\n \"value\": 719\n },\n {\n \"label\": 720,\n \"value\": 720\n },\n {\n \"label\": 721,\n \"value\": 721\n },\n {\n \"label\": 722,\n \"value\": 722\n },\n {\n \"label\": 723,\n \"value\": 723\n },\n {\n \"label\": 724,\n \"value\": 724\n },\n {\n \"label\": 725,\n \"value\": 725\n },\n {\n \"label\": 726,\n \"value\": 726\n },\n {\n \"label\": 727,\n \"value\": 727\n },\n {\n \"label\": 728,\n \"value\": 728\n },\n {\n \"label\": 729,\n \"value\": 729\n },\n {\n \"label\": 730,\n \"value\": 730\n },\n {\n \"label\": 731,\n \"value\": 731\n },\n {\n \"label\": 732,\n \"value\": 732\n },\n {\n \"label\": 733,\n \"value\": 733\n },\n {\n \"label\": 734,\n \"value\": 734\n },\n {\n \"label\": 735,\n \"value\": 735\n },\n {\n \"label\": 736,\n \"value\": 736\n },\n {\n \"label\": 737,\n \"value\": 737\n },\n {\n \"label\": 738,\n \"value\": 738\n },\n {\n \"label\": 739,\n \"value\": 739\n },\n {\n \"label\": 740,\n \"value\": 740\n },\n {\n \"label\": 741,\n \"value\": 741\n },\n {\n \"label\": 742,\n \"value\": 742\n },\n {\n \"label\": 743,\n \"value\": 743\n },\n {\n \"label\": 744,\n \"value\": 744\n },\n {\n \"label\": 745,\n \"value\": 745\n },\n {\n \"label\": 746,\n \"value\": 746\n },\n {\n \"label\": 747,\n \"value\": 747\n },\n {\n \"label\": 748,\n \"value\": 748\n },\n {\n \"label\": 749,\n \"value\": 749\n },\n {\n \"label\": 750,\n \"value\": 750\n },\n {\n \"label\": 751,\n \"value\": 751\n },\n {\n \"label\": 752,\n \"value\": 752\n },\n {\n \"label\": 753,\n \"value\": 753\n },\n {\n \"label\": 754,\n \"value\": 754\n },\n {\n \"label\": 755,\n \"value\": 755\n },\n {\n \"label\": 756,\n \"value\": 756\n },\n {\n \"label\": 757,\n \"value\": 757\n },\n {\n \"label\": 758,\n \"value\": 758\n },\n {\n \"label\": 759,\n \"value\": 759\n },\n {\n \"label\": 760,\n \"value\": 760\n },\n {\n \"label\": 761,\n \"value\": 761\n },\n {\n \"label\": 762,\n \"value\": 762\n },\n {\n \"label\": 763,\n \"value\": 763\n },\n {\n \"label\": 764,\n \"value\": 764\n },\n {\n \"label\": 765,\n \"value\": 765\n },\n {\n \"label\": 766,\n \"value\": 766\n },\n {\n \"label\": 767,\n \"value\": 767\n },\n {\n \"label\": 768,\n \"value\": 768\n },\n {\n \"label\": 769,\n \"value\": 769\n },\n {\n \"label\": 770,\n \"value\": 770\n },\n {\n \"label\": 771,\n \"value\": 771\n },\n {\n \"label\": 772,\n \"value\": 772\n },\n {\n \"label\": 773,\n \"value\": 773\n },\n {\n \"label\": 774,\n \"value\": 774\n },\n {\n \"label\": 775,\n \"value\": 775\n },\n {\n \"label\": 776,\n \"value\": 776\n },\n {\n \"label\": 777,\n \"value\": 777\n },\n {\n \"label\": 778,\n \"value\": 778\n },\n {\n \"label\": 779,\n \"value\": 779\n },\n {\n \"label\": 780,\n \"value\": 780\n },\n {\n \"label\": 781,\n \"value\": 781\n },\n {\n \"label\": 782,\n \"value\": 782\n },\n {\n \"label\": 783,\n \"value\": 783\n },\n {\n \"label\": 784,\n \"value\": 784\n },\n {\n \"label\": 785,\n \"value\": 785\n },\n {\n \"label\": 786,\n \"value\": 786\n },\n {\n \"label\": 787,\n \"value\": 787\n },\n {\n \"label\": 788,\n \"value\": 788\n },\n {\n \"label\": 789,\n \"value\": 789\n },\n {\n \"label\": 790,\n \"value\": 790\n },\n {\n \"label\": 791,\n \"value\": 791\n },\n {\n \"label\": 792,\n \"value\": 792\n },\n {\n \"label\": 793,\n \"value\": 793\n },\n {\n \"label\": 794,\n \"value\": 794\n },\n {\n \"label\": 795,\n \"value\": 795\n },\n {\n \"label\": 796,\n \"value\": 796\n },\n {\n \"label\": 797,\n \"value\": 797\n },\n {\n \"label\": 798,\n \"value\": 798\n },\n {\n \"label\": 799,\n \"value\": 799\n },\n {\n \"label\": 800,\n \"value\": 800\n },\n {\n \"label\": 801,\n \"value\": 801\n },\n {\n \"label\": 802,\n \"value\": 802\n },\n {\n \"label\": 803,\n \"value\": 803\n },\n {\n \"label\": 804,\n \"value\": 804\n },\n {\n \"label\": 805,\n \"value\": 805\n },\n {\n \"label\": 806,\n \"value\": 806\n },\n {\n \"label\": 807,\n \"value\": 807\n },\n {\n \"label\": 808,\n \"value\": 808\n },\n {\n \"label\": 809,\n \"value\": 809\n },\n {\n \"label\": 810,\n \"value\": 810\n },\n {\n \"label\": 811,\n \"value\": 811\n },\n {\n \"label\": 812,\n \"value\": 812\n },\n {\n \"label\": 813,\n \"value\": 813\n },\n {\n \"label\": 814,\n \"value\": 814\n },\n {\n \"label\": 815,\n \"value\": 815\n },\n {\n \"label\": 816,\n \"value\": 816\n },\n {\n \"label\": 817,\n \"value\": 817\n },\n {\n \"label\": 818,\n \"value\": 818\n },\n {\n \"label\": 819,\n \"value\": 819\n },\n {\n \"label\": 820,\n \"value\": 820\n },\n {\n \"label\": 821,\n \"value\": 821\n },\n {\n \"label\": 822,\n \"value\": 822\n },\n {\n \"label\": 823,\n \"value\": 823\n },\n {\n \"label\": 824,\n \"value\": 824\n },\n {\n \"label\": 825,\n \"value\": 825\n },\n {\n \"label\": 826,\n \"value\": 826\n },\n {\n \"label\": 827,\n \"value\": 827\n },\n {\n \"label\": 828,\n \"value\": 828\n },\n {\n \"label\": 829,\n \"value\": 829\n },\n {\n \"label\": 830,\n \"value\": 830\n },\n {\n \"label\": 831,\n \"value\": 831\n },\n {\n \"label\": 832,\n \"value\": 832\n },\n {\n \"label\": 833,\n \"value\": 833\n },\n {\n \"label\": 834,\n \"value\": 834\n },\n {\n \"label\": 835,\n \"value\": 835\n },\n {\n \"label\": 836,\n \"value\": 836\n },\n {\n \"label\": 837,\n \"value\": 837\n },\n {\n \"label\": 838,\n \"value\": 838\n },\n {\n \"label\": 839,\n \"value\": 839\n },\n {\n \"label\": 840,\n \"value\": 840\n },\n {\n \"label\": 841,\n \"value\": 841\n },\n {\n \"label\": 842,\n \"value\": 842\n },\n {\n \"label\": 843,\n \"value\": 843\n },\n {\n \"label\": 844,\n \"value\": 844\n },\n {\n \"label\": 845,\n \"value\": 845\n },\n {\n \"label\": 846,\n \"value\": 846\n },\n {\n \"label\": 847,\n \"value\": 847\n },\n {\n \"label\": 848,\n \"value\": 848\n },\n {\n \"label\": 849,\n \"value\": 849\n },\n {\n \"label\": 850,\n \"value\": 850\n },\n {\n \"label\": 851,\n \"value\": 851\n },\n {\n \"label\": 852,\n \"value\": 852\n },\n {\n \"label\": 853,\n \"value\": 853\n },\n {\n \"label\": 854,\n \"value\": 854\n },\n {\n \"label\": 855,\n \"value\": 855\n },\n {\n \"label\": 856,\n \"value\": 856\n },\n {\n \"label\": 857,\n \"value\": 857\n },\n {\n \"label\": 858,\n \"value\": 858\n },\n {\n \"label\": 859,\n \"value\": 859\n },\n {\n \"label\": 860,\n \"value\": 860\n },\n {\n \"label\": 861,\n \"value\": 861\n },\n {\n \"label\": 862,\n \"value\": 862\n },\n {\n \"label\": 863,\n \"value\": 863\n },\n {\n \"label\": 864,\n \"value\": 864\n },\n {\n \"label\": 865,\n \"value\": 865\n },\n {\n \"label\": 866,\n \"value\": 866\n },\n {\n \"label\": 867,\n \"value\": 867\n },\n {\n \"label\": 868,\n \"value\": 868\n },\n {\n \"label\": 869,\n \"value\": 869\n },\n {\n \"label\": 870,\n \"value\": 870\n },\n {\n \"label\": 871,\n \"value\": 871\n },\n {\n \"label\": 872,\n \"value\": 872\n },\n {\n \"label\": 873,\n \"value\": 873\n },\n {\n \"label\": 874,\n \"value\": 874\n },\n {\n \"label\": 875,\n \"value\": 875\n },\n {\n \"label\": 876,\n \"value\": 876\n },\n {\n \"label\": 877,\n \"value\": 877\n },\n {\n \"label\": 878,\n \"value\": 878\n },\n {\n \"label\": 879,\n \"value\": 879\n },\n {\n \"label\": 880,\n \"value\": 880\n },\n {\n \"label\": 881,\n \"value\": 881\n },\n {\n \"label\": 882,\n \"value\": 882\n },\n {\n \"label\": 883,\n \"value\": 883\n },\n {\n \"label\": 884,\n \"value\": 884\n },\n {\n \"label\": 885,\n \"value\": 885\n },\n {\n \"label\": 886,\n \"value\": 886\n },\n {\n \"label\": 887,\n \"value\": 887\n },\n {\n \"label\": 888,\n \"value\": 888\n },\n {\n \"label\": 889,\n \"value\": 889\n },\n {\n \"label\": 890,\n \"value\": 890\n },\n {\n \"label\": 891,\n \"value\": 891\n },\n {\n \"label\": 892,\n \"value\": 892\n },\n {\n \"label\": 893,\n \"value\": 893\n },\n {\n \"label\": 894,\n \"value\": 894\n },\n {\n \"label\": 895,\n \"value\": 895\n },\n {\n \"label\": 896,\n \"value\": 896\n },\n {\n \"label\": 897,\n \"value\": 897\n },\n {\n \"label\": 898,\n \"value\": 898\n },\n {\n \"label\": 899,\n \"value\": 899\n },\n {\n \"label\": 900,\n \"value\": 900\n },\n {\n \"label\": 901,\n \"value\": 901\n },\n {\n \"label\": 902,\n \"value\": 902\n },\n {\n \"label\": 903,\n \"value\": 903\n },\n {\n \"label\": 904,\n \"value\": 904\n },\n {\n \"label\": 905,\n \"value\": 905\n },\n {\n \"label\": 906,\n \"value\": 906\n },\n {\n \"label\": 907,\n \"value\": 907\n },\n {\n \"label\": 908,\n \"value\": 908\n },\n {\n \"label\": 909,\n \"value\": 909\n },\n {\n \"label\": 910,\n \"value\": 910\n },\n {\n \"label\": 911,\n \"value\": 911\n },\n {\n \"label\": 912,\n \"value\": 912\n },\n {\n \"label\": 913,\n \"value\": 913\n },\n {\n \"label\": 914,\n \"value\": 914\n },\n {\n \"label\": 915,\n \"value\": 915\n },\n {\n \"label\": 916,\n \"value\": 916\n },\n {\n \"label\": 917,\n \"value\": 917\n },\n {\n \"label\": 918,\n \"value\": 918\n },\n {\n \"label\": 919,\n \"value\": 919\n },\n {\n \"label\": 920,\n \"value\": 920\n },\n {\n \"label\": 921,\n \"value\": 921\n },\n {\n \"label\": 922,\n \"value\": 922\n },\n {\n \"label\": 923,\n \"value\": 923\n },\n {\n \"label\": 924,\n \"value\": 924\n },\n {\n \"label\": 925,\n \"value\": 925\n },\n {\n \"label\": 926,\n \"value\": 926\n },\n {\n \"label\": 927,\n \"value\": 927\n },\n {\n \"label\": 928,\n \"value\": 928\n },\n {\n \"label\": 929,\n \"value\": 929\n },\n {\n \"label\": 930,\n \"value\": 930\n },\n {\n \"label\": 931,\n \"value\": 931\n },\n {\n \"label\": 932,\n \"value\": 932\n },\n {\n \"label\": 933,\n \"value\": 933\n },\n {\n \"label\": 934,\n \"value\": 934\n },\n {\n \"label\": 935,\n \"value\": 935\n },\n {\n \"label\": 936,\n \"value\": 936\n },\n {\n \"label\": 937,\n \"value\": 937\n },\n {\n \"label\": 938,\n \"value\": 938\n },\n {\n \"label\": 939,\n \"value\": 939\n },\n {\n \"label\": 940,\n \"value\": 940\n },\n {\n \"label\": 941,\n \"value\": 941\n },\n {\n \"label\": 942,\n \"value\": 942\n },\n {\n \"label\": 943,\n \"value\": 943\n },\n {\n \"label\": 944,\n \"value\": 944\n },\n {\n \"label\": 945,\n \"value\": 945\n },\n {\n \"label\": 946,\n \"value\": 946\n },\n {\n \"label\": 947,\n \"value\": 947\n },\n {\n \"label\": 948,\n \"value\": 948\n },\n {\n \"label\": 949,\n \"value\": 949\n },\n {\n \"label\": 950,\n \"value\": 950\n },\n {\n \"label\": 951,\n \"value\": 951\n },\n {\n \"label\": 952,\n \"value\": 952\n },\n {\n \"label\": 953,\n \"value\": 953\n },\n {\n \"label\": 954,\n \"value\": 954\n },\n {\n \"label\": 955,\n \"value\": 955\n },\n {\n \"label\": 956,\n \"value\": 956\n },\n {\n \"label\": 957,\n \"value\": 957\n },\n {\n \"label\": 958,\n \"value\": 958\n },\n {\n \"label\": 959,\n \"value\": 959\n },\n {\n \"label\": 960,\n \"value\": 960\n },\n {\n \"label\": 961,\n \"value\": 961\n },\n {\n \"label\": 962,\n \"value\": 962\n },\n {\n \"label\": 963,\n \"value\": 963\n },\n {\n \"label\": 964,\n \"value\": 964\n },\n {\n \"label\": 965,\n \"value\": 965\n },\n {\n \"label\": 966,\n \"value\": 966\n },\n {\n \"label\": 967,\n \"value\": 967\n },\n {\n \"label\": 968,\n \"value\": 968\n },\n {\n \"label\": 969,\n \"value\": 969\n },\n {\n \"label\": 970,\n \"value\": 970\n },\n {\n \"label\": 971,\n \"value\": 971\n },\n {\n \"label\": 972,\n \"value\": 972\n },\n {\n \"label\": 973,\n \"value\": 973\n },\n {\n \"label\": 974,\n \"value\": 974\n },\n {\n \"label\": 975,\n \"value\": 975\n },\n {\n \"label\": 976,\n \"value\": 976\n },\n {\n \"label\": 977,\n \"value\": 977\n },\n {\n \"label\": 978,\n \"value\": 978\n },\n {\n \"label\": 979,\n \"value\": 979\n },\n {\n \"label\": 980,\n \"value\": 980\n },\n {\n \"label\": 981,\n \"value\": 981\n },\n {\n \"label\": 982,\n \"value\": 982\n },\n {\n \"label\": 983,\n \"value\": 983\n },\n {\n \"label\": 984,\n \"value\": 984\n },\n {\n \"label\": 985,\n \"value\": 985\n },\n {\n \"label\": 986,\n \"value\": 986\n },\n {\n \"label\": 987,\n \"value\": 987\n },\n {\n \"label\": 988,\n \"value\": 988\n },\n {\n \"label\": 989,\n \"value\": 989\n },\n {\n \"label\": 990,\n \"value\": 990\n },\n {\n \"label\": 991,\n \"value\": 991\n },\n {\n \"label\": 992,\n \"value\": 992\n },\n {\n \"label\": 993,\n \"value\": 993\n },\n {\n \"label\": 994,\n \"value\": 994\n },\n {\n \"label\": 995,\n \"value\": 995\n },\n {\n \"label\": 996,\n \"value\": 996\n },\n {\n \"label\": 997,\n \"value\": 997\n },\n {\n \"label\": 998,\n \"value\": 998\n },\n {\n \"label\": 999,\n \"value\": 999\n }\n\t]","placeholderText":"Select option","isDisabled":false,"key":"ak637g8pus","isRequired":false,"rightColumn":41,"widgetId":"52k9ej1p6e","isVisible":true,"version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false}]},"layoutOnLoadActions":[],"new":false}],"userPermissions":[]},"publishedPage":{"name":"Page1","slug":"page1","layouts":[{"id":"Page1","userPermissions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1224,"snapColumns":16,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1254,"containerStyle":"none","snapRows":33,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":4,"minHeight":1292,"parentColumnSpace":1,"dynamicBindingPathList":[],"leftColumn":0,"children":[]},"new":false}],"userPermissions":[]},"new":true}],"publishedDefaultPageName":"Page1","unpublishedDefaultPageName":"Page1","actionList":[],"actionCollectionList":[],"invisibleActionFields":{},"editModeTheme":{"name":"Classic","displayName":"Classic","new":true,"isSystemTheme":true},"publishedTheme":{"name":"Classic","displayName":"Classic","new":true,"isSystemTheme":true},"publishedLayoutmongoEscapedWidgets":{},"unpublishedLayoutmongoEscapedWidgets":{}}
\ No newline at end of file
diff --git a/app/client/perf/tests/golden-app.perf.js b/app/client/perf/tests/golden-app.perf.js
deleted file mode 100644
index 55b292b3197d..000000000000
--- a/app/client/perf/tests/golden-app.perf.js
+++ /dev/null
@@ -1,116 +0,0 @@
-const path = require("path");
-const Perf = require("../src/perf.js");
-const dsl = require("./dsl/simple-typing").dsl;
-const { actions } = require("./actions");
-const { delay, makeid } = require("../src/utils/utils");
-process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;
-
-const SEL = {
- category: "div.rc-select-item[title=Uncategorized]",
- multiSelect: ".rc-select",
- table: "#tablejabdu9f16g",
- tableData: ".t--property-control-tabledata textarea",
- tableRow:
- "#tablejabdu9f16g > div.tableWrap > div > div:nth-child(1) > div > div.tbody.no-scroll > div:nth-child(6) > div:nth-child(2)",
- titleInput: ".appsmith_widget_armli8hauj input",
- updateButton:
- "#comment-overlay-wrapper-4gnygu5jew > div > div > div > div > button",
- tableRowCell:
- "#tablejabdu9f16g > div.tableWrap > div > div:nth-child(1) > div > div.tbody.no-scroll > div:nth-child(6) > div:nth-child(2) > div > span > span > span",
- deletePostButton:
- "#tablejabdu9f16g > div.tableWrap > div > div:nth-child(1) > div > div.tbody.no-scroll > div:nth-child(1) > div:last-child > div > div > button",
- modalTitle: "#reyoxo4oec",
- closeModal:
- "#comment-overlay-wrapper-lryg8kw537 > div > div > div > div > button",
-};
-
-async function testGoldenApp(iteration) {
- const perf = new Perf({ iteration });
- try {
- await perf.launch();
- const page = perf.getPage();
-
- await perf.importApplication(
- `${APP_ROOT}/tests/dsl/blog-admin-app-postgres.json`,
- );
-
- await delay(5000, "for newly created page to settle down");
- // Make the elements of the dropdown render
- await page.waitForSelector(SEL.multiSelect);
- await page.click(SEL.multiSelect);
-
- await perf.startTrace(actions.SELECT_CATEGORY);
- await page.waitForSelector(SEL.category);
- await page.click(SEL.category);
-
- await perf.stopTrace();
-
- // Focus on the table widget
- await page.waitForSelector(SEL.table);
-
- // Not sure why it needs two clicks to focus
- await page.click(SEL.table);
- await page.click(SEL.table);
-
- // Profile table Data binding
- await perf.startTrace(actions.BIND_TABLE_DATA);
- await page.waitForSelector(SEL.tableData);
- await page.type(SEL.tableData, "{{SelectQuery.data}}");
- await page.waitForSelector(SEL.tableRow);
- await perf.stopTrace();
-
- // Click on table row
- await perf.startTrace(actions.CLICK_ON_TABLE_ROW);
- await page.click(SEL.tableRow);
- await page.waitForFunction(
- `document.querySelector("${SEL.titleInput}").value.includes("Template: Comments")`,
- );
-
- await perf.stopTrace();
-
- // Edit title
- await page.waitForSelector(SEL.titleInput);
- await perf.startTrace(actions.UPDATE_POST_TITLE);
-
- const randomString = makeid();
- await page.type(SEL.titleInput, randomString);
- await delay(5000, "For the evaluations to comeback?");
-
- await page.waitForSelector(SEL.updateButton);
- await page.click(SEL.updateButton);
- // When the row is updated, selected row changes.
- // await page.waitForSelector(SEL.tableRowCell);
- await page.waitForFunction(
- `document.querySelector("${SEL.table}").textContent.includes("${randomString}")`,
- );
- await perf.stopTrace();
-
- // Open modal
- await page.waitForSelector(SEL.deletePostButton);
- await perf.startTrace(actions.OPEN_MODAL);
- await page.click(SEL.deletePostButton);
- await page.waitForSelector(SEL.modalTitle);
- await perf.stopTrace();
-
- // Close modal
- await page.waitForSelector(SEL.closeModal);
- await perf.startTrace(actions.CLOSE_MODAL);
- await page.click(SEL.closeModal);
- await delay(3000, "wait after closing modal");
- await perf.stopTrace();
-
- await perf.generateReport();
- await perf.close();
- } catch (e) {
- await perf.handleRejections(e);
- await perf.close();
- }
-}
-
-async function runTests() {
- for (let i = 0; i < 5; i++) {
- await testGoldenApp(i + 1);
- }
-}
-
-runTests();
diff --git a/app/client/perf/tests/initial-setup.js b/app/client/perf/tests/initial-setup.js
deleted file mode 100644
index 0ed80ac3706b..000000000000
--- a/app/client/perf/tests/initial-setup.js
+++ /dev/null
@@ -1,43 +0,0 @@
-const puppeteer = require("puppeteer");
-
-process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;
-
-(async () => {
- const browser = await puppeteer.launch({
- args: ["--window-size=1920,1080"],
- ignoreHTTPSErrors: true,
- });
- let page = await browser.newPage();
- await page.goto("https://dev.appsmith.com/setup/welcome");
- // await page.goto("http://localhost/setup/welcome");
- // Since we are not testing the initial setup, just send the post request directly.
- // Could be moved to bash script as well.
- await page.evaluate(async () => {
- const url = "https://dev.appsmith.com/api/v1/users/super";
- // const url = "http://localhost/api/v1/users/super";
- await fetch(url, {
- headers: {
- accept:
- "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
- "accept-language": "en-US,en;q=0.9,fr-CA;q=0.8,fr;q=0.7",
- "cache-control": "no-cache",
- "content-type": "application/x-www-form-urlencoded",
- },
-
- referrerPolicy: "strict-origin-when-cross-origin",
- body:
- "name=Im+Puppeteer&email=hello%40myemail.com&password=qwerty1234&allowCollectingAnonymousData=true&signupForNewsletter=true&role=engineer&useCase=just+exploring",
- method: "POST",
- mode: "cors",
- credentials: "include",
- })
- .then((res) =>
- console.log("Save page with new DSL response:", res.json()),
- )
- .catch((err) => {
- console.log("Save page with new DSL error:", err);
- });
- });
- console.log("Initial setup is successful");
- await browser.close();
-})();
diff --git a/app/client/perf/tests/sample-test.js b/app/client/perf/tests/sample-test.js
deleted file mode 100644
index 42b550c1ec93..000000000000
--- a/app/client/perf/tests/sample-test.js
+++ /dev/null
@@ -1,46 +0,0 @@
-const path = require("path");
-const Perf = require("../src/perf.js");
-const dsl = require("./dsl/simple-typing").dsl;
-
-process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;
-
-async function sampleTest(iteration) {
- const perf = new Perf({ iteration });
- try {
- await perf.launch();
-
- const page = perf.getPage();
- await perf.loadDSL(dsl);
-
- const selector = "input.bp3-input"; // Input selector
- await page.waitForSelector(selector);
- const input = await page.$(selector);
-
- await perf.startTrace("Edit input");
- await page.type(selector, "Hello Appsmith");
- await perf.stopTrace();
-
- await perf.startTrace("Clear input");
- await input.click({ clickCount: 3 });
- await input.press("Backspace");
- await perf.stopTrace();
-
- await perf.startTrace("Edit input again");
- await page.type(selector, "Howdy satish");
- await perf.stopTrace();
-
- await perf.generateReport();
- await perf.close();
- } catch (e) {
- await perf.handleRejections(e);
- await perf.close();
- }
-}
-
-async function runTests() {
- for (let i = 0; i < 5; i++) {
- await sampleTest(i + 1);
- }
-}
-
-runTests();
diff --git a/app/client/perf/tests/select-widget.perf.js b/app/client/perf/tests/select-widget.perf.js
deleted file mode 100644
index 44adad5ac07e..000000000000
--- a/app/client/perf/tests/select-widget.perf.js
+++ /dev/null
@@ -1,48 +0,0 @@
-const path = require("path");
-const Perf = require("../src/perf");
-const { delay } = require("../src/utils/utils");
-const { actions } = require("./actions");
-process.env["NODE_TLS_REJECT_UNAUTHORIZED"] = 0;
-
-const SEL = {
- select_button: ".select-button",
- options_list: ".menu-virtual-list",
- first_option_item: ".menu-item-text:nth-child(1)",
-};
-
-async function testSelectOptionsRender(iteration) {
- const perf = new Perf({ iteration });
- try {
- await perf.launch();
- const page = perf.getPage();
-
- perf.importApplication(`${APP_ROOT}/tests/dsl/stress-select-widget.json`);
- await delay(5000, "for newly created page to settle down");
-
- await page.waitForSelector(SEL.select_button);
- await perf.startTrace(actions.SELECT_WIDGET_MENU_OPEN);
- await page.click(SEL.select_button);
- await page.waitForSelector(SEL.options_list);
- await delay(2000, "wait after opening options list");
- await perf.stopTrace();
-
- await perf.startTrace(actions.SELECT_WIDGET_SELECT_OPTION);
- await page.click(SEL.first_option_item);
- await delay(2000, "wait after selecting option item");
- await perf.stopTrace();
-
- await perf.generateReport();
- await perf.close();
- } catch (e) {
- await perf.handleRejections(e);
- await perf.close();
- }
-}
-
-async function runTests() {
- for (let i = 0; i < 5; i++) {
- await testSelectOptionsRender(i + 1);
- }
-}
-
-runTests();
diff --git a/app/client/perf/yarn.lock b/app/client/perf/yarn.lock
deleted file mode 100644
index 2e19714aa06f..000000000000
--- a/app/client/perf/yarn.lock
+++ /dev/null
@@ -1,600 +0,0 @@
-# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
-# yarn lockfile v1
-
-
-"@supabase/gotrue-js@^1.22.0":
- version "1.22.1"
- resolved "https://registry.yarnpkg.com/@supabase/gotrue-js/-/gotrue-js-1.22.1.tgz#28cba21713a25045e94f99fa26b66dbb3b808f92"
- integrity sha512-Uqiw03Sd/PYGrjq/sfEGyRcZh868y2B2fxVtZgkUAGDHnQ84K1MpsGiIMCL6x/9JPKDCOkzpSZQdKIohcY8l2Q==
- dependencies:
- cross-fetch "^3.0.6"
-
-"@supabase/postgrest-js@^0.36.0":
- version "0.36.0"
- resolved "https://registry.yarnpkg.com/@supabase/postgrest-js/-/postgrest-js-0.36.0.tgz#a734b9ce92fad86f825e6d707ffe638f0e85887a"
- integrity sha512-KOnhVy8tEr/qNnvOLpFqwOkt7ilRDFMXY+JJfmLjS3+eZuna1G57w4zb3L0SdY6BL7AKnfzP5BG3yHTAuJPSww==
- dependencies:
- cross-fetch "^3.0.6"
-
-"@supabase/realtime-js@^1.3.5":
- version "1.3.5"
- resolved "https://registry.yarnpkg.com/@supabase/realtime-js/-/realtime-js-1.3.5.tgz#6ade8a97ae4c600bbe8b7615fd987e2bd956c582"
- integrity sha512-If+C0A6eT1BflFOOZNlnGw/91gNuj7f/M19/WutsPM0pjhx++8Dj0YH8z+tbgxX0nf/2UGVUMMgTBckzpk9R3g==
- dependencies:
- "@types/websocket" "^1.0.3"
- websocket "^1.0.34"
-
-"@supabase/storage-js@^1.5.1":
- version "1.5.1"
- resolved "https://registry.yarnpkg.com/@supabase/storage-js/-/storage-js-1.5.1.tgz#0f451210972284a10c0e2edeea40daac9001c969"
- integrity sha512-W82st1RvkChVJ/FTCcPXFXfS3V0Z4rZuMnoDnB9/NI5i9r9zspZS40tHpUQ+vbN6R6k0pfr/Waa1jcEd3YAtrQ==
- dependencies:
- cross-fetch "^3.1.0"
-
-"@supabase/supabase-js@^1.30.2":
- version "1.30.2"
- resolved "https://registry.yarnpkg.com/@supabase/supabase-js/-/supabase-js-1.30.2.tgz#f18e590197211db734a914aa5a70c2a21f03d0b1"
- integrity sha512-r/hOnJ6Rx91NnAnT+/eFcrknAYCERvLi6y9lNRgfXqYZ9XFKNh9O8tSVSTmb9INS2vPfSY6fuPCS7M4791tOWw==
- dependencies:
- "@supabase/gotrue-js" "^1.22.0"
- "@supabase/postgrest-js" "^0.36.0"
- "@supabase/realtime-js" "^1.3.5"
- "@supabase/storage-js" "^1.5.1"
-
-"@types/node@*":
- version "17.0.18"
- resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.18.tgz#3b4fed5cfb58010e3a2be4b6e74615e4847f1074"
- integrity sha512-eKj4f/BsN/qcculZiRSujogjvp5O/k4lOW5m35NopjZM/QwLOR075a8pJW5hD+Rtdm2DaCVPENS6KtSQnUD6BA==
-
-"@types/websocket@^1.0.3":
- version "1.0.5"
- resolved "https://registry.yarnpkg.com/@types/websocket/-/websocket-1.0.5.tgz#3fb80ed8e07f88e51961211cd3682a3a4a81569c"
- integrity sha512-NbsqiNX9CnEfC1Z0Vf4mE1SgAJ07JnRYcNex7AJ9zAVzmiGHmjKFEk7O4TJIsgv2B1sLEb6owKFZrACwdYngsQ==
- dependencies:
- "@types/node" "*"
-
-"@types/yauzl@^2.9.1":
- version "2.9.2"
- resolved "https://registry.yarnpkg.com/@types/yauzl/-/yauzl-2.9.2.tgz#c48e5d56aff1444409e39fa164b0b4d4552a7b7a"
- integrity sha512-8uALY5LTvSuHgloDVUvWP3pIauILm+8/0pDMokuDYIoNsOkSwd5AiHBTSEJjKTDcZr5z8UpgOWZkxBF4iJftoA==
- dependencies:
- "@types/node" "*"
-
-agent-base@6:
- version "6.0.2"
- resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77"
- integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==
- dependencies:
- debug "4"
-
-balanced-match@^1.0.0:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
- integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
-
-base64-js@^1.3.1:
- version "1.5.1"
- resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
- integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
-
-bl@^4.0.3:
- version "4.1.0"
- resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a"
- integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==
- dependencies:
- buffer "^5.5.0"
- inherits "^2.0.4"
- readable-stream "^3.4.0"
-
-brace-expansion@^1.1.7:
- version "1.1.11"
- resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
- integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
- dependencies:
- balanced-match "^1.0.0"
- concat-map "0.0.1"
-
-buffer-crc32@~0.2.3:
- version "0.2.13"
- resolved "https://registry.yarnpkg.com/buffer-crc32/-/buffer-crc32-0.2.13.tgz#0d333e3f00eac50aa1454abd30ef8c2a5d9a7242"
- integrity sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI=
-
-buffer@^5.2.1, buffer@^5.5.0:
- version "5.7.1"
- resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0"
- integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==
- dependencies:
- base64-js "^1.3.1"
- ieee754 "^1.1.13"
-
-bufferutil@^4.0.1:
- version "4.0.6"
- resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.6.tgz#ebd6c67c7922a0e902f053e5d8be5ec850e48433"
- integrity sha512-jduaYOYtnio4aIAyc6UbvPCVcgq7nYpVnucyxr6eCYg/Woad9Hf/oxxBRDnGGjPfjUm6j5O/uBWhIu4iLebFaw==
- dependencies:
- node-gyp-build "^4.3.0"
-
-chownr@^1.1.1:
- version "1.1.4"
- resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b"
- integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==
-
[email protected]:
- version "0.0.1"
- resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
- integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
-
[email protected], cross-fetch@^3.0.6, cross-fetch@^3.1.0:
- version "3.1.5"
- resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.5.tgz#e1389f44d9e7ba767907f7af8454787952ab534f"
- integrity sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw==
- dependencies:
- node-fetch "2.6.7"
-
-d@1, d@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a"
- integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==
- dependencies:
- es5-ext "^0.10.50"
- type "^1.0.1"
-
-debug@4, [email protected], debug@^4.1.1:
- version "4.3.3"
- resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664"
- integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==
- dependencies:
- ms "2.1.2"
-
-debug@^2.2.0:
- version "2.6.9"
- resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f"
- integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==
- dependencies:
- ms "2.0.0"
-
[email protected]:
- version "0.0.969999"
- resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.969999.tgz#3d6be0a126b3607bb399ae2719b471dda71f3478"
- integrity sha512-6GfzuDWU0OFAuOvBokXpXPLxjOJ5DZ157Ue3sGQQM3LgAamb8m0R0ruSfN0DDu+XG5XJgT50i6zZ/0o8RglreQ==
-
-end-of-stream@^1.1.0, end-of-stream@^1.4.1:
- version "1.4.4"
- resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
- integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==
- dependencies:
- once "^1.4.0"
-
-es5-ext@^0.10.35, es5-ext@^0.10.50:
- version "0.10.53"
- resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.53.tgz#93c5a3acfdbef275220ad72644ad02ee18368de1"
- integrity sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==
- dependencies:
- es6-iterator "~2.0.3"
- es6-symbol "~3.1.3"
- next-tick "~1.0.0"
-
-es6-iterator@~2.0.3:
- version "2.0.3"
- resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7"
- integrity sha1-p96IkUGgWpSwhUQDstCg+/qY87c=
- dependencies:
- d "1"
- es5-ext "^0.10.35"
- es6-symbol "^3.1.1"
-
-es6-symbol@^3.1.1, es6-symbol@~3.1.3:
- version "3.1.3"
- resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18"
- integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==
- dependencies:
- d "^1.0.1"
- ext "^1.1.2"
-
-ext@^1.1.2:
- version "1.6.0"
- resolved "https://registry.yarnpkg.com/ext/-/ext-1.6.0.tgz#3871d50641e874cc172e2b53f919842d19db4c52"
- integrity sha512-sdBImtzkq2HpkdRLtlLWDa6w4DX22ijZLKx8BMPUuKe1c5lbN6xwQDQCxSfxBQnHZ13ls/FH0MQZx/q/gr6FQg==
- dependencies:
- type "^2.5.0"
-
[email protected]:
- version "2.0.1"
- resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-2.0.1.tgz#663dca56fe46df890d5f131ef4a06d22bb8ba13a"
- integrity sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg==
- dependencies:
- debug "^4.1.1"
- get-stream "^5.1.0"
- yauzl "^2.10.0"
- optionalDependencies:
- "@types/yauzl" "^2.9.1"
-
-fd-slicer@~1.1.0:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e"
- integrity sha1-JcfInLH5B3+IkbvmHY85Dq4lbx4=
- dependencies:
- pend "~1.2.0"
-
-find-up@^4.0.0:
- version "4.1.0"
- resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
- integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==
- dependencies:
- locate-path "^5.0.0"
- path-exists "^4.0.0"
-
-fs-constants@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad"
- integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==
-
-fs.realpath@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
- integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
-
-get-stream@^5.1.0:
- version "5.2.0"
- resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3"
- integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==
- dependencies:
- pump "^3.0.0"
-
-glob@^7.1.3:
- version "7.2.0"
- resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023"
- integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==
- dependencies:
- fs.realpath "^1.0.0"
- inflight "^1.0.4"
- inherits "2"
- minimatch "^3.0.4"
- once "^1.3.0"
- path-is-absolute "^1.0.0"
-
[email protected]:
- version "5.0.0"
- resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2"
- integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA==
- dependencies:
- agent-base "6"
- debug "4"
-
-ieee754@^1.1.13:
- version "1.2.1"
- resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
- integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
-
-inflight@^1.0.4:
- version "1.0.6"
- resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
- integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=
- dependencies:
- once "^1.3.0"
- wrappy "1"
-
-inherits@2, inherits@^2.0.3, inherits@^2.0.4:
- version "2.0.4"
- resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
- integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
-
-is-typedarray@^1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
- integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=
-
-locate-path@^5.0.0:
- version "5.0.0"
- resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0"
- integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==
- dependencies:
- p-locate "^4.1.0"
-
-lodash@^4.17.2:
- version "4.17.21"
- resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
- integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
-
-median@^0.0.2:
- version "0.0.2"
- resolved "https://registry.yarnpkg.com/median/-/median-0.0.2.tgz#1b7172bc221eb3e9bf4f479fadaadefc50c44787"
- integrity sha1-G3FyvCIes+m/T0efrare/FDER4c=
-
-minimatch@^3.0.4:
- version "3.1.1"
- resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.1.tgz#879ad447200773912898b46cd516a7abbb5e50b0"
- integrity sha512-reLxBcKUPNBnc/sVtAbxgRVFSegoGeLaSjmphNhcwcolhYLRgtJscn5mRl6YRZNQv40Y7P6JM2YhSIsbL9OB5A==
- dependencies:
- brace-expansion "^1.1.7"
-
-mkdirp-classic@^0.5.2:
- version "0.5.3"
- resolved "https://registry.yarnpkg.com/mkdirp-classic/-/mkdirp-classic-0.5.3.tgz#fa10c9115cc6d8865be221ba47ee9bed78601113"
- integrity sha512-gKLcREMhtuZRwRAfqP3RFW+TK4JqApVBtOIftVgjuABpAtpxhPGaDcfvbhNvD0B8iD1oUr/txX35NjcaY6Ns/A==
-
[email protected]:
- version "2.0.0"
- resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
- integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=
-
[email protected]:
- version "2.1.2"
- resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
- integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
-
-next-tick@~1.0.0:
- version "1.0.0"
- resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c"
- integrity sha1-yobR/ogoFpsBICCOPchCS524NCw=
-
[email protected]:
- version "2.6.7"
- resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad"
- integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==
- dependencies:
- whatwg-url "^5.0.0"
-
-node-gyp-build@^4.3.0:
- version "4.3.0"
- resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.3.0.tgz#9f256b03e5826150be39c764bf51e993946d71a3"
- integrity sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==
-
-node-stdev@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/node-stdev/-/node-stdev-1.0.1.tgz#7a4ba4ae44123683b9f4f06a25e0ec88b1ff1c54"
- integrity sha1-ekukrkQSNoO59PBqJeDsiLH/HFQ=
- dependencies:
- lodash "^4.17.2"
-
-once@^1.3.0, once@^1.3.1, once@^1.4.0:
- version "1.4.0"
- resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
- integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
- dependencies:
- wrappy "1"
-
-p-limit@^2.2.0:
- version "2.3.0"
- resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1"
- integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==
- dependencies:
- p-try "^2.0.0"
-
-p-locate@^4.1.0:
- version "4.1.0"
- resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07"
- integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==
- dependencies:
- p-limit "^2.2.0"
-
-p-try@^2.0.0:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6"
- integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==
-
-path-exists@^4.0.0:
- version "4.0.0"
- resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
- integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==
-
-path-is-absolute@^1.0.0:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
- integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
-
-pend@~1.2.0:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50"
- integrity sha1-elfrVQpng/kRUzH89GY9XI4AelA=
-
[email protected]:
- version "4.2.0"
- resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3"
- integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==
- dependencies:
- find-up "^4.0.0"
-
[email protected]:
- version "2.0.3"
- resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
- integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==
-
[email protected]:
- version "1.1.0"
- resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
- integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==
-
-pump@^3.0.0:
- version "3.0.0"
- resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64"
- integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==
- dependencies:
- end-of-stream "^1.1.0"
- once "^1.3.1"
-
-puppeteer@^13.5.1:
- version "13.5.1"
- resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-13.5.1.tgz#d0f751bf36120efc2ebf74c7562a204a84e500e9"
- integrity sha512-wWxO//vMiqxlvuzHMAJ0pRJeDHvDtM7DQpW1GKdStz2nZo2G42kOXBDgkmQ+zqjwMCFofKGesBeeKxIkX9BO+w==
- dependencies:
- cross-fetch "3.1.5"
- debug "4.3.3"
- devtools-protocol "0.0.969999"
- extract-zip "2.0.1"
- https-proxy-agent "5.0.0"
- pkg-dir "4.2.0"
- progress "2.0.3"
- proxy-from-env "1.1.0"
- rimraf "3.0.2"
- tar-fs "2.1.1"
- unbzip2-stream "1.4.3"
- ws "8.5.0"
-
-readable-stream@^3.1.1, readable-stream@^3.4.0:
- version "3.6.0"
- resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198"
- integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==
- dependencies:
- inherits "^2.0.3"
- string_decoder "^1.1.1"
- util-deprecate "^1.0.1"
-
[email protected]:
- version "3.0.2"
- resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
- integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
- dependencies:
- glob "^7.1.3"
-
-safe-buffer@~5.2.0:
- version "5.2.1"
- resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
- integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
-
-sanitize-filename@^1.6.3:
- version "1.6.3"
- resolved "https://registry.yarnpkg.com/sanitize-filename/-/sanitize-filename-1.6.3.tgz#755ebd752045931977e30b2025d340d7c9090378"
- integrity sha512-y/52Mcy7aw3gRm7IrcGDFx/bCk4AhRh2eI9luHOQM86nZsqwiRkkq2GekHXBBD+SmPidc8i2PqtYZl+pWJ8Oeg==
- dependencies:
- truncate-utf8-bytes "^1.0.0"
-
-string_decoder@^1.1.1:
- version "1.3.0"
- resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
- integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==
- dependencies:
- safe-buffer "~5.2.0"
-
[email protected]:
- version "2.1.1"
- resolved "https://registry.yarnpkg.com/tar-fs/-/tar-fs-2.1.1.tgz#489a15ab85f1f0befabb370b7de4f9eb5cbe8784"
- integrity sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==
- dependencies:
- chownr "^1.1.1"
- mkdirp-classic "^0.5.2"
- pump "^3.0.0"
- tar-stream "^2.1.4"
-
-tar-stream@^2.1.4:
- version "2.2.0"
- resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287"
- integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==
- dependencies:
- bl "^4.0.3"
- end-of-stream "^1.4.1"
- fs-constants "^1.0.0"
- inherits "^2.0.3"
- readable-stream "^3.1.1"
-
-through@^2.3.8:
- version "2.3.8"
- resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5"
- integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=
-
-tr46@~0.0.3:
- version "0.0.3"
- resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a"
- integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o=
-
-tracelib@^1.0.1:
- version "1.0.1"
- resolved "https://registry.yarnpkg.com/tracelib/-/tracelib-1.0.1.tgz#bb44ea96c19b8d7a6c85a6ee1cac9945c5b75c64"
- integrity sha512-T2Vkpa/7Vdm3sV8nXRn8vZ0tnq6wlnO4Zx7Pux+JA1W6DMlg5EtbNcPZu/L7XRTPc9S0eAKhEFR4p/u0GcsDpQ==
-
-truncate-utf8-bytes@^1.0.0:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz#405923909592d56f78a5818434b0b78489ca5f2b"
- integrity sha1-QFkjkJWS1W94pYGENLC3hInKXys=
- dependencies:
- utf8-byte-length "^1.0.1"
-
-type@^1.0.1:
- version "1.2.0"
- resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0"
- integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==
-
-type@^2.5.0:
- version "2.6.0"
- resolved "https://registry.yarnpkg.com/type/-/type-2.6.0.tgz#3ca6099af5981d36ca86b78442973694278a219f"
- integrity sha512-eiDBDOmkih5pMbo9OqsqPRGMljLodLcwd5XD5JbtNB0o89xZAwynY9EdCDsJU7LtcVCClu9DvM7/0Ep1hYX3EQ==
-
-typedarray-to-buffer@^3.1.5:
- version "3.1.5"
- resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080"
- integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==
- dependencies:
- is-typedarray "^1.0.0"
-
[email protected]:
- version "1.4.3"
- resolved "https://registry.yarnpkg.com/unbzip2-stream/-/unbzip2-stream-1.4.3.tgz#b0da04c4371311df771cdc215e87f2130991ace7"
- integrity sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg==
- dependencies:
- buffer "^5.2.1"
- through "^2.3.8"
-
-utf-8-validate@^5.0.2:
- version "5.0.8"
- resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.8.tgz#4a735a61661dbb1c59a0868c397d2fe263f14e58"
- integrity sha512-k4dW/Qja1BYDl2qD4tOMB9PFVha/UJtxTc1cXYOe3WwA/2m0Yn4qB7wLMpJyLJ/7DR0XnTut3HsCSzDT4ZvKgA==
- dependencies:
- node-gyp-build "^4.3.0"
-
-utf8-byte-length@^1.0.1:
- version "1.0.4"
- resolved "https://registry.yarnpkg.com/utf8-byte-length/-/utf8-byte-length-1.0.4.tgz#f45f150c4c66eee968186505ab93fcbb8ad6bf61"
- integrity sha1-9F8VDExm7uloGGUFq5P8u4rWv2E=
-
-util-deprecate@^1.0.1:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
- integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=
-
-webidl-conversions@^3.0.0:
- version "3.0.1"
- resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
- integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE=
-
-websocket@^1.0.34:
- version "1.0.34"
- resolved "https://registry.yarnpkg.com/websocket/-/websocket-1.0.34.tgz#2bdc2602c08bf2c82253b730655c0ef7dcab3111"
- integrity sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ==
- dependencies:
- bufferutil "^4.0.1"
- debug "^2.2.0"
- es5-ext "^0.10.50"
- typedarray-to-buffer "^3.1.5"
- utf-8-validate "^5.0.2"
- yaeti "^0.0.6"
-
-whatwg-url@^5.0.0:
- version "5.0.0"
- resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d"
- integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0=
- dependencies:
- tr46 "~0.0.3"
- webidl-conversions "^3.0.0"
-
-wrappy@1:
- version "1.0.2"
- resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
- integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
-
[email protected]:
- version "8.5.0"
- resolved "https://registry.yarnpkg.com/ws/-/ws-8.5.0.tgz#bfb4be96600757fe5382de12c670dab984a1ed4f"
- integrity sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==
-
-yaeti@^0.0.6:
- version "0.0.6"
- resolved "https://registry.yarnpkg.com/yaeti/-/yaeti-0.0.6.tgz#f26f484d72684cf42bedfb76970aa1608fbf9577"
- integrity sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=
-
-yauzl@^2.10.0:
- version "2.10.0"
- resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9"
- integrity sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk=
- dependencies:
- buffer-crc32 "~0.2.3"
- fd-slicer "~1.1.0"
|
09c13b5061615983f7a575badfa4afca9581f19b
|
2023-10-26 12:36:49
|
Saroj
|
ci: Fix ci-test-limited runs (#28384)
| false
|
Fix ci-test-limited runs (#28384)
|
ci
|
diff --git a/app/client/cypress/scripts/cypress-split.ts b/app/client/cypress/scripts/cypress-split.ts
index fc5025db8533..3bfc47e60636 100644
--- a/app/client/cypress/scripts/cypress-split.ts
+++ b/app/client/cypress/scripts/cypress-split.ts
@@ -74,7 +74,8 @@ export class cypressSplit {
);
const specsToRun = await this.getSpecsWithTime(specFilePaths, attemptId);
- return specsToRun === undefined
+ console.log("SPECS TO RUN ----------> :", specsToRun);
+ return specsToRun === undefined || specsToRun.length === 0
? []
: specsToRun[0].map((spec) => spec.name);
} catch (err) {
|
b62e2385330f9b81047ee948168a72c5abc7cdc7
|
2023-08-31 10:12:47
|
Shubham Saxena
|
chore: revert rate limit due to redis client issue (#26813)
| false
|
revert rate limit due to redis client issue (#26813)
|
chore
|
diff --git a/app/server/appsmith-server/pom.xml b/app/server/appsmith-server/pom.xml
index 8e8ac3443783..f1159a554f50 100644
--- a/app/server/appsmith-server/pom.xml
+++ b/app/server/appsmith-server/pom.xml
@@ -135,11 +135,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
- <dependency>
- <groupId>com.bucket4j</groupId>
- <artifactId>bucket4j-redis</artifactId>
- <version>8.3.0</version>
- </dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
@@ -372,6 +367,7 @@
<artifactId>reactiveCaching</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
+
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/AuthenticationSuccessHandler.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/AuthenticationSuccessHandler.java
index dc22dae39d40..1c024df02e94 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/AuthenticationSuccessHandler.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/AuthenticationSuccessHandler.java
@@ -3,7 +3,6 @@
import com.appsmith.server.authentication.handlers.ce.AuthenticationSuccessHandlerCE;
import com.appsmith.server.configurations.CommonConfig;
import com.appsmith.server.helpers.RedirectHelper;
-import com.appsmith.server.ratelimiting.RateLimitService;
import com.appsmith.server.repositories.UserRepository;
import com.appsmith.server.repositories.WorkspaceRepository;
import com.appsmith.server.services.AnalyticsService;
@@ -40,7 +39,6 @@ public AuthenticationSuccessHandler(
FeatureFlagService featureFlagService,
CommonConfig commonConfig,
UserIdentifierService userIdentifierService,
- RateLimitService rateLimitService,
TenantService tenantService,
UserService userService) {
@@ -59,7 +57,6 @@ public AuthenticationSuccessHandler(
featureFlagService,
commonConfig,
userIdentifierService,
- rateLimitService,
tenantService,
userService);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/ce/AuthenticationFailureHandlerCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/ce/AuthenticationFailureHandlerCE.java
index c9dac2df77de..99ac2d34996a 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/ce/AuthenticationFailureHandlerCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/ce/AuthenticationFailureHandlerCE.java
@@ -26,12 +26,13 @@
@RequiredArgsConstructor
public class AuthenticationFailureHandlerCE implements ServerAuthenticationFailureHandler {
- private final ServerRedirectStrategy redirectStrategy = new DefaultServerRedirectStrategy();
+ private ServerRedirectStrategy redirectStrategy = new DefaultServerRedirectStrategy();
@Override
public Mono<Void> onAuthenticationFailure(WebFilterExchange webFilterExchange, AuthenticationException exception) {
log.error("In the login failure handler. Cause: {}", exception.getMessage(), exception);
ServerWebExchange exchange = webFilterExchange.getExchange();
+
// On authentication failure, we send a redirect to the client's login error page. The browser will re-load the
// login page again with an error message shown to the user.
MultiValueMap<String, String> queryParams = exchange.getRequest().getQueryParams();
@@ -40,46 +41,41 @@ public Mono<Void> onAuthenticationFailure(WebFilterExchange webFilterExchange, A
String redirectUrl = queryParams.getFirst(REDIRECT_URL_QUERY_PARAM);
if (state != null && !state.isEmpty()) {
- originHeader = getOriginFromState(state);
- } else {
- originHeader =
- getOriginFromReferer(exchange.getRequest().getHeaders().getOrigin());
- }
-
- // Construct the redirect URL based on the exception type
- String url = constructRedirectUrl(exception, originHeader, redirectUrl);
-
- return redirectWithUrl(exchange, url);
- }
-
- private String getOriginFromState(String state) {
- String[] stateArray = state.split(",");
- for (int i = 0; i < stateArray.length; i++) {
- String stateVar = stateArray[i];
- if (stateVar != null && stateVar.startsWith(Security.STATE_PARAMETER_ORIGIN) && stateVar.contains("=")) {
- return stateVar.split("=")[1];
+ // This is valid for OAuth2 login failures. We derive the client login URL from the state query parameter
+ // that would have been set when we initiated the OAuth2 request.
+ String[] stateArray = state.split(",");
+ for (int i = 0; i < stateArray.length; i++) {
+ String stateVar = stateArray[i];
+ if (stateVar != null
+ && stateVar.startsWith(Security.STATE_PARAMETER_ORIGIN)
+ && stateVar.contains("=")) {
+ // This is the origin of the request that we want to redirect to
+ originHeader = stateVar.split("=")[1];
+ }
}
- }
- return "/";
- }
-
- // this method extracts the origin from the referer header
- private String getOriginFromReferer(String refererHeader) {
- if (refererHeader != null && !refererHeader.isBlank()) {
- try {
- URI uri = new URI(refererHeader);
- String authority = uri.getAuthority();
- String scheme = uri.getScheme();
- return scheme + "://" + authority;
- } catch (URISyntaxException e) {
- return "/";
+ } else {
+ // This is a form login authentication failure
+ originHeader = exchange.getRequest().getHeaders().getOrigin();
+ if (originHeader == null || originHeader.isEmpty()) {
+ // Check the referer header if the origin is not available
+ String refererHeader = exchange.getRequest().getHeaders().getFirst(Security.REFERER_HEADER);
+ if (refererHeader != null && !refererHeader.isBlank()) {
+ URI uri = null;
+ try {
+ uri = new URI(refererHeader);
+ String authority = uri.getAuthority();
+ String scheme = uri.getScheme();
+ originHeader = scheme + "://" + authority;
+ } catch (URISyntaxException e) {
+ originHeader = "/";
+ }
+ }
}
}
- return "/";
- }
- // this method constructs the redirect URL based on the exception type
- private String constructRedirectUrl(AuthenticationException exception, String originHeader, String redirectUrl) {
+ // Authentication failure message can hold sensitive information, directly or indirectly. So we don't show all
+ // possible error messages. Only the ones we know are okay to be read by the user. Like a whitelist.
+ URI defaultRedirectLocation;
String url = "";
if (exception instanceof OAuth2AuthenticationException
&& AppsmithError.SIGNUP_DISABLED
@@ -100,11 +96,7 @@ private String constructRedirectUrl(AuthenticationException exception, String or
if (redirectUrl != null && !redirectUrl.trim().isEmpty()) {
url = url + "&" + REDIRECT_URL_QUERY_PARAM + "=" + redirectUrl;
}
- return url;
- }
-
- private Mono<Void> redirectWithUrl(ServerWebExchange exchange, String url) {
- URI defaultRedirectLocation = URI.create(url);
+ defaultRedirectLocation = URI.create(url);
return this.redirectStrategy.sendRedirect(exchange, defaultRedirectLocation);
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/ce/AuthenticationSuccessHandlerCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/ce/AuthenticationSuccessHandlerCE.java
index 6171d815e941..ba3bfd7d56a3 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/ce/AuthenticationSuccessHandlerCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/ce/AuthenticationSuccessHandlerCE.java
@@ -4,7 +4,6 @@
import com.appsmith.server.authentication.handlers.CustomServerOAuth2AuthorizationRequestResolver;
import com.appsmith.server.configurations.CommonConfig;
import com.appsmith.server.constants.FieldName;
-import com.appsmith.server.constants.RateLimitConstants;
import com.appsmith.server.constants.Security;
import com.appsmith.server.domains.Application;
import com.appsmith.server.domains.LoginSource;
@@ -12,7 +11,6 @@
import com.appsmith.server.domains.Workspace;
import com.appsmith.server.dtos.ResendEmailVerificationDTO;
import com.appsmith.server.helpers.RedirectHelper;
-import com.appsmith.server.ratelimiting.RateLimitService;
import com.appsmith.server.repositories.UserRepository;
import com.appsmith.server.repositories.WorkspaceRepository;
import com.appsmith.server.services.AnalyticsService;
@@ -73,8 +71,8 @@ public class AuthenticationSuccessHandlerCE implements ServerAuthenticationSucce
private final FeatureFlagService featureFlagService;
private final CommonConfig commonConfig;
private final UserIdentifierService userIdentifierService;
- private final RateLimitService rateLimitService;
private final TenantService tenantService;
+
private final UserService userService;
private Mono<Boolean> isVerificationRequired(String userEmail, String method) {
@@ -266,7 +264,6 @@ public Mono<Void> onAuthenticationSuccess(
log.debug("Login succeeded for user: {}", authentication.getPrincipal());
Mono<Void> redirectionMono = null;
User user = (User) authentication.getPrincipal();
- rateLimitService.resetCounter(RateLimitConstants.BUCKET_KEY_FOR_LOGIN_API, user.getEmail());
String originHeader =
webFilterExchange.getExchange().getRequest().getHeaders().getOrigin();
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/RedisConfig.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/RedisConfig.java
index 51c5483f840c..9fef4b0d1753 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/RedisConfig.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/RedisConfig.java
@@ -5,7 +5,6 @@
import com.appsmith.server.dtos.UserSessionDTO;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.json.JsonMapper;
-import io.lettuce.core.RedisClient;
import io.lettuce.core.resource.ClientResources;
import io.micrometer.observation.ObservationRegistry;
import lombok.extern.slf4j.Slf4j;
@@ -101,12 +100,6 @@ public ReactiveRedisConnectionFactory reactiveRedisConnectionFactory() {
}
}
- @Bean
- public RedisClient redisClient() {
- final URI redisUri = URI.create(redisURL);
- return RedisClient.create(redisUri.getScheme() + "://" + redisUri.getHost() + ":" + redisUri.getPort());
- }
-
private void fillAuthentication(URI redisUri, RedisConfiguration.WithAuthentication config) {
final String userInfo = redisUri.getUserInfo();
if (StringUtils.isNotEmpty(userInfo)) {
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/SecurityConfig.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/SecurityConfig.java
index c24371c29b2a..671a89b4f28f 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/SecurityConfig.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/SecurityConfig.java
@@ -7,10 +7,7 @@
import com.appsmith.server.constants.Url;
import com.appsmith.server.domains.User;
import com.appsmith.server.filters.CSRFFilter;
-import com.appsmith.server.filters.ConditionalFilter;
-import com.appsmith.server.filters.PreAuth;
import com.appsmith.server.helpers.RedirectHelper;
-import com.appsmith.server.ratelimiting.RateLimitService;
import com.appsmith.server.services.AnalyticsService;
import com.appsmith.server.services.UserService;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -96,9 +93,6 @@ public class SecurityConfig {
@Autowired
private RedirectHelper redirectHelper;
- @Autowired
- private RateLimitService rateLimitService;
-
@Value("${appsmith.internal.password}")
private String INTERNAL_PASSWORD;
@@ -214,10 +208,6 @@ public SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
.anyExchange()
.authenticated()
.and()
- // Add Pre Auth rate limit filter before authentication filter
- .addFilterBefore(
- new ConditionalFilter(new PreAuth(rateLimitService), Url.LOGIN_URL),
- SecurityWebFiltersOrder.FORM_LOGIN)
.httpBasic(httpBasicSpec -> httpBasicSpec.authenticationFailureHandler(failureHandler))
.formLogin(formLoginSpec -> formLoginSpec
.authenticationFailureHandler(failureHandler)
@@ -227,6 +217,7 @@ public SecurityWebFilterChain securityWebFilterChain(ServerHttpSecurity http) {
ServerWebExchangeMatchers.pathMatchers(HttpMethod.POST, Url.LOGIN_URL))
.authenticationSuccessHandler(authenticationSuccessHandler)
.authenticationFailureHandler(authenticationFailureHandler))
+
// For Github SSO Login, check transformation class: CustomOAuth2UserServiceImpl
// For Google SSO Login, check transformation class: CustomOAuth2UserServiceImpl
.oauth2Login(oAuth2LoginSpec -> oAuth2LoginSpec
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/RateLimitConstants.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/RateLimitConstants.java
deleted file mode 100644
index ca2e6b9422fc..000000000000
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/RateLimitConstants.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package com.appsmith.server.constants;
-
-public class RateLimitConstants {
- public static final String RATE_LIMIT_REACHED_ACCOUNT_SUSPENDED =
- "Your account is suspended for 24 hours. Please reset your password to continue";
- public static final String BUCKET_KEY_FOR_LOGIN_API = "login";
-}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/filters/ConditionalFilter.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/filters/ConditionalFilter.java
deleted file mode 100644
index 34556777955c..000000000000
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/filters/ConditionalFilter.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package com.appsmith.server.filters;
-
-import org.springframework.web.server.ServerWebExchange;
-import org.springframework.web.server.WebFilter;
-import org.springframework.web.server.WebFilterChain;
-import reactor.core.publisher.Mono;
-
-public class ConditionalFilter implements WebFilter {
-
- private final WebFilter filter;
- private final String targetUrl;
-
- public ConditionalFilter(WebFilter filter, String targetUrl) {
- this.filter = filter;
- this.targetUrl = targetUrl;
- }
-
- @Override
- public Mono<Void> filter(ServerWebExchange exchange, WebFilterChain chain) {
- if (exchange.getRequest().getPath().toString().equals(targetUrl)) {
- return filter.filter(exchange, chain);
- }
-
- return chain.filter(exchange);
- }
-}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/filters/PreAuth.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/filters/PreAuth.java
deleted file mode 100644
index 21ea1aded62f..000000000000
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/filters/PreAuth.java
+++ /dev/null
@@ -1,72 +0,0 @@
-package com.appsmith.server.filters;
-
-import com.appsmith.server.constants.FieldName;
-import com.appsmith.server.constants.RateLimitConstants;
-import com.appsmith.server.ratelimiting.RateLimitService;
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.security.web.server.DefaultServerRedirectStrategy;
-import org.springframework.security.web.server.ServerRedirectStrategy;
-import org.springframework.web.server.ServerWebExchange;
-import org.springframework.web.server.WebFilter;
-import org.springframework.web.server.WebFilterChain;
-import reactor.core.publisher.Mono;
-
-import java.net.URI;
-import java.net.URLDecoder;
-import java.net.URLEncoder;
-import java.nio.charset.StandardCharsets;
-
-@Slf4j
-public class PreAuth implements WebFilter {
-
- private final ServerRedirectStrategy redirectStrategy = new DefaultServerRedirectStrategy();
- private final RateLimitService rateLimitService;
-
- public PreAuth(RateLimitService rateLimitService) {
- this.rateLimitService = rateLimitService;
- }
-
- @Override
- public Mono<Void> filter(ServerWebExchange exchange, WebFilterChain chain) {
- return getUsername(exchange).flatMap(username -> {
- if (!username.isEmpty()) {
- return rateLimitService
- .tryIncreaseCounter(RateLimitConstants.BUCKET_KEY_FOR_LOGIN_API, username)
- .flatMap(counterIncreaseAttemptSuccessful -> {
- if (!counterIncreaseAttemptSuccessful) {
- log.error("Rate limit exceeded. Redirecting to login page.");
- return handleRateLimitExceeded(exchange);
- }
-
- return chain.filter(exchange);
- });
- } else {
- // If username is empty, simply continue with the filter chain
- return chain.filter(exchange);
- }
- });
- }
-
- private Mono<String> getUsername(ServerWebExchange exchange) {
- return exchange.getFormData().flatMap(formData -> {
- String username = formData.getFirst(FieldName.USERNAME.toString());
- if (username != null && !username.isEmpty()) {
- return Mono.just(URLDecoder.decode(username, StandardCharsets.UTF_8));
- }
-
- return Mono.just("");
- });
- }
-
- private Mono<Void> handleRateLimitExceeded(ServerWebExchange exchange) {
- // Set the error in the URL query parameter for rate limiting
- String url = "/user/login?error=true&message="
- + URLEncoder.encode(RateLimitConstants.RATE_LIMIT_REACHED_ACCOUNT_SUSPENDED, StandardCharsets.UTF_8);
- return redirectWithUrl(exchange, url);
- }
-
- private Mono<Void> redirectWithUrl(ServerWebExchange exchange, String url) {
- URI defaultRedirectLocation = URI.create(url);
- return this.redirectStrategy.sendRedirect(exchange, defaultRedirectLocation);
- }
-}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/RateLimitConfig.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/RateLimitConfig.java
deleted file mode 100644
index 5c4aeb7c8562..000000000000
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/RateLimitConfig.java
+++ /dev/null
@@ -1,75 +0,0 @@
-package com.appsmith.server.ratelimiting;
-
-import com.appsmith.server.constants.RateLimitConstants;
-import io.github.bucket4j.Bandwidth;
-import io.github.bucket4j.BucketConfiguration;
-import io.github.bucket4j.Refill;
-import io.github.bucket4j.distributed.BucketProxy;
-import io.github.bucket4j.distributed.ExpirationAfterWriteStrategy;
-import io.github.bucket4j.redis.lettuce.cas.LettuceBasedProxyManager;
-import io.lettuce.core.RedisClient;
-import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-
-import java.time.Duration;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.Optional;
-
-@Configuration
-public class RateLimitConfig {
- private static final Map<String, BucketConfiguration> apiConfigurations = new HashMap<>();
-
- @Autowired
- private final RedisClient redisClient;
-
- public RateLimitConfig(RedisClient redisClient) {
- this.redisClient = redisClient;
- }
-
- static {
- apiConfigurations.put(
- RateLimitConstants.BUCKET_KEY_FOR_LOGIN_API, createBucketConfiguration(Duration.ofDays(1), 5));
- // Add more API configurations as needed
- }
-
- @Bean
- public LettuceBasedProxyManager<byte[]> proxyManager() {
- /*
- we want a single proxyManager to manage all buckets.
- If we set too short an expiration time,
- the proxyManager expires and renews the buckets with their initial configuration
- */
- Duration longExpiration = Duration.ofDays(3650); // 10 years
- return LettuceBasedProxyManager.builderFor(redisClient)
- .withExpirationStrategy(ExpirationAfterWriteStrategy.fixedTimeToLive(longExpiration))
- .build();
- }
-
- @Bean
- public Map<String, BucketProxy> apiBuckets() {
- Map<String, BucketProxy> apiBuckets = new HashMap<>();
-
- apiConfigurations.forEach((apiIdentifier, configuration) ->
- apiBuckets.put(apiIdentifier, proxyManager().builder().build(apiIdentifier.getBytes(), configuration)));
-
- return apiBuckets;
- }
-
- public BucketProxy getOrCreateAPIUserSpecificBucket(String apiIdentifier, String userId) {
- String bucketIdentifier = apiIdentifier + userId;
- Optional<BucketConfiguration> bucketProxy = proxyManager().getProxyConfiguration(bucketIdentifier.getBytes());
- if (bucketProxy.isPresent()) {
- return proxyManager().builder().build(bucketIdentifier.getBytes(), bucketProxy.get());
- }
-
- return proxyManager().builder().build(bucketIdentifier.getBytes(), apiConfigurations.get(apiIdentifier));
- }
-
- private static BucketConfiguration createBucketConfiguration(Duration refillDuration, int limit) {
- Refill refillConfig = Refill.intervally(limit, refillDuration);
- Bandwidth limitConfig = Bandwidth.classic(limit, refillConfig);
- return BucketConfiguration.builder().addLimit(limitConfig).build();
- }
-}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/RateLimitService.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/RateLimitService.java
deleted file mode 100644
index 51a9b048d991..000000000000
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/RateLimitService.java
+++ /dev/null
@@ -1,45 +0,0 @@
-package com.appsmith.server.ratelimiting;
-
-import io.github.bucket4j.distributed.BucketProxy;
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.stereotype.Service;
-import reactor.core.publisher.Mono;
-
-import java.util.Map;
-
-@Slf4j
-@Service
-public class RateLimitService {
-
- private final Map<String, BucketProxy> apiBuckets;
- private final RateLimitConfig rateLimitConfig;
- // this number of tokens var can later be customised per API in the configuration.
- private final Integer DEFAULT_NUMBER_OF_TOKENS_CONSUMED_PER_REQUEST = 1;
-
- public RateLimitService(Map<String, BucketProxy> apiBuckets, RateLimitConfig rateLimitConfig) {
- this.apiBuckets = apiBuckets;
- this.rateLimitConfig = rateLimitConfig;
- }
-
- public Mono<Boolean> tryIncreaseCounter(String apiIdentifier, String userIdentifier) {
- log.debug(
- "RateLimitService.tryIncreaseCounter() called with apiIdentifier = {}, userIdentifier = {}",
- apiIdentifier,
- userIdentifier);
- // handle the case where API itself is not rate limited
- log.debug(
- apiBuckets.containsKey(apiIdentifier) ? "apiBuckets contains key" : "apiBuckets does not contain key");
- if (!apiBuckets.containsKey(apiIdentifier)) return Mono.just(false);
-
- BucketProxy userSpecificBucket =
- rateLimitConfig.getOrCreateAPIUserSpecificBucket(apiIdentifier, userIdentifier);
- log.debug("userSpecificBucket = {}", userSpecificBucket);
- return Mono.just(userSpecificBucket.tryConsume(DEFAULT_NUMBER_OF_TOKENS_CONSUMED_PER_REQUEST));
- }
-
- public void resetCounter(String apiIdentifier, String userIdentifier) {
- rateLimitConfig
- .getOrCreateAPIUserSpecificBucket(apiIdentifier, userIdentifier)
- .reset();
- }
-}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/annotations/RateLimit.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/annotations/RateLimit.java
deleted file mode 100644
index 5732a884460e..000000000000
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/annotations/RateLimit.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package com.appsmith.server.ratelimiting.annotations;
-
-import org.springframework.core.annotation.AliasFor;
-import org.springframework.web.bind.annotation.RequestMapping;
-
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Retention;
-import java.lang.annotation.RetentionPolicy;
-import java.lang.annotation.Target;
-
-@Target({ElementType.METHOD})
-@Retention(RetentionPolicy.RUNTIME)
-@RequestMapping
-public @interface RateLimit {
-
- @AliasFor(annotation = RequestMapping.class, attribute = "value")
- String[] value() default {};
-
- String api() default "";
-}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/aspects/RateLimitAspect.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/aspects/RateLimitAspect.java
deleted file mode 100644
index 5e67421bb005..000000000000
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/ratelimiting/aspects/RateLimitAspect.java
+++ /dev/null
@@ -1,51 +0,0 @@
-package com.appsmith.server.ratelimiting.aspects;
-
-import com.appsmith.server.domains.User;
-import com.appsmith.server.dtos.ResponseDTO;
-import com.appsmith.server.exceptions.AppsmithError;
-import com.appsmith.server.exceptions.AppsmithException;
-import com.appsmith.server.ratelimiting.RateLimitService;
-import com.appsmith.server.ratelimiting.annotations.*;
-import com.appsmith.server.services.SessionUserService;
-import org.aspectj.lang.ProceedingJoinPoint;
-import org.aspectj.lang.annotation.Around;
-import org.aspectj.lang.annotation.Aspect;
-import org.springframework.stereotype.Component;
-import reactor.core.publisher.Mono;
-
-@Aspect
-@Component
-public class RateLimitAspect {
- private final RateLimitService rateLimitService;
- private final SessionUserService sessionUserService;
-
- public RateLimitAspect(RateLimitService rateLimitService, SessionUserService sessionUserService) {
- this.rateLimitService = rateLimitService;
- this.sessionUserService = sessionUserService;
- }
-
- @Around(value = "@annotation(rateLimit)")
- public Object applyRateLimit(ProceedingJoinPoint joinPoint, RateLimit rateLimit) throws Throwable {
- String apiIdentifier = rateLimit.api();
- Mono<User> loggedInUser = sessionUserService.getCurrentUser();
- Mono<String> userIdentifier = loggedInUser.map(User::getEmail);
-
- return userIdentifier.flatMap(email -> {
- Mono<Boolean> isAllowedMono = rateLimitService.tryIncreaseCounter(apiIdentifier, email);
- return isAllowedMono.flatMap(isAllowed -> {
- if (!isAllowed) {
- AppsmithException exception = new AppsmithException(AppsmithError.TOO_MANY_REQUESTS);
- return Mono.just(new ResponseDTO<>(exception.getHttpStatus(), exception.getMessage(), null));
- }
-
- try {
- Object result = joinPoint.proceed();
- return result instanceof Mono ? (Mono) result : Mono.just(result);
- } catch (Throwable e) {
- AppsmithError error = AppsmithError.INTERNAL_SERVER_ERROR;
- throw new AppsmithException(error, e.getMessage());
- }
- });
- });
- }
-}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/UserServiceImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/UserServiceImpl.java
index 7ec5c517743f..eb9e04dca5a4 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/UserServiceImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/UserServiceImpl.java
@@ -6,7 +6,6 @@
import com.appsmith.server.helpers.RedirectHelper;
import com.appsmith.server.helpers.UserUtils;
import com.appsmith.server.notifications.EmailSender;
-import com.appsmith.server.ratelimiting.RateLimitService;
import com.appsmith.server.repositories.ApplicationRepository;
import com.appsmith.server.repositories.EmailVerificationTokenRepository;
import com.appsmith.server.repositories.PasswordResetTokenRepository;
@@ -49,8 +48,8 @@ public UserServiceImpl(
PermissionGroupService permissionGroupService,
UserUtils userUtils,
EmailVerificationTokenRepository emailVerificationTokenRepository,
- RedirectHelper redirectHelper,
- RateLimitService rateLimitService) {
+ RedirectHelper redirectHelper) {
+
super(
scheduler,
validator,
@@ -74,7 +73,6 @@ public UserServiceImpl(
permissionGroupService,
userUtils,
emailVerificationTokenRepository,
- redirectHelper,
- rateLimitService);
+ redirectHelper);
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java
index a828b92d92f9..ae52d7340f67 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserServiceCEImpl.java
@@ -8,7 +8,6 @@
import com.appsmith.server.configurations.EmailConfig;
import com.appsmith.server.constants.Appsmith;
import com.appsmith.server.constants.FieldName;
-import com.appsmith.server.constants.RateLimitConstants;
import com.appsmith.server.domains.EmailVerificationToken;
import com.appsmith.server.domains.LoginSource;
import com.appsmith.server.domains.PasswordResetToken;
@@ -31,7 +30,6 @@
import com.appsmith.server.helpers.UserUtils;
import com.appsmith.server.helpers.ValidationUtils;
import com.appsmith.server.notifications.EmailSender;
-import com.appsmith.server.ratelimiting.RateLimitService;
import com.appsmith.server.repositories.ApplicationRepository;
import com.appsmith.server.repositories.EmailVerificationTokenRepository;
import com.appsmith.server.repositories.PasswordResetTokenRepository;
@@ -117,7 +115,6 @@ public class UserServiceCEImpl extends BaseService<UserRepository, User, String>
private final TenantService tenantService;
private final PermissionGroupService permissionGroupService;
private final UserUtils userUtils;
- private final RateLimitService rateLimitService;
private final RedirectHelper redirectHelper;
private static final WebFilterChain EMPTY_WEB_FILTER_CHAIN = serverWebExchange -> Mono.empty();
@@ -162,8 +159,7 @@ public UserServiceCEImpl(
PermissionGroupService permissionGroupService,
UserUtils userUtils,
EmailVerificationTokenRepository emailVerificationTokenRepository,
- RedirectHelper redirectHelper,
- RateLimitService rateLimitService) {
+ RedirectHelper redirectHelper) {
super(scheduler, validator, mongoConverter, reactiveMongoTemplate, repository, analyticsService);
this.workspaceService = workspaceService;
this.sessionUserService = sessionUserService;
@@ -180,7 +176,6 @@ public UserServiceCEImpl(
this.tenantService = tenantService;
this.permissionGroupService = permissionGroupService;
this.userUtils = userUtils;
- this.rateLimitService = rateLimitService;
this.emailVerificationTokenRepository = emailVerificationTokenRepository;
this.redirectHelper = redirectHelper;
}
@@ -428,17 +423,12 @@ public Mono<Boolean> resetPasswordAfterForgotPassword(String encryptedToken, Use
emailTokenDTO.getToken())))
.flatMap(passwordResetTokenRepository::delete)
.then(repository.save(userFromDb))
- .doOnSuccess(result -> {
- // In a separate thread, we delete all other sessions of this user.
- sessionUserService
- .logoutAllSessions(userFromDb.getEmail())
- .subscribeOn(Schedulers.boundedElastic())
- .subscribe();
-
- // we reset the counter for user's login attempts once password is reset
- rateLimitService.resetCounter(
- RateLimitConstants.BUCKET_KEY_FOR_LOGIN_API, userFromDb.getEmail());
- })
+ .doOnSuccess(result ->
+ // In a separate thread, we delete all other sessions of this user.
+ sessionUserService
+ .logoutAllSessions(userFromDb.getEmail())
+ .subscribeOn(Schedulers.boundedElastic())
+ .subscribe())
.thenReturn(true);
}));
}
|
5a61cb7cb99943b2ff12e55c006cbc9ed221caf4
|
2023-11-08 14:48:51
|
albinAppsmith
|
fix: Extra space is being introduced at the bottom of the canvas on scrolling down (#28716)
| false
|
Extra space is being introduced at the bottom of the canvas on scrolling down (#28716)
|
fix
|
diff --git a/app/client/src/components/editorComponents/EntityExplorerSidebar.tsx b/app/client/src/components/editorComponents/EntityExplorerSidebar.tsx
index 2b40e03dddfd..20783c5b95e1 100644
--- a/app/client/src/components/editorComponents/EntityExplorerSidebar.tsx
+++ b/app/client/src/components/editorComponents/EntityExplorerSidebar.tsx
@@ -206,7 +206,7 @@ export const EntityExplorerSidebar = memo(({ children }: Props) => {
return (
<div
className={classNames({
- "js-entity-explorer t--entity-explorer transition-transform transform flex h-[inherit] duration-400":
+ "js-entity-explorer t--entity-explorer transition-transform transform flex h-full duration-400":
true,
"border-r": !isAppSidebarEnabled,
relative: pinned,
|
45314cb46f32e130144179ad9ef8bdd1b15f5a43
|
2023-06-09 13:40:34
|
Anagh Hegde
|
chore: remove the doPull flag from the git discard API (#24284)
| false
|
remove the doPull flag from the git discard API (#24284)
|
chore
|
diff --git a/app/client/src/api/GitSyncAPI.tsx b/app/client/src/api/GitSyncAPI.tsx
index ee9023778436..6488bbd0f631 100644
--- a/app/client/src/api/GitSyncAPI.tsx
+++ b/app/client/src/api/GitSyncAPI.tsx
@@ -172,10 +172,8 @@ class GitSyncAPI extends Api {
});
}
- static discardChanges(applicationId: string, doPull: boolean) {
- return Api.put(
- `${GitSyncAPI.baseURL}/discard/app/${applicationId}?doPull=${doPull}`,
- );
+ static discardChanges(applicationId: string) {
+ return Api.put(`${GitSyncAPI.baseURL}/discard/app/${applicationId}`);
}
}
diff --git a/app/client/src/sagas/GitSyncSagas.ts b/app/client/src/sagas/GitSyncSagas.ts
index efdda1ed8371..2bc7d7a820eb 100644
--- a/app/client/src/sagas/GitSyncSagas.ts
+++ b/app/client/src/sagas/GitSyncSagas.ts
@@ -930,8 +930,7 @@ function* discardChanges() {
let response: ApiResponse<GitDiscardResponse>;
try {
const appId: string = yield select(getCurrentApplicationId);
- const doPull = true;
- response = yield GitSyncAPI.discardChanges(appId, doPull);
+ response = yield GitSyncAPI.discardChanges(appId);
const isValidResponse: boolean = yield validateResponse(
response,
false,
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/GitControllerCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/GitControllerCE.java
index 58c42a8177dc..06ef5d3defa5 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/GitControllerCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/GitControllerCE.java
@@ -253,7 +253,6 @@ public Mono<ResponseDTO<Application>> deleteBranch(@PathVariable String defaultA
@JsonView(Views.Public.class)
@PutMapping("/discard/app/{defaultApplicationId}")
public Mono<ResponseDTO<Application>> discardChanges(@PathVariable String defaultApplicationId,
- @RequestParam(required = false, defaultValue = "true") Boolean doPull,
@RequestHeader(name = FieldName.BRANCH_NAME) String branchName) {
log.debug("Going to discard changes for branch {} with defaultApplicationId {}", branchName, defaultApplicationId);
return service.discardChanges(defaultApplicationId, branchName)
|
e644edabf8a9d89f7991b739641f72a9659631a6
|
2023-06-14 12:14:20
|
Valera Melnikov
|
chore: add codeowners file (#24317)
| false
|
add codeowners file (#24317)
|
chore
|
diff --git a/CODEOWNERS b/CODEOWNERS
new file mode 100644
index 000000000000..de4b17e37ef2
--- /dev/null
+++ b/CODEOWNERS
@@ -0,0 +1,23 @@
+# This is a comment.
+# Each line is a file pattern followed by one or more owners.
+# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
+
+# WDS team
+app/client/packages/design-system/* @appsmithorg/wds
+app/client/packages/storybook/* @appsmithorg/wds
+
+app/client/.husky @KelvinOm
+app/client/.yarn @KelvinOm
+app/client/.editorconfig @KelvinOm
+app/client/.eslintrc.base.json @KelvinOm
+app/client/.eslintrc.js @KelvinOm
+app/client/.gitignore @KelvinOm
+app/client/.lintstagedrc @KelvinOm
+app/client/.nvmrc @KelvinOm
+app/client/.prettierignore @KelvinOm
+app/client/.prettierrc @KelvinOm
+app/client/.yarnrc.yml @KelvinOm
+app/client/jest.config.js @KelvinOm
+app/client/package.json @KelvinOm
+app/client/tsconfig.json @KelvinOm
+app/client/tsconfig.path.json @KelvinOm
|
350d89b98e46c43a50b5cd5fb90ad986a0a61a7c
|
2024-03-12 11:24:15
|
Shrikant Sharat Kandula
|
chore: Migrate NewAction repo to Bridge APIs (#31632)
| false
|
Migrate NewAction repo to Bridge APIs (#31632)
|
chore
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/Bridge.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/Bridge.java
index 66eed4966413..ae1e7c6e1681 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/Bridge.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/Bridge.java
@@ -37,6 +37,18 @@ public static <T extends BaseDomain> BridgeQuery<T> equal(@NonNull String key, @
return Bridge.<T>query().equal(key, value);
}
+ private static <T extends BaseDomain> BridgeQuery<T> notEqual(@NonNull String key, @NonNull String value) {
+ return Bridge.<T>query().notEqual(key, value);
+ }
+
+ public static <T extends BaseDomain> BridgeQuery<T> equal(@NonNull String key, @NonNull Enum<?> value) {
+ return equal(key, value.name());
+ }
+
+ public static <T extends BaseDomain> BridgeQuery<T> notEqual(@NonNull String key, @NonNull Enum<?> value) {
+ return notEqual(key, value.name());
+ }
+
public static <T extends BaseDomain> BridgeQuery<T> equalIgnoreCase(@NonNull String key, @NonNull String value) {
return Bridge.<T>query().equalIgnoreCase(key, value);
}
@@ -53,6 +65,10 @@ public static <T extends BaseDomain> BridgeQuery<T> exists(@NonNull String key)
return Bridge.<T>query().exists(key);
}
+ public static <T extends BaseDomain> BridgeQuery<T> isNull(@NonNull String key) {
+ return Bridge.<T>query().isNull(key);
+ }
+
public static <T extends BaseDomain> BridgeQuery<T> isTrue(@NonNull String key) {
return Bridge.<T>query().isTrue(key);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/BridgeQuery.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/BridgeQuery.java
index 4363546ab61e..182917e5bd57 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/BridgeQuery.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/bridge/BridgeQuery.java
@@ -11,6 +11,7 @@
import java.util.List;
import java.util.regex.Pattern;
+@SuppressWarnings("UnusedReturnValue")
public final class BridgeQuery<T extends BaseDomain> extends Criteria {
final List<Criteria> checks = new ArrayList<>();
@@ -21,6 +22,19 @@ public BridgeQuery<T> equal(@NonNull String key, @NonNull String value) {
return this;
}
+ public BridgeQuery<T> notEqual(@NonNull String key, @NonNull String value) {
+ checks.add(Criteria.where(key).ne(value));
+ return this;
+ }
+
+ public BridgeQuery<T> equal(@NonNull String key, @NonNull Enum<?> value) {
+ return equal(key, value.name());
+ }
+
+ public BridgeQuery<T> notEqual(@NonNull String key, @NonNull Enum<?> value) {
+ return notEqual(key, value.name());
+ }
+
public BridgeQuery<T> equalIgnoreCase(@NonNull String key, @NonNull String value) {
checks.add(Criteria.where(key).regex("^" + Pattern.quote(value) + "$", "i"));
return this;
@@ -31,6 +45,14 @@ public BridgeQuery<T> equal(@NonNull String key, @NonNull ObjectId value) {
return this;
}
+ /**
+ * Prefer using `.isTrue()` or `.isFalse()` instead of this method **if possible**.
+ */
+ public BridgeQuery<T> equal(@NonNull String key, boolean value) {
+ checks.add(Criteria.where(key).is(value));
+ return this;
+ }
+
public BridgeQuery<T> in(@NonNull String key, @NonNull Collection<String> value) {
checks.add(Criteria.where(key).in(value));
return this;
@@ -41,6 +63,21 @@ public BridgeQuery<T> exists(@NonNull String key) {
return this;
}
+ public BridgeQuery<T> notExists(@NonNull String key) {
+ checks.add(Criteria.where(key).exists(false));
+ return this;
+ }
+
+ public BridgeQuery<T> isNull(@NonNull String key) {
+ checks.add(Criteria.where(key).isNull());
+ return this;
+ }
+
+ public BridgeQuery<T> isNotNull(@NonNull String key) {
+ checks.add(Criteria.where(key).ne(null));
+ return this;
+ }
+
public BridgeQuery<T> isTrue(@NonNull String key) {
checks.add(Criteria.where(key).is(true));
return this;
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCE.java
index 7999a8c832ba..33965df3674d 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCE.java
@@ -32,15 +32,9 @@ public interface CustomNewActionRepositoryCE extends AppsmithRepository<NewActio
Flux<NewAction> findUnpublishedActionsByPageIdAndExecuteOnLoadSetByUserTrue(
String pageId, AclPermission permission);
- Flux<NewAction> findUnpublishedActionsForRestApiOnLoad(
- Set<String> names, String pageId, String httpMethod, Boolean userSetOnLoad, AclPermission aclPermission);
-
Flux<NewAction> findAllActionsByNameAndPageIdsAndViewMode(
String name, List<String> pageIds, Boolean viewMode, AclPermission aclPermission, Sort sort);
- Flux<NewAction> findUnpublishedActionsByNameInAndPageIdAndExecuteOnLoadTrue(
- Set<String> names, String pageId, AclPermission permission);
-
Flux<NewAction> findByApplicationId(String applicationId, AclPermission aclPermission, Sort sort);
Flux<NewAction> findByApplicationId(
@@ -53,14 +47,8 @@ Flux<NewAction> findByApplicationId(
Mono<NewAction> findByBranchNameAndDefaultActionId(
String branchName, String defaultActionId, AclPermission permission);
- Mono<NewAction> findByGitSyncIdAndDefaultApplicationId(
- String defaultApplicationId, String gitSyncId, AclPermission permission);
-
Flux<NewAction> findByDefaultApplicationId(String defaultApplicationId, Optional<AclPermission> permission);
- Mono<NewAction> findByGitSyncIdAndDefaultApplicationId(
- String defaultApplicationId, String gitSyncId, Optional<AclPermission> permission);
-
Flux<NewAction> findByPageIds(List<String> pageIds, AclPermission permission);
Flux<NewAction> findByPageIds(List<String> pageIds, Optional<AclPermission> permission);
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCEImpl.java
index 4f259e58d71c..47f444cbff24 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/ce/CustomNewActionRepositoryCEImpl.java
@@ -7,6 +7,8 @@
import com.appsmith.server.constants.FieldName;
import com.appsmith.server.domains.NewAction;
import com.appsmith.server.dtos.PluginTypeAndCountDTO;
+import com.appsmith.server.helpers.ce.bridge.Bridge;
+import com.appsmith.server.helpers.ce.bridge.BridgeQuery;
import com.appsmith.server.repositories.BaseAppsmithRepositoryImpl;
import com.appsmith.server.repositories.CacheableRepositoryHelper;
import lombok.extern.slf4j.Slf4j;
@@ -26,7 +28,6 @@
import reactor.core.publisher.Mono;
import java.time.Instant;
-import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.Set;
@@ -50,9 +51,8 @@ public CustomNewActionRepositoryCEImpl(
@Override
public Flux<NewAction> findByApplicationId(String applicationId, AclPermission aclPermission) {
- Criteria applicationIdCriteria = this.getCriterionForFindByApplicationId(applicationId);
return queryBuilder()
- .criteria(applicationIdCriteria)
+ .criteria(getCriterionForFindByApplicationId(applicationId))
.permission(aclPermission)
.all();
}
@@ -60,9 +60,8 @@ public Flux<NewAction> findByApplicationId(String applicationId, AclPermission a
@Override
public Flux<NewAction> findByApplicationId(
String applicationId, Optional<AclPermission> aclPermission, Optional<Sort> sort) {
- Criteria applicationIdCriteria = this.getCriterionForFindByApplicationId(applicationId);
return queryBuilder()
- .criteria(applicationIdCriteria)
+ .criteria(getCriterionForFindByApplicationId(applicationId))
.permission(aclPermission.orElse(null))
.sort(sort.orElse(null))
.all();
@@ -70,44 +69,28 @@ public Flux<NewAction> findByApplicationId(
@Override
public Mono<NewAction> findByUnpublishedNameAndPageId(String name, String pageId, AclPermission aclPermission) {
- Criteria nameCriteria = where(NewAction.Fields.unpublishedAction_name).is(name);
- Criteria pageCriteria = where(NewAction.Fields.unpublishedAction_pageId).is(pageId);
- // In case an action has been deleted in edit mode, but still exists in deployed mode, NewAction object would
- // exist. To handle this, only fetch non-deleted actions
- Criteria deletedCriteria =
- where(NewAction.Fields.unpublishedAction_deletedAt).is(null);
+ final BridgeQuery<NewAction> q = Bridge.<NewAction>equal(NewAction.Fields.unpublishedAction_name, name)
+ .equal(NewAction.Fields.unpublishedAction_pageId, pageId)
+ // In case an action has been deleted in edit mode, but still exists in deployed mode, NewAction object
+ // would exist. To handle this, only fetch non-deleted actions
+ .isNull(NewAction.Fields.unpublishedAction_deletedAt);
- return queryBuilder()
- .criteria(nameCriteria, pageCriteria, deletedCriteria)
- .permission(aclPermission)
- .one();
+ return queryBuilder().criteria(q).permission(aclPermission).one();
}
@Override
public Flux<NewAction> findByPageId(String pageId, AclPermission aclPermission) {
- String unpublishedPage = NewAction.Fields.unpublishedAction_pageId;
- String publishedPage = NewAction.Fields.publishedAction_pageId;
-
- Criteria pageCriteria = new Criteria()
- .orOperator(
- where(unpublishedPage).is(pageId), where(publishedPage).is(pageId));
-
- return queryBuilder().criteria(pageCriteria).permission(aclPermission).all();
+ return queryBuilder()
+ .criteria(Bridge.or(
+ Bridge.equal(NewAction.Fields.unpublishedAction_pageId, pageId),
+ Bridge.equal(NewAction.Fields.publishedAction_pageId, pageId)))
+ .permission(aclPermission)
+ .all();
}
@Override
public Flux<NewAction> findByPageId(String pageId, Optional<AclPermission> aclPermission) {
- String unpublishedPage = NewAction.Fields.unpublishedAction_pageId;
- String publishedPage = NewAction.Fields.publishedAction_pageId;
-
- Criteria pageCriteria = new Criteria()
- .orOperator(
- where(unpublishedPage).is(pageId), where(publishedPage).is(pageId));
-
- return queryBuilder()
- .criteria(pageCriteria)
- .permission(aclPermission.orElse(null))
- .all();
+ return findByPageId(pageId, aclPermission.orElse(null));
}
@Override
@@ -117,353 +100,212 @@ public Flux<NewAction> findByPageId(String pageId) {
@Override
public Flux<NewAction> findByPageIdAndViewMode(String pageId, Boolean viewMode, AclPermission aclPermission) {
-
- List<Criteria> criteria = new ArrayList<>();
-
- Criteria pageCriterion;
+ final BridgeQuery<NewAction> q;
// Fetch published actions
if (Boolean.TRUE.equals(viewMode)) {
- pageCriterion = where(NewAction.Fields.publishedAction_pageId).is(pageId);
- criteria.add(pageCriterion);
+ q = Bridge.equal(NewAction.Fields.publishedAction_pageId, pageId);
}
// Fetch unpublished actions
else {
- pageCriterion = where(NewAction.Fields.unpublishedAction_pageId).is(pageId);
- criteria.add(pageCriterion);
+ q = Bridge.equal(NewAction.Fields.unpublishedAction_pageId, pageId);
// In case an action has been deleted in edit mode, but still exists in deployed mode, NewAction object
// would exist. To handle this, only fetch non-deleted actions
- Criteria deletedCriteria =
- where(NewAction.Fields.unpublishedAction_deletedAt).is(null);
- criteria.add(deletedCriteria);
+ q.isNull(NewAction.Fields.unpublishedAction_deletedAt);
}
- return queryBuilder().criteria(criteria).permission(aclPermission).all();
- }
-
- @Override
- public Flux<NewAction> findUnpublishedActionsForRestApiOnLoad(
- Set<String> names, String pageId, String httpMethod, Boolean userSetOnLoad, AclPermission aclPermission) {
- Criteria namesCriteria = where(NewAction.Fields.unpublishedAction_name).in(names);
-
- Criteria pageCriteria = where(NewAction.Fields.unpublishedAction_pageId).is(pageId);
-
- Criteria userSetOnLoadCriteria =
- where(NewAction.Fields.unpublishedAction_userSetOnLoad).is(userSetOnLoad);
-
- String httpMethodQueryKey = NewAction.Fields.unpublishedAction_actionConfiguration_httpMethod;
-
- Criteria httpMethodCriteria = where(httpMethodQueryKey).is(httpMethod);
- List<Criteria> criterias = List.of(namesCriteria, pageCriteria, httpMethodCriteria, userSetOnLoadCriteria);
-
- return queryBuilder().criteria(criterias).permission(aclPermission).all();
+ return queryBuilder().criteria(q).permission(aclPermission).all();
}
@Override
public Flux<NewAction> findAllActionsByNameAndPageIdsAndViewMode(
String name, List<String> pageIds, Boolean viewMode, AclPermission aclPermission, Sort sort) {
- List<Criteria> criteriaList =
- this.getCriteriaForFindAllActionsByNameAndPageIdsAndViewMode(name, pageIds, viewMode);
-
return queryBuilder()
- .criteria(criteriaList)
+ .criteria(getCriteriaForFindAllActionsByNameAndPageIdsAndViewMode(name, pageIds, viewMode))
.permission(aclPermission)
.sort(sort)
.all();
}
- protected List<Criteria> getCriteriaForFindAllActionsByNameAndPageIdsAndViewMode(
+ protected BridgeQuery<NewAction> getCriteriaForFindAllActionsByNameAndPageIdsAndViewMode(
String name, List<String> pageIds, Boolean viewMode) {
- /**
- * TODO : This function is called by get(params) to get all actions by params and hence
- * only covers criteria of few fields like page id, name, etc. Make this generic to cover
- * all possible fields
- */
- List<Criteria> criteriaList = new ArrayList<>();
+ final BridgeQuery<NewAction> q = Bridge.query();
// Fetch published actions
if (Boolean.TRUE.equals(viewMode)) {
if (name != null) {
- Criteria nameCriteria =
- where(NewAction.Fields.publishedAction_name).is(name);
- criteriaList.add(nameCriteria);
+ q.equal(NewAction.Fields.publishedAction_name, name);
}
if (pageIds != null && !pageIds.isEmpty()) {
- Criteria pageCriteria =
- where(NewAction.Fields.publishedAction_pageId).in(pageIds);
- criteriaList.add(pageCriteria);
+ q.in(NewAction.Fields.publishedAction_pageId, pageIds);
}
}
// Fetch unpublished actions
else {
if (name != null) {
- Criteria nameCriteria =
- where(NewAction.Fields.unpublishedAction_name).is(name);
- criteriaList.add(nameCriteria);
+ q.equal(NewAction.Fields.unpublishedAction_name, name);
}
if (pageIds != null && !pageIds.isEmpty()) {
- Criteria pageCriteria =
- where(NewAction.Fields.unpublishedAction_pageId).in(pageIds);
- criteriaList.add(pageCriteria);
+ q.in(NewAction.Fields.unpublishedAction_pageId, pageIds);
}
// In case an action has been deleted in edit mode, but still exists in deployed mode, NewAction object
// would exist. To handle this, only fetch non-deleted actions
- Criteria deletedCriteria =
- where(NewAction.Fields.unpublishedAction_deletedAt).is(null);
- criteriaList.add(deletedCriteria);
+ q.isNull(NewAction.Fields.unpublishedAction_deletedAt);
}
- return criteriaList;
- }
-
- @Override
- public Flux<NewAction> findUnpublishedActionsByNameInAndPageIdAndExecuteOnLoadTrue(
- Set<String> names, String pageId, AclPermission permission) {
- List<Criteria> criteriaList = new ArrayList<>();
- if (names != null) {
- Criteria namesCriteria =
- where(NewAction.Fields.unpublishedAction_name).in(names);
- criteriaList.add(namesCriteria);
- }
- Criteria pageCriteria = where(NewAction.Fields.unpublishedAction_pageId).is(pageId);
- criteriaList.add(pageCriteria);
-
- Criteria executeOnLoadCriteria =
- where(NewAction.Fields.unpublishedAction_executeOnLoad).is(Boolean.TRUE);
- criteriaList.add(executeOnLoadCriteria);
-
- // In case an action has been deleted in edit mode, but still exists in deployed mode, NewAction object would
- // exist. To handle this, only fetch non-deleted actions
- Criteria deletedCriteria =
- where(NewAction.Fields.unpublishedAction_deletedAt).is(null);
- criteriaList.add(deletedCriteria);
- return queryBuilder().criteria(criteriaList).permission(permission).all();
+ return q;
}
@Override
public Flux<NewAction> findUnpublishedActionsByNameInAndPageId(
Set<String> names, String pageId, AclPermission permission) {
- List<Criteria> criteriaList = new ArrayList<>();
+ BridgeQuery<NewAction> q = Bridge.equal(NewAction.Fields.unpublishedAction_pageId, pageId);
if (names != null) {
- Criteria namesCriteria =
- where(NewAction.Fields.unpublishedAction_name).in(names);
- Criteria fullyQualifiedNamesCriteria =
- where(NewAction.Fields.unpublishedAction_fullyQualifiedName).in(names);
- criteriaList.add(new Criteria().orOperator(namesCriteria, fullyQualifiedNamesCriteria));
+ q.or(
+ Bridge.in(NewAction.Fields.unpublishedAction_name, names),
+ Bridge.in(NewAction.Fields.unpublishedAction_fullyQualifiedName, names));
}
- Criteria pageCriteria = where(NewAction.Fields.unpublishedAction_pageId).is(pageId);
- criteriaList.add(pageCriteria);
// In case an action has been deleted in edit mode, but still exists in deployed mode, NewAction object would
// exist. To handle this, only fetch non-deleted actions
- Criteria deletedCriteria =
- where(NewAction.Fields.unpublishedAction_deletedAt).is(null);
- criteriaList.add(deletedCriteria);
+ q.isNull(NewAction.Fields.unpublishedAction_deletedAt);
- return queryBuilder().criteria(criteriaList).permission(permission).all();
+ return queryBuilder().criteria(q).permission(permission).all();
}
@Override
public Flux<NewAction> findUnpublishedActionsByPageIdAndExecuteOnLoadSetByUserTrue(
String pageId, AclPermission permission) {
- List<Criteria> criteriaList = new ArrayList<>();
-
- Criteria executeOnLoadCriteria =
- where(NewAction.Fields.unpublishedAction_executeOnLoad).is(Boolean.TRUE);
- criteriaList.add(executeOnLoadCriteria);
+ BridgeQuery<NewAction> q = Bridge.<NewAction>isTrue(NewAction.Fields.unpublishedAction_executeOnLoad)
+ .isTrue(NewAction.Fields.unpublishedAction_userSetOnLoad)
+ .equal(NewAction.Fields.unpublishedAction_pageId, pageId)
+ // In case an action has been deleted in edit mode, but still exists in deployed mode, NewAction object
+ // would exist. To handle this, only fetch non-deleted actions
+ .isNull(NewAction.Fields.unpublishedAction_deletedAt);
- Criteria setByUserCriteria =
- where(NewAction.Fields.unpublishedAction_userSetOnLoad).is(Boolean.TRUE);
- criteriaList.add(setByUserCriteria);
-
- Criteria pageCriteria = where(NewAction.Fields.unpublishedAction_pageId).is(pageId);
- criteriaList.add(pageCriteria);
-
- // In case an action has been deleted in edit mode, but still exists in deployed mode, NewAction object would
- // exist. To handle this, only fetch non-deleted actions
- Criteria deletedCriteria =
- where(NewAction.Fields.unpublishedAction_deletedAt).is(null);
- criteriaList.add(deletedCriteria);
-
- return queryBuilder().criteria(criteriaList).permission(permission).all();
+ return queryBuilder().criteria(q).permission(permission).all();
}
@Override
public Flux<NewAction> findByApplicationId(String applicationId, AclPermission aclPermission, Sort sort) {
-
- Criteria applicationCriteria = this.getCriterionForFindByApplicationId(applicationId);
-
return queryBuilder()
- .criteria(applicationCriteria)
+ .criteria(getCriterionForFindByApplicationId(applicationId))
.permission(aclPermission)
.sort(sort)
.all();
}
- protected Criteria getCriterionForFindByApplicationId(String applicationId) {
- Criteria applicationCriteria = where(NewAction.Fields.applicationId).is(applicationId);
- return applicationCriteria;
+ protected BridgeQuery<NewAction> getCriterionForFindByApplicationId(String applicationId) {
+ return Bridge.equal(NewAction.Fields.applicationId, applicationId);
}
@Override
public Flux<NewAction> findByApplicationIdAndViewMode(
String applicationId, Boolean viewMode, AclPermission aclPermission) {
-
- List<Criteria> criteria = this.getCriteriaForFindByApplicationIdAndViewMode(applicationId, viewMode);
-
- return queryBuilder().criteria(criteria).permission(aclPermission).all();
+ return queryBuilder()
+ .criteria(getCriteriaForFindByApplicationIdAndViewMode(applicationId, viewMode))
+ .permission(aclPermission)
+ .all();
}
- protected List<Criteria> getCriteriaForFindByApplicationIdAndViewMode(String applicationId, Boolean viewMode) {
- List<Criteria> criteria = new ArrayList<>();
-
- Criteria applicationCriterion = this.getCriterionForFindByApplicationId(applicationId);
- criteria.add(applicationCriterion);
+ protected BridgeQuery<NewAction> getCriteriaForFindByApplicationIdAndViewMode(
+ String applicationId, Boolean viewMode) {
+ final BridgeQuery<NewAction> q = getCriterionForFindByApplicationId(applicationId);
if (Boolean.FALSE.equals(viewMode)) {
// In case an action has been deleted in edit mode, but still exists in deployed mode, NewAction object
// would exist. To handle this, only fetch non-deleted actions
- Criteria deletedCriterion =
- where(NewAction.Fields.unpublishedAction_deletedAt).is(null);
- criteria.add(deletedCriterion);
+ q.isNull(NewAction.Fields.unpublishedAction_deletedAt);
}
- return criteria;
+
+ return q;
}
@Override
public Mono<Long> countByDatasourceId(String datasourceId) {
- Criteria unpublishedDatasourceCriteria =
- where(NewAction.Fields.unpublishedAction + ".datasource._id").is(new ObjectId(datasourceId));
- Criteria publishedDatasourceCriteria =
- where(NewAction.Fields.publishedAction + ".datasource._id").is(new ObjectId(datasourceId));
-
- Criteria datasourceCriteria =
- new Criteria().orOperator(unpublishedDatasourceCriteria, publishedDatasourceCriteria);
+ BridgeQuery<NewAction> q = Bridge.or(
+ Bridge.equal(NewAction.Fields.unpublishedAction + ".datasource._id", new ObjectId(datasourceId)),
+ Bridge.equal(NewAction.Fields.publishedAction + ".datasource._id", new ObjectId(datasourceId)));
- return queryBuilder().criteria(datasourceCriteria).count();
+ return queryBuilder().criteria(q).count();
}
@Override
public Mono<NewAction> findByBranchNameAndDefaultActionId(
String branchName, String defaultActionId, AclPermission permission) {
final String defaultResources = NewAction.Fields.defaultResources;
- Criteria defaultActionIdCriteria =
- where(defaultResources + "." + FieldName.ACTION_ID).is(defaultActionId);
- Criteria branchCriteria =
- where(defaultResources + "." + FieldName.BRANCH_NAME).is(branchName);
- return queryBuilder()
- .criteria(defaultActionIdCriteria, branchCriteria)
- .permission(permission)
- .one();
- }
-
- @Override
- public Mono<NewAction> findByGitSyncIdAndDefaultApplicationId(
- String defaultApplicationId, String gitSyncId, AclPermission permission) {
- return findByGitSyncIdAndDefaultApplicationId(defaultApplicationId, gitSyncId, Optional.ofNullable(permission));
- }
-
- @Override
- public Mono<NewAction> findByGitSyncIdAndDefaultApplicationId(
- String defaultApplicationId, String gitSyncId, Optional<AclPermission> permission) {
- final String defaultResources = BranchAwareDomain.Fields.defaultResources;
- Criteria defaultAppIdCriteria =
- where(defaultResources + "." + FieldName.APPLICATION_ID).is(defaultApplicationId);
- Criteria gitSyncIdCriteria = where(FieldName.GIT_SYNC_ID).is(gitSyncId);
- return queryBuilder()
- .criteria(defaultAppIdCriteria, gitSyncIdCriteria)
- .permission(permission.orElse(null))
- .first();
+ final BridgeQuery<NewAction> q = Bridge.<NewAction>equal(
+ defaultResources + "." + FieldName.ACTION_ID, defaultActionId)
+ .equal(defaultResources + "." + FieldName.BRANCH_NAME, branchName);
+ return queryBuilder().criteria(q).permission(permission).one();
}
@Override
public Flux<NewAction> findByPageIds(List<String> pageIds, AclPermission permission) {
-
- Criteria pageIdCriteria =
- where(NewAction.Fields.unpublishedAction_pageId).in(pageIds);
-
- return queryBuilder().criteria(pageIdCriteria).permission(permission).all();
+ return queryBuilder()
+ .criteria(Bridge.in(NewAction.Fields.unpublishedAction_pageId, pageIds))
+ .permission(permission)
+ .all();
}
@Override
+ @Deprecated
public Flux<NewAction> findByPageIds(List<String> pageIds, Optional<AclPermission> permission) {
- Criteria pageIdCriteria =
- where(NewAction.Fields.unpublishedAction_pageId).in(pageIds);
-
- return queryBuilder()
- .criteria(pageIdCriteria)
- .permission(permission.orElse(null))
- .all();
+ return findByPageIds(pageIds, permission.orElse(null));
}
@Override
public Flux<NewAction> findNonJsActionsByApplicationIdAndViewMode(
String applicationId, Boolean viewMode, AclPermission aclPermission) {
- List<Criteria> criteria =
- this.getCriteriaForFindNonJsActionsByApplicationIdAndViewMode(applicationId, viewMode);
-
- return queryBuilder().criteria(criteria).permission(aclPermission).all();
+ return queryBuilder()
+ .criteria(getCriteriaForFindNonJsActionsByApplicationIdAndViewMode(applicationId, viewMode))
+ .permission(aclPermission)
+ .all();
}
- protected List<Criteria> getCriteriaForFindNonJsActionsByApplicationIdAndViewMode(
+ protected BridgeQuery<NewAction> getCriteriaForFindNonJsActionsByApplicationIdAndViewMode(
String applicationId, Boolean viewMode) {
- List<Criteria> criteria = new ArrayList<>();
-
- Criteria applicationCriterion = this.getCriterionForFindByApplicationId(applicationId);
- criteria.add(applicationCriterion);
-
- Criteria nonJsTypeCriteria = where(NewAction.Fields.pluginType).ne(PluginType.JS);
- criteria.add(nonJsTypeCriteria);
+ final BridgeQuery<NewAction> q =
+ getCriterionForFindByApplicationId(applicationId).notEqual(NewAction.Fields.pluginType, PluginType.JS);
if (Boolean.FALSE.equals(viewMode)) {
// In case an action has been deleted in edit mode, but still exists in deployed mode, NewAction object
// would exist. To handle this, only fetch non-deleted actions
- Criteria deletedCriterion =
- where(NewAction.Fields.unpublishedAction_deletedAt).is(null);
- criteria.add(deletedCriterion);
+ q.isNull(NewAction.Fields.unpublishedAction_deletedAt);
}
- return criteria;
+
+ return q;
}
@Override
public Flux<NewAction> findAllNonJsActionsByNameAndPageIdsAndViewMode(
String name, List<String> pageIds, Boolean viewMode, AclPermission aclPermission, Sort sort) {
- List<Criteria> criteriaList =
- this.getCriteriaForFindAllNonJsActionsByNameAndPageIdsAndViewMode(name, pageIds, viewMode);
-
return queryBuilder()
- .criteria(criteriaList)
+ .criteria(getCriteriaForFindAllNonJsActionsByNameAndPageIdsAndViewMode(name, pageIds, viewMode))
.permission(aclPermission)
.sort(sort)
.all();
}
- protected List<Criteria> getCriteriaForFindAllNonJsActionsByNameAndPageIdsAndViewMode(
+ protected BridgeQuery<NewAction> getCriteriaForFindAllNonJsActionsByNameAndPageIdsAndViewMode(
String name, List<String> pageIds, Boolean viewMode) {
- List<Criteria> criteriaList = new ArrayList<>();
-
- Criteria nonJsTypeCriteria = where(NewAction.Fields.pluginType).ne(PluginType.JS);
- criteriaList.add(nonJsTypeCriteria);
+ final BridgeQuery<NewAction> q = Bridge.notEqual(NewAction.Fields.pluginType, PluginType.JS);
// Fetch published actions
if (Boolean.TRUE.equals(viewMode)) {
if (name != null) {
- Criteria nameCriteria =
- where(NewAction.Fields.publishedAction_name).is(name);
- criteriaList.add(nameCriteria);
+ q.equal(NewAction.Fields.publishedAction_name, name);
}
if (pageIds != null && !pageIds.isEmpty()) {
- Criteria pageCriteria =
- where(NewAction.Fields.publishedAction_pageId).in(pageIds);
- criteriaList.add(pageCriteria);
+ q.in(NewAction.Fields.publishedAction_pageId, pageIds);
}
}
@@ -471,44 +313,37 @@ protected List<Criteria> getCriteriaForFindAllNonJsActionsByNameAndPageIdsAndVie
else {
if (name != null) {
- Criteria nameCriteria =
- where(NewAction.Fields.unpublishedAction_name).is(name);
- criteriaList.add(nameCriteria);
+ q.equal(NewAction.Fields.unpublishedAction_name, name);
}
if (pageIds != null && !pageIds.isEmpty()) {
- Criteria pageCriteria =
- where(NewAction.Fields.unpublishedAction_pageId).in(pageIds);
- criteriaList.add(pageCriteria);
+ q.in(NewAction.Fields.unpublishedAction_pageId, pageIds);
}
// In case an action has been deleted in edit mode, but still exists in deployed mode, NewAction object
// would exist. To handle this, only fetch non-deleted actions
- Criteria deletedCriteria =
- where(NewAction.Fields.unpublishedAction_deletedAt).is(null);
- criteriaList.add(deletedCriteria);
+ q.isNull(NewAction.Fields.unpublishedAction_deletedAt);
}
- return criteriaList;
+
+ return q;
}
@Override
public Flux<NewAction> findByDefaultApplicationId(String defaultApplicationId, Optional<AclPermission> permission) {
final String defaultResources = BranchAwareDomain.Fields.defaultResources;
- Criteria defaultAppIdCriteria =
- where(defaultResources + "." + FieldName.APPLICATION_ID).is(defaultApplicationId);
return queryBuilder()
- .criteria(defaultAppIdCriteria)
+ .criteria(Bridge.equal(defaultResources + "." + FieldName.APPLICATION_ID, defaultApplicationId))
.permission(permission.orElse(null))
.all();
}
@Override
public Mono<Void> publishActions(String applicationId, AclPermission permission) {
- Criteria applicationIdCriteria = this.getCriterionForFindByApplicationId(applicationId);
- return copyUnpublishedActionToPublishedAction(applicationIdCriteria, permission);
+ return copyUnpublishedActionToPublishedAction(getCriterionForFindByApplicationId(applicationId), permission);
}
- protected Mono<Void> copyUnpublishedActionToPublishedAction(Criteria criteria, AclPermission permission) {
+ protected Mono<Void> copyUnpublishedActionToPublishedAction(
+ BridgeQuery<NewAction> criteria, AclPermission permission) {
Mono<Set<String>> permissionGroupsMono =
getCurrentUserPermissionGroupsIfRequired(Optional.ofNullable(permission));
@@ -537,18 +372,13 @@ protected Mono<Void> copyUnpublishedActionToPublishedAction(Criteria criteria, A
@Override
public Mono<Integer> archiveDeletedUnpublishedActions(String applicationId, AclPermission permission) {
- Criteria applicationIdCriteria = this.getCriterionForFindByApplicationId(applicationId);
- String unpublishedDeletedAtFieldName = NewAction.Fields.unpublishedAction_deletedAt;
- Criteria deletedFromUnpublishedCriteria =
- where(unpublishedDeletedAtFieldName).ne(null);
+ final BridgeQuery<NewAction> q = getCriterionForFindByApplicationId(applicationId)
+ .isNotNull(NewAction.Fields.unpublishedAction_deletedAt);
Update update = new Update();
update.set(FieldName.DELETED, true);
update.set(FieldName.DELETED_AT, Instant.now());
- return queryBuilder()
- .criteria(applicationIdCriteria, deletedFromUnpublishedCriteria)
- .permission(permission)
- .updateAll(update);
+ return queryBuilder().criteria(q).permission(permission).updateAll(update);
}
@Override
@@ -566,9 +396,8 @@ public Flux<PluginTypeAndCountDTO> countActionsByPluginType(String applicationId
@Override
public Flux<NewAction> findAllByApplicationIdsWithoutPermission(
List<String> applicationIds, List<String> includeFields) {
- Criteria applicationCriteria = Criteria.where(FieldName.APPLICATION_ID).in(applicationIds);
return queryBuilder()
- .criteria(applicationCriteria)
+ .criteria(Bridge.in(NewAction.Fields.applicationId, applicationIds))
.fields(includeFields)
.all();
}
@@ -576,48 +405,33 @@ public Flux<NewAction> findAllByApplicationIdsWithoutPermission(
@Override
public Flux<NewAction> findAllUnpublishedActionsByContextIdAndContextType(
String contextId, CreatorContextType contextType, AclPermission permission, boolean includeJs) {
- List<Criteria> criteriaList = new ArrayList<>();
-
String contextIdPath = NewAction.Fields.unpublishedAction_pageId;
String contextTypePath = NewAction.Fields.unpublishedAction_contextType;
- Criteria contextTypeCriterion = new Criteria()
- .orOperator(
- where(contextTypePath).is(contextType),
- where(contextTypePath).isNull());
- Criteria contextIdAndContextTypeCriteria =
- where(contextIdPath).is(contextId).andOperator(contextTypeCriterion);
-
- criteriaList.add(contextIdAndContextTypeCriteria);
+ final BridgeQuery<NewAction> q = Bridge.<NewAction>or(
+ Bridge.equal(contextTypePath, contextType), Bridge.isNull(contextTypePath))
+ .equal(contextIdPath, contextId);
if (!includeJs) {
- Criteria jsInclusionOrExclusionCriteria =
- where(NewAction.Fields.pluginType).ne(PluginType.JS);
- criteriaList.add(jsInclusionOrExclusionCriteria);
+ q.notEqual(NewAction.Fields.pluginType, PluginType.JS);
}
- return queryBuilder().criteria(criteriaList).permission(permission).all();
+ return queryBuilder().criteria(q).permission(permission).all();
}
@Override
public Flux<NewAction> findAllPublishedActionsByContextIdAndContextType(
String contextId, CreatorContextType contextType, AclPermission permission, boolean includeJs) {
- List<Criteria> criteriaList = new ArrayList<>();
String contextIdPath = NewAction.Fields.publishedAction_pageId;
String contextTypePath = NewAction.Fields.publishedAction_contextType;
- Criteria contextIdAndContextTypeCriteria =
- where(contextIdPath).is(contextId).and(contextTypePath).is(contextType);
+ final BridgeQuery<NewAction> q =
+ Bridge.<NewAction>equal(contextIdPath, contextId).equal(contextTypePath, contextType);
- criteriaList.add(contextIdAndContextTypeCriteria);
-
- Criteria jsInclusionOrExclusionCriteria;
if (includeJs) {
- jsInclusionOrExclusionCriteria = where(NewAction.Fields.pluginType).is(PluginType.JS);
+ q.equal(NewAction.Fields.pluginType, PluginType.JS);
} else {
- jsInclusionOrExclusionCriteria = where(NewAction.Fields.pluginType).ne(PluginType.JS);
+ q.notEqual(NewAction.Fields.pluginType, PluginType.JS);
}
- criteriaList.add(jsInclusionOrExclusionCriteria);
-
- return queryBuilder().criteria(criteriaList).permission(permission).all();
+ return queryBuilder().criteria(q).permission(permission).all();
}
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/LayoutActionServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/LayoutActionServiceTest.java
index 4712291bc43a..cb453bc0ab0a 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/LayoutActionServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/LayoutActionServiceTest.java
@@ -1127,7 +1127,7 @@ public void testExecuteOnPageLoadOrderWhenAllActionsAreOnlyExplicitlySetToExecut
newActionArray[0] = newAction1;
newActionArray[1] = newAction2;
Flux<NewAction> newActionFlux = Flux.fromArray(newActionArray);
- Mockito.when(newActionService.findUnpublishedOnLoadActionsExplicitSetByUserInPage(Mockito.any()))
+ Mockito.when(newActionService.findUnpublishedOnLoadActionsExplicitSetByUserInPage(Mockito.anyString()))
.thenReturn(newActionFlux);
Mono<LayoutDTO> updateLayoutMono =
@@ -1199,7 +1199,7 @@ public void updateLayout_WhenPageLoadActionSetBothWaysExplicitlyAndImplicitlyVia
NewAction[] newActionArray = new NewAction[1];
newActionArray[0] = newAction1;
Flux<NewAction> newActionFlux = Flux.fromArray(newActionArray);
- Mockito.when(newActionService.findUnpublishedOnLoadActionsExplicitSetByUserInPage(Mockito.any()))
+ Mockito.when(newActionService.findUnpublishedOnLoadActionsExplicitSetByUserInPage(Mockito.anyString()))
.thenReturn(newActionFlux);
Mono<LayoutDTO> updateLayoutMono =
|
a896467e695c34eb34ccc66972fd5ecaad776204
|
2022-04-22 16:40:00
|
Ayangade Adeoluwa
|
fix: Change response tab name (#12930)
| false
|
Change response tab name (#12930)
|
fix
|
diff --git a/app/client/cypress/support/ApiCommands.js b/app/client/cypress/support/ApiCommands.js
index 646122c9cf10..e0a237a4e9ef 100644
--- a/app/client/cypress/support/ApiCommands.js
+++ b/app/client/cypress/support/ApiCommands.js
@@ -136,7 +136,7 @@ Cypress.Commands.add(
}
cy.get(".string-value").contains(baseurl.concat(path));
cy.get(".string-value").contains(verb);
- cy.get("[data-cy=t--tab-body]")
+ cy.get("[data-cy=t--tab-response]")
.first()
.click({ force: true });
},
diff --git a/app/client/src/components/editorComponents/ApiResponseView.tsx b/app/client/src/components/editorComponents/ApiResponseView.tsx
index e0ce4a5040f6..d8cf7acec063 100644
--- a/app/client/src/components/editorComponents/ApiResponseView.tsx
+++ b/app/client/src/components/editorComponents/ApiResponseView.tsx
@@ -345,8 +345,8 @@ function ApiResponseView(props: Props) {
const tabs = [
{
- key: "body",
- title: "Body",
+ key: "response",
+ title: "Response",
panelComponent: (
<ResponseTabWrapper>
{Array.isArray(messages) && messages.length > 0 && (
|
bfd242f6270c81687d2e2c889744ef86493753b4
|
2022-12-23 13:39:36
|
Ankita Kinger
|
chore: Updating the graphics for Access control upgrade page (#19154)
| false
|
Updating the graphics for Access control upgrade page (#19154)
|
chore
|
diff --git a/app/client/src/assets/images/upgrade/access-control/prevent-accidental-damage.png b/app/client/src/assets/images/upgrade/access-control/prevent-accidental-damage.png
new file mode 100644
index 000000000000..5f6e3059d910
Binary files /dev/null and b/app/client/src/assets/images/upgrade/access-control/prevent-accidental-damage.png differ
diff --git a/app/client/src/assets/images/upgrade/access-control/restrict-public-exposure.png b/app/client/src/assets/images/upgrade/access-control/restrict-public-exposure.png
new file mode 100644
index 000000000000..60855620d06a
Binary files /dev/null and b/app/client/src/assets/images/upgrade/access-control/restrict-public-exposure.png differ
diff --git a/app/client/src/assets/images/upgrade/access-control/secure-apps-least-privilege.png b/app/client/src/assets/images/upgrade/access-control/secure-apps-least-privilege.png
new file mode 100644
index 000000000000..67e06dcb21da
Binary files /dev/null and b/app/client/src/assets/images/upgrade/access-control/secure-apps-least-privilege.png differ
diff --git a/app/client/src/assets/svg/upgrade/access-control/prevent-accidental-damage.png b/app/client/src/assets/svg/upgrade/access-control/prevent-accidental-damage.png
deleted file mode 100644
index bb607f368878..000000000000
Binary files a/app/client/src/assets/svg/upgrade/access-control/prevent-accidental-damage.png and /dev/null differ
diff --git a/app/client/src/assets/svg/upgrade/access-control/restrict-public-exposure.png b/app/client/src/assets/svg/upgrade/access-control/restrict-public-exposure.png
deleted file mode 100644
index 4c2ec7c211c0..000000000000
Binary files a/app/client/src/assets/svg/upgrade/access-control/restrict-public-exposure.png and /dev/null differ
diff --git a/app/client/src/assets/svg/upgrade/access-control/secure-apps-least-privilege.png b/app/client/src/assets/svg/upgrade/access-control/secure-apps-least-privilege.png
deleted file mode 100644
index 2850b11ce808..000000000000
Binary files a/app/client/src/assets/svg/upgrade/access-control/secure-apps-least-privilege.png and /dev/null differ
diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts
index 85310eee0ff0..8e0d44cda3ce 100644
--- a/app/client/src/ce/constants/messages.ts
+++ b/app/client/src/ce/constants/messages.ts
@@ -1077,7 +1077,7 @@ export const ACCESS_CONTROL_UPGRADE_PAGE_SUB_HEADING = () =>
export const SECURITY_APPS_LEAST_PRIVILEGE = () =>
"Secure apps by the least privilege needed";
export const SECURITY_APPS_LEAST_PRIVILEGE_DETAIL1 = () =>
- "Create roles by the least privilege needed as defaults, e.g.: View only, assign them to users in groups, e.g.: Marketing, and modify for special access, e.g.: Content creators_Execute queries";
+ `Create roles by the least privilege needed as defaults, <span>e.g.: View only</span>, assign them to users in groups, <span>e.g.: Marketing</span>, and modify for special access, <span>e.g.: Content creators_Execute queries</span>`;
export const PREVENT_ACCIDENTAL_DAMAGE = () =>
"Prevent accidental damage to data";
export const PREVENT_ACCIDENTAL_DAMAGE_DETAIL1 = () =>
diff --git a/app/client/src/ce/pages/AdminSettings/LeftPane.tsx b/app/client/src/ce/pages/AdminSettings/LeftPane.tsx
index 2ecdfadc3d2a..9b118ebe1bac 100644
--- a/app/client/src/ce/pages/AdminSettings/LeftPane.tsx
+++ b/app/client/src/ce/pages/AdminSettings/LeftPane.tsx
@@ -158,20 +158,18 @@ export default function LeftPane() {
<HeaderContainer>
<StyledHeader>Business</StyledHeader>
<CategoryList data-testid="t--enterprise-settings-category-list">
- {features.RBAC && (
- <CategoryItem>
- <StyledLink
- $active={category === "access-control"}
- data-testid="t--enterprise-settings-category-item-access-control"
- to="/settings/access-control"
- >
- <div>
- <Icon name="lock-2-line" size={IconSize.XL} />
- </div>
- <div>Access Control</div>
- </StyledLink>
- </CategoryItem>
- )}
+ <CategoryItem>
+ <StyledLink
+ $active={category === "access-control"}
+ data-testid="t--enterprise-settings-category-item-access-control"
+ to="/settings/access-control"
+ >
+ <div>
+ <Icon name="lock-2-line" size={IconSize.XL} />
+ </div>
+ <div>Access Control</div>
+ </StyledLink>
+ </CategoryItem>
<CategoryItem>
<StyledLink
$active={category === "audit-logs"}
diff --git a/app/client/src/ce/pages/Upgrade/AccessControlUpgradePage.tsx b/app/client/src/ce/pages/Upgrade/AccessControlUpgradePage.tsx
index ee0f1a82f938..ff4f3109769c 100644
--- a/app/client/src/ce/pages/Upgrade/AccessControlUpgradePage.tsx
+++ b/app/client/src/ce/pages/Upgrade/AccessControlUpgradePage.tsx
@@ -1,9 +1,9 @@
import React from "react";
import { Carousel, Header } from "./types";
import UpgradePage from "./UpgradePage";
-import SecureAppsLeastPrivilegeImage from "assets/svg/upgrade/access-control/secure-apps-least-privilege.png";
-import RestrictPublicExposureImage from "assets/svg/upgrade/access-control/restrict-public-exposure.png";
-import PreventAccidentalDamageImage from "assets/svg/upgrade/access-control/prevent-accidental-damage.png";
+import SecureAppsLeastPrivilegeImage from "assets/images/upgrade/access-control/secure-apps-least-privilege.png";
+import RestrictPublicExposureImage from "assets/images/upgrade/access-control/restrict-public-exposure.png";
+import PreventAccidentalDamageImage from "assets/images/upgrade/access-control/prevent-accidental-damage.png";
import { createMessage } from "design-system/build/constants/messages";
import {
ACCESS_CONTROL_UPGRADE_PAGE_FOOTER,
@@ -40,17 +40,17 @@ export function AccessControlUpgradePage() {
const carousel: Carousel = {
triggers: [
{
- icon: "lock-2-line",
+ icon: "user-shared-line",
heading: createMessage(SECURITY_APPS_LEAST_PRIVILEGE),
details: [createMessage(SECURITY_APPS_LEAST_PRIVILEGE_DETAIL1)],
},
{
- icon: "search-eye-line",
+ icon: "delete-row",
heading: createMessage(PREVENT_ACCIDENTAL_DAMAGE),
details: [createMessage(PREVENT_ACCIDENTAL_DAMAGE_DETAIL1)],
},
{
- icon: "alert-line",
+ icon: "eye-off",
heading: createMessage(RESTRICT_PUBLIC_EXPOSURE),
details: [createMessage(RESTRICT_PUBLIC_EXPOSURE_DETAIL1)],
},
diff --git a/app/client/src/ce/pages/Upgrade/Carousel.tsx b/app/client/src/ce/pages/Upgrade/Carousel.tsx
index 651cbe1665f3..0de48412bb52 100644
--- a/app/client/src/ce/pages/Upgrade/Carousel.tsx
+++ b/app/client/src/ce/pages/Upgrade/Carousel.tsx
@@ -26,17 +26,8 @@ const CarouselContainer = styled.div`
height: 56px;
cursor: pointer;
- &.active {
- height: max-content;
- min-height: 156px;
- box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.06),
- 0 4px 8px -2px rgba(0, 0, 0, 0.1);
-
- background-color: var(--ads-color-black-0);
-
- & .icon-container .cs-icon svg {
- fill: var(--ads-color-orange-500);
- }
+ .icon-container .cs-icon svg {
+ fill: var(--ads-color-black-700);
}
& .trigger {
@@ -55,6 +46,42 @@ const CarouselContainer = styled.div`
* and thus meet the design expectations.
*/
margin-top: -2px;
+
+ span {
+ color: var(--ads-color-black-700);
+ }
+ }
+
+ & .trigger-details-container {
+ .cs-text {
+ span {
+ color: var(--ads-color-orange-500);
+ font-weight: 500;
+ }
+ }
+ }
+ }
+ }
+
+ &.active {
+ height: max-content;
+ min-height: 156px;
+ box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.06),
+ 0 4px 8px -2px rgba(0, 0, 0, 0.1);
+
+ background-color: var(--ads-color-black-0);
+
+ & .icon-container .cs-icon svg {
+ fill: var(--ads-color-orange-500);
+ }
+
+ & .trigger {
+ & .trigger-content {
+ & .trigger-heading {
+ span {
+ color: var(--ads-text-heading-color);
+ }
+ }
}
}
}
@@ -129,7 +156,10 @@ export function CarouselComponent(props: CarouselProps) {
className={"expanded"}
key={`trigger-detail-${di}`}
>
- <Text type={TextType.P1}>{detail}</Text>
+ <Text
+ dangerouslySetInnerHTML={{ __html: detail }}
+ type={TextType.P1}
+ />
</div>
);
})}
|
763261716ba376c1c729e8864cd15ecd6f947721
|
2022-09-03 23:57:41
|
Arpit Mohan
|
chore: Fixing lint errors in the Cypress code base (#16504)
| false
|
Fixing lint errors in the Cypress code base (#16504)
|
chore
|
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Bind_API_with_List_Widget_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Bind_API_with_List_Widget_spec.js
index 16ea4b0cfdd4..92be48249cc5 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Bind_API_with_List_Widget_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Bind_API_with_List_Widget_spec.js
@@ -24,7 +24,6 @@ describe("Test Create Api and Bind to List widget", function() {
.split('"')
.join("")}`;
cy.log(valueToTest);
- apiData = valueToTest;
cy.log("val1:" + valueToTest);
});
});
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Bind_TableV2Widget_selectedRow_Input_widget_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Bind_TableV2Widget_selectedRow_Input_widget_spec.js
index a86b940a769c..5a32de506d69 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Bind_TableV2Widget_selectedRow_Input_widget_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Bind_TableV2Widget_selectedRow_Input_widget_spec.js
@@ -1,8 +1,6 @@
/// <reference types="Cypress" />
-const commonlocators = require("../../../../locators/commonlocators.json");
const dsl = require("../../../../fixtures/formInputTableV2Dsl.json");
-const widgetsPage = require("../../../../locators/Widgets.json");
const publish = require("../../../../locators/publishWidgetspage.json");
const testdata = require("../../../../fixtures/testdata.json");
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Bind_TableWidget_selectedRow_Input_widget_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Bind_TableWidget_selectedRow_Input_widget_spec.js
index 9e8334cd3340..80cec9a7cb05 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Bind_TableWidget_selectedRow_Input_widget_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Bind_TableWidget_selectedRow_Input_widget_spec.js
@@ -1,8 +1,6 @@
/// <reference types="Cypress" />
-const commonlocators = require("../../../../locators/commonlocators.json");
const dsl = require("../../../../fixtures/formInputTableDsl.json");
-const widgetsPage = require("../../../../locators/Widgets.json");
const publish = require("../../../../locators/publishWidgetspage.json");
const testdata = require("../../../../fixtures/testdata.json");
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Binding_TableV2_Widget_DefaultSearch_Input_widget_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Binding_TableV2_Widget_DefaultSearch_Input_widget_spec.js
index 405d6709198c..698a944b6f82 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Binding_TableV2_Widget_DefaultSearch_Input_widget_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Binding_TableV2_Widget_DefaultSearch_Input_widget_spec.js
@@ -1,6 +1,4 @@
-const commonlocators = require("../../../../locators/commonlocators.json");
const dsl = require("../../../../fixtures/formInputTableV2Dsl.json");
-const widgetsPage = require("../../../../locators/Widgets.json");
const publish = require("../../../../locators/publishWidgetspage.json");
const testdata = require("../../../../fixtures/testdata.json");
@@ -22,7 +20,7 @@ describe("Binding the Table and input Widget", function() {
it("2. validation of data displayed in input widgets based on search value set", function() {
cy.SearchEntityandOpen("Table1");
- cy.get(".t--property-control-allowsearching input").click({force:true})
+ cy.get(".t--property-control-allowsearching input").click({ force: true });
cy.testJsontext("defaultsearchtext", "2736212");
cy.wait("@updateLayout").isSelectRow(0);
cy.readTableV2dataPublish("0", "0").then((tabData) => {
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Binding_Table_Widget_DefaultSearch_Input_widget_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Binding_Table_Widget_DefaultSearch_Input_widget_spec.js
index 79aefb413195..8e3abd119ab8 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Binding_Table_Widget_DefaultSearch_Input_widget_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Binding_Table_Widget_DefaultSearch_Input_widget_spec.js
@@ -1,6 +1,4 @@
-const commonlocators = require("../../../../locators/commonlocators.json");
const dsl = require("../../../../fixtures/formInputTableDsl.json");
-const widgetsPage = require("../../../../locators/Widgets.json");
const publish = require("../../../../locators/publishWidgetspage.json");
const testdata = require("../../../../fixtures/testdata.json");
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Table_Property_ToggleJs_With_Binding_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Table_Property_ToggleJs_With_Binding_spec.js
index a33e29cb0587..cb3d3f4cda2c 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Table_Property_ToggleJs_With_Binding_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Table_Property_ToggleJs_With_Binding_spec.js
@@ -1,10 +1,7 @@
/* eslint-disable cypress/no-unnecessary-waiting */
const widgetsPage = require("../../../../locators/Widgets.json");
-const commonlocators = require("../../../../locators/commonlocators.json");
-const publish = require("../../../../locators/publishWidgetspage.json");
const dsl = require("../../../../fixtures/tableNewDsl.json");
-const pages = require("../../../../locators/Pages.json");
const testdata = require("../../../../fixtures/testdata.json");
describe("Table Widget property pane feature validation", function() {
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Widgets_Default_data_validation_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Widgets_Default_data_validation_spec.js
index e246f00e20f2..c4fb2f583386 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Widgets_Default_data_validation_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/Widgets_Default_data_validation_spec.js
@@ -1,7 +1,4 @@
-const commonlocators = require("../../../../locators/commonlocators.json");
-const formWidgetsPage = require("../../../../locators/FormWidgets.json");
const dsl = require("../../../../fixtures/MultipleWidgetDsl.json");
-const pages = require("../../../../locators/Pages.json");
const widgetsPage = require("../../../../locators/Widgets.json");
const publish = require("../../../../locators/publishWidgetspage.json");
const testdata = require("../../../../fixtures/testdata.json");
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ExplorerTests/Entity_Explorer_DragAndDropWidget_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ExplorerTests/Entity_Explorer_DragAndDropWidget_spec.js
index a3eaf52b8eaf..128bdba58458 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ExplorerTests/Entity_Explorer_DragAndDropWidget_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ExplorerTests/Entity_Explorer_DragAndDropWidget_spec.js
@@ -1,13 +1,9 @@
-const testdata = require("../../../../fixtures/testdata.json");
const apiwidget = require("../../../../locators/apiWidgetslocator.json");
-const widgetsPage = require("../../../../locators/Widgets.json");
const explorer = require("../../../../locators/explorerlocators.json");
const commonlocators = require("../../../../locators/commonlocators.json");
const formWidgetsPage = require("../../../../locators/FormWidgets.json");
const publish = require("../../../../locators/publishWidgetspage.json");
-const pageid = "MyPage";
-
describe("Entity explorer Drag and Drop widgets testcases", function() {
it("Drag and drop form widget and validate", function() {
cy.log("Login Successful");
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Git/GitDiscardChange/DiscardChanges_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Git/GitDiscardChange/DiscardChanges_spec.js
index bc0089481e31..189c34ec33b0 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Git/GitDiscardChange/DiscardChanges_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Git/GitDiscardChange/DiscardChanges_spec.js
@@ -9,7 +9,6 @@ describe("Git discard changes:", function() {
const query1 = "get_users";
const query2 = "get_allusers";
const jsObject = "JSObject1";
- const jsObject2 = "JSObject2";
const page2 = "Page_2";
const page3 = "Page_3";
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/OtherUIFeatures/DuplicateApplication_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/OtherUIFeatures/DuplicateApplication_spec.js
index aeea721c773a..7dc372f9a538 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/OtherUIFeatures/DuplicateApplication_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/OtherUIFeatures/DuplicateApplication_spec.js
@@ -1,7 +1,5 @@
const dsl = require("../../../../fixtures/basicDsl.json");
import homePage from "../../../../locators/HomePage";
-const commonlocators = require("../../../../locators/commonlocators.json");
-const widgetsPage = require("../../../../locators/Widgets.json");
let duplicateApplicationDsl;
let parentApplicationDsl;
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/PropertyPane/PropertyPaneJsEnabledVisible_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/PropertyPane/PropertyPaneJsEnabledVisible_spec.js
index 62fcd3e9167f..0b0fbb80a4eb 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/PropertyPane/PropertyPaneJsEnabledVisible_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/PropertyPane/PropertyPaneJsEnabledVisible_spec.js
@@ -1,6 +1,5 @@
const dsl = require("../../../../fixtures/jsonFormDslWithSchema.json");
const { ObjectsRegistry } = require("../../../../support/Objects/Registry");
-let ee = ObjectsRegistry.EntityExplorer;
describe("Property pane js enabled field", function() {
before(() => {
@@ -15,7 +14,7 @@ describe("Property pane js enabled field", function() {
cy.get(".t--property-control-buttonvariant")
.find(".t--js-toggle")
.first()
- .click({force:true});
+ .click({ force: true });
cy.get(".t--property-control-buttonvariant")
.find(".t--js-toggle")
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ThemingTests/Theme_FormWidget_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ThemingTests/Theme_FormWidget_spec.js
index 071b99b31dfa..8bad204eccea 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ThemingTests/Theme_FormWidget_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ThemingTests/Theme_FormWidget_spec.js
@@ -1,10 +1,7 @@
-const testdata = require("../../../../fixtures/testdata.json");
-const apiwidget = require("../../../../locators/apiWidgetslocator.json");
const widgetsPage = require("../../../../locators/Widgets.json");
const explorer = require("../../../../locators/explorerlocators.json");
const commonlocators = require("../../../../locators/commonlocators.json");
const formWidgetsPage = require("../../../../locators/FormWidgets.json");
-const publish = require("../../../../locators/publishWidgetspage.json");
const themelocator = require("../../../../locators/ThemeLocators.json");
let themeBackgroudColor;
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Button/ButtonGroup_MenuButton_Width_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Button/ButtonGroup_MenuButton_Width_spec.js
index 22de68064fd7..2d4a74310df3 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Button/ButtonGroup_MenuButton_Width_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Button/ButtonGroup_MenuButton_Width_spec.js
@@ -32,7 +32,6 @@ describe("In a button group widget, menu button width", function() {
it("If target width is bigger than min width, The menu button popover width should always be the same as the target width", () => {
const minWidth = 12 * 11.9375;
const widgetId = "t5l24fccio";
- const menuButtonId = "groupButton3";
// Get the default menu button
cy.get(`.appsmith_widget_${widgetId} div.t--buttongroup-widget`)
@@ -87,7 +86,6 @@ describe("In a button group widget, menu button width", function() {
it("If an existing menu button width changes, its popover width should always be the same as the changed target width", () => {
const minWidth = 12 * 11.9375;
const widgetId = "t5l24fccio";
- const menuButtonId = "groupButton1";
cy.get(".t--property-pane-back-btn").click();
// Change the first button text
cy.get(".t--property-control-buttons input")
@@ -121,7 +119,6 @@ describe("In a button group widget, menu button width", function() {
it("After changing the orientation to vertical , The menu button popover width should always be the same as the target width", () => {
const widgetId = "mr048y04aq";
- const menuButtonId = "groupButton3";
// Open property pane of ButtonGroup3
cy.get(`.appsmith_widget_${widgetId} div.t--buttongroup-widget`)
.children()
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Chart/Custom_Chart_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Chart/Custom_Chart_spec.js
index 067f6ff339d6..c4fc1d5d7eb6 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Chart/Custom_Chart_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Chart/Custom_Chart_spec.js
@@ -4,7 +4,7 @@ const publish = require("../../../../../locators/publishWidgetspage.json");
const dsl = require("../../../../../fixtures/chartUpdatedDsl.json");
const widgetsPage = require("../../../../../locators/Widgets.json");
-describe("Chart Widget Functionality around custom chart feature", function () {
+describe("Chart Widget Functionality around custom chart feature", function() {
before(() => {
cy.addDsl(dsl);
});
@@ -13,7 +13,7 @@ describe("Chart Widget Functionality around custom chart feature", function () {
cy.openPropertyPane("chartwidget");
});
- it("1. Fill the Chart Widget Properties.", function () {
+ it("1. Fill the Chart Widget Properties.", function() {
//changing the Chart Name
/**
* @param{Text} Random Text
@@ -65,7 +65,7 @@ describe("Chart Widget Functionality around custom chart feature", function () {
cy.PublishtheApp();
});
- it("2. Custom Chart Widget Functionality", function () {
+ it("2. Custom Chart Widget Functionality", function() {
//changing the Chart type
//cy.get(widgetsPage.toggleChartType).click({ force: true });
cy.UpdateChartType("Custom Chart");
@@ -89,7 +89,7 @@ describe("Chart Widget Functionality around custom chart feature", function () {
cy.PublishtheApp();
});
- it("3. Toggle JS - Custom Chart Widget Functionality", function () {
+ it("3. Toggle JS - Custom Chart Widget Functionality", function() {
cy.get(widgetsPage.toggleChartType).click({ force: true });
//changing the Chart type
cy.testJsontext("charttype", "CUSTOM_FUSION_CHART");
@@ -117,15 +117,14 @@ describe("Chart Widget Functionality around custom chart feature", function () {
cy.PublishtheApp();
});
- it("4. Chart-Copy Verification", function () {
- const modifierKey = Cypress.platform === "darwin" ? "meta" : "ctrl";
+ it("4. Chart-Copy Verification", function() {
//Copy Chart and verify all properties
cy.wait(1000);
cy.copyWidget("chartwidget", viewWidgetsPage.chartWidget);
cy.PublishtheApp();
});
- it("5. Chart-Delete Verification", function () {
+ it("5. Chart-Delete Verification", function() {
// Delete the Chart widget
cy.deleteWidget(viewWidgetsPage.chartWidget);
cy.PublishtheApp();
@@ -136,5 +135,4 @@ describe("Chart Widget Functionality around custom chart feature", function () {
cy.wait(2000);
cy.get(publish.backToEditor).click({ force: true });
});
-
});
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Form/FormWidget_With_RichTextEditor_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Form/FormWidget_With_RichTextEditor_spec.js
index af06899413fa..a3b2c2bd2b1b 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Form/FormWidget_With_RichTextEditor_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Form/FormWidget_With_RichTextEditor_spec.js
@@ -25,7 +25,6 @@ describe("RichTextEditor Widget Functionality in Form", function() {
// Make RTE Required
cy.CheckWidgetProperties(formWidgetsPage.requiredJs);
- const widgetId = "tcayiqdf7f";
// Clear the input
cy.testJsontext("defaultvalue", "");
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/List/List4_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/List/List4_spec.js
index 6ff0e94be4c2..dc51b6afdeee 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/List/List4_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/List/List4_spec.js
@@ -172,7 +172,6 @@ describe("Container Widget Functionality", function() {
});
it("11. ListWidget-Copy & Delete Verification", function() {
- const modifierKey = Cypress.platform === "darwin" ? "meta" : "ctrl";
//Copy Chart and verify all properties
cy.CheckAndUnfoldEntityItem("WIDGETS");
cy.selectEntityByName("List1");
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Migration_Spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Migration_Spec.js
index 2b928abc5b66..2feb1478a613 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Migration_Spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Migration_Spec.js
@@ -15,17 +15,9 @@ describe("Migration Validate", function() {
cy.xpath(homePage.uploadLogo)
.attachFile("TableMigrationAppExported.json")
.wait(500);
- // cy.get(homePage.workspaceImportAppButton)
- // .trigger("click")
- // .wait(500);
cy.get(homePage.workspaceImportAppModal).should("not.exist");
- cy.wait("@importNewApplication").then((interception) => {
- // let appId = interception.response.body.data.id;
- // let defaultPage = interception.response.body.data.pages.find(
- // (eachPage) => !!eachPage.isDefault,
- // );
-
+ cy.wait("@importNewApplication").then(() => {
cy.get(homePage.toastMessage).should(
"contain",
"Application imported successfully",
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Others/MapChart_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Others/MapChart_spec.js
index ef4607c7de4f..18edf028dcea 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Others/MapChart_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Others/MapChart_spec.js
@@ -1,7 +1,6 @@
const commonLocators = require("../../../../../locators/commonlocators.json");
const viewWidgetsPage = require("../../../../../locators/ViewWidgets.json");
const widgetsPage = require("../../../../../locators/Widgets.json");
-const modalWidgetPage = require("../../../../../locators/ModalWidget.json");
const dsl = require("../../../../../fixtures/MapChartDsl.json");
describe("Map Chart Widget Functionality", function() {
@@ -18,7 +17,7 @@ describe("Map Chart Widget Functionality", function() {
});
it("Change Title", function() {
- cy.testJsontext("title",this.data.chartIndata);
+ cy.testJsontext("title", this.data.chartIndata);
cy.get(viewWidgetsPage.chartInnerText)
.contains("App Sign Up")
.should("have.text", "App Sign Up");
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Switch/SwitchGroup2_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Switch/SwitchGroup2_spec.js
index c085ae59e255..724d7f9d0962 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Switch/SwitchGroup2_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Switch/SwitchGroup2_spec.js
@@ -1,7 +1,5 @@
const commonlocators = require("../../../../../locators/commonlocators.json");
const formWidgetsPage = require("../../../../../locators/FormWidgets.json");
-const modalWidgetPage = require("../../../../../locators/ModalWidget.json");
-const publish = require("../../../../../locators/publishWidgetspage.json");
const dsl = require("../../../../../fixtures/SwitchGroupWidgetDsl.json");
describe("Switch Group Widget Functionality", function() {
@@ -12,7 +10,7 @@ describe("Switch Group Widget Functionality", function() {
beforeEach(() => {
cy.openPropertyPane("switchgroupwidget");
});
-/*
+ /*
afterEach(() => {
cy.goToEditFromPublish();
});
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/pagesize_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/pagesize_spec.js
index 6765ac358388..0a0ae77bed70 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/pagesize_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/pagesize_spec.js
@@ -1,4 +1,3 @@
-const dsl = require("../../../../../fixtures/tableV2WithTextWidgetDsl.json");
import { ObjectsRegistry } from "../../../../../support/Objects/Registry";
const propPane = ObjectsRegistry.PropertyPane;
diff --git a/app/client/cypress/support/ApiCommands.js b/app/client/cypress/support/ApiCommands.js
index d2a3cc0f76b9..599f7e3035a2 100644
--- a/app/client/cypress/support/ApiCommands.js
+++ b/app/client/cypress/support/ApiCommands.js
@@ -1,6 +1,5 @@
/* eslint-disable cypress/no-unnecessary-waiting */
-/* eslint-disable cypress/no-assigning-return-
-alues */
+/* eslint-disable cypress/no-assigning-return-values */
require("cy-verify-downloads").addCustomCommand();
require("cypress-file-upload");
diff --git a/app/client/cypress/support/commands.js b/app/client/cypress/support/commands.js
index d633bf9008ff..fa758873a545 100644
--- a/app/client/cypress/support/commands.js
+++ b/app/client/cypress/support/commands.js
@@ -15,30 +15,20 @@ const loginPage = require("../locators/LoginPage.json");
const signupPage = require("../locators/SignupPage.json");
import homePage from "../locators/HomePage";
const pages = require("../locators/Pages.json");
-const datasourceFormData = require("../fixtures/datasources.json");
const commonlocators = require("../locators/commonlocators.json");
-const queryEditor = require("../locators/QueryEditor.json");
-const modalWidgetPage = require("../locators/ModalWidget.json");
const widgetsPage = require("../locators/Widgets.json");
-const LayoutPage = require("../locators/Layout.json");
-const formWidgetsPage = require("../locators/FormWidgets.json");
import ApiEditor from "../locators/ApiEditor";
const apiwidget = require("../locators/apiWidgetslocator.json");
-const dynamicInputLocators = require("../locators/DynamicInput.json");
const explorer = require("../locators/explorerlocators.json");
const datasource = require("../locators/DatasourcesEditor.json");
const viewWidgetsPage = require("../locators/ViewWidgets.json");
const generatePage = require("../locators/GeneratePage.json");
const jsEditorLocators = require("../locators/JSEditor.json");
-const commonLocators = require("../locators/commonlocators.json");
const queryLocators = require("../locators/QueryEditor.json");
const welcomePage = require("../locators/welcomePage.json");
const publishWidgetspage = require("../locators/publishWidgetspage.json");
-const themelocator = require("../locators/ThemeLocators.json");
-import gitSyncLocators from "../locators/gitSyncLocators";
let pageidcopy = " ";
-const GITHUB_API_BASE = "https://api.github.com";
const chainStart = Symbol();
export const initLocalstorage = () => {
@@ -1019,7 +1009,7 @@ Cypress.Commands.add("startErrorRoutes", () => {
Cypress.Commands.add("NavigateToPaginationTab", () => {
cy.get(ApiEditor.apiTab)
.contains("Pagination")
- .click({force:true});
+ .click({ force: true });
cy.xpath(apiwidget.paginationWithUrl).click({ force: true });
});
diff --git a/app/client/cypress/support/widgetCommands.js b/app/client/cypress/support/widgetCommands.js
index 6c7bb575bcc9..e9bf7ba71238 100644
--- a/app/client/cypress/support/widgetCommands.js
+++ b/app/client/cypress/support/widgetCommands.js
@@ -493,7 +493,7 @@ Cypress.Commands.add("testJsontext", (endp, value, paste = true) => {
cy.wait(2500); //Allowing time for Evaluate value to capture value
});
-Cypress.Commands.add("testJsontextclear", (endp, value, paste = true) => {
+Cypress.Commands.add("testJsontextclear", (endp) => {
cy.get(".t--property-control-" + endp + " .CodeMirror textarea")
.first()
.focus({ force: true })
@@ -948,7 +948,6 @@ Cypress.Commands.add("Createpage", (pageName, navigateToCanvasPage = true) => {
});
cy.get(pages.editName).click({ force: true });
cy.get(pages.editInput).type(pageName + "{enter}");
- pageidcopy = pageName;
cy.wrap(pageId).as("currentPageId");
}
if (navigateToCanvasPage) {
@@ -1253,14 +1252,11 @@ Cypress.Commands.add(
},
);
-Cypress.Commands.add(
- "readTableV2dataPublish",
- (rowNum, colNum, shouldNotGoOneLeveDeeper) => {
- const selector = `.t--widget-tablewidgetv2 .tbody .td[data-rowindex=${rowNum}][data-colindex=${colNum}]`;
- const tabVal = cy.get(selector).invoke("text");
- return tabVal;
- },
-);
+Cypress.Commands.add("readTableV2dataPublish", (rowNum, colNum) => {
+ const selector = `.t--widget-tablewidgetv2 .tbody .td[data-rowindex=${rowNum}][data-colindex=${colNum}]`;
+ const tabVal = cy.get(selector).invoke("text");
+ return tabVal;
+});
Cypress.Commands.add(
"readTabledataValidateCSS",
|
4743e96846ee39adcf049f99b9b95ac75f1de85d
|
2024-09-25 11:01:18
|
Diljit
|
chore: caddy: enable logging of static file requests (#36500)
| false
|
caddy: enable logging of static file requests (#36500)
|
chore
|
diff --git a/deploy/docker/fs/opt/appsmith/caddy-reconfigure.mjs b/deploy/docker/fs/opt/appsmith/caddy-reconfigure.mjs
index b5103011c427..f265b2da71e9 100644
--- a/deploy/docker/fs/opt/appsmith/caddy-reconfigure.mjs
+++ b/deploy/docker/fs/opt/appsmith/caddy-reconfigure.mjs
@@ -72,8 +72,16 @@ parts.push(`
log {
output stdout
}
+
+ # skip logs for health check
skip_log /api/v1/health
+ # skip logs for sourcemap files
+ @source-map-files {
+ path_regexp ^.*\.(js|css)\.map$
+ }
+ skip_log @source-map-files
+
# The internal request ID header should never be accepted from an incoming request.
request_header -X-Appsmith-Request-Id
@@ -110,7 +118,6 @@ parts.push(`
@file file
handle @file {
import file_server
- skip_log
}
handle /static/* {
|
9bbf794a853c73557408fe33a6c194837196d618
|
2024-09-20 17:42:21
|
Manish Kumar
|
chore: removed non reactive json migration (#36413)
| false
|
removed non reactive json migration (#36413)
|
chore
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceCEImpl.java
index e00e3db11957..3d0703c82582 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceCEImpl.java
@@ -27,6 +27,7 @@
import com.appsmith.server.imports.internal.artifactbased.ArtifactBasedImportServiceCE;
import com.appsmith.server.layouts.UpdateLayoutService;
import com.appsmith.server.migrations.ApplicationVersion;
+import com.appsmith.server.migrations.JsonSchemaMigration;
import com.appsmith.server.newactions.base.NewActionService;
import com.appsmith.server.services.ApplicationPageService;
import com.appsmith.server.solutions.ActionPermission;
@@ -53,6 +54,7 @@
import static com.appsmith.server.helpers.ImportExportUtils.setPropertiesToExistingApplication;
import static com.appsmith.server.helpers.ImportExportUtils.setPublishedApplicationProperties;
+import static org.springframework.util.StringUtils.hasText;
@RequiredArgsConstructor
@Slf4j
@@ -69,6 +71,7 @@ public class ApplicationImportServiceCEImpl
private final ApplicationPermission applicationPermission;
private final PagePermission pagePermission;
private final ActionPermission actionPermission;
+ private final JsonSchemaMigration jsonSchemaMigration;
private final ImportableService<Theme> themeImportableService;
private final ImportableService<NewPage> newPageImportableService;
private final ImportableService<CustomJSLib> customJSLibImportableService;
@@ -639,4 +642,26 @@ public Mono<Set<String>> getDatasourceIdSetConsumedInArtifact(String baseArtifac
public Flux<String> getBranchedArtifactIdsByBranchedArtifactId(String branchedArtifactId) {
return applicationService.findAllBranchedApplicationIdsByBranchedApplicationId(branchedArtifactId, null);
}
+
+ @Override
+ public Mono<ApplicationJson> migrateArtifactExchangeJson(
+ String branchedArtifactId, ArtifactExchangeJson artifactExchangeJson) {
+ ApplicationJson applicationJson = (ApplicationJson) artifactExchangeJson;
+
+ if (!hasText(branchedArtifactId)) {
+ return jsonSchemaMigration.migrateApplicationJsonToLatestSchema(applicationJson, null, null);
+ }
+
+ return applicationService.findById(branchedArtifactId).flatMap(application -> {
+ String baseArtifactId = application.getBaseId();
+ String branchName = null;
+
+ if (application.getGitArtifactMetadata() != null) {
+ branchName = application.getGitArtifactMetadata().getBranchName();
+ }
+
+ return jsonSchemaMigration.migrateApplicationJsonToLatestSchema(
+ applicationJson, baseArtifactId, branchName);
+ });
+ }
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceImpl.java
index e86f89d66e02..fa5fe049b317 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceImpl.java
@@ -12,6 +12,7 @@
import com.appsmith.server.imports.importable.ImportableService;
import com.appsmith.server.imports.internal.artifactbased.ArtifactBasedImportService;
import com.appsmith.server.layouts.UpdateLayoutService;
+import com.appsmith.server.migrations.JsonSchemaMigration;
import com.appsmith.server.newactions.base.NewActionService;
import com.appsmith.server.services.ApplicationPageService;
import com.appsmith.server.solutions.ActionPermission;
@@ -35,6 +36,7 @@ public ApplicationImportServiceImpl(
ApplicationPermission applicationPermission,
PagePermission pagePermission,
ActionPermission actionPermission,
+ JsonSchemaMigration jsonSchemaMigration,
ImportableService<Theme> themeImportableService,
ImportableService<NewPage> newPageImportableService,
ImportableService<CustomJSLib> customJSLibImportableService,
@@ -50,6 +52,7 @@ public ApplicationImportServiceImpl(
applicationPermission,
pagePermission,
actionPermission,
+ jsonSchemaMigration,
themeImportableService,
newPageImportableService,
customJSLibImportableService,
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java
index 0f3c5095fe6b..e409f047288e 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java
@@ -411,23 +411,32 @@ private Mono<Artifact> importArtifactInWorkspace(
String artifactContextString = artifactSpecificConstantsMap.get(FieldName.ARTIFACT_CONTEXT);
// step 1: Schema Migration
- ArtifactExchangeJson importedDoc = jsonSchemaMigration.migrateArtifactToLatestSchema(artifactExchangeJson);
-
- // Step 2: Validation of artifact Json
- // check for validation error and raise exception if error found
- String errorField = validateArtifactExchangeJson(importedDoc);
- if (!errorField.isEmpty()) {
- log.error("Error in importing {}. Field {} is missing", artifactContextString, errorField);
- if (errorField.equals(artifactContextString)) {
- return Mono.error(
- new AppsmithException(
+ Mono<? extends ArtifactExchangeJson> migratedArtifactJsonMono = artifactBasedImportService
+ .migrateArtifactExchangeJson(branchedArtifactId, artifactExchangeJson)
+ .flatMap(importedDoc -> {
+ // Step 2: Validation of artifact Json
+ // check for validation error and raise exception if error found
+ String errorField = validateArtifactExchangeJson(importedDoc);
+ if (!errorField.isEmpty()) {
+ log.error("Error in importing {}. Field {} is missing", artifactContextString, errorField);
+
+ if (errorField.equals(artifactContextString)) {
+ return Mono.error(
+ new AppsmithException(
+ AppsmithError.VALIDATION_FAILURE,
+ "Field '" + artifactContextString
+ + "'. Sorry! It seems you've imported a page-level JSON instead of an application. Please use the import within the page."));
+ }
+
+ return Mono.error(new AppsmithException(
AppsmithError.VALIDATION_FAILURE,
- "Field '" + artifactContextString
- + "' Sorry! Seems like you've imported a page-level json instead of an application. Please use the import within the page."));
- }
- return Mono.error(new AppsmithException(
- AppsmithError.VALIDATION_FAILURE, "Field '" + errorField + "' is missing in the JSON."));
- }
+ "Field '" + errorField + "' is missing in the JSON."));
+ }
+
+ artifactBasedImportService.syncClientAndSchemaVersion(importedDoc);
+ return Mono.just(importedDoc);
+ })
+ .cache();
ImportingMetaDTO importingMetaDTO = new ImportingMetaDTO(
workspaceId,
@@ -441,7 +450,6 @@ private Mono<Artifact> importArtifactInWorkspace(
permissionGroups);
MappedImportableResourcesDTO mappedImportableResourcesDTO = new MappedImportableResourcesDTO();
- artifactBasedImportService.syncClientAndSchemaVersion(importedDoc);
Mono<Workspace> workspaceMono = workspaceService
.findById(workspaceId, permissionProvider.getRequiredPermissionOnTargetWorkspace())
@@ -469,56 +477,63 @@ private Mono<Artifact> importArtifactInWorkspace(
.switchIfEmpty(Mono.just(List.of()))
.doOnNext(importingMetaDTO::setBranchedArtifactIds);
- // this would import customJsLibs for all type of artifacts
- Mono<Void> artifactSpecificImportableEntities =
- artifactBasedImportService.generateArtifactSpecificImportableEntities(
- importedDoc, importingMetaDTO, mappedImportableResourcesDTO);
-
- /*
- Calling the workspaceMono first to avoid creating multiple mongo transactions.
- If the first db call inside a transaction is a Flux, then there's a chance of creating multiple mongo
- transactions which will lead to NoSuchTransaction exception.
- */
- final Mono<? extends Artifact> importableArtifactMono = workspaceMono
- .then(Mono.defer(() -> Mono.when(branchedArtifactIdsMono, artifactSpecificImportableEntities)))
- .then(Mono.defer(() -> artifactBasedImportService.updateAndSaveArtifactInContext(
- importedDoc.getArtifact(), importingMetaDTO, mappedImportableResourcesDTO, currUserMono)))
- .cache();
-
- final Mono<? extends Artifact> importMono = importableArtifactMono
- .then(Mono.defer(() -> generateImportableEntities(
- importingMetaDTO,
- mappedImportableResourcesDTO,
- workspaceMono,
- importableArtifactMono,
- importedDoc)))
- .then(importableArtifactMono)
- .flatMap(importableArtifact -> updateImportableEntities(
- artifactBasedImportService, importableArtifact, mappedImportableResourcesDTO, importingMetaDTO))
- .flatMap(importableArtifact -> updateImportableArtifact(artifactBasedImportService, importableArtifact))
- .onErrorResume(throwable -> {
- String errorMessage = ImportExportUtils.getErrorMessage(throwable);
- log.error("Error importing {}. Error: {}", artifactContextString, errorMessage, throwable);
- return Mono.error(
- new AppsmithException(AppsmithError.GENERIC_JSON_IMPORT_ERROR, workspaceId, errorMessage));
- })
- // execute dry run for datasource
- .flatMap(importableArtifact -> dryOperationRepository
- .executeAllDbOps(mappedImportableResourcesDTO)
- .thenReturn(importableArtifact))
- .as(transactionalOperator::transactional);
-
- final Mono<? extends Artifact> resultMono = importMono
- .flatMap(importableArtifact -> sendImportedContextAnalyticsEvent(
- artifactBasedImportService, importableArtifact, AnalyticsEvents.IMPORT))
- .zipWith(currUserMono)
- .flatMap(tuple -> {
- Artifact importableArtifact = tuple.getT1();
- User user = tuple.getT2();
- stopwatch.stopTimer();
- stopwatch.stopAndLogTimeInMillis();
- return sendImportRelatedAnalyticsEvent(importedDoc, importableArtifact, stopwatch, user);
- });
+ final Mono<? extends Artifact> resultMono = migratedArtifactJsonMono.flatMap(importedDoc -> {
+
+ // this would import customJsLibs for all type of artifacts
+ Mono<Void> artifactSpecificImportableEntities =
+ artifactBasedImportService.generateArtifactSpecificImportableEntities(
+ importedDoc, importingMetaDTO, mappedImportableResourcesDTO);
+
+ /*
+ Calling the workspaceMono first to avoid creating multiple mongo transactions.
+ If the first db call inside a transaction is a Flux, then there's a chance of creating multiple mongo
+ transactions which will lead to NoSuchTransaction exception.
+ */
+ final Mono<? extends Artifact> importableArtifactMono = workspaceMono
+ .then(Mono.defer(() -> Mono.when(branchedArtifactIdsMono, artifactSpecificImportableEntities)))
+ .then(Mono.defer(() -> artifactBasedImportService.updateAndSaveArtifactInContext(
+ importedDoc.getArtifact(), importingMetaDTO, mappedImportableResourcesDTO, currUserMono)))
+ .cache();
+
+ final Mono<? extends Artifact> importMono = importableArtifactMono
+ .then(Mono.defer(() -> generateImportableEntities(
+ importingMetaDTO,
+ mappedImportableResourcesDTO,
+ workspaceMono,
+ importableArtifactMono,
+ importedDoc)))
+ .then(importableArtifactMono)
+ .flatMap(importableArtifact -> updateImportableEntities(
+ artifactBasedImportService,
+ importableArtifact,
+ mappedImportableResourcesDTO,
+ importingMetaDTO))
+ .flatMap(importableArtifact ->
+ updateImportableArtifact(artifactBasedImportService, importableArtifact))
+ .onErrorResume(throwable -> {
+ String errorMessage = ImportExportUtils.getErrorMessage(throwable);
+ log.error("Error importing {}. Error: {}", artifactContextString, errorMessage, throwable);
+ return Mono.error(new AppsmithException(
+ AppsmithError.GENERIC_JSON_IMPORT_ERROR, workspaceId, errorMessage));
+ })
+ // execute dry run for datasource
+ .flatMap(importableArtifact -> dryOperationRepository
+ .executeAllDbOps(mappedImportableResourcesDTO)
+ .thenReturn(importableArtifact))
+ .as(transactionalOperator::transactional);
+
+ return importMono
+ .flatMap(importableArtifact -> sendImportedContextAnalyticsEvent(
+ artifactBasedImportService, importableArtifact, AnalyticsEvents.IMPORT))
+ .zipWith(currUserMono)
+ .flatMap(tuple -> {
+ Artifact importableArtifact = tuple.getT1();
+ User user = tuple.getT2();
+ stopwatch.stopTimer();
+ stopwatch.stopAndLogTimeInMillis();
+ return sendImportRelatedAnalyticsEvent(importedDoc, importableArtifact, stopwatch, user);
+ });
+ });
// Import Context is currently a slow API because it needs to import and create context, pages, actions
// and action collection. This process may take time and the client may cancel the request. This leads to the
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/artifactbased/ArtifactBasedImportServiceCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/artifactbased/ArtifactBasedImportServiceCE.java
index 7dfd1560c6d3..7fd0e80d67b0 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/artifactbased/ArtifactBasedImportServiceCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/artifactbased/ArtifactBasedImportServiceCE.java
@@ -153,4 +153,6 @@ Mono<Void> generateArtifactSpecificImportableEntities(
Mono<Set<String>> getDatasourceIdSetConsumedInArtifact(String baseArtifactId);
Flux<String> getBranchedArtifactIdsByBranchedArtifactId(String branchedArtifactId);
+
+ Mono<V> migrateArtifactExchangeJson(String branchedArtifactId, ArtifactExchangeJson artifactExchangeJson);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/JsonSchemaMigration.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/JsonSchemaMigration.java
index badec22d19e5..df6caf59bb10 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/JsonSchemaMigration.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/JsonSchemaMigration.java
@@ -12,8 +12,6 @@
import org.springframework.stereotype.Component;
import reactor.core.publisher.Mono;
-import java.util.Map;
-
@Slf4j
@Component
@RequiredArgsConstructor
@@ -37,15 +35,21 @@ private Integer getCorrectSchemaVersion(Integer schemaVersion) {
}
/**
- * This method migrates the server schema of artifactExchangeJson after choosing the right method for migration
- * this will likely be overridden in EE codebase for more choices
- * @param artifactExchangeJson artifactExchangeJson which is imported
+ * Migrates the server schema of the given ArtifactExchangeJson by selecting the appropriate migration method.
+ * This method may be overridden in the EE codebase for additional migration choices.
+ *
+ * @param artifactExchangeJson The artifact to be imported.
+ * @param baseArtifactId The base application ID to which it's being imported,
+ * if it's a Git-connected artifact; otherwise, null.
+ * @param branchName The branch name of the artifact being imported,
+ * if it's a Git-connected application; otherwise, null.
*/
public Mono<? extends ArtifactExchangeJson> migrateArtifactExchangeJsonToLatestSchema(
- ArtifactExchangeJson artifactExchangeJson) {
+ ArtifactExchangeJson artifactExchangeJson, String baseArtifactId, String branchName) {
if (ArtifactType.APPLICATION.equals(artifactExchangeJson.getArtifactJsonType())) {
- return migrateApplicationJsonToLatestSchema((ApplicationJson) artifactExchangeJson, null, null);
+ return migrateApplicationJsonToLatestSchema(
+ (ApplicationJson) artifactExchangeJson, baseArtifactId, branchName);
}
return Mono.fromCallable(() -> artifactExchangeJson);
@@ -62,82 +66,28 @@ public Mono<ApplicationJson> migrateApplicationJsonToLatestSchema(
return Mono.empty();
}
- // Taking a tech debt over here for import of file application.
- // All migration above version 9 is reactive
- // TODO: make import flow migration reactive
- return Mono.just(migrateServerSchema(appJson))
- .flatMap(migratedApplicationJson -> {
- // In Server version 9, there was a bug where the Embedded REST API datasource URL
- // was not being persisted correctly. Once the bug was fixed,
- // any previously uncommitted changes started appearing as uncommitted modifications
- // in the apps. To automatically commit these changes
- // (which were now appearing as uncommitted), a migration process was needed.
- // This migration fetches the datasource URL from the database
- // and serializes it in Git if the URL exists.
- // If the URL is missing, it copies the empty datasource configuration
- // if the configuration is present in the database.
- // Otherwise, it leaves the configuration unchanged.
- // Due to an update in the migration logic after version 10 was shipped,
- // the entire migration process was moved to version 11.
- // This adjustment ensures that the same operation can be
- // performed again for the changes introduced in version 10.
- if (migratedApplicationJson.getServerSchemaVersion() == 9) {
- migratedApplicationJson.setServerSchemaVersion(10);
- }
-
- if (migratedApplicationJson.getServerSchemaVersion() == 10) {
- if (Boolean.TRUE.equals(MigrationHelperMethods.doesRestApiRequireMigration(
- migratedApplicationJson))) {
- return jsonSchemaMigrationHelper
- .addDatasourceConfigurationToDefaultRestApiActions(
- baseApplicationId, branchName, migratedApplicationJson);
- }
-
- migratedApplicationJson.setServerSchemaVersion(11);
- }
-
- return Mono.just(migratedApplicationJson);
- })
- .map(migratedAppJson -> {
- applicationJson.setServerSchemaVersion(jsonSchemaVersions.getServerVersion());
- return applicationJson;
- });
+ return migrateServerSchema(applicationJson, baseApplicationId, branchName);
})
.switchIfEmpty(Mono.error(new AppsmithException(AppsmithError.INCOMPATIBLE_IMPORTED_JSON)));
}
- /**
- * migrate artifacts to latest schema by adding the right DTOs, or any migration.
- * This method would be deprecated soon enough
- * @param artifactExchangeJson : the json to be imported
- * @return transformed artifact exchange json
- */
- @Deprecated(forRemoval = true, since = "Use migrateArtifactJsonToLatestSchema")
- public ArtifactExchangeJson migrateArtifactToLatestSchema(ArtifactExchangeJson artifactExchangeJson) {
-
- if (!ArtifactType.APPLICATION.equals(artifactExchangeJson.getArtifactJsonType())) {
- return artifactExchangeJson;
- }
-
- ApplicationJson applicationJson = (ApplicationJson) artifactExchangeJson;
- setSchemaVersions(applicationJson);
- if (!isCompatible(applicationJson)) {
- throw new AppsmithException(AppsmithError.INCOMPATIBLE_IMPORTED_JSON);
- }
-
- applicationJson = migrateServerSchema(applicationJson);
- return nonReactiveServerMigrationForImport(applicationJson);
- }
-
/**
* This method may be moved to the publisher chain itself
- * @param applicationJson : applicationJson which needs to be transformed
+ *
+ * @param applicationJson : applicationJson which needs to be transformed
+ * @param baseApplicationId : baseApplicationId of the application to which it's being imported,
+ * if it's a git connected artifact, otherwise a null value would be passed.
+ * @param branchName : branch name of the artifact for which application json is getting imported
+ * if it's a git connected application. Otherwise, the value would be null
* @return : transformed applicationJson
*/
- private ApplicationJson migrateServerSchema(ApplicationJson applicationJson) {
+ private Mono<ApplicationJson> migrateServerSchema(
+ ApplicationJson applicationJson, String baseApplicationId, String branchName) {
+ Mono<ApplicationJson> migrateApplicationJsonMono = Mono.just(applicationJson);
+
if (jsonSchemaVersions.getServerVersion().equals(applicationJson.getServerSchemaVersion())) {
// No need to run server side migration
- return applicationJson;
+ return migrateApplicationJsonMono;
}
// Run migration linearly
// Updating the schema version after each migration is not required as we are not exiting by breaking the switch
@@ -180,38 +130,33 @@ private ApplicationJson migrateServerSchema(ApplicationJson applicationJson) {
case 8:
MigrationHelperMethods.migrateThemeSettingsForAnvil(applicationJson);
applicationJson.setServerSchemaVersion(9);
-
- // This is not supposed to have anymore additions to the schema.
- default:
- // Unable to detect the serverSchema
-
- }
-
- return applicationJson;
- }
-
- /**
- * This method is an alternative to reactive way of adding migrations to application json.
- * this is getting used by flows which haven't implemented the reactive way yet.
- * @param applicationJson : application json for which migration has to be done.
- * @return return application json after migration
- */
- private ApplicationJson nonReactiveServerMigrationForImport(ApplicationJson applicationJson) {
- if (jsonSchemaVersions.getServerVersion().equals(applicationJson.getServerSchemaVersion())) {
- return applicationJson;
- }
-
- switch (applicationJson.getServerSchemaVersion()) {
+ // In Server version 9, there was a bug where the Embedded REST API datasource URL
+ // was not being persisted correctly. Once the bug was fixed,
+ // any previously uncommitted changes started appearing as uncommitted modifications
+ // in the apps. To automatically commit these changes
+ // (which were now appearing as uncommitted), a migration process was needed.
+ // This migration fetches the datasource URL from the database
+ // and serializes it in Git if the URL exists.
+ // If the URL is missing, it copies the empty datasource configuration
+ // if the configuration is present in the database.
+ // Otherwise, it leaves the configuration unchanged.
+ // Due to an update in the migration logic after version 10 was shipped,
+ // the entire migration process was moved to version 11.
+ // This adjustment ensures that the same operation can be
+ // performed again for the changes introduced in version 10.
case 9:
applicationJson.setServerSchemaVersion(10);
case 10:
- // this if for cases where we have empty datasource configs
- MigrationHelperMethods.migrateApplicationJsonToVersionTen(applicationJson, Map.of());
+ if (Boolean.TRUE.equals(MigrationHelperMethods.doesRestApiRequireMigration(applicationJson))) {
+ migrateApplicationJsonMono = migrateApplicationJsonMono.flatMap(
+ migratedJson -> jsonSchemaMigrationHelper.addDatasourceConfigurationToDefaultRestApiActions(
+ baseApplicationId, branchName, migratedJson));
+ }
applicationJson.setServerSchemaVersion(11);
default:
}
applicationJson.setServerSchemaVersion(jsonSchemaVersions.getServerVersion());
- return applicationJson;
+ return migrateApplicationJsonMono;
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/CreateDBTablePageSolutionCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/CreateDBTablePageSolutionCEImpl.java
index 6f26851a12a9..00dba526a9c8 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/CreateDBTablePageSolutionCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/CreateDBTablePageSolutionCEImpl.java
@@ -57,6 +57,7 @@
import org.springframework.util.StreamUtils;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
+import reactor.core.scheduler.Schedulers;
import java.io.IOException;
import java.nio.charset.Charset;
@@ -236,28 +237,38 @@ public Mono<CRUDPageResponseDTO> createPageFromDBTable(
.switchIfEmpty(Mono.error(
new AppsmithException(AppsmithError.INVALID_DATASOURCE, FieldName.DATASOURCE, datasourceId)));
+ // Should this be subscribed on a scheduler?
+ Mono<ApplicationJson> applicationJsonMono = Mono.fromCallable(() -> {
+ ApplicationJson applicationJson = new ApplicationJson();
+ try {
+ AppsmithBeanUtils.copyNestedNonNullProperties(
+ fetchTemplateApplication(FILE_PATH), applicationJson);
+ } catch (IOException e) {
+ log.error(e.getMessage());
+ }
+
+ return applicationJson;
+ })
+ .subscribeOn(Schedulers.boundedElastic())
+ .flatMap(applicationJson ->
+ jsonSchemaMigration.migrateApplicationJsonToLatestSchema(applicationJson, null, null));
+
return datasourceStorageMono
.zipWhen(datasourceStorage -> Mono.zip(
pageMono,
pluginService.findById(datasourceStorage.getPluginId()),
- datasourceStructureSolution.getStructure(datasourceStorage, false)))
+ datasourceStructureSolution.getStructure(datasourceStorage, false),
+ applicationJsonMono))
.flatMap(tuple -> {
DatasourceStorage datasourceStorage = tuple.getT1();
NewPage page = tuple.getT2().getT1();
Plugin plugin = tuple.getT2().getT2();
DatasourceStructure datasourceStructure = tuple.getT2().getT3();
+ ApplicationJson applicationJson = tuple.getT2().getT4();
final String layoutId =
page.getUnpublishedPage().getLayouts().get(0).getId();
final String savedPageId = page.getId();
-
- ApplicationJson applicationJson = new ApplicationJson();
- try {
- AppsmithBeanUtils.copyNestedNonNullProperties(
- fetchTemplateApplication(FILE_PATH), applicationJson);
- } catch (IOException e) {
- log.error(e.getMessage());
- }
List<NewPage> pageList = applicationJson.getPageList();
if (pageList.isEmpty()) {
@@ -558,8 +569,7 @@ private ApplicationJson fetchTemplateApplication(String filePath) throws IOExcep
final String jsonContent = StreamUtils.copyToString(
new DefaultResourceLoader().getResource(filePath).getInputStream(), Charset.defaultCharset());
- ApplicationJson applicationJson = gson.fromJson(jsonContent, ApplicationJson.class);
- return (ApplicationJson) jsonSchemaMigration.migrateArtifactToLatestSchema(applicationJson);
+ return gson.fromJson(jsonContent, ApplicationJson.class);
}
/**
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/CommonGitServiceCETest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/CommonGitServiceCETest.java
index 570f86e28bd7..31d88eaa56b5 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/CommonGitServiceCETest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/CommonGitServiceCETest.java
@@ -291,7 +291,8 @@ private Mono<ApplicationJson> createAppJson(String filePath) {
return stringifiedFile
.map(data -> gson.fromJson(data, ApplicationJson.class))
- .map(jsonSchemaMigration::migrateArtifactToLatestSchema)
+ .flatMap(applicationJson ->
+ jsonSchemaMigration.migrateArtifactExchangeJsonToLatestSchema(applicationJson, null, null))
.map(artifactExchangeJson -> (ApplicationJson) artifactExchangeJson);
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/gac/DefaultBranchGACTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/gac/DefaultBranchGACTest.java
deleted file mode 100644
index e69de29bb2d1..000000000000
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/gac/GitServiceWithRBACTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/gac/GitServiceWithRBACTest.java
deleted file mode 100644
index e69de29bb2d1..000000000000
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/GitFileUtilsTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/GitFileUtilsTest.java
index ed04d0837170..c9486d45314f 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/GitFileUtilsTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/GitFileUtilsTest.java
@@ -84,7 +84,8 @@ private Mono<ApplicationJson> createAppJson(String filePath) {
.map(data -> {
return gson.fromJson(data, ApplicationJson.class);
})
- .map(jsonSchemaMigration::migrateArtifactToLatestSchema)
+ .flatMap(applicationJson ->
+ jsonSchemaMigration.migrateArtifactExchangeJsonToLatestSchema(applicationJson, null, null))
.map(artifactExchangeJson -> (ApplicationJson) artifactExchangeJson);
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/imports/internal/ImportServiceTests.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/imports/internal/ImportServiceTests.java
index efb637ff6587..8a742fa911d3 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/imports/internal/ImportServiceTests.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/imports/internal/ImportServiceTests.java
@@ -357,7 +357,8 @@ private Mono<ApplicationJson> createAppJson(String filePath) {
.map(data -> {
return gson.fromJson(data, ApplicationJson.class);
})
- .map(jsonSchemaMigration::migrateArtifactToLatestSchema)
+ .flatMap(applicationJson ->
+ jsonSchemaMigration.migrateArtifactExchangeJsonToLatestSchema(applicationJson, null, null))
.map(artifactExchangeJson -> (ApplicationJson) artifactExchangeJson);
}
@@ -2718,11 +2719,13 @@ public void applySchemaMigration_jsonFileWithFirstVersion_migratedToLatestVersio
})
.cache();
- Mono<ApplicationJson> migratedApplicationMono = v1ApplicationMono.map(applicationJson -> {
- ApplicationJson applicationJson1 = new ApplicationJson();
- AppsmithBeanUtils.copyNestedNonNullProperties(applicationJson, applicationJson1);
- return (ApplicationJson) jsonSchemaMigration.migrateArtifactToLatestSchema(applicationJson1);
- });
+ Mono<ApplicationJson> migratedApplicationMono = v1ApplicationMono
+ .flatMap(applicationJson -> {
+ ApplicationJson applicationJson1 = new ApplicationJson();
+ AppsmithBeanUtils.copyNestedNonNullProperties(applicationJson, applicationJson1);
+ return jsonSchemaMigration.migrateArtifactExchangeJsonToLatestSchema(applicationJson1, null, null);
+ })
+ .map(applicationJson -> (ApplicationJson) applicationJson);
StepVerifier.create(Mono.zip(v1ApplicationMono, migratedApplicationMono))
.assertNext(tuple -> {
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/migrations/JsonSchemaMigrationTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/migrations/JsonSchemaMigrationTest.java
index 9fbbfbe61200..42cedccfa5da 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/migrations/JsonSchemaMigrationTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/migrations/JsonSchemaMigrationTest.java
@@ -55,7 +55,9 @@ public void migrateArtifactToLatestSchema_whenFeatureFlagIsOff_returnsFallbackVa
ApplicationJson applicationJson =
gitFileSystemTestHelper.getApplicationJson(this.getClass().getResource("application.json"));
- ArtifactExchangeJson artifactExchangeJson = jsonSchemaMigration.migrateArtifactToLatestSchema(applicationJson);
+ ArtifactExchangeJson artifactExchangeJson = jsonSchemaMigration
+ .migrateArtifactExchangeJsonToLatestSchema(applicationJson, null, null)
+ .block();
assertThat(artifactExchangeJson.getServerSchemaVersion())
.isEqualTo(jsonSchemaVersionsFallback.getServerVersion());
@@ -77,7 +79,9 @@ public void migrateArtifactToLatestSchema_whenFeatureFlagIsOn_returnsIncremented
ApplicationJson applicationJson =
gitFileSystemTestHelper.getApplicationJson(this.getClass().getResource("application.json"));
- ArtifactExchangeJson artifactExchangeJson = jsonSchemaMigration.migrateArtifactToLatestSchema(applicationJson);
+ ArtifactExchangeJson artifactExchangeJson = jsonSchemaMigration
+ .migrateArtifactExchangeJsonToLatestSchema(applicationJson, null, null)
+ .block();
assertThat(artifactExchangeJson.getServerSchemaVersion()).isEqualTo(jsonSchemaVersions.getServerVersion());
assertThat(artifactExchangeJson.getClientSchemaVersion()).isEqualTo(jsonSchemaVersions.getClientVersion());
assertThat(artifactExchangeJson.getClientSchemaVersion())
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ee/ImportExportApplicationServiceEETest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ee/ImportExportApplicationServiceEETest.java
deleted file mode 100644
index e69de29bb2d1..000000000000
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ee/ImportExportApplicationServiceGACTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ee/ImportExportApplicationServiceGACTest.java
deleted file mode 100644
index e69de29bb2d1..000000000000
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/transactions/ImportApplicationTransactionServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/transactions/ImportApplicationTransactionServiceTest.java
index 7e46d65bf6a0..f5d0c4835408 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/transactions/ImportApplicationTransactionServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/transactions/ImportApplicationTransactionServiceTest.java
@@ -130,7 +130,8 @@ private Mono<ApplicationJson> createAppJson(String filePath) {
.map(data -> {
return gson.fromJson(data, ApplicationJson.class);
})
- .map(jsonSchemaMigration::migrateArtifactToLatestSchema)
+ .flatMap(applicationJson ->
+ jsonSchemaMigration.migrateArtifactExchangeJsonToLatestSchema(applicationJson, null, null))
.map(artifactExchangeJson -> (ApplicationJson) artifactExchangeJson);
}
|
019a7f18b45eb100d9b0ac0cff09449832a28e82
|
2024-01-17 17:45:03
|
sneha122
|
fix: loading state added for generate crud CTA on datasource preview (#30386)
| false
|
loading state added for generate crud CTA on datasource preview (#30386)
|
fix
|
diff --git a/app/client/src/pages/Editor/DatasourceInfo/DatasourceViewModeSchema.tsx b/app/client/src/pages/Editor/DatasourceInfo/DatasourceViewModeSchema.tsx
index 693f9d3d1472..a31bf877826d 100644
--- a/app/client/src/pages/Editor/DatasourceInfo/DatasourceViewModeSchema.tsx
+++ b/app/client/src/pages/Editor/DatasourceInfo/DatasourceViewModeSchema.tsx
@@ -49,6 +49,7 @@ import {
} from "./SchemaViewModeCSS";
import { useEditorType } from "@appsmith/hooks";
import history from "utils/history";
+import { getIsGeneratingTemplatePage } from "selectors/pageListSelectors";
interface Props {
datasource: Datasource;
@@ -107,6 +108,8 @@ const DatasourceViewModeSchema = (props: Props) => {
const { failedFetchingPreviewData, fetchPreviewData, isLoading } =
useDatasourceQuery({ setPreviewData, setPreviewDataError });
+ const isGeneratePageLoading = useSelector(getIsGeneratingTemplatePage);
+
// default table name to first table
useEffect(() => {
if (
@@ -277,6 +280,7 @@ const DatasourceViewModeSchema = (props: Props) => {
<ButtonContainer>
<Button
className="t--datasource-generate-page"
+ isLoading={isGeneratePageLoading}
key="datasource-generate-page"
kind="primary"
onClick={generatePageAction}
diff --git a/app/client/src/pages/Editor/DatasourceInfo/GoogleSheetSchema.tsx b/app/client/src/pages/Editor/DatasourceInfo/GoogleSheetSchema.tsx
index dbed4a3c2fcc..20c8850faf5f 100644
--- a/app/client/src/pages/Editor/DatasourceInfo/GoogleSheetSchema.tsx
+++ b/app/client/src/pages/Editor/DatasourceInfo/GoogleSheetSchema.tsx
@@ -50,6 +50,7 @@ import { setEntityCollapsibleState } from "actions/editorContextActions";
import ItemLoadingIndicator from "./ItemLoadingIndicator";
import { useEditorType } from "@appsmith/hooks";
import history from "utils/history";
+import { getIsGeneratingTemplatePage } from "selectors/pageListSelectors";
interface Props {
datasourceId: string;
@@ -82,6 +83,8 @@ function GoogleSheetSchema(props: Props) {
selectedSpreadSheet?: string;
}>({});
+ const isGeneratePageLoading = useSelector(getIsGeneratingTemplatePage);
+
const handleSearch = (value: string) => {
setSearchString(value.toLowerCase());
@@ -498,6 +501,7 @@ function GoogleSheetSchema(props: Props) {
<ButtonContainer>
<Button
className="t--datasource-generate-page"
+ isLoading={isGeneratePageLoading}
key="datasource-generate-page"
kind="primary"
onClick={onGsheetGeneratePage}
|
b9bc00e1daa615a0098aef34487e13826259b5b9
|
2023-10-16 14:37:39
|
Ankita Kinger
|
chore: Refactoring editor app name component for modules (#28055)
| false
|
Refactoring editor app name component for modules (#28055)
|
chore
|
diff --git a/CODEOWNERS b/CODEOWNERS
index fabb2ca64ccf..0124f366ae49 100644
--- a/CODEOWNERS
+++ b/CODEOWNERS
@@ -193,6 +193,7 @@ app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/Appsmith
app/client/src/pages/Settings/**/* @ankitakinger
app/client/src/pages/workspace/settings.tsx @ankitakinger
app/client/src/pages/workspace/AppInviteUsersForm.tsx @ankitakinger
+app/client/src/pages/workspace/WorkspaceInviteUsersForm.tsx @ankitakinger
app/client/src/components/editorComponents/form/FormDialogComponent.tsx @ankitakinger
app/client/src/ce/pages/AdminSettings/**/* @ankitakinger
app/client/src/ee/pages/AdminSettings/**/* @ankitakinger
@@ -202,8 +203,8 @@ app/client/src/ce/pages/Applications/PrivateEmbedSettings.tsx @ankitakinger
app/client/src/ee/pages/Applications/PrivateEmbedSettings.tsx @ankitakinger
app/client/src/ce/pages/workspace/Members.tsx @ankitakinger
app/client/src/ee/pages/workspace/Members.tsx @ankitakinger
-app/client/src/ce/pages/workspace/WorkspaceInviteUsersForm.tsx @ankitakinger
-app/client/src/ee/pages/workspace/WorkspaceInviteUsersForm.tsx @ankitakinger
+app/client/src/ce/pages/workspace/InviteUsersForm.tsx @ankitakinger
+app/client/src/ee/pages/workspace/InviteUsersForm.tsx @ankitakinger
app/client/src/ce/pages/Upgrade/**/* @ankitakinger
app/client/src/ee/pages/Auditlogs/**/* @ankitakinger
app/client/cypress/e2e/Regression/Enterprise/**/* @ankitakinger
diff --git a/app/client/cypress/e2e/Regression/ClientSide/AdminSettings/Admin_settings_spec.js b/app/client/cypress/e2e/Regression/ClientSide/AdminSettings/Admin_settings_spec.js
index dcc7cf26ec92..3f790297ea38 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/AdminSettings/Admin_settings_spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/AdminSettings/Admin_settings_spec.js
@@ -71,7 +71,7 @@ describe("Admin settings page", function () {
it(
"airgap",
- "4. Should test that settings page tab redirects and google maps doesn't exist - airgap",
+ "4. Should test that settings page tab redirects and developer settings doesn't exist - airgap",
() => {
cy.visit("/applications", { timeout: 60000 });
if (!Cypress.env("AIRGAPPED")) {
diff --git a/app/client/cypress/support/Objects/CommonLocators.ts b/app/client/cypress/support/Objects/CommonLocators.ts
index 1166ddc45069..a5b38616c6cb 100644
--- a/app/client/cypress/support/Objects/CommonLocators.ts
+++ b/app/client/cypress/support/Objects/CommonLocators.ts
@@ -252,11 +252,10 @@ export class CommonLocators {
_selectionCanvas = (canvasId: string) => `#div-selection-${canvasId}`;
_sqlKeyword = ".cm-m-sql.cm-keyword";
_appLeveltooltip = (toolTip: string) => `span:contains('${toolTip}')`;
- _appEditMenu = "[data-testid='t--application-edit-menu']";
- _appEditMenuBtn = "[data-testid='t--application-edit-menu-cta']";
- _appEditMenuSettings = "[data-testid='t--application-edit-menu-settings']";
- _appEditExportSettings =
- "[data-testid='t--application-edit-menu-export-application']";
+ _appEditMenu = "[data-testid='t--editor-menu']";
+ _appEditMenuBtn = "[data-testid='t--editor-menu-cta']";
+ _appEditMenuSettings = "[data-testid='t--editor-menu-settings']";
+ _appEditExportSettings = "[data-testid='t--editor-menu-export-application']";
_appThemeSettings = "#t--theme-settings-header";
_appChangeThemeBtn = ".t--change-theme-btn";
_appThemeCard = ".t--theme-card";
diff --git a/app/client/src/ce/reducers/entityReducers/index.ts b/app/client/src/ce/reducers/entityReducers/index.ts
index a19eac5818c4..ba3bd64c882f 100644
--- a/app/client/src/ce/reducers/entityReducers/index.ts
+++ b/app/client/src/ce/reducers/entityReducers/index.ts
@@ -11,6 +11,9 @@ import pageListReducer from "reducers/entityReducers/pageListReducer";
import pluginsReducer from "reducers/entityReducers/pluginsReducer";
import autoHeightLayoutTreeReducer from "reducers/entityReducers/autoHeightReducers/autoHeightLayoutTreeReducer";
import canvasLevelsReducer from "reducers/entityReducers/autoHeightReducers/canvasLevelsReducer";
+
+/* Reducers which are integrated into the core system when registering a pluggable module
+ or done so by a module that is designed to be eventually pluggable */
import widgetPositionsReducer from "layoutSystems/anvil/integrations/reducers/widgetPositionsReducer";
export const entityReducerObject = {
diff --git a/app/client/src/pages/Applications/ApplicationCard.tsx b/app/client/src/pages/Applications/ApplicationCard.tsx
index 4061622bb8db..06be17ec7618 100644
--- a/app/client/src/pages/Applications/ApplicationCard.tsx
+++ b/app/client/src/pages/Applications/ApplicationCard.tsx
@@ -97,10 +97,10 @@ const IconScrollWrapper = styled.div`
}
`;
-type ModifiedMenuItemProps = MenuItemProps & {
+export interface ModifiedMenuItemProps extends MenuItemProps {
key?: string;
"data-testid"?: string;
-};
+}
const ContextMenuTrigger = styled(Button)<{ isHidden?: boolean }>`
${(props) => props.isHidden && "opacity: 0; visibility: hidden;"}
diff --git a/app/client/src/pages/Editor/EditorHeader.tsx b/app/client/src/pages/Editor/EditorHeader.tsx
index 0a2c8a2fca40..c9933e3c666e 100644
--- a/app/client/src/pages/Editor/EditorHeader.tsx
+++ b/app/client/src/pages/Editor/EditorHeader.tsx
@@ -6,7 +6,9 @@ import {
getApplicationLastDeployedAt,
getCurrentApplicationId,
getCurrentPageId,
+ getIsPageSaving,
getIsPublishingApplication,
+ getPageSavingError,
previewModeSelector,
} from "selectors/editorSelectors";
import {
@@ -25,7 +27,7 @@ import {
getIsErroredSavingAppName,
getCurrentApplication,
} from "@appsmith/selectors/applicationSelectors";
-import EditorAppName from "./EditorAppName";
+import EditorName from "./EditorName";
import { EditInteractionKind, SavingState } from "design-system-old";
import {
Button,
@@ -90,6 +92,7 @@ import { Omnibar } from "./commons/Omnibar";
import { EditorShareButton } from "./EditorShareButton";
import { HelperBarInHeader } from "./HelpBarInHeader";
import { AppsmithLink } from "./AppsmithLink";
+import { GetNavigationMenuData } from "./EditorName/NavigationMenuData";
const { cloudHosting } = getAppsmithConfigs();
@@ -111,6 +114,8 @@ export function EditorHeader() {
const isPublishing = useSelector(getIsPublishingApplication);
const pageId = useSelector(getCurrentPageId) as string;
const featureFlags = useSelector(selectFeatureFlags);
+ const isSaving = useSelector(getIsPageSaving);
+ const pageSaveError = useSelector(getPageSavingError);
const deployLink = useHref(viewerURL, { pageId });
const isAppSettingsPaneWithNavigationTabOpen = useSelector(
@@ -265,7 +270,7 @@ export function EditorHeader() {
placement="bottom"
>
<div>
- <EditorAppName
+ <EditorName
applicationId={applicationId}
className="t--application-name editable-application-name max-w-48"
defaultSavingState={
@@ -273,9 +278,11 @@ export function EditorHeader() {
}
defaultValue={currentApplication?.name || ""}
editInteractionKind={EditInteractionKind.SINGLE}
+ editorName="Application"
fill
+ getNavigationMenu={GetNavigationMenuData}
isError={isErroredSavingName}
- isNewApp={
+ isNewEditor={
applicationList.filter((el) => el.id === applicationId)
.length > 0
}
@@ -290,7 +297,7 @@ export function EditorHeader() {
/>
</div>
</Tooltip>
- <EditorSaveIndicator />
+ <EditorSaveIndicator isSaving={isSaving} saveError={pageSaveError} />
</HeaderSection>
<HelperBarInHeader />
diff --git a/app/client/src/pages/Editor/EditorAppName/EditableAppName.tsx b/app/client/src/pages/Editor/EditorName/EditableName.tsx
similarity index 100%
rename from app/client/src/pages/Editor/EditorAppName/EditableAppName.tsx
rename to app/client/src/pages/Editor/EditorName/EditableName.tsx
diff --git a/app/client/src/pages/Editor/EditorAppName/NavigationMenu.tsx b/app/client/src/pages/Editor/EditorName/NavigationMenu.tsx
similarity index 100%
rename from app/client/src/pages/Editor/EditorAppName/NavigationMenu.tsx
rename to app/client/src/pages/Editor/EditorName/NavigationMenu.tsx
diff --git a/app/client/src/pages/Editor/EditorAppName/NavigationMenuData.ts b/app/client/src/pages/Editor/EditorName/NavigationMenuData.ts
similarity index 98%
rename from app/client/src/pages/Editor/EditorAppName/NavigationMenuData.ts
rename to app/client/src/pages/Editor/EditorName/NavigationMenuData.ts
index 3c46e4a258b1..38e1197b8194 100644
--- a/app/client/src/pages/Editor/EditorAppName/NavigationMenuData.ts
+++ b/app/client/src/pages/Editor/EditorName/NavigationMenuData.ts
@@ -25,10 +25,10 @@ import { toast } from "design-system";
import type { ThemeProp } from "WidgetProvider/constants";
import { DISCORD_URL, DOCS_BASE_URL } from "constants/ThirdPartyConstants";
-type NavigationMenuDataProps = ThemeProp & {
+export interface NavigationMenuDataProps extends ThemeProp {
editMode: typeof noop;
setForkApplicationModalOpen: React.Dispatch<React.SetStateAction<boolean>>;
-};
+}
export const GetNavigationMenuData = ({
editMode,
diff --git a/app/client/src/pages/Editor/EditorAppName/NavigationMenuItem.tsx b/app/client/src/pages/Editor/EditorName/NavigationMenuItem.tsx
similarity index 93%
rename from app/client/src/pages/Editor/EditorAppName/NavigationMenuItem.tsx
rename to app/client/src/pages/Editor/EditorName/NavigationMenuItem.tsx
index b84ea2bb8758..bf6700094036 100644
--- a/app/client/src/pages/Editor/EditorAppName/NavigationMenuItem.tsx
+++ b/app/client/src/pages/Editor/EditorName/NavigationMenuItem.tsx
@@ -96,7 +96,7 @@ export function NavigationMenuItem({
case MenuTypes.MENU:
return (
<MenuItem
- data-testid={`t--application-edit-menu-${kebabCase(text)}`}
+ data-testid={`t--editor-menu-${kebabCase(text)}`}
onClick={(e) => handleClick(e, menuItemData)}
>
{menuItemData.text}
@@ -104,7 +104,7 @@ export function NavigationMenuItem({
);
case MenuTypes.PARENT:
return (
- <MenuSub data-testid={`t--application-edit-menu-${kebabCase(text)}`}>
+ <MenuSub data-testid={`t--editor-menu-${kebabCase(text)}`}>
<MenuSubTrigger>{menuItemData.text}</MenuSubTrigger>
<MenuSubContent width="214px">
{menuItemData?.children?.map((subitem, idx) => (
@@ -126,7 +126,7 @@ export function NavigationMenuItem({
return (
<ReconfirmMenuItem
className="error-menuitem"
- data-testid={`t--application-edit-menu-${kebabCase(text)}`}
+ data-testid={`t--editor-menu-${kebabCase(text)}`}
onClick={(e) => handleReconfirmClick(e, menuItemData)}
>
{confirm.text}
diff --git a/app/client/src/pages/Editor/EditorName/components.ts b/app/client/src/pages/Editor/EditorName/components.ts
new file mode 100644
index 000000000000..13505aa1afc3
--- /dev/null
+++ b/app/client/src/pages/Editor/EditorName/components.ts
@@ -0,0 +1,37 @@
+import styled from "styled-components";
+import { Classes } from "@blueprintjs/core";
+import { getTypographyByKey } from "design-system-old";
+import { Icon } from "design-system";
+
+export const Container = styled.div`
+ display: flex;
+ cursor: pointer;
+ &:hover {
+ background-color: var(--ads-v2-color-bg-subtle);
+ }
+ & .${Classes.EDITABLE_TEXT} {
+ height: ${(props) => props.theme.smallHeaderHeight} !important;
+ display: block;
+ cursor: pointer;
+ }
+ &&&& .${Classes.EDITABLE_TEXT}, &&&& .${Classes.EDITABLE_TEXT_EDITING} {
+ padding: 0;
+ width: 100%;
+ }
+ &&&& .${Classes.EDITABLE_TEXT_CONTENT}, &&&& .${Classes.EDITABLE_TEXT_INPUT} {
+ display: block;
+ ${getTypographyByKey("h5")};
+ line-height: ${(props) => props.theme.smallHeaderHeight} !important;
+ padding: 0 ${(props) => props.theme.spaces[2]}px;
+ height: ${(props) => props.theme.smallHeaderHeight} !important;
+ }
+ &&&& .${Classes.EDITABLE_TEXT_INPUT} {
+ margin-right: 20px;
+ }
+`;
+
+export const StyledIcon = styled(Icon)`
+ height: 100%;
+ padding-right: ${(props) => props.theme.spaces[2]}px;
+ align-self: center;
+`;
diff --git a/app/client/src/pages/Editor/EditorAppName/index.tsx b/app/client/src/pages/Editor/EditorName/index.tsx
similarity index 62%
rename from app/client/src/pages/Editor/EditorAppName/index.tsx
rename to app/client/src/pages/Editor/EditorName/index.tsx
index 10db95f7145d..c2267f818abd 100644
--- a/app/client/src/pages/Editor/EditorAppName/index.tsx
+++ b/app/client/src/pages/Editor/EditorName/index.tsx
@@ -1,22 +1,25 @@
import React, { useState, useCallback } from "react";
-import styled, { useTheme } from "styled-components";
-import { Classes } from "@blueprintjs/core";
+import { useTheme } from "styled-components";
import type { noop } from "lodash";
import type {
CommonComponentProps,
EditInteractionKind,
} from "design-system-old";
-import { getTypographyByKey, SavingState } from "design-system-old";
-import EditableAppName from "./EditableAppName";
-import { GetNavigationMenuData } from "./NavigationMenuData";
+import { SavingState } from "design-system-old";
+import EditableName from "./EditableName";
import { NavigationMenu } from "./NavigationMenu";
import type { Theme } from "constants/DefaultTheme";
-import { Icon, Menu, toast, MenuTrigger } from "design-system";
+import { Menu, toast, MenuTrigger } from "design-system";
import ForkApplicationModal from "pages/Applications/ForkApplicationModal";
+import { Container, StyledIcon } from "./components";
+import { useSelector } from "react-redux";
+import { getCurrentApplicationId } from "selectors/editorSelectors";
+import type { MenuItemData } from "./NavigationMenuItem";
+import type { NavigationMenuDataProps } from "./NavigationMenuData";
-type EditorAppNameProps = CommonComponentProps & {
- applicationId: string | undefined;
+type EditorNameProps = CommonComponentProps & {
+ applicationId?: string | undefined;
defaultValue: string;
placeholder?: string;
editInteractionKind: EditInteractionKind;
@@ -27,56 +30,30 @@ type EditorAppNameProps = CommonComponentProps & {
hideEditIcon?: boolean;
fill?: boolean;
isError?: boolean;
- isNewApp: boolean;
+ isNewEditor: boolean;
isPopoverOpen: boolean;
setIsPopoverOpen: typeof noop;
+ editorName: string;
+ getNavigationMenu: ({
+ editMode,
+ setForkApplicationModalOpen,
+ }: NavigationMenuDataProps) => MenuItemData[];
};
-const Container = styled.div`
- display: flex;
- cursor: pointer;
- &:hover {
- background-color: var(--ads-v2-color-bg-subtle);
- }
- & .${Classes.EDITABLE_TEXT} {
- height: ${(props) => props.theme.smallHeaderHeight} !important;
- display: block;
- cursor: pointer;
- }
- &&&& .${Classes.EDITABLE_TEXT}, &&&& .${Classes.EDITABLE_TEXT_EDITING} {
- padding: 0;
- width: 100%;
- }
- &&&& .${Classes.EDITABLE_TEXT_CONTENT}, &&&& .${Classes.EDITABLE_TEXT_INPUT} {
- display: block;
- ${getTypographyByKey("h5")};
- line-height: ${(props) => props.theme.smallHeaderHeight} !important;
- padding: 0 ${(props) => props.theme.spaces[2]}px;
- height: ${(props) => props.theme.smallHeaderHeight} !important;
- }
- &&&& .${Classes.EDITABLE_TEXT_INPUT} {
- margin-right: 20px;
- }
-`;
-
-const StyledIcon = styled(Icon)`
- height: 100%;
- padding-right: ${(props) => props.theme.spaces[2]}px;
- align-self: center;
-`;
-
-export function EditorAppName(props: EditorAppNameProps) {
+export function EditorName(props: EditorNameProps) {
const {
defaultSavingState,
defaultValue,
- isNewApp,
+ editorName,
+ getNavigationMenu,
+ isNewEditor,
isPopoverOpen,
setIsPopoverOpen,
} = props;
const theme = useTheme() as Theme;
- const [isEditingDefault, setIsEditingDefault] = useState(isNewApp);
+ const [isEditingDefault, setIsEditingDefault] = useState(isNewEditor);
const [isEditing, setIsEditing] = useState(!!isEditingDefault);
const [isInvalid, setIsInvalid] = useState<string | boolean>(false);
const [savingState, setSavingState] = useState<SavingState>(
@@ -84,6 +61,7 @@ export function EditorAppName(props: EditorAppNameProps) {
);
const [isForkApplicationModalopen, setForkApplicationModalOpen] =
useState(false);
+ const currentAppId = useSelector(getCurrentApplicationId);
const onBlur = (value: string) => {
if (props.onBlur) props.onBlur(value);
@@ -92,7 +70,7 @@ export function EditorAppName(props: EditorAppNameProps) {
const inputValidation = (value: string) => {
if (value.trim() === "") {
- toast.show("Application name can't be empty", {
+ toast.show(`${editorName} name can't be empty`, {
kind: "error",
});
}
@@ -110,7 +88,7 @@ export function EditorAppName(props: EditorAppNameProps) {
[inputValidation, defaultValue],
);
- const handleAppNameClick = useCallback(() => {
+ const handleNameClick = useCallback(() => {
if (!isEditing) {
setIsPopoverOpen((isOpen: boolean) => {
return !isOpen;
@@ -124,7 +102,7 @@ export function EditorAppName(props: EditorAppNameProps) {
}
}, []);
- const NavigationMenuData = GetNavigationMenuData({
+ const NavigationMenuData = getNavigationMenu({
editMode,
theme,
setForkApplicationModalOpen,
@@ -133,16 +111,13 @@ export function EditorAppName(props: EditorAppNameProps) {
return defaultValue !== "" ? (
<>
<Menu
- className="t--application-edit-menu"
+ className="t--editor-menu"
onOpenChange={handleOnInteraction}
open={isPopoverOpen}
>
<MenuTrigger disabled={isEditing}>
- <Container
- data-testid="t--application-edit-menu-cta"
- onClick={handleAppNameClick}
- >
- <EditableAppName
+ <Container data-testid="t--editor-menu-cta" onClick={handleNameClick}>
+ <EditableName
className={props.className}
defaultSavingState={defaultSavingState}
defaultValue={defaultValue}
@@ -174,16 +149,18 @@ export function EditorAppName(props: EditorAppNameProps) {
setIsPopoverOpen={setIsPopoverOpen}
/>
</Menu>
- <ForkApplicationModal
- applicationId={props.applicationId || ""}
- handleClose={() => {
- setForkApplicationModalOpen(false);
- }}
- isInEditMode
- isModalOpen={isForkApplicationModalopen}
- />
+ {props.applicationId || currentAppId ? (
+ <ForkApplicationModal
+ applicationId={props.applicationId || currentAppId}
+ handleClose={() => {
+ setForkApplicationModalOpen(false);
+ }}
+ isInEditMode
+ isModalOpen={isForkApplicationModalopen}
+ />
+ ) : null}
</>
) : null;
}
-export default EditorAppName;
+export default EditorName;
diff --git a/app/client/src/pages/Editor/EditorSaveIndicator.tsx b/app/client/src/pages/Editor/EditorSaveIndicator.tsx
index 9e4d4775ef34..52e1229ed8c7 100644
--- a/app/client/src/pages/Editor/EditorSaveIndicator.tsx
+++ b/app/client/src/pages/Editor/EditorSaveIndicator.tsx
@@ -1,9 +1,6 @@
import React from "react";
-
-import { useSelector } from "react-redux";
import styled from "styled-components";
import { TextType, Text } from "design-system-old";
-import { getIsPageSaving, getPageSavingError } from "selectors/editorSelectors";
import { Colors } from "constants/Colors";
import { createMessage, EDITOR_HEADER } from "@appsmith/constants/messages";
import { Icon, Spinner } from "design-system";
@@ -13,17 +10,20 @@ const SaveStatusContainer = styled.div`
display: flex;
`;
-export function EditorSaveIndicator() {
- const isSaving = useSelector(getIsPageSaving);
- const pageSaveError = useSelector(getPageSavingError);
-
+export function EditorSaveIndicator({
+ isSaving,
+ saveError,
+}: {
+ isSaving: boolean;
+ saveError: boolean;
+}) {
let saveStatusIcon: React.ReactNode;
let saveStatusText = "";
if (isSaving) {
saveStatusIcon = <Spinner className="t--save-status-is-saving" />;
saveStatusText = createMessage(EDITOR_HEADER.saving);
} else {
- if (pageSaveError) {
+ if (saveError) {
saveStatusIcon = (
<Icon className={"t--save-status-error"} name="cloud-off-line" />
);
@@ -31,7 +31,7 @@ export function EditorSaveIndicator() {
}
}
- if (!pageSaveError && !isSaving) return null;
+ if (!saveError && !isSaving) return null;
return (
<SaveStatusContainer className={"t--save-status-container gap-x-1"}>
diff --git a/app/client/src/reducers/entityReducers/index.ts b/app/client/src/reducers/entityReducers/index.ts
deleted file mode 100644
index fd9feb4532b8..000000000000
--- a/app/client/src/reducers/entityReducers/index.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-import { combineReducers } from "redux";
-import appReducer from "./appReducer";
-import canvasWidgetsReducer from "./canvasWidgetsReducer";
-import canvasWidgetsStructureReducer from "./canvasWidgetsStructureReducer";
-import metaWidgetsReducer from "./metaWidgetsReducer";
-import datasourceReducer from "./datasourceReducer";
-import jsActionsReducer from "./jsActionsReducer";
-import jsExecutionsReducer from "./jsExecutionsReducer";
-import metaReducer from "./metaReducer";
-import pageListReducer from "./pageListReducer";
-import pluginsReducer from "reducers/entityReducers/pluginsReducer";
-import autoHeightLayoutTreeReducer from "./autoHeightReducers/autoHeightLayoutTreeReducer";
-import canvasLevelsReducer from "./autoHeightReducers/canvasLevelsReducer";
-import actionsReducer from "@appsmith/reducers/entityReducers/actionsReducer";
-
-/* Reducers which are integrated into the core system when registering a pluggable module
- or done so by a module that is designed to be eventually pluggable */
-import widgetPositionsReducer from "layoutSystems/anvil/integrations/reducers/widgetPositionsReducer";
-
-const entityReducer = combineReducers({
- canvasWidgets: canvasWidgetsReducer,
- canvasWidgetsStructure: canvasWidgetsStructureReducer,
- metaWidgets: metaWidgetsReducer,
- actions: actionsReducer,
- datasources: datasourceReducer,
- pageList: pageListReducer,
- jsExecutions: jsExecutionsReducer,
- plugins: pluginsReducer,
- meta: metaReducer,
- app: appReducer,
- jsActions: jsActionsReducer,
- autoHeightLayoutTree: autoHeightLayoutTreeReducer,
- canvasLevels: canvasLevelsReducer,
- widgetPositions: widgetPositionsReducer,
-});
-
-export default entityReducer;
|
63d0cf47bf2ca6ea40a3aa798cba66753044621d
|
2023-07-12 19:01:17
|
Vijetha-Kaja
|
test: Cypress - Flaky Fix (#25323)
| false
|
Cypress - Flaky Fix (#25323)
|
test
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Binding/TableTextPagination_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Binding/TableTextPagination_spec.js
index 1dbaf955d5ae..1407d296d1cf 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Binding/TableTextPagination_spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/Binding/TableTextPagination_spec.js
@@ -8,6 +8,9 @@ import {
agHelper,
deployMode,
propPane,
+ draggableWidgets,
+ locators,
+ table,
} from "../../../../support/Objects/ObjectsCore";
describe("Test Create Api and Bind to Table widget", function () {
@@ -141,7 +144,8 @@ describe("Test Create Api and Bind to Table widget", function () {
apiLocators.apiPaginationPrevTest,
false,
);
- deployMode.DeployApp();
+ deployMode.DeployApp(locators._widgetInDeployed(draggableWidgets.TABLE_V1));
+ table.WaitUntilTableLoad(0, 0);
cy.wait("@postExecute").then((interception) => {
let valueToTest = JSON.stringify(
interception.response.body.data.body[0].name,
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Binding/TableV2TextPagination_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Binding/TableV2TextPagination_spec.js
index 32cfc2b0e974..f261c31a48dd 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Binding/TableV2TextPagination_spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/Binding/TableV2TextPagination_spec.js
@@ -7,6 +7,9 @@ import {
deployMode,
propPane,
agHelper,
+ locators,
+ draggableWidgets,
+ table,
} from "../../../../support/Objects/ObjectsCore";
describe("Test Create Api and Bind to Table widget", function () {
@@ -140,7 +143,8 @@ describe("Test Create Api and Bind to Table widget", function () {
apiPageLocators.apiPaginationPrevTest,
false,
);
- deployMode.DeployApp();
+ deployMode.DeployApp(locators._widgetInDeployed(draggableWidgets.TABLE));
+ table.WaitUntilTableLoad(0, 0, "v2");
cy.wait("@postExecute").then((interception) => {
let valueToTest = JSON.stringify(
interception.response.body.data.body[0].name,
diff --git a/app/client/cypress/e2e/Regression/ClientSide/PeekOverlay/PeekOverlay_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/PeekOverlay/PeekOverlay_Spec.ts
index 763934f3d186..ccfb238e0f75 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/PeekOverlay/PeekOverlay_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/PeekOverlay/PeekOverlay_Spec.ts
@@ -1,14 +1,26 @@
-import * as _ from "../../../../support/Objects/ObjectsCore";
+import {
+ agHelper,
+ entityExplorer,
+ jsEditor,
+ apiPage,
+ table,
+ debuggerHelper,
+ peekOverlay,
+ tedTestConfig,
+} from "../../../../support/Objects/ObjectsCore";
describe("Peek overlay", () => {
it("1. Main test", () => {
- _.entityExplorer.DragDropWidgetNVerify("tablewidgetv2", 500, 100);
- _.entityExplorer.NavigateToSwitcher("Explorer");
- _.table.AddSampleTableData();
- _.apiPage.CreateAndFillApi(_.tedTestConfig.mockApiUrl);
- _.apiPage.RunAPI();
- _.apiPage.CreateAndFillApi(_.tedTestConfig.mockApiUrl);
- _.jsEditor.CreateJSObject(JsObjectContent, {
+ entityExplorer.DragDropWidgetNVerify("tablewidgetv2", 500, 100);
+ entityExplorer.NavigateToSwitcher("Explorer");
+ table.AddSampleTableData();
+ apiPage.CreateAndFillApi(tedTestConfig.mockApiUrl);
+ agHelper.Sleep(2000);
+ apiPage.RunAPI();
+ apiPage.CreateAndFillApi(tedTestConfig.mockApiUrl);
+ agHelper.Sleep(2000);
+
+ jsEditor.CreateJSObject(JsObjectContent, {
paste: true,
completeReplace: true,
toRun: false,
@@ -16,117 +28,117 @@ describe("Peek overlay", () => {
lineNumber: 0,
prettify: true,
});
- _.jsEditor.SelectFunctionDropdown("myFun2");
- _.jsEditor.RunJSObj();
- _.agHelper.Sleep();
- _.debuggerHelper.CloseBottomBar();
+ jsEditor.SelectFunctionDropdown("myFun2");
+ jsEditor.RunJSObj();
+ agHelper.Sleep();
+ debuggerHelper.CloseBottomBar();
// check number array
- _.peekOverlay.HoverCode(8, 3, "numArray");
- _.peekOverlay.IsOverlayOpen();
- _.peekOverlay.VerifyDataType("array");
- _.peekOverlay.CheckPrimitveArrayInOverlay([1, 2, 3]);
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(8, 3, "numArray");
+ peekOverlay.IsOverlayOpen();
+ peekOverlay.VerifyDataType("array");
+ peekOverlay.CheckPrimitveArrayInOverlay([1, 2, 3]);
+ peekOverlay.ResetHover();
// check basic object
- _.peekOverlay.HoverCode(9, 3, "objectData");
- _.peekOverlay.IsOverlayOpen();
- _.peekOverlay.VerifyDataType("object");
- _.peekOverlay.CheckBasicObjectInOverlay({ x: 123, y: "123" });
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(9, 3, "objectData");
+ peekOverlay.IsOverlayOpen();
+ peekOverlay.VerifyDataType("object");
+ peekOverlay.CheckBasicObjectInOverlay({ x: 123, y: "123" });
+ peekOverlay.ResetHover();
// check null - with this keyword
- _.peekOverlay.HoverCode(10, 3, "nullData");
- _.peekOverlay.IsOverlayOpen();
- _.peekOverlay.VerifyDataType("null");
- _.peekOverlay.CheckPrimitiveValue("null");
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(10, 3, "nullData");
+ peekOverlay.IsOverlayOpen();
+ peekOverlay.VerifyDataType("null");
+ peekOverlay.CheckPrimitiveValue("null");
+ peekOverlay.ResetHover();
// check number
- _.peekOverlay.HoverCode(11, 3, "numberData");
- _.peekOverlay.IsOverlayOpen();
- _.peekOverlay.VerifyDataType("number");
- _.peekOverlay.CheckPrimitiveValue("1");
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(11, 3, "numberData");
+ peekOverlay.IsOverlayOpen();
+ peekOverlay.VerifyDataType("number");
+ peekOverlay.CheckPrimitiveValue("1");
+ peekOverlay.ResetHover();
// check boolean
- _.peekOverlay.HoverCode(12, 3, "isLoading");
- _.peekOverlay.IsOverlayOpen();
- _.peekOverlay.VerifyDataType("boolean");
- _.peekOverlay.CheckPrimitiveValue("false");
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(12, 3, "isLoading");
+ peekOverlay.IsOverlayOpen();
+ peekOverlay.VerifyDataType("boolean");
+ peekOverlay.CheckPrimitiveValue("false");
+ peekOverlay.ResetHover();
// TODO: handle this function failure on CI tests -> "function(){}"
// check function
- // _.peekOverlay.HoverCode(13, 3, "run");
- // _.peekOverlay.IsOverlayOpen();
- // _.peekOverlay.VerifyDataType("function");
- // _.peekOverlay.CheckPrimitiveValue("function () {}");
- // _.peekOverlay.ResetHover();
+ // peekOverlay.HoverCode(13, 3, "run");
+ // peekOverlay.IsOverlayOpen();
+ // peekOverlay.VerifyDataType("function");
+ // peekOverlay.CheckPrimitiveValue("function () {}");
+ // peekOverlay.ResetHover();
// check undefined
- _.peekOverlay.HoverCode(14, 3, "data");
- _.peekOverlay.IsOverlayOpen();
- _.peekOverlay.VerifyDataType("undefined");
- _.peekOverlay.CheckPrimitiveValue("undefined");
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(14, 3, "data");
+ peekOverlay.IsOverlayOpen();
+ peekOverlay.VerifyDataType("undefined");
+ peekOverlay.CheckPrimitiveValue("undefined");
+ peekOverlay.ResetHover();
// check string
- _.peekOverlay.HoverCode(15, 3, "mode");
- _.peekOverlay.IsOverlayOpen();
- _.peekOverlay.VerifyDataType("string");
- _.peekOverlay.CheckPrimitiveValue("EDIT");
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(15, 3, "mode");
+ peekOverlay.IsOverlayOpen();
+ peekOverlay.VerifyDataType("string");
+ peekOverlay.CheckPrimitiveValue("EDIT");
+ peekOverlay.ResetHover();
// check if overlay closes
- _.peekOverlay.HoverCode(16, 3, "store");
- _.peekOverlay.IsOverlayOpen();
- _.peekOverlay.ResetHover();
- _.peekOverlay.IsOverlayOpen(false);
+ peekOverlay.HoverCode(16, 3, "store");
+ peekOverlay.IsOverlayOpen();
+ peekOverlay.ResetHover();
+ peekOverlay.IsOverlayOpen(false);
// widget object
- _.peekOverlay.HoverCode(17, 1, "Table1");
- _.peekOverlay.IsOverlayOpen();
- _.peekOverlay.VerifyDataType("object");
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(17, 1, "Table1");
+ peekOverlay.IsOverlayOpen();
+ peekOverlay.VerifyDataType("object");
+ peekOverlay.ResetHover();
// widget property
- _.peekOverlay.HoverCode(18, 3, "pageNo");
- _.peekOverlay.IsOverlayOpen();
- _.peekOverlay.VerifyDataType("number");
- _.peekOverlay.CheckPrimitiveValue("1");
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(18, 3, "pageNo");
+ peekOverlay.IsOverlayOpen();
+ peekOverlay.VerifyDataType("number");
+ peekOverlay.CheckPrimitiveValue("1");
+ peekOverlay.ResetHover();
// widget property
- _.peekOverlay.HoverCode(19, 3, "tableData");
- _.peekOverlay.IsOverlayOpen();
- _.peekOverlay.VerifyDataType("array");
- _.peekOverlay.CheckObjectArrayInOverlay([{}, {}, {}]);
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(19, 3, "tableData");
+ peekOverlay.IsOverlayOpen();
+ peekOverlay.VerifyDataType("array");
+ peekOverlay.CheckObjectArrayInOverlay([{}, {}, {}]);
+ peekOverlay.ResetHover();
// basic nested property
- _.peekOverlay.HoverCode(20, 7, "id");
- _.peekOverlay.IsOverlayOpen();
- _.peekOverlay.VerifyDataType("number");
- _.peekOverlay.CheckPrimitiveValue("1");
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(20, 7, "id");
+ peekOverlay.IsOverlayOpen();
+ peekOverlay.VerifyDataType("number");
+ peekOverlay.CheckPrimitiveValue("1");
+ peekOverlay.ResetHover();
// undefined object
- _.peekOverlay.HoverCode(21, 1, "aljshdlja");
- _.peekOverlay.IsOverlayOpen(false);
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(21, 1, "aljshdlja");
+ peekOverlay.IsOverlayOpen(false);
+ peekOverlay.ResetHover();
// this keyword
- _.peekOverlay.HoverCode(22, 3, "numArray");
- _.peekOverlay.IsOverlayOpen();
- _.peekOverlay.VerifyDataType("array");
- _.peekOverlay.CheckPrimitveArrayInOverlay([1, 2, 3]);
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(22, 3, "numArray");
+ peekOverlay.IsOverlayOpen();
+ peekOverlay.VerifyDataType("array");
+ peekOverlay.CheckPrimitveArrayInOverlay([1, 2, 3]);
+ peekOverlay.ResetHover();
// pageList is an internal property - peek overlay shouldn't work
- _.peekOverlay.HoverCode(23, 1, "pageList");
- _.peekOverlay.IsOverlayOpen(false);
- _.peekOverlay.ResetHover();
+ peekOverlay.HoverCode(23, 1, "pageList");
+ peekOverlay.IsOverlayOpen(false);
+ peekOverlay.ResetHover();
});
});
diff --git a/app/client/cypress/locators/WidgetLocators.ts b/app/client/cypress/locators/WidgetLocators.ts
index 2eaf8a9fc4eb..36485da4fd92 100644
--- a/app/client/cypress/locators/WidgetLocators.ts
+++ b/app/client/cypress/locators/WidgetLocators.ts
@@ -11,6 +11,7 @@ export const WIDGET = {
BUTTON_GROUP: "buttongroupwidget",
TREESELECT: "singleselecttreewidget",
TAB: "tabswidget",
+ TABLE_V1: "tablewidget",
TABLE: "tablewidgetv2",
SWITCHGROUP: "switchgroupwidget",
SWITCH: "switchwidget",
diff --git a/app/client/cypress/support/Pages/HomePage.ts b/app/client/cypress/support/Pages/HomePage.ts
index f6b5d2dc5986..e0e5851f5089 100644
--- a/app/client/cypress/support/Pages/HomePage.ts
+++ b/app/client/cypress/support/Pages/HomePage.ts
@@ -262,13 +262,18 @@ export class HomePage {
this.onboarding.closeIntroModal();
cy.get(this._applicationName).then(($appName) => {
if (!$appName.hasClass(this._editAppName)) {
- cy.get(this._applicationName).click();
- cy.get(this._appMenu)
- .contains("Edit name", { matchCase: false })
- .click();
+ this.agHelper.GetNClick(this._applicationName);
+ // cy.get(this._appMenu)
+ // .contains("Edit name", { matchCase: false })
+ this.agHelper.GetNClickByContains(this._appMenu, "Edit name");
}
});
- cy.get(this._applicationName).type(appName + "{enter}");
+ cy.get(this._applicationName)
+ .clear({ force: true })
+ .type(appName)
+ .should("have.value", appName)
+ .blur();
+ this.agHelper.PressEnter();
this.agHelper.RemoveTooltip("Rename application");
}
|
606959ec01d9e2648a227dbdc913efb6e498813d
|
2023-05-09 07:52:42
|
Shrikant Sharat Kandula
|
chore: Update Spring to v3.0.6 (#23031)
| false
|
Update Spring to v3.0.6 (#23031)
|
chore
|
diff --git a/app/client/cypress/integration/Regression_TestSuite/Application/ImportExportForkApplication_spec.js b/app/client/cypress/integration/Regression_TestSuite/Application/ImportExportForkApplication_spec.js
index b1de318c840d..4ec6cdc35b06 100644
--- a/app/client/cypress/integration/Regression_TestSuite/Application/ImportExportForkApplication_spec.js
+++ b/app/client/cypress/integration/Regression_TestSuite/Application/ImportExportForkApplication_spec.js
@@ -86,10 +86,10 @@ describe("Import, Export and Fork application and validate data binding", functi
const url = anchor.prop("href");
cy.request(url).then(({ body, headers }) => {
expect(headers).to.have.property("content-type", "application/json");
- expect(headers).to.have.property(
- "content-disposition",
- `attachment; filename*=UTF-8''${appName}.json`,
- );
+ expect(headers)
+ .to.have.property("content-disposition")
+ .that.includes("attachment;")
+ .and.includes(`filename*=UTF-8''${appName}.json`);
cy.writeFile("cypress/fixtures/exportedApp.json", body, "utf-8");
cy.generateUUID().then((uid) => {
workspaceId = uid;
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/ExportApplication_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/ExportApplication_spec.js
index c4c3e31552a3..fcf3e9131c47 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/ExportApplication_spec.js
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/ExportApplication_spec.js
@@ -32,10 +32,10 @@ describe("Export application as a JSON file", function () {
const url = anchor.prop("href");
cy.request(url).then(({ headers }) => {
expect(headers).to.have.property("content-type", "application/json");
- expect(headers).to.have.property(
- "content-disposition",
- `attachment; filename*=UTF-8''${appname}.json`,
- );
+ expect(headers)
+ .to.have.property("content-disposition")
+ .that.includes("attachment;")
+ .and.includes(`filename*=UTF-8''${appname}.json`);
});
});
cy.LogOut();
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/WorkspaceImportApplication_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/WorkspaceImportApplication_spec.js
index 62ca06b666dd..c7a40240ec16 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/WorkspaceImportApplication_spec.js
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/WorkspaceImportApplication_spec.js
@@ -25,10 +25,10 @@ describe("Workspace Import Application", function () {
const url = anchor.prop("href");
cy.request(url).then(({ body, headers }) => {
expect(headers).to.have.property("content-type", "application/json");
- expect(headers).to.have.property(
- "content-disposition",
- `attachment; filename*=UTF-8''${appname}.json`,
- );
+ expect(headers)
+ .to.have.property("content-disposition")
+ .that.includes("attachment;")
+ .and.includes(`filename*=UTF-8''${appname}.json`);
cy.writeFile("cypress/fixtures/exported-app.json", body, "utf-8");
cy.generateUUID().then((uid) => {
diff --git a/app/server/pom.xml b/app/server/pom.xml
index f4d3d48e9159..e947ab879ec5 100644
--- a/app/server/pom.xml
+++ b/app/server/pom.xml
@@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
- <version>3.0.1</version>
+ <version>3.0.6</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
@@ -26,10 +26,7 @@
<project.version>1.0-SNAPSHOT</project.version>
<!-- By default skip the dockerization step. Only activate if necessary -->
<skipDockerBuild>true</skipDockerBuild>
- <spring-boot.version>3.0.1</spring-boot.version>
- <!-- Required because Spring Boot v3.0.1 does not come with this version that solves a High priority CVE -->
- <netty.version>4.1.86.Final</netty.version>
- <log4j2.version>2.17.1</log4j2.version>
+ <spring-boot.version>3.0.6</spring-boot.version>
<h2.version>2.1.210</h2.version>
<testcontainers.version>1.17.3</testcontainers.version>
<mockito.version>4.4.0</mockito.version>
|
f17036bd5237cb63d70f00149766d062c208f751
|
2024-07-09 17:07:55
|
subratadeypappu
|
chore: add code split for identifying invalid actions during import flow (#34783)
| false
|
add code split for identifying invalid actions during import flow (#34783)
|
chore
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/importable/NewActionImportableServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/importable/NewActionImportableServiceCEImpl.java
index bcf7b45564ef..589215895bde 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/importable/NewActionImportableServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/importable/NewActionImportableServiceCEImpl.java
@@ -89,9 +89,7 @@ public Mono<Void> importEntities(
Set<String> invalidActionIds = new HashSet<>();
if (Boolean.FALSE.equals(importingMetaDTO.getIsPartialImport())) {
for (NewAction action : importActionResultDTO.getExistingActions()) {
- if (!importActionResultDTO
- .getImportedActionIds()
- .contains(action.getId())) {
+ if (isExistingActionInvalid(importActionResultDTO, action)) {
invalidActionIds.add(action.getId());
}
}
@@ -118,6 +116,30 @@ public Mono<Void> importEntities(
.then();
}
+ /**
+ * Checks if the given action is invalid based on the import results.
+ *
+ * @param importActionResultDTO The import result containing information about imported action IDs.
+ * @param action The action to check for validity.
+ * @return {@code true} if the action is invalid (i.e., its ID is not present in the imported action IDs),
+ * {@code false} otherwise.
+ */
+ protected boolean isExistingActionInvalid(ImportActionResultDTO importActionResultDTO, NewAction action) {
+ return !importActionResultDTO.getImportedActionIds().contains(action.getId());
+ }
+
+ /**
+ * Checks if the given actionCollection is invalid based on the import results.
+ *
+ * @param savedCollectionIds The list of already saved Ids of the actionCollections.
+ * @param collection The actionCollection to check for validity.
+ * @return {@code true} if the actionCollection is invalid (i.e., its ID is not present in the savedCollectionIds),
+ * {@code false} otherwise.
+ */
+ protected boolean isExistingActionCollectionInvalid(List<String> savedCollectionIds, ActionCollection collection) {
+ return !savedCollectionIds.contains(collection.getId());
+ }
+
protected Mono<List<NewAction>> getImportableEntities(ArtifactExchangeJson artifactExchangeJson) {
List<NewAction> list = CollectionUtils.isEmpty(artifactExchangeJson.getActionList())
? new ArrayList<>()
@@ -157,7 +179,7 @@ public Mono<Void> updateImportedEntities(
Set<String> invalidCollectionIds = new HashSet<>();
for (ActionCollection collection :
importActionCollectionResultDTO.getExistingActionCollections()) {
- if (!savedCollectionIds.contains(collection.getId())) {
+ if (isExistingActionCollectionInvalid(savedCollectionIds, collection)) {
invalidCollectionIds.add(collection.getId());
}
}
@@ -261,7 +283,7 @@ private Mono<ImportActionResultDTO> createImportNewActionsMono(
Mono<Map<String, NewAction>> actionsInCurrentArtifactMono = artifactBasedImportableService
.getExistingResourcesInCurrentArtifactFlux(artifact)
- .filter(collection -> collection.getGitSyncId() != null)
+ .filter(newAction -> newAction.getGitSyncId() != null)
.collectMap(NewAction::getGitSyncId);
// find existing actions in all the branches of this artifact and put them in a map
|
9db612cf92ff0020d559dbc7d191df8cf2acc32f
|
2022-10-21 10:42:59
|
f0c1s
|
fix: upgrade page for audit logs with correct data (#17697)
| false
|
upgrade page for audit logs with correct data (#17697)
|
fix
|
diff --git a/app/client/cypress/integration/Smoke_TestSuite_Fat/ClientSideTests/AuditLogs/Audit_logs_spec.js b/app/client/cypress/integration/Smoke_TestSuite_Fat/ClientSideTests/AuditLogs/Audit_logs_spec.js
index 917155ce4236..b13f673e600d 100644
--- a/app/client/cypress/integration/Smoke_TestSuite_Fat/ClientSideTests/AuditLogs/Audit_logs_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite_Fat/ClientSideTests/AuditLogs/Audit_logs_spec.js
@@ -44,12 +44,12 @@ describe("Audit logs", () => {
cy.get(locators.Heading)
.should("be.visible")
- .should("have.text", "Audit Logs");
+ .should("have.text", "Introducing Audit Logs");
cy.get(locators.SubHeadings)
.should("be.visible")
.should(
"have.text",
- "Your workspace audit log gives Workspace owners access to detailed information about security and safety-related activity.",
+ "See a timestamped trail of events in your workspace. Filter by type of event, user, resource ID, and time. Drill down into each event to investigate further.",
);
cy.get(locators.Left)
diff --git a/app/client/src/assets/svg/upgrade/audit-logs/debugging.svg b/app/client/src/assets/svg/upgrade/audit-logs/debugging.svg
index ad5ff54b773e..ec913a76db27 100644
--- a/app/client/src/assets/svg/upgrade/audit-logs/debugging.svg
+++ b/app/client/src/assets/svg/upgrade/audit-logs/debugging.svg
@@ -1,149 +1,92 @@
<svg width="725" height="537" viewBox="0 0 725 537" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_625_11712)">
<g filter="url(#filter0_d_625_11712)">
-<path d="M91 33H730V504H91V33Z" fill="white"/>
+<rect x="88" y="41" width="639" height="471" fill="white"/>
+<rect x="88.5" y="41.5" width="638" height="470" stroke="#E7E7E7"/>
</g>
-<g filter="url(#filter1_d_625_11712)">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M729 34H92V503H729V34ZM91 33V504H730V33H91Z" fill="#E7E7E7"/>
-</g>
-<path d="M151 137C151 141.971 146.971 146 142 146C137.029 146 133 141.971 133 137C133 132.029 137.029 128 142 128C146.971 128 151 132.029 151 137Z" fill="#FFDEDE"/>
+<circle cx="139" cy="145" r="9" fill="#FFDEDE"/>
<g opacity="0.7">
-<path d="M181 133H332.334V141.294H181V133Z" fill="#D9D9D9"/>
-<path d="M354.83 133H571.606V141.294H354.83V133Z" fill="#D9D9D9"/>
-<path d="M650 133H594.102V141.294H650V133Z" fill="#D9D9D9"/>
+<rect x="178" y="141" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="351.83" y="141" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 647 141)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M181 205H332.334V213.294H181V205Z" fill="#D9D9D9"/>
-<path d="M354.83 205H571.606V213.294H354.83V205Z" fill="#D9D9D9"/>
-<path d="M650 205H594.102V213.294H650V205Z" fill="#D9D9D9"/>
+<rect x="178" y="213" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="351.83" y="213" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 647 213)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M181 242H332.334V250.294H181V242Z" fill="#D9D9D9"/>
-<path d="M354.83 242H571.606V250.294H354.83V242Z" fill="#D9D9D9"/>
-<path d="M650 242H594.102V250.294H650V242Z" fill="#D9D9D9"/>
-</g>
-<path d="M150 244C150 248.971 145.971 253 141 253C136.029 253 132 248.971 132 244C132 239.029 136.029 235 141 235C145.971 235 150 239.029 150 244Z" fill="#FFDEDE"/>
-<path d="M150 285C150 289.971 145.971 294 141 294C136.029 294 132 289.971 132 285C132 280.029 136.029 276 141 276C145.971 276 150 280.029 150 285Z" fill="#FFDEDE"/>
-<path d="M150 322C150 326.971 145.971 331 141 331C136.029 331 132 326.971 132 322C132 317.029 136.029 313 141 313C145.971 313 150 317.029 150 322Z" fill="#FFDEDE"/>
-<path d="M150 359C150 363.971 145.971 368 141 368C136.029 368 132 363.971 132 359C132 354.029 136.029 350 141 350C145.971 350 150 354.029 150 359Z" fill="#FFDEDE"/>
-<path d="M150 396C150 400.971 145.971 405 141 405C136.029 405 132 400.971 132 396C132 391.029 136.029 387 141 387C145.971 387 150 391.029 150 396Z" fill="#FFDEDE"/>
-<path d="M150 433C150 437.971 145.971 442 141 442C136.029 442 132 437.971 132 433C132 428.029 136.029 424 141 424C145.971 424 150 428.029 150 433Z" fill="#FFDEDE"/>
-<path d="M150 470C150 474.971 145.971 479 141 479C136.029 479 132 474.971 132 470C132 465.029 136.029 461 141 461C145.971 461 150 465.029 150 470Z" fill="#FFDEDE"/>
+<rect x="178" y="250" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="351.83" y="250" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 647 250)" fill="#D9D9D9"/>
+</g>
+<circle cx="138" cy="252" r="9" fill="#FFDEDE"/>
+<circle cx="138" cy="293" r="9" fill="#FFDEDE"/>
+<circle cx="138" cy="330" r="9" fill="#FFDEDE"/>
+<circle cx="138" cy="367" r="9" fill="#FFDEDE"/>
+<circle cx="138" cy="404" r="9" fill="#FFDEDE"/>
+<circle cx="138" cy="441" r="9" fill="#FFDEDE"/>
+<circle cx="138" cy="478" r="9" fill="#FFDEDE"/>
<g opacity="0.7">
-<path d="M181 281H332.334V289.294H181V281Z" fill="#D9D9D9"/>
-<path d="M354.83 281H571.606V289.294H354.83V281Z" fill="#D9D9D9"/>
-<path d="M650 281H594.102V289.294H650V281Z" fill="#D9D9D9"/>
+<rect x="178" y="289" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="351.83" y="289" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 647 289)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M181 318H332.334V326.294H181V318Z" fill="#D9D9D9"/>
-<path d="M354.83 318H571.606V326.294H354.83V318Z" fill="#D9D9D9"/>
-<path d="M650 318H594.102V326.294H650V318Z" fill="#D9D9D9"/>
+<rect x="178" y="326" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="351.83" y="326" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 647 326)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M181 355H332.334V363.294H181V355Z" fill="#D9D9D9"/>
-<path d="M354.83 355H571.606V363.294H354.83V355Z" fill="#D9D9D9"/>
-<path d="M650 355H594.102V363.294H650V355Z" fill="#D9D9D9"/>
+<rect x="178" y="363" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="351.83" y="363" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 647 363)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M181 392H332.334V400.294H181V392Z" fill="#D9D9D9"/>
-<path d="M354.83 392H571.606V400.294H354.83V392Z" fill="#D9D9D9"/>
-<path d="M650 392H594.102V400.294H650V392Z" fill="#D9D9D9"/>
+<rect x="178" y="400" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="351.83" y="400" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 647 400)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M181 429H332.334V437.294H181V429Z" fill="#D9D9D9"/>
-<path d="M354.83 429H571.606V437.294H354.83V429Z" fill="#D9D9D9"/>
-<path d="M650 429H594.102V437.294H650V429Z" fill="#D9D9D9"/>
+<rect x="178" y="437" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="351.83" y="437" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 647 437)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M181 466H332.334V474.294H181V466Z" fill="#D9D9D9"/>
-<path d="M354.83 466H571.606V474.294H354.83V466Z" fill="#D9D9D9"/>
-<path d="M650 466H594.102V474.294H650V466Z" fill="#D9D9D9"/>
-</g>
-<path d="M137.128 89.0002H133.613L140.013 70.8184H144.08L150.489 89.0002H146.974L142.118 74.5471H141.975L137.128 89.0002ZM137.244 81.8713H146.832V84.5169H137.244V81.8713Z" fill="#393939"/>
-<path d="M161.433 83.2651V75.3638H164.647V89.0002H161.531V86.5765H161.389C161.081 87.34 160.575 87.9644 159.871 88.4498C159.173 88.9351 158.311 89.1777 157.288 89.1777C156.394 89.1777 155.604 88.9795 154.917 88.5829C154.237 88.1805 153.704 87.5975 153.319 86.834C152.934 86.0646 152.742 85.1354 152.742 84.0463V75.3638H155.956V83.5492C155.956 84.4133 156.193 85.0998 156.666 85.6088C157.14 86.1178 157.761 86.3723 158.53 86.3723C159.004 86.3723 159.463 86.2569 159.906 86.0261C160.35 85.7953 160.714 85.452 160.998 84.9963C161.288 84.5346 161.433 83.9576 161.433 83.2651Z" fill="#393939"/>
-<path d="M173.012 89.2399C171.941 89.2399 170.982 88.9647 170.136 88.4142C169.29 87.8638 168.621 87.0648 168.13 86.0172C167.638 84.9696 167.393 83.6971 167.393 82.1998C167.393 80.6846 167.641 79.4062 168.138 78.3645C168.642 77.3169 169.319 76.5268 170.171 75.9941C171.024 75.4556 171.974 75.1863 173.021 75.1863C173.82 75.1863 174.477 75.3224 174.992 75.5946C175.507 75.861 175.915 76.1835 176.217 76.5623C176.519 76.9352 176.753 77.2873 176.919 77.6188H177.052V70.8184H180.274V89.0002H177.114V86.8517H176.919C176.753 87.1832 176.513 87.5353 176.2 87.9082C175.886 88.2752 175.472 88.5888 174.957 88.8493C174.442 89.1097 173.794 89.2399 173.012 89.2399ZM173.909 86.6032C174.59 86.6032 175.17 86.4197 175.649 86.0527C176.129 85.6799 176.493 85.162 176.741 84.4991C176.99 83.8362 177.114 83.0639 177.114 82.182C177.114 81.3001 176.99 80.5337 176.741 79.8826C176.498 79.2316 176.137 78.7256 175.658 78.3645C175.185 78.0035 174.602 77.823 173.909 77.823C173.193 77.823 172.595 78.0094 172.116 78.3823C171.636 78.7551 171.275 79.2701 171.033 79.927C170.79 80.584 170.669 81.3356 170.669 82.182C170.669 83.0343 170.79 83.7948 171.033 84.4636C171.281 85.1265 171.645 85.6503 172.125 86.035C172.61 86.4138 173.205 86.6032 173.909 86.6032Z" fill="#393939"/>
-<path d="M183.699 89.0002V75.3638H186.913V89.0002H183.699ZM185.315 73.4284C184.806 73.4284 184.368 73.2598 184.001 72.9224C183.634 72.5791 183.451 72.1678 183.451 71.6884C183.451 71.2031 183.634 70.7917 184.001 70.4544C184.368 70.1111 184.806 69.9395 185.315 69.9395C185.83 69.9395 186.268 70.1111 186.629 70.4544C186.996 70.7917 187.179 71.2031 187.179 71.6884C187.179 72.1678 186.996 72.5791 186.629 72.9224C186.268 73.2598 185.83 73.4284 185.315 73.4284Z" fill="#393939"/>
-<path d="M197.027 75.3638V77.8496H189.188V75.3638H197.027ZM191.123 72.0968H194.337V84.8986C194.337 85.3307 194.402 85.6621 194.532 85.8929C194.668 86.1178 194.846 86.2717 195.065 86.3546C195.284 86.4374 195.527 86.4789 195.793 86.4789C195.994 86.4789 196.178 86.4641 196.343 86.4345C196.515 86.4049 196.645 86.3783 196.734 86.3546L197.276 88.867C197.104 88.9262 196.858 88.9913 196.539 89.0623C196.225 89.1333 195.84 89.1748 195.385 89.1866C194.58 89.2103 193.855 89.089 193.209 88.8226C192.564 88.5504 192.052 88.1302 191.674 87.562C191.301 86.9938 191.117 86.2836 191.123 85.4313V72.0968Z" fill="#393939"/>
-<path d="M206.058 89.0002V70.8184H209.352V86.2392H217.359V89.0002H206.058Z" fill="#393939"/>
-<path d="M226.024 89.2665C224.693 89.2665 223.538 88.9735 222.562 88.3876C221.585 87.8017 220.828 86.9819 220.289 85.9284C219.756 84.8749 219.49 83.6439 219.49 82.2353C219.49 80.8266 219.756 79.5926 220.289 78.5332C220.828 77.4738 221.585 76.6511 222.562 76.0652C223.538 75.4792 224.693 75.1863 226.024 75.1863C227.356 75.1863 228.51 75.4792 229.487 76.0652C230.463 76.6511 231.218 77.4738 231.75 78.5332C232.289 79.5926 232.558 80.8266 232.558 82.2353C232.558 83.6439 232.289 84.8749 231.75 85.9284C231.218 86.9819 230.463 87.8017 229.487 88.3876C228.51 88.9735 227.356 89.2665 226.024 89.2665ZM226.042 86.6919C226.764 86.6919 227.368 86.4937 227.853 86.0971C228.338 85.6947 228.699 85.1561 228.936 84.4814C229.179 83.8066 229.3 83.055 229.3 82.2264C229.3 81.3919 229.179 80.6373 228.936 79.9625C228.699 79.2819 228.338 78.7404 227.853 78.3379C227.368 77.9354 226.764 77.7342 226.042 77.7342C225.302 77.7342 224.687 77.9354 224.195 78.3379C223.71 78.7404 223.346 79.2819 223.103 79.9625C222.867 80.6373 222.748 81.3919 222.748 82.2264C222.748 83.055 222.867 83.8066 223.103 84.4814C223.346 85.1561 223.71 85.6947 224.195 86.0971C224.687 86.4937 225.302 86.6919 226.042 86.6919Z" fill="#393939"/>
-<path d="M241.216 94.3979C240.062 94.3979 239.071 94.2411 238.242 93.9274C237.414 93.6196 236.748 93.2053 236.245 92.6845C235.742 92.1636 235.393 91.5866 235.197 90.9533L238.091 90.252C238.222 90.5183 238.411 90.7817 238.66 91.0421C238.908 91.3084 239.243 91.5274 239.663 91.699C240.089 91.8766 240.625 91.9654 241.27 91.9654C242.181 91.9654 242.936 91.7434 243.534 91.2995C244.131 90.8616 244.43 90.1395 244.43 89.1333V86.5499H244.27C244.105 86.8813 243.862 87.2217 243.542 87.5708C243.229 87.92 242.811 88.213 242.291 88.4498C241.776 88.6865 241.128 88.8049 240.346 88.8049C239.299 88.8049 238.349 88.5592 237.497 88.068C236.65 87.5708 235.976 86.831 235.472 85.8485C234.975 84.8601 234.727 83.6232 234.727 82.1376C234.727 80.6402 234.975 79.3766 235.472 78.3468C235.976 77.311 236.653 76.5268 237.505 75.9941C238.358 75.4556 239.308 75.1863 240.355 75.1863C241.154 75.1863 241.811 75.3224 242.326 75.5946C242.847 75.861 243.261 76.1835 243.569 76.5623C243.877 76.9352 244.111 77.2873 244.27 77.6188H244.448V75.3638H247.617V89.2221C247.617 90.3881 247.339 91.3528 246.783 92.1163C246.226 92.8798 245.466 93.4509 244.501 93.8297C243.536 94.2085 242.442 94.3979 241.216 94.3979ZM241.243 86.2836C241.924 86.2836 242.504 86.1178 242.983 85.7864C243.463 85.455 243.827 84.9785 244.075 84.3571C244.324 83.7356 244.448 82.9899 244.448 82.1199C244.448 81.2617 244.324 80.51 244.075 79.8649C243.832 79.2198 243.471 78.7196 242.992 78.3645C242.519 78.0035 241.936 77.823 241.243 77.823C240.527 77.823 239.929 78.0094 239.45 78.3823C238.97 78.7551 238.609 79.2671 238.367 79.9181C238.124 80.5633 238.003 81.2972 238.003 82.1199C238.003 82.9544 238.124 83.6853 238.367 84.3127C238.615 84.9341 238.979 85.4194 239.459 85.7686C239.944 86.1119 240.539 86.2836 241.243 86.2836Z" fill="#393939"/>
-<path d="M261.689 78.9682L258.759 79.2878C258.676 78.9919 258.531 78.7137 258.324 78.4533C258.123 78.1929 257.851 77.9828 257.507 77.823C257.164 77.6632 256.744 77.5833 256.247 77.5833C255.578 77.5833 255.016 77.7283 254.56 78.0183C254.11 78.3083 253.888 78.6841 253.894 79.1458C253.888 79.5423 254.033 79.8649 254.329 80.1135C254.631 80.362 255.128 80.5662 255.82 80.726L258.146 81.2232C259.437 81.5014 260.396 81.9423 261.023 82.546C261.656 83.1497 261.976 83.9398 261.982 84.9164C261.976 85.7746 261.724 86.5321 261.227 87.1891C260.736 87.8401 260.052 88.3491 259.176 88.7161C258.3 89.083 257.294 89.2665 256.158 89.2665C254.489 89.2665 253.145 88.9173 252.127 88.2189C251.109 87.5146 250.503 86.5351 250.307 85.2804L253.441 84.9785C253.583 85.594 253.885 86.0587 254.347 86.3723C254.808 86.686 255.409 86.8429 256.149 86.8429C256.912 86.8429 257.525 86.686 257.987 86.3723C258.454 86.0587 258.688 85.671 258.688 85.2093C258.688 84.8187 258.537 84.4962 258.235 84.2417C257.939 83.9872 257.478 83.7918 256.85 83.6557L254.524 83.1674C253.216 82.8952 252.249 82.4365 251.621 81.7914C250.994 81.1403 250.683 80.3176 250.689 79.3233C250.683 78.4829 250.911 77.7549 251.373 77.1394C251.84 76.5179 252.488 76.0385 253.317 75.7012C254.151 75.3579 255.113 75.1863 256.202 75.1863C257.8 75.1863 259.058 75.5266 259.975 76.2072C260.899 76.8878 261.47 77.8082 261.689 78.9682Z" fill="#393939"/>
-<path d="M151 207C151 211.971 146.971 216 142 216C137.029 216 133 211.971 133 207C133 202.029 137.029 198 142 198C146.971 198 151 202.029 151 207Z" fill="#FFDEDE"/>
-<g filter="url(#filter2_d_625_11712)">
-<rect width="679" height="95" transform="translate(49 113)" fill="white"/>
-<g opacity="0.5">
-<rect x="68.0286" y="154.062" width="151.913" height="33.7906" fill="white"/>
-<path d="M205.03 171.254L207.748 168.536L208.524 169.313L205.03 172.807L201.535 169.313L202.312 168.536L205.03 171.254Z" fill="#575757"/>
-<rect x="68.0286" y="154.062" width="151.913" height="33.7906" stroke="#B3B3B3" stroke-width="0.83"/>
+<rect x="178" y="474" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="351.83" y="474" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 647 474)" fill="#D9D9D9"/>
</g>
+<path d="M134.128 97H130.613L137.013 78.8182H141.08L147.489 97H143.974L139.118 82.5469H138.975L134.128 97ZM134.244 89.8711H143.832V92.5167H134.244V89.8711ZM158.434 91.2649V83.3636H161.647V97H158.531V94.5763H158.389C158.081 95.3398 157.575 95.9643 156.871 96.4496C156.173 96.9349 155.311 97.1776 154.288 97.1776C153.394 97.1776 152.604 96.9793 151.917 96.5827C151.237 96.1803 150.704 95.5973 150.319 94.8338C149.934 94.0644 149.742 93.1352 149.742 92.0462V83.3636H152.956V91.549C152.956 92.4131 153.193 93.0997 153.666 93.6087C154.14 94.1177 154.761 94.3722 155.53 94.3722C156.004 94.3722 156.463 94.2567 156.907 94.0259C157.35 93.7951 157.714 93.4518 157.998 92.9961C158.289 92.5344 158.434 91.9574 158.434 91.2649ZM170.012 97.2397C168.941 97.2397 167.982 96.9645 167.136 96.4141C166.29 95.8636 165.621 95.0646 165.13 94.017C164.638 92.9695 164.393 91.697 164.393 90.1996C164.393 88.6844 164.641 87.406 165.138 86.3643C165.642 85.3168 166.319 84.5266 167.172 83.994C168.024 83.4554 168.974 83.1861 170.021 83.1861C170.82 83.1861 171.477 83.3222 171.992 83.5945C172.507 83.8608 172.915 84.1834 173.217 84.5621C173.519 84.935 173.753 85.2872 173.919 85.6186H174.052V78.8182H177.275V97H174.114V94.8516H173.919C173.753 95.183 173.513 95.5352 173.2 95.908C172.886 96.275 172.472 96.5887 171.957 96.8491C171.442 97.1095 170.794 97.2397 170.012 97.2397ZM170.909 94.603C171.59 94.603 172.17 94.4195 172.649 94.0526C173.129 93.6797 173.493 93.1618 173.741 92.4989C173.99 91.8361 174.114 91.0637 174.114 90.1818C174.114 89.3 173.99 88.5335 173.741 87.8825C173.498 87.2314 173.137 86.7254 172.658 86.3643C172.185 86.0033 171.602 85.8228 170.909 85.8228C170.193 85.8228 169.595 86.0092 169.116 86.3821C168.636 86.755 168.275 87.2699 168.033 87.9268C167.79 88.5838 167.669 89.3355 167.669 90.1818C167.669 91.0341 167.79 91.7946 168.033 92.4634C168.281 93.1263 168.645 93.6501 169.125 94.0348C169.61 94.4136 170.205 94.603 170.909 94.603ZM180.699 97V83.3636H183.913V97H180.699ZM182.315 81.4283C181.806 81.4283 181.368 81.2596 181.001 80.9222C180.634 80.579 180.451 80.1676 180.451 79.6882C180.451 79.2029 180.634 78.7915 181.001 78.4542C181.368 78.1109 181.806 77.9393 182.315 77.9393C182.83 77.9393 183.268 78.1109 183.629 78.4542C183.996 78.7915 184.179 79.2029 184.179 79.6882C184.179 80.1676 183.996 80.579 183.629 80.9222C183.268 81.2596 182.83 81.4283 182.315 81.4283ZM194.027 83.3636V85.8494H186.188V83.3636H194.027ZM188.123 80.0966H191.337V92.8984C191.337 93.3305 191.402 93.6619 191.532 93.8928C191.668 94.1177 191.846 94.2715 192.065 94.3544C192.284 94.4373 192.527 94.4787 192.793 94.4787C192.994 94.4787 193.178 94.4639 193.343 94.4343C193.515 94.4047 193.645 94.3781 193.734 94.3544L194.276 96.8668C194.104 96.926 193.858 96.9911 193.539 97.0621C193.225 97.1332 192.84 97.1746 192.385 97.1864C191.58 97.2101 190.855 97.0888 190.21 96.8224C189.564 96.5502 189.052 96.13 188.674 95.5618C188.301 94.9936 188.117 94.2834 188.123 93.4311V80.0966ZM203.058 97V78.8182H206.352V94.239H214.359V97H203.058ZM223.024 97.2663C221.693 97.2663 220.538 96.9734 219.562 96.3874C218.585 95.8015 217.828 94.9818 217.289 93.9283C216.756 92.8748 216.49 91.6437 216.49 90.2351C216.49 88.8265 216.756 87.5924 217.289 86.533C217.828 85.4736 218.585 84.6509 219.562 84.065C220.538 83.479 221.693 83.1861 223.024 83.1861C224.356 83.1861 225.51 83.479 226.487 84.065C227.463 84.6509 228.218 85.4736 228.75 86.533C229.289 87.5924 229.558 88.8265 229.558 90.2351C229.558 91.6437 229.289 92.8748 228.75 93.9283C228.218 94.9818 227.463 95.8015 226.487 96.3874C225.51 96.9734 224.356 97.2663 223.024 97.2663ZM223.042 94.6918C223.764 94.6918 224.368 94.4935 224.853 94.0969C225.338 93.6945 225.699 93.1559 225.936 92.4812C226.179 91.8065 226.3 91.0548 226.3 90.2262C226.3 89.3917 226.179 88.6371 225.936 87.9624C225.699 87.2817 225.338 86.7402 224.853 86.3377C224.368 85.9353 223.764 85.734 223.042 85.734C222.302 85.734 221.687 85.9353 221.195 86.3377C220.71 86.7402 220.346 87.2817 220.103 87.9624C219.867 88.6371 219.748 89.3917 219.748 90.2262C219.748 91.0548 219.867 91.8065 220.103 92.4812C220.346 93.1559 220.71 93.6945 221.195 94.0969C221.687 94.4935 222.302 94.6918 223.042 94.6918ZM238.216 102.398C237.062 102.398 236.071 102.241 235.242 101.927C234.414 101.619 233.748 101.205 233.245 100.684C232.742 100.163 232.393 99.5864 232.197 98.9531L235.091 98.2518C235.222 98.5181 235.411 98.7815 235.66 99.0419C235.908 99.3082 236.243 99.5272 236.663 99.6989C237.089 99.8764 237.625 99.9652 238.27 99.9652C239.181 99.9652 239.936 99.7433 240.534 99.2994C241.131 98.8614 241.43 98.1393 241.43 97.1332V94.5497H241.27C241.105 94.8812 240.862 95.2215 240.542 95.5707C240.229 95.9199 239.811 96.2128 239.291 96.4496C238.776 96.6863 238.128 96.8047 237.346 96.8047C236.299 96.8047 235.349 96.5591 234.497 96.0678C233.65 95.5707 232.976 94.8308 232.472 93.8484C231.975 92.86 231.727 91.623 231.727 90.1374C231.727 88.64 231.975 87.3764 232.472 86.3466C232.976 85.3108 233.653 84.5266 234.506 83.994C235.358 83.4554 236.308 83.1861 237.355 83.1861C238.154 83.1861 238.811 83.3222 239.326 83.5945C239.847 83.8608 240.261 84.1834 240.569 84.5621C240.877 84.935 241.111 85.2872 241.27 85.6186H241.448V83.3636H244.617V97.2219C244.617 98.3879 244.339 99.3526 243.783 100.116C243.227 100.88 242.466 101.451 241.501 101.83C240.537 102.208 239.442 102.398 238.216 102.398ZM238.243 94.2834C238.924 94.2834 239.504 94.1177 239.983 93.7862C240.463 93.4548 240.827 92.9783 241.075 92.3569C241.324 91.7354 241.448 90.9897 241.448 90.1197C241.448 89.2615 241.324 88.5098 241.075 87.8647C240.832 87.2196 240.471 86.7195 239.992 86.3643C239.519 86.0033 238.936 85.8228 238.243 85.8228C237.527 85.8228 236.929 86.0092 236.45 86.3821C235.97 86.755 235.609 87.2669 235.367 87.918C235.124 88.5631 235.003 89.297 235.003 90.1197C235.003 90.9542 235.124 91.6851 235.367 92.3125C235.615 92.9339 235.979 93.4193 236.459 93.7685C236.944 94.1117 237.539 94.2834 238.243 94.2834ZM258.689 86.968L255.759 87.2876C255.676 86.9917 255.531 86.7135 255.324 86.4531C255.123 86.1927 254.851 85.9826 254.507 85.8228C254.164 85.663 253.744 85.5831 253.247 85.5831C252.578 85.5831 252.016 85.7281 251.56 86.0181C251.11 86.3081 250.888 86.6839 250.894 87.1456C250.888 87.5421 251.033 87.8647 251.329 88.1133C251.631 88.3619 252.128 88.5661 252.82 88.7259L255.146 89.223C256.437 89.5012 257.396 89.9421 258.023 90.5458C258.656 91.1495 258.976 91.9396 258.982 92.9162C258.976 93.7744 258.724 94.532 258.227 95.1889C257.736 95.84 257.052 96.349 256.176 96.7159C255.3 97.0829 254.294 97.2663 253.158 97.2663C251.489 97.2663 250.145 96.9171 249.127 96.2188C248.109 95.5144 247.503 94.5349 247.307 93.2802L250.441 92.9783C250.583 93.5939 250.885 94.0585 251.347 94.3722C251.808 94.6858 252.409 94.8427 253.149 94.8427C253.912 94.8427 254.525 94.6858 254.987 94.3722C255.454 94.0585 255.688 93.6708 255.688 93.2092C255.688 92.8185 255.537 92.496 255.235 92.2415C254.939 91.987 254.478 91.7917 253.85 91.6555L251.524 91.1673C250.216 90.895 249.249 90.4363 248.621 89.7912C247.994 89.1402 247.683 88.3175 247.689 87.3232C247.683 86.4827 247.911 85.7547 248.373 85.1392C248.84 84.5178 249.488 84.0384 250.317 83.701C251.151 83.3577 252.113 83.1861 253.202 83.1861C254.8 83.1861 256.058 83.5264 256.975 84.207C257.899 84.8877 258.47 85.808 258.689 86.968Z" fill="#393939"/>
+<circle cx="139" cy="215" r="9" fill="#FFDEDE"/>
+<g filter="url(#filter1_d_625_11712)">
+<rect width="679" height="95" transform="translate(46 121)" fill="white"/>
<g opacity="0.5">
-<rect x="231.039" y="154.062" width="151.913" height="33.7906" fill="white"/>
-<path d="M368.04 171.254L370.758 168.536L371.534 169.313L368.04 172.807L364.545 169.313L365.322 168.536L368.04 171.254Z" fill="#575757"/>
-<rect x="231.039" y="154.062" width="151.913" height="33.7906" stroke="#B3B3B3" stroke-width="0.83"/>
+<rect x="224" y="162" width="157" height="34" fill="white"/>
+<path d="M369.589 179.193L372.307 176.475L373.083 177.251L369.589 180.745L366.095 177.251L366.871 176.475L369.589 179.193Z" fill="#575757"/>
+<rect x="224" y="162" width="157" height="34" stroke="#B3B3B3" stroke-width="0.83"/>
</g>
<g opacity="0.5">
-<rect x="394.049" y="154.062" width="151.913" height="33.7906" fill="white"/>
-<path d="M531.05 171.254L533.768 168.536L534.544 169.313L531.05 172.807L527.555 169.313L528.332 168.536L531.05 171.254Z" fill="#575757"/>
-<rect x="394.049" y="154.062" width="151.913" height="33.7906" stroke="#B3B3B3" stroke-width="0.83"/>
-</g>
+<rect x="65" y="162" width="150" height="34" fill="white"/>
+<path d="M204.589 179.193L207.307 176.475L208.083 177.251L204.589 180.745L201.094 177.251L201.871 176.475L204.589 179.193Z" fill="#575757"/>
+<rect x="65" y="162" width="150" height="34" stroke="#B3B3B3" stroke-width="0.83"/>
+</g>
+<path d="M78.4697 183.197C79.0032 183.197 79.4973 183.112 79.9297 182.944L80.6147 183.876H81.9119L80.845 182.422C81.7434 181.697 82.2488 180.49 82.2488 178.951V178.94C82.2488 176.34 80.8 174.701 78.4697 174.701C76.145 174.701 74.6851 176.335 74.6851 178.94V178.951C74.6851 181.551 76.1113 183.197 78.4697 183.197ZM78.4697 182.085C76.9087 182.085 75.9709 180.849 75.9709 178.951V178.94C75.9709 177.025 76.9368 175.812 78.4697 175.812C80.0027 175.812 80.9629 177.025 80.9629 178.94V178.951C80.9629 180.024 80.6597 180.889 80.115 181.433L79.4692 180.557H78.1721L79.2166 181.972C78.9863 182.045 78.7336 182.085 78.4697 182.085ZM85.6266 183.118C86.5138 183.118 87.1315 182.736 87.4235 182.079H87.5189V183H88.7318V176.902H87.5189V180.479C87.5189 181.461 86.9967 182.073 86.0197 182.073C85.1269 182.073 84.7562 181.574 84.7562 180.563V176.902H83.5377V180.849C83.5377 182.292 84.2509 183.118 85.6266 183.118ZM92.8284 183.118C94.3894 183.118 95.2317 182.219 95.4339 181.417L95.4451 181.366L94.2715 181.372L94.2491 181.417C94.1031 181.731 93.637 182.118 92.8565 182.118C91.8514 182.118 91.2112 181.439 91.1888 180.271H95.5125V179.844C95.5125 178.014 94.4681 176.784 92.7666 176.784C91.0652 176.784 89.9646 178.059 89.9646 179.962V179.968C89.9646 181.899 91.0428 183.118 92.8284 183.118ZM92.7723 177.783C93.5977 177.783 94.2098 178.311 94.3052 179.401H91.2056C91.3123 178.351 91.9412 177.783 92.7723 177.783ZM96.7397 183H97.9582V179.356C97.9582 178.474 98.5927 177.901 99.5248 177.901C99.7551 177.901 99.9628 177.929 100.182 177.974V176.851C100.058 176.823 99.8449 176.795 99.6484 176.795C98.8342 176.795 98.267 177.177 98.048 177.823H97.9582V176.902H96.7397V183ZM101.796 185.145C103.032 185.145 103.649 184.69 104.166 183.236L106.435 176.902H105.154L103.633 181.776H103.526L101.999 176.902H100.685L102.897 183.006L102.807 183.32C102.628 183.938 102.285 184.179 101.718 184.179C101.577 184.179 101.426 184.174 101.308 184.157V185.117C101.465 185.134 101.645 185.145 101.796 185.145ZM110.512 183H115.655V181.916H111.77V179.395H115.448V178.351H111.77V175.981H115.655V174.897H110.512V183ZM116.641 183H117.966L119.303 180.799H119.393L120.729 183H122.116L120.078 179.912L122.094 176.902H120.746L119.443 179.081H119.348L118.034 176.902H116.624L118.668 179.962L116.641 183ZM125.415 183.118C126.976 183.118 127.819 182.219 128.021 181.417L128.032 181.366L126.858 181.372L126.836 181.417C126.69 181.731 126.224 182.118 125.443 182.118C124.438 182.118 123.798 181.439 123.776 180.271H128.099V179.844C128.099 178.014 127.055 176.784 125.353 176.784C123.652 176.784 122.551 178.059 122.551 179.962V179.968C122.551 181.899 123.63 183.118 125.415 183.118ZM125.359 177.783C126.184 177.783 126.797 178.311 126.892 179.401H123.792C123.899 178.351 124.528 177.783 125.359 177.783ZM131.893 183.118C133.403 183.118 134.273 182.304 134.492 181.119L134.504 181.068H133.336L133.325 181.096C133.128 181.753 132.656 182.102 131.893 182.102C130.888 182.102 130.264 181.282 130.264 179.934V179.923C130.264 178.609 130.876 177.8 131.893 177.8C132.701 177.8 133.195 178.25 133.33 178.85L133.336 178.867L134.504 178.862V178.833C134.335 177.649 133.42 176.784 131.887 176.784C130.107 176.784 129.023 177.991 129.023 179.923V179.934C129.023 181.905 130.113 183.118 131.893 183.118ZM137.696 183.118C138.583 183.118 139.201 182.736 139.493 182.079H139.589V183H140.801V176.902H139.589V180.479C139.589 181.461 139.066 182.073 138.089 182.073C137.196 182.073 136.826 181.574 136.826 180.563V176.902H135.607V180.849C135.607 182.292 136.321 183.118 137.696 183.118ZM144.64 183.039C144.876 183.039 145.1 183.011 145.297 182.978V182.006C145.128 182.023 145.022 182.029 144.836 182.029C144.235 182.029 143.988 181.759 143.988 181.102V177.862H145.297V176.902H143.988V175.363H142.747V176.902H141.793V177.862H142.747V181.394C142.747 182.568 143.298 183.039 144.64 183.039ZM148.989 183.118C150.55 183.118 151.392 182.219 151.594 181.417L151.606 181.366L150.432 181.372L150.41 181.417C150.264 181.731 149.798 182.118 149.017 182.118C148.012 182.118 147.372 181.439 147.349 180.271H151.673V179.844C151.673 178.014 150.629 176.784 148.927 176.784C147.226 176.784 146.125 178.059 146.125 179.962V179.968C146.125 181.899 147.203 183.118 148.989 183.118ZM148.933 177.783C149.758 177.783 150.37 178.311 150.466 179.401H147.366C147.473 178.351 148.102 177.783 148.933 177.783ZM155.124 183.101C155.977 183.101 156.646 182.708 156.999 182.04H157.095V183H158.308V174.51H157.095V177.868H156.999C156.674 177.211 155.961 176.795 155.124 176.795C153.574 176.795 152.597 178.014 152.597 179.945V179.957C152.597 181.871 153.591 183.101 155.124 183.101ZM155.472 182.062C154.45 182.062 153.838 181.265 153.838 179.957V179.945C153.838 178.637 154.45 177.84 155.472 177.84C156.483 177.84 157.112 178.643 157.112 179.945V179.957C157.112 181.259 156.488 182.062 155.472 182.062Z" fill="#4B4848"/>
+<rect x="555" y="162" width="160" height="34" fill="white"/>
+<path d="M567.938 183.197C569.528 183.197 570.465 182.259 570.465 180.664V174.897H569.208V180.653C569.208 181.574 568.758 182.073 567.927 182.073C567.175 182.073 566.787 181.591 566.737 180.973L566.731 180.922H565.49L565.496 180.99C565.563 182.281 566.439 183.197 567.938 183.197ZM574.163 183.118C575.05 183.118 575.668 182.736 575.96 182.079H576.056V183H577.268V176.902H576.056V180.479C576.056 181.461 575.533 182.073 574.556 182.073C573.663 182.073 573.293 181.574 573.293 180.563V176.902H572.074V180.849C572.074 182.292 572.787 183.118 574.163 183.118ZM578.804 183H580.023V179.423C580.023 178.44 580.579 177.828 581.472 177.828C582.365 177.828 582.786 178.328 582.786 179.339V183H583.999V179.052C583.999 177.598 583.246 176.784 581.882 176.784C580.994 176.784 580.41 177.177 580.113 177.828H580.023V176.902H578.804V183ZM591.394 183.197C593.096 183.197 594.326 182.006 594.326 180.378V180.366C594.326 178.817 593.219 177.671 591.675 177.671C590.569 177.671 589.839 178.25 589.541 178.901H589.435C589.435 178.839 589.435 178.777 589.44 178.716C589.502 177.098 590.069 175.768 591.434 175.768C592.197 175.768 592.725 176.161 592.95 176.778L592.972 176.834H594.219L594.208 176.767C593.938 175.543 592.871 174.701 591.439 174.701C589.435 174.701 588.239 176.318 588.239 179.058V179.069C588.239 182.051 589.766 183.197 591.394 183.197ZM589.682 180.378V180.372C589.682 179.395 590.423 178.688 591.394 178.688C592.377 178.688 593.085 179.406 593.085 180.4V180.411C593.085 181.383 592.332 182.141 591.383 182.141C590.429 182.141 589.682 181.366 589.682 180.378ZM598.627 183H604.085V181.927H600.34V181.815L602.058 180.103C603.529 178.643 603.956 177.935 603.956 177.014V176.997C603.956 175.661 602.844 174.701 601.334 174.701C599.705 174.701 598.56 175.745 598.554 177.228L598.566 177.239H599.745L599.75 177.222C599.75 176.335 600.357 175.74 601.266 175.74C602.154 175.74 602.698 176.323 602.698 177.115V177.132C602.698 177.789 602.39 178.205 601.317 179.322L598.627 182.146V183ZM608.373 183.197C610.237 183.197 611.366 181.562 611.366 178.951V178.94C611.366 176.329 610.237 174.701 608.373 174.701C606.503 174.701 605.38 176.329 605.38 178.94V178.951C605.38 181.562 606.503 183.197 608.373 183.197ZM608.373 182.152C607.283 182.152 606.649 180.934 606.649 178.951V178.94C606.649 176.958 607.283 175.751 608.373 175.751C609.457 175.751 610.097 176.958 610.097 178.94V178.951C610.097 180.934 609.457 182.152 608.373 182.152ZM612.761 183H618.219V181.927H614.474V181.815L616.192 180.103C617.663 178.643 618.09 177.935 618.09 177.014V176.997C618.09 175.661 616.978 174.701 615.468 174.701C613.84 174.701 612.694 175.745 612.688 177.228L612.7 177.239H613.879L613.884 177.222C613.884 176.335 614.491 175.74 615.401 175.74C616.288 175.74 616.832 176.323 616.832 177.115V177.132C616.832 177.789 616.524 178.205 615.451 179.322L612.761 182.146V183ZM619.649 183H625.107V181.927H621.361V181.815L623.08 180.103C624.551 178.643 624.978 177.935 624.978 177.014V176.997C624.978 175.661 623.866 174.701 622.355 174.701C620.727 174.701 619.581 175.745 619.576 177.228L619.587 177.239H620.766L620.772 177.222C620.772 176.335 621.378 175.74 622.288 175.74C623.175 175.74 623.72 176.323 623.72 177.115V177.132C623.72 177.789 623.411 178.205 622.338 179.322L619.649 182.146V183ZM638.034 178.94C638.034 178.794 637.966 178.648 637.854 178.542L634.979 175.667C634.855 175.554 634.726 175.498 634.591 175.498C634.288 175.498 634.064 175.717 634.064 176.015C634.064 176.166 634.125 176.295 634.221 176.396L635.046 177.233L636.411 178.474L635.372 178.407H630.251C629.925 178.407 629.706 178.626 629.706 178.94C629.706 179.255 629.925 179.479 630.251 179.479H635.372L636.416 179.406L635.046 180.653L634.221 181.484C634.125 181.585 634.064 181.714 634.064 181.866C634.064 182.163 634.288 182.382 634.591 182.382C634.726 182.382 634.855 182.326 634.973 182.214L637.854 179.339C637.966 179.232 638.034 179.086 638.034 178.94ZM646.333 183.197C648.675 183.197 650.112 181.546 650.112 178.951V178.94C650.112 176.34 648.664 174.701 646.333 174.701C644.009 174.701 642.549 176.335 642.549 178.94V178.951C642.549 181.551 643.975 183.197 646.333 183.197ZM646.333 182.085C644.772 182.085 643.835 180.849 643.835 178.951V178.94C643.835 177.025 644.8 175.812 646.333 175.812C647.866 175.812 648.827 177.025 648.827 178.94V178.951C648.827 180.849 647.872 182.085 646.333 182.085ZM654.024 183.118C655.534 183.118 656.405 182.304 656.624 181.119L656.635 181.068H655.467L655.456 181.096C655.259 181.753 654.787 182.102 654.024 182.102C653.019 182.102 652.395 181.282 652.395 179.934V179.923C652.395 178.609 653.007 177.8 654.024 177.8C654.832 177.8 655.326 178.25 655.461 178.85L655.467 178.867L656.635 178.862V178.833C656.466 177.649 655.551 176.784 654.018 176.784C652.238 176.784 651.154 177.991 651.154 179.923V179.934C651.154 181.905 652.244 183.118 654.024 183.118ZM660.187 183.039C660.423 183.039 660.647 183.011 660.844 182.978V182.006C660.675 182.023 660.569 182.029 660.383 182.029C659.782 182.029 659.535 181.759 659.535 181.102V177.862H660.844V176.902H659.535V175.363H658.294V176.902H657.34V177.862H658.294V181.394C658.294 182.568 658.845 183.039 660.187 183.039ZM664.966 183H670.424V181.927H666.678V181.815L668.397 180.103C669.868 178.643 670.295 177.935 670.295 177.014V176.997C670.295 175.661 669.183 174.701 667.672 174.701C666.044 174.701 664.898 175.745 664.893 177.228L664.904 177.239H666.083L666.089 177.222C666.089 176.335 666.695 175.74 667.605 175.74C668.492 175.74 669.037 176.323 669.037 177.115V177.132C669.037 177.789 668.728 178.205 667.655 179.322L664.966 182.146V183ZM671.853 183H677.311V181.927H673.566V181.815L675.284 180.103C676.755 178.643 677.182 177.935 677.182 177.014V176.997C677.182 175.661 676.07 174.701 674.56 174.701C672.931 174.701 671.786 175.745 671.78 177.228L671.791 177.239H672.971L672.976 177.222C672.976 176.335 673.583 175.74 674.492 175.74C675.379 175.74 675.924 176.323 675.924 177.115V177.132C675.924 177.789 675.615 178.205 674.543 179.322L671.853 182.146V183ZM681.663 183H687.121V181.927H683.376V181.815L685.094 180.103C686.566 178.643 686.992 177.935 686.992 177.014V176.997C686.992 175.661 685.881 174.701 684.37 174.701C682.742 174.701 681.596 175.745 681.59 177.228L681.602 177.239H682.781L682.787 177.222C682.787 176.335 683.393 175.74 684.303 175.74C685.19 175.74 685.735 176.323 685.735 177.115V177.132C685.735 177.789 685.426 178.205 684.353 179.322L681.663 182.146V183ZM691.409 183.197C693.273 183.197 694.402 181.562 694.402 178.951V178.94C694.402 176.329 693.273 174.701 691.409 174.701C689.539 174.701 688.416 176.329 688.416 178.94V178.951C688.416 181.562 689.539 183.197 691.409 183.197ZM691.409 182.152C690.32 182.152 689.685 180.934 689.685 178.951V178.94C689.685 176.958 690.32 175.751 691.409 175.751C692.493 175.751 693.133 176.958 693.133 178.94V178.951C693.133 180.934 692.493 182.152 691.409 182.152ZM695.798 183H701.256V181.927H697.51V181.815L699.228 180.103C700.7 178.643 701.126 177.935 701.126 177.014V176.997C701.126 175.661 700.015 174.701 698.504 174.701C696.876 174.701 695.73 175.745 695.725 177.228L695.736 177.239H696.915L696.921 177.222C696.921 176.335 697.527 175.74 698.437 175.74C699.324 175.74 699.869 176.323 699.869 177.115V177.132C699.869 177.789 699.56 178.205 698.487 179.322L695.798 182.146V183ZM702.685 183H708.143V181.927H704.398V181.815L706.116 180.103C707.587 178.643 708.014 177.935 708.014 177.014V176.997C708.014 175.661 706.902 174.701 705.391 174.701C703.763 174.701 702.618 175.745 702.612 177.228L702.623 177.239H703.802L703.808 177.222C703.808 176.335 704.414 175.74 705.324 175.74C706.211 175.74 706.756 176.323 706.756 177.115V177.132C706.756 177.789 706.447 178.205 705.375 179.322L702.685 182.146V183Z" fill="#4B4848"/>
+<rect x="555" y="162" width="160" height="34" stroke="#D7D7D7" stroke-width="0.83"/>
+<path d="M234.886 183H236.104V179.356C236.104 178.474 236.739 177.901 237.671 177.901C237.901 177.901 238.109 177.929 238.328 177.974V176.851C238.204 176.823 237.991 176.795 237.794 176.795C236.98 176.795 236.413 177.177 236.194 177.823H236.104V176.902H234.886V183ZM241.694 183.118C243.48 183.118 244.575 181.922 244.575 179.957V179.945C244.575 177.98 243.475 176.784 241.694 176.784C239.909 176.784 238.808 177.986 238.808 179.945V179.957C238.808 181.922 239.903 183.118 241.694 183.118ZM241.694 182.102C240.644 182.102 240.055 181.31 240.055 179.957V179.945C240.055 178.592 240.644 177.8 241.694 177.8C242.739 177.8 243.334 178.592 243.334 179.945V179.957C243.334 181.304 242.739 182.102 241.694 182.102ZM245.808 183H247.026V179.255C247.026 178.457 247.571 177.828 248.307 177.828C249.025 177.828 249.48 178.266 249.48 178.963V183H250.693V179.142C250.693 178.407 251.204 177.828 251.979 177.828C252.776 177.828 253.158 178.244 253.158 179.086V183H254.371V178.794C254.371 177.525 253.652 176.784 252.423 176.784C251.575 176.784 250.873 177.216 250.564 177.873H250.469C250.199 177.216 249.609 176.784 248.778 176.784C247.981 176.784 247.386 177.171 247.116 177.84H247.026V176.902H245.808V183ZM256.486 175.812C256.901 175.812 257.249 175.47 257.249 175.054C257.249 174.633 256.901 174.291 256.486 174.291C256.064 174.291 255.722 174.633 255.722 175.054C255.722 175.47 256.064 175.812 256.486 175.812ZM255.873 183H257.086V176.902H255.873V183ZM258.639 183H259.858V179.423C259.858 178.44 260.414 177.828 261.306 177.828C262.199 177.828 262.62 178.328 262.62 179.339V183H263.833V179.052C263.833 177.598 263.081 176.784 261.716 176.784C260.829 176.784 260.245 177.177 259.948 177.828H259.858V176.902H258.639V183ZM266.987 183.101C267.795 183.101 268.435 182.753 268.795 182.135H268.89V183H270.097V178.828C270.097 177.548 269.233 176.784 267.7 176.784C266.313 176.784 265.353 177.452 265.207 178.452L265.201 178.491H266.374L266.38 178.469C266.526 178.036 266.97 177.789 267.644 177.789C268.469 177.789 268.89 178.16 268.89 178.828V179.367L267.239 179.462C265.785 179.552 264.965 180.187 264.965 181.276V181.287C264.965 182.394 265.824 183.101 266.987 183.101ZM266.178 181.237V181.226C266.178 180.675 266.56 180.372 267.402 180.322L268.89 180.226V180.748C268.89 181.534 268.222 182.13 267.312 182.13C266.655 182.13 266.178 181.798 266.178 181.237ZM276.26 184.28C276.929 184.28 277.569 184.19 278.052 184.033V183.253C277.715 183.404 277.007 183.5 276.3 183.5C273.902 183.5 272.363 181.989 272.363 179.636V179.625C272.363 177.323 273.919 175.689 276.103 175.689C278.31 175.689 279.804 177.053 279.804 179.081V179.092C279.804 180.383 279.382 181.22 278.72 181.22C278.338 181.22 278.125 180.99 278.125 180.597V177.407H277.17V178.087H277.075C276.856 177.593 276.356 177.295 275.766 177.295C274.621 177.295 273.835 178.238 273.835 179.597V179.608C273.835 181.029 274.615 181.984 275.783 181.984C276.44 181.984 276.929 181.675 277.164 181.102H277.26L277.265 181.136C277.372 181.675 277.872 182.023 278.535 182.023C279.849 182.023 280.68 180.877 280.68 179.064V179.052C280.68 176.61 278.832 174.914 276.165 174.914C273.391 174.914 271.487 176.818 271.487 179.592V179.603C271.487 182.45 273.352 184.28 276.26 184.28ZM275.963 181.108C275.283 181.108 274.868 180.546 274.868 179.636V179.625C274.868 178.704 275.278 178.154 275.974 178.154C276.676 178.154 277.125 178.727 277.125 179.625V179.636C277.125 180.535 276.676 181.108 275.963 181.108ZM284.535 183.118C286.096 183.118 286.938 182.219 287.14 181.417L287.151 181.366L285.978 181.372L285.955 181.417C285.809 181.731 285.343 182.118 284.563 182.118C283.558 182.118 282.917 181.439 282.895 180.271H287.219V179.844C287.219 178.014 286.174 176.784 284.473 176.784C282.771 176.784 281.671 178.059 281.671 179.962V179.968C281.671 181.899 282.749 183.118 284.535 183.118ZM284.479 177.783C285.304 177.783 285.916 178.311 286.011 179.401H282.912C283.019 178.351 283.647 177.783 284.479 177.783ZM287.738 183H289.064L290.4 180.799H290.49L291.826 183H293.213L291.175 179.912L293.191 176.902H291.843L290.54 179.081H290.445L289.131 176.902H287.722L289.766 179.962L287.738 183ZM295.895 183.101C296.703 183.101 297.344 182.753 297.703 182.135H297.798V183H299.006V178.828C299.006 177.548 298.141 176.784 296.608 176.784C295.221 176.784 294.261 177.452 294.115 178.452L294.109 178.491H295.283L295.288 178.469C295.434 178.036 295.878 177.789 296.552 177.789C297.377 177.789 297.798 178.16 297.798 178.828V179.367L296.148 179.462C294.693 179.552 293.873 180.187 293.873 181.276V181.287C293.873 182.394 294.732 183.101 295.895 183.101ZM295.086 181.237V181.226C295.086 180.675 295.468 180.372 296.31 180.322L297.798 180.226V180.748C297.798 181.534 297.13 182.13 296.221 182.13C295.564 182.13 295.086 181.798 295.086 181.237ZM300.502 183H301.721V179.255C301.721 178.457 302.266 177.828 303.001 177.828C303.72 177.828 304.175 178.266 304.175 178.963V183H305.388V179.142C305.388 178.407 305.899 177.828 306.674 177.828C307.471 177.828 307.853 178.244 307.853 179.086V183H309.066V178.794C309.066 177.525 308.347 176.784 307.117 176.784C306.269 176.784 305.567 177.216 305.258 177.873H305.163C304.894 177.216 304.304 176.784 303.473 176.784C302.675 176.784 302.08 177.171 301.811 177.84H301.721V176.902H300.502V183ZM310.546 185.033H311.764V182.034H311.854C312.18 182.691 312.893 183.101 313.729 183.101C315.279 183.101 316.256 181.888 316.256 179.957V179.945C316.256 178.025 315.268 176.795 313.729 176.795C312.876 176.795 312.208 177.194 311.854 177.862H311.764V176.902H310.546V185.033ZM313.387 182.062C312.37 182.062 311.742 181.259 311.742 179.957V179.945C311.742 178.643 312.37 177.84 313.387 177.84C314.403 177.84 315.015 178.631 315.015 179.945V179.957C315.015 181.265 314.403 182.062 313.387 182.062ZM317.556 183H318.775V174.51H317.556V183ZM322.928 183.118C324.489 183.118 325.331 182.219 325.533 181.417L325.544 181.366L324.371 181.372L324.348 181.417C324.202 181.731 323.736 182.118 322.956 182.118C321.951 182.118 321.31 181.439 321.288 180.271H325.612V179.844C325.612 178.014 324.567 176.784 322.866 176.784C321.164 176.784 320.064 178.059 320.064 179.962V179.968C320.064 181.899 321.142 183.118 322.928 183.118ZM322.871 177.783C323.697 177.783 324.309 178.311 324.404 179.401H321.305C321.412 178.351 322.04 177.783 322.871 177.783ZM327.777 183.084C328.243 183.084 328.596 182.725 328.596 182.27C328.596 181.81 328.243 181.45 327.777 181.45C327.311 181.45 326.951 181.81 326.951 182.27C326.951 182.725 327.311 183.084 327.777 183.084ZM332.586 183.118C334.097 183.118 334.967 182.304 335.186 181.119L335.197 181.068H334.029L334.018 181.096C333.822 181.753 333.35 182.102 332.586 182.102C331.581 182.102 330.958 181.282 330.958 179.934V179.923C330.958 178.609 331.57 177.8 332.586 177.8C333.395 177.8 333.889 178.25 334.024 178.85L334.029 178.867L335.197 178.862V178.833C335.029 177.649 334.114 176.784 332.581 176.784C330.801 176.784 329.717 177.991 329.717 179.923V179.934C329.717 181.905 330.806 183.118 332.586 183.118ZM338.94 183.118C340.726 183.118 341.821 181.922 341.821 179.957V179.945C341.821 177.98 340.72 176.784 338.94 176.784C337.155 176.784 336.054 177.986 336.054 179.945V179.957C336.054 181.922 337.149 183.118 338.94 183.118ZM338.94 182.102C337.89 182.102 337.301 181.31 337.301 179.957V179.945C337.301 178.592 337.89 177.8 338.94 177.8C339.985 177.8 340.58 178.592 340.58 179.945V179.957C340.58 181.304 339.985 182.102 338.94 182.102ZM343.054 183H344.272V179.255C344.272 178.457 344.817 177.828 345.552 177.828C346.271 177.828 346.726 178.266 346.726 178.963V183H347.939V179.142C347.939 178.407 348.45 177.828 349.225 177.828C350.022 177.828 350.404 178.244 350.404 179.086V183H351.617V178.794C351.617 177.525 350.898 176.784 349.668 176.784C348.821 176.784 348.119 177.216 347.81 177.873H347.714C347.445 177.216 346.855 176.784 346.024 176.784C345.227 176.784 344.632 177.171 344.362 177.84H344.272V176.902H343.054V183Z" fill="#4B4848"/>
<g opacity="0.5">
-<rect x="557.059" y="154.062" width="151.913" height="33.7906" fill="white"/>
-<path d="M694.06 171.254L696.778 168.536L697.554 169.313L694.06 172.807L690.565 169.313L691.342 168.536L694.06 171.254Z" fill="#575757"/>
-<rect x="557.059" y="154.062" width="151.913" height="33.7906" stroke="#B3B3B3" stroke-width="0.83"/>
+<rect x="390" y="162" width="156" height="34" fill="white"/>
+<path d="M532.589 179.193L535.307 176.475L536.083 177.251L532.589 180.745L529.094 177.251L529.871 176.475L532.589 179.193Z" fill="#575757"/>
+<rect x="390" y="162" width="156" height="34" stroke="#B3B3B3" stroke-width="0.83"/>
</g>
-<path d="M81.0781 175H86.3164V174.051H82.1328V171.145H86.0996V170.207H82.1328V167.494H86.3164V166.545H81.0781V175Z" fill="#4B4848"/>
-<path d="M89.8848 175H90.916L93.2539 168.684H92.1758L90.4473 173.887H90.3535L88.625 168.684H87.5469L89.8848 175Z" fill="#4B4848"/>
-<path d="M96.9453 175.111C98.4336 175.111 99.3359 174.268 99.5527 173.412L99.5645 173.365H98.5449L98.5215 173.418C98.3516 173.799 97.8242 174.203 96.9688 174.203C95.8438 174.203 95.123 173.441 95.0938 172.135H99.6406V171.736C99.6406 169.85 98.5977 168.572 96.8809 168.572C95.1641 168.572 94.0508 169.908 94.0508 171.859V171.865C94.0508 173.846 95.1406 175.111 96.9453 175.111ZM96.875 169.48C97.8066 169.48 98.498 170.072 98.6035 171.32H95.1113C95.2227 170.119 95.9375 169.48 96.875 169.48Z" fill="#4B4848"/>
-<path d="M101.223 175H102.242V171.262C102.242 170.154 102.881 169.475 103.889 169.475C104.896 169.475 105.365 170.02 105.365 171.156V175H106.385V170.91C106.385 169.41 105.594 168.572 104.176 168.572C103.244 168.572 102.652 168.965 102.336 169.633H102.242V168.684H101.223V175Z" fill="#4B4848"/>
-<path d="M110.475 175.047C110.674 175.047 110.867 175.023 111.066 174.988V174.121C110.879 174.139 110.779 174.145 110.598 174.145C109.941 174.145 109.684 173.846 109.684 173.102V169.527H111.066V168.684H109.684V167.049H108.629V168.684H107.633V169.527H108.629V173.359C108.629 174.566 109.174 175.047 110.475 175.047Z" fill="#4B4848"/>
-<path d="M118.209 175.047C118.408 175.047 118.602 175.023 118.801 174.988V174.121C118.613 174.139 118.514 174.145 118.332 174.145C117.676 174.145 117.418 173.846 117.418 173.102V169.527H118.801V168.684H117.418V167.049H116.363V168.684H115.367V169.527H116.363V173.359C116.363 174.566 116.908 175.047 118.209 175.047Z" fill="#4B4848"/>
-<path d="M120.863 177.215C121.982 177.215 122.504 176.805 123.025 175.387L125.492 168.684H124.42L122.691 173.881H122.598L120.863 168.684H119.773L122.111 175.006L121.994 175.381C121.766 176.107 121.414 176.371 120.834 176.371C120.693 176.371 120.535 176.365 120.412 176.342V177.18C120.553 177.203 120.729 177.215 120.863 177.215Z" fill="#4B4848"/>
-<path d="M126.84 177.109H127.859V174.004H127.953C128.299 174.678 129.055 175.111 129.922 175.111C131.527 175.111 132.57 173.828 132.57 171.848V171.836C132.57 169.867 131.521 168.572 129.922 168.572C129.043 168.572 128.34 168.988 127.953 169.691H127.859V168.684H126.84V177.109ZM129.688 174.209C128.539 174.209 127.836 173.307 127.836 171.848V171.836C127.836 170.377 128.539 169.475 129.688 169.475C130.842 169.475 131.527 170.365 131.527 171.836V171.848C131.527 173.318 130.842 174.209 129.688 174.209Z" fill="#4B4848"/>
-<path d="M136.742 175.111C138.23 175.111 139.133 174.268 139.35 173.412L139.361 173.365H138.342L138.318 173.418C138.148 173.799 137.621 174.203 136.766 174.203C135.641 174.203 134.92 173.441 134.891 172.135H139.438V171.736C139.438 169.85 138.395 168.572 136.678 168.572C134.961 168.572 133.848 169.908 133.848 171.859V171.865C133.848 173.846 134.938 175.111 136.742 175.111ZM136.672 169.48C137.604 169.48 138.295 170.072 138.4 171.32H134.908C135.02 170.119 135.734 169.48 136.672 169.48Z" fill="#4B4848"/>
-<path d="M247.439 175.199C249.537 175.199 250.791 173.934 250.791 172.094V166.545H249.736V172.023C249.736 173.324 248.904 174.227 247.439 174.227C245.975 174.227 245.131 173.324 245.131 172.023V166.545H244.076V172.094C244.076 173.934 245.342 175.199 247.439 175.199Z" fill="#4B4848"/>
-<path d="M254.975 175.111C256.41 175.111 257.506 174.332 257.506 173.207V173.195C257.506 172.293 256.932 171.777 255.742 171.49L254.77 171.256C254.025 171.074 253.709 170.805 253.709 170.377V170.365C253.709 169.809 254.26 169.422 255.01 169.422C255.771 169.422 256.264 169.768 256.398 170.266H257.4C257.26 169.234 256.34 168.572 255.016 168.572C253.674 168.572 252.666 169.363 252.666 170.412V170.418C252.666 171.326 253.199 171.842 254.383 172.123L255.361 172.357C256.141 172.545 256.463 172.844 256.463 173.271V173.283C256.463 173.857 255.859 174.262 255.01 174.262C254.201 174.262 253.697 173.916 253.527 173.389H252.484C252.602 174.432 253.568 175.111 254.975 175.111Z" fill="#4B4848"/>
-<path d="M261.666 175.111C263.154 175.111 264.057 174.268 264.273 173.412L264.285 173.365H263.266L263.242 173.418C263.072 173.799 262.545 174.203 261.689 174.203C260.564 174.203 259.844 173.441 259.814 172.135H264.361V171.736C264.361 169.85 263.318 168.572 261.602 168.572C259.885 168.572 258.771 169.908 258.771 171.859V171.865C258.771 173.846 259.861 175.111 261.666 175.111ZM261.596 169.48C262.527 169.48 263.219 170.072 263.324 171.32H259.832C259.943 170.119 260.658 169.48 261.596 169.48Z" fill="#4B4848"/>
-<path d="M265.943 175H266.963V171.086C266.963 170.16 267.654 169.545 268.627 169.545C268.85 169.545 269.043 169.568 269.254 169.604V168.613C269.154 168.596 268.938 168.572 268.744 168.572C267.889 168.572 267.297 168.959 267.057 169.621H266.963V168.684H265.943V175Z" fill="#4B4848"/>
-<path d="M407.098 175H408.153V171.654H410.233L412.043 175H413.28L411.323 171.49C412.383 171.156 413.022 170.242 413.022 169.07V169.059C413.022 167.541 411.956 166.545 410.327 166.545H407.098V175ZM408.153 170.717V167.482H410.186C411.276 167.482 411.932 168.086 411.932 169.094V169.105C411.932 170.137 411.317 170.717 410.233 170.717H408.153Z" fill="#4B4848"/>
-<path d="M417.211 175.111C418.7 175.111 419.602 174.268 419.819 173.412L419.831 173.365H418.811L418.788 173.418C418.618 173.799 418.09 174.203 417.235 174.203C416.11 174.203 415.389 173.441 415.36 172.135H419.907V171.736C419.907 169.85 418.864 168.572 417.147 168.572C415.43 168.572 414.317 169.908 414.317 171.859V171.865C414.317 173.846 415.407 175.111 417.211 175.111ZM417.141 169.48C418.073 169.48 418.764 170.072 418.87 171.32H415.377C415.489 170.119 416.204 169.48 417.141 169.48Z" fill="#4B4848"/>
-<path d="M423.657 175.111C425.092 175.111 426.188 174.332 426.188 173.207V173.195C426.188 172.293 425.614 171.777 424.424 171.49L423.452 171.256C422.708 171.074 422.391 170.805 422.391 170.377V170.365C422.391 169.809 422.942 169.422 423.692 169.422C424.454 169.422 424.946 169.768 425.081 170.266H426.083C425.942 169.234 425.022 168.572 423.698 168.572C422.356 168.572 421.348 169.363 421.348 170.412V170.418C421.348 171.326 421.881 171.842 423.065 172.123L424.043 172.357C424.823 172.545 425.145 172.844 425.145 173.271V173.283C425.145 173.857 424.542 174.262 423.692 174.262C422.883 174.262 422.379 173.916 422.209 173.389H421.167C421.284 174.432 422.25 175.111 423.657 175.111Z" fill="#4B4848"/>
-<path d="M430.366 175.111C432.165 175.111 433.278 173.869 433.278 171.848V171.836C433.278 169.809 432.165 168.572 430.366 168.572C428.567 168.572 427.454 169.809 427.454 171.836V171.848C427.454 173.869 428.567 175.111 430.366 175.111ZM430.366 174.209C429.17 174.209 428.497 173.336 428.497 171.848V171.836C428.497 170.342 429.17 169.475 430.366 169.475C431.561 169.475 432.235 170.342 432.235 171.836V171.848C432.235 173.336 431.561 174.209 430.366 174.209Z" fill="#4B4848"/>
-<path d="M436.975 175.111C437.901 175.111 438.54 174.73 438.85 174.057H438.944V175H439.963V168.684H438.944V172.422C438.944 173.529 438.352 174.209 437.239 174.209C436.231 174.209 435.821 173.664 435.821 172.527V168.684H434.801V172.773C434.801 174.268 435.54 175.111 436.975 175.111Z" fill="#4B4848"/>
-<path d="M441.868 175H442.887V171.086C442.887 170.16 443.579 169.545 444.551 169.545C444.774 169.545 444.967 169.568 445.178 169.604V168.613C445.079 168.596 444.862 168.572 444.668 168.572C443.813 168.572 443.221 168.959 442.981 169.621H442.887V168.684H441.868V175Z" fill="#4B4848"/>
-<path d="M448.846 175.111C450.364 175.111 451.213 174.297 451.471 173.154L451.483 173.09L450.475 173.096L450.463 173.131C450.229 173.834 449.69 174.209 448.84 174.209C447.715 174.209 446.989 173.277 446.989 171.824V171.812C446.989 170.389 447.704 169.475 448.84 169.475C449.749 169.475 450.311 169.979 450.469 170.6L450.475 170.617H451.489L451.483 170.582C451.295 169.457 450.375 168.572 448.84 168.572C447.071 168.572 445.946 169.85 445.946 171.812V171.824C445.946 173.828 447.077 175.111 448.846 175.111Z" fill="#4B4848"/>
-<path d="M455.555 175.111C457.043 175.111 457.946 174.268 458.163 173.412L458.174 173.365H457.155L457.131 173.418C456.961 173.799 456.434 174.203 455.579 174.203C454.454 174.203 453.733 173.441 453.704 172.135H458.25V171.736C458.25 169.85 457.208 168.572 455.491 168.572C453.774 168.572 452.661 169.908 452.661 171.859V171.865C452.661 173.846 453.75 175.111 455.555 175.111ZM455.485 169.48C456.417 169.48 457.108 170.072 457.213 171.32H453.721C453.833 170.119 454.547 169.48 455.485 169.48Z" fill="#4B4848"/>
-<path d="M463.336 175H464.391V166.545H463.336V175Z" fill="#4B4848"/>
-<path d="M466.547 175H469.448C471.961 175 473.438 173.436 473.438 170.775V170.764C473.438 168.109 471.956 166.545 469.448 166.545H466.547V175ZM467.602 174.051V167.494H469.377C471.252 167.494 472.36 168.713 472.36 170.775V170.787C472.36 172.844 471.264 174.051 469.377 174.051H467.602Z" fill="#4B4848"/>
-<path d="M570.108 175H573.008C575.522 175 576.999 173.436 576.999 170.775V170.764C576.999 168.109 575.516 166.545 573.008 166.545H570.108V175ZM571.163 174.051V167.494H572.938C574.813 167.494 575.92 168.713 575.92 170.775V170.787C575.92 172.844 574.825 174.051 572.938 174.051H571.163Z" fill="#4B4848"/>
-<path d="M580.432 175.111C581.282 175.111 581.944 174.742 582.342 174.068H582.436V175H583.456V170.676C583.456 169.363 582.594 168.572 581.053 168.572C579.706 168.572 578.745 169.24 578.581 170.23L578.575 170.266H579.594L579.6 170.248C579.764 169.756 580.262 169.475 581.018 169.475C581.961 169.475 582.436 169.896 582.436 170.676V171.25L580.625 171.361C579.155 171.449 578.323 172.1 578.323 173.225V173.236C578.323 174.385 579.231 175.111 580.432 175.111ZM579.366 173.213V173.201C579.366 172.574 579.788 172.234 580.749 172.176L582.436 172.07V172.645C582.436 173.547 581.68 174.227 580.643 174.227C579.911 174.227 579.366 173.852 579.366 173.213Z" fill="#4B4848"/>
-<path d="M587.563 175.047C587.762 175.047 587.956 175.023 588.155 174.988V174.121C587.967 174.139 587.868 174.145 587.686 174.145C587.03 174.145 586.772 173.846 586.772 173.102V169.527H588.155V168.684H586.772V167.049H585.717V168.684H584.721V169.527H585.717V173.359C585.717 174.566 586.262 175.047 587.563 175.047Z" fill="#4B4848"/>
-<path d="M592.163 175.111C593.651 175.111 594.553 174.268 594.77 173.412L594.782 173.365H593.762L593.739 173.418C593.569 173.799 593.042 174.203 592.186 174.203C591.061 174.203 590.34 173.441 590.311 172.135H594.858V171.736C594.858 169.85 593.815 168.572 592.098 168.572C590.381 168.572 589.268 169.908 589.268 171.859V171.865C589.268 173.846 590.358 175.111 592.163 175.111ZM592.092 169.48C593.024 169.48 593.715 170.072 593.821 171.32H590.329C590.44 170.119 591.155 169.48 592.092 169.48Z" fill="#4B4848"/>
-<path d="M599.944 175H600.999V171.654H603.079L604.889 175H606.125L604.168 171.49C605.229 171.156 605.868 170.242 605.868 169.07V169.059C605.868 167.541 604.801 166.545 603.172 166.545H599.944V175ZM600.999 170.717V167.482H603.032C604.122 167.482 604.778 168.086 604.778 169.094V169.105C604.778 170.137 604.163 170.717 603.079 170.717H600.999Z" fill="#4B4848"/>
-<path d="M609.389 175.111C610.239 175.111 610.901 174.742 611.299 174.068H611.393V175H612.413V170.676C612.413 169.363 611.551 168.572 610.01 168.572C608.663 168.572 607.702 169.24 607.538 170.23L607.532 170.266H608.551L608.557 170.248C608.721 169.756 609.219 169.475 609.975 169.475C610.918 169.475 611.393 169.896 611.393 170.676V171.25L609.583 171.361C608.112 171.449 607.28 172.1 607.28 173.225V173.236C607.28 174.385 608.188 175.111 609.389 175.111ZM608.323 173.213V173.201C608.323 172.574 608.745 172.234 609.706 172.176L611.393 172.07V172.645C611.393 173.547 610.637 174.227 609.6 174.227C608.868 174.227 608.323 173.852 608.323 173.213Z" fill="#4B4848"/>
-<path d="M614.276 175H615.295V171.262C615.295 170.154 615.934 169.475 616.942 169.475C617.95 169.475 618.418 170.02 618.418 171.156V175H619.438V170.91C619.438 169.41 618.647 168.572 617.229 168.572C616.297 168.572 615.706 168.965 615.389 169.633H615.295V168.684H614.276V175Z" fill="#4B4848"/>
-<path d="M623.885 177.227C625.608 177.227 626.698 176.324 626.698 174.912V168.684H625.678V169.727H625.608C625.221 169.012 624.53 168.572 623.639 168.572C621.987 168.572 620.967 169.855 620.967 171.625V171.637C620.967 173.406 621.981 174.672 623.616 174.672C624.483 174.672 625.198 174.279 625.596 173.582H625.69V174.859C625.69 175.791 625.016 176.324 623.885 176.324C622.977 176.324 622.415 175.984 622.303 175.504L622.297 175.498H621.243L621.231 175.504C621.389 176.541 622.362 177.227 623.885 177.227ZM623.838 173.77C622.667 173.77 622.01 172.891 622.01 171.637V171.625C622.01 170.371 622.667 169.475 623.838 169.475C625.004 169.475 625.713 170.371 625.713 171.625V171.637C625.713 172.891 625.01 173.77 623.838 173.77Z" fill="#4B4848"/>
-<path d="M631.174 175.111C632.663 175.111 633.565 174.268 633.782 173.412L633.793 173.365H632.774L632.75 173.418C632.581 173.799 632.053 174.203 631.198 174.203C630.073 174.203 629.352 173.441 629.323 172.135H633.87V171.736C633.87 169.85 632.827 168.572 631.11 168.572C629.393 168.572 628.28 169.908 628.28 171.859V171.865C628.28 173.846 629.37 175.111 631.174 175.111ZM631.104 169.48C632.036 169.48 632.727 170.072 632.833 171.32H629.34C629.452 170.119 630.167 169.48 631.104 169.48Z" fill="#4B4848"/>
-<path d="M68.9481 140V129.091H76.1711V130.993H71.2546V133.592H75.6917V135.494H71.2546V140H68.9481Z" fill="#393939"/>
-<path d="M77.6799 140V131.818H79.9491V140H77.6799ZM78.8198 130.764C78.4825 130.764 78.1931 130.652 77.9516 130.428C77.7137 130.201 77.5947 129.929 77.5947 129.613C77.5947 129.301 77.7137 129.032 77.9516 128.809C78.1931 128.581 78.4825 128.468 78.8198 128.468C79.1572 128.468 79.4448 128.581 79.6828 128.809C79.9242 129.032 80.045 129.301 80.045 129.613C80.045 129.929 79.9242 130.201 79.6828 130.428C79.4448 130.652 79.1572 130.764 78.8198 130.764Z" fill="#393939"/>
-<path d="M84.036 129.091V140H81.7668V129.091H84.036Z" fill="#393939"/>
-<path d="M90.2057 131.818V133.523H85.2785V131.818H90.2057ZM86.3971 129.858H88.6663V137.486C88.6663 137.695 88.6982 137.859 88.7621 137.976C88.8261 138.09 88.9148 138.169 89.0285 138.216C89.1457 138.262 89.2806 138.285 89.4333 138.285C89.5398 138.285 89.6464 138.276 89.7529 138.258C89.8594 138.237 89.9411 138.221 89.9979 138.21L90.3548 139.899C90.2412 139.934 90.0814 139.975 89.8754 140.021C89.6694 140.071 89.4191 140.101 89.1243 140.112C88.5775 140.133 88.0981 140.06 87.6861 139.894C87.2778 139.727 86.9599 139.467 86.7327 139.116C86.5054 138.764 86.3935 138.32 86.3971 137.784V129.858Z" fill="#393939"/>
-<path d="M95.3246 140.16C94.483 140.16 93.7586 139.989 93.1513 139.649C92.5476 139.304 92.0824 138.818 91.7557 138.189C91.429 137.557 91.2657 136.809 91.2657 135.946C91.2657 135.105 91.429 134.366 91.7557 133.731C92.0824 133.095 92.5423 132.6 93.1354 132.244C93.7319 131.889 94.4315 131.712 95.2341 131.712C95.7738 131.712 96.2763 131.799 96.7415 131.973C97.2103 132.143 97.6187 132.401 97.9667 132.745C98.3182 133.09 98.5917 133.523 98.787 134.045C98.9823 134.563 99.08 135.171 99.08 135.867V136.49H92.1712V135.084H96.9439C96.9439 134.757 96.8729 134.467 96.7309 134.215C96.5888 133.963 96.3917 133.766 96.1396 133.624C95.891 133.478 95.6016 133.406 95.2714 133.406C94.9269 133.406 94.6215 133.486 94.3552 133.645C94.0924 133.802 93.8864 134.013 93.7373 134.279C93.5881 134.542 93.5118 134.835 93.5082 135.158V136.495C93.5082 136.9 93.5828 137.25 93.7319 137.544C93.8846 137.839 94.0995 138.066 94.3765 138.226C94.6535 138.386 94.9819 138.466 95.3619 138.466C95.614 138.466 95.8449 138.43 96.0544 138.359C96.2639 138.288 96.4432 138.182 96.5924 138.04C96.7415 137.898 96.8552 137.724 96.9333 137.518L99.032 137.656C98.9255 138.161 98.7071 138.601 98.3768 138.977C98.0501 139.35 97.6275 139.641 97.1091 139.851C96.5942 140.057 95.9993 140.16 95.3246 140.16Z" fill="#393939"/>
-<path d="M100.561 140V131.818H102.761V133.246H102.846C102.995 132.738 103.245 132.354 103.597 132.095C103.949 131.832 104.353 131.701 104.811 131.701C104.925 131.701 105.048 131.708 105.179 131.722C105.31 131.737 105.426 131.756 105.525 131.781V133.794C105.419 133.763 105.271 133.734 105.083 133.709C104.895 133.684 104.723 133.672 104.566 133.672C104.233 133.672 103.934 133.745 103.672 133.89C103.412 134.032 103.206 134.231 103.054 134.487C102.905 134.743 102.83 135.037 102.83 135.371V140H100.561Z" fill="#393939"/>
-<path d="M113.506 134.151L111.429 134.279C111.393 134.102 111.317 133.942 111.2 133.8C111.082 133.654 110.928 133.539 110.736 133.454C110.548 133.365 110.322 133.32 110.06 133.32C109.708 133.32 109.412 133.395 109.17 133.544C108.929 133.69 108.808 133.885 108.808 134.13C108.808 134.325 108.886 134.491 109.042 134.625C109.198 134.76 109.467 134.869 109.847 134.95L111.327 135.249C112.123 135.412 112.716 135.675 113.106 136.037C113.497 136.399 113.692 136.875 113.692 137.465C113.692 138.001 113.534 138.471 113.218 138.876C112.906 139.281 112.476 139.597 111.929 139.824C111.386 140.048 110.759 140.16 110.049 140.16C108.966 140.16 108.103 139.934 107.46 139.483C106.821 139.029 106.446 138.411 106.336 137.63L108.568 137.513C108.636 137.843 108.799 138.095 109.058 138.269C109.317 138.439 109.649 138.525 110.054 138.525C110.452 138.525 110.772 138.448 111.013 138.296C111.258 138.139 111.382 137.939 111.386 137.694C111.382 137.488 111.295 137.319 111.125 137.188C110.955 137.053 110.692 136.95 110.337 136.879L108.92 136.596C108.121 136.437 107.526 136.16 107.135 135.765C106.748 135.371 106.555 134.869 106.555 134.258C106.555 133.732 106.697 133.28 106.981 132.9C107.268 132.52 107.671 132.227 108.19 132.021C108.712 131.815 109.323 131.712 110.022 131.712C111.056 131.712 111.869 131.93 112.462 132.367C113.059 132.804 113.407 133.399 113.506 134.151Z" fill="#393939"/>
+<path d="M402.889 183.197C404.59 183.197 405.82 182.006 405.82 180.378V180.366C405.82 178.817 404.714 177.671 403.17 177.671C402.063 177.671 401.333 178.25 401.036 178.901H400.929C400.929 178.839 400.929 178.777 400.935 178.716C400.997 177.098 401.564 175.768 402.928 175.768C403.692 175.768 404.22 176.161 404.444 176.778L404.467 176.834H405.713L405.702 176.767C405.433 175.543 404.366 174.701 402.934 174.701C400.929 174.701 399.733 176.318 399.733 179.058V179.069C399.733 182.051 401.26 183.197 402.889 183.197ZM401.176 180.378V180.372C401.176 179.395 401.917 178.688 402.889 178.688C403.872 178.688 404.579 179.406 404.579 180.4V180.411C404.579 181.383 403.827 182.141 402.878 182.141C401.923 182.141 401.176 181.366 401.176 180.378ZM407.199 183H412.657V181.927H408.912V181.815L410.63 180.103C412.101 178.643 412.528 177.935 412.528 177.014V176.997C412.528 175.661 411.416 174.701 409.905 174.701C408.277 174.701 407.131 175.745 407.126 177.228L407.137 177.239H408.316L408.322 177.222C408.322 176.335 408.928 175.74 409.838 175.74C410.725 175.74 411.27 176.323 411.27 177.115V177.132C411.27 177.789 410.961 178.205 409.889 179.322L407.199 182.146V183ZM417.326 183.101C418.865 183.101 419.853 181.871 419.853 179.957V179.945C419.853 178.014 418.876 176.795 417.326 176.795C416.49 176.795 415.776 177.211 415.451 177.868H415.361V174.51H414.142V183H415.361V182.04H415.451C415.804 182.708 416.473 183.101 417.326 183.101ZM416.984 182.062C415.967 182.062 415.338 181.259 415.338 179.957V179.945C415.338 178.643 415.967 177.84 416.984 177.84C418 177.84 418.612 178.637 418.612 179.945V179.957C418.612 181.265 418 182.062 416.984 182.062ZM423.652 183.118C425.163 183.118 426.033 182.304 426.252 181.119L426.263 181.068H425.095L425.084 181.096C424.887 181.753 424.416 182.102 423.652 182.102C422.647 182.102 422.024 181.282 422.024 179.934V179.923C422.024 178.609 422.636 177.8 423.652 177.8C424.461 177.8 424.955 178.25 425.09 178.85L425.095 178.867L426.263 178.862V178.833C426.095 177.649 425.179 176.784 423.646 176.784C421.866 176.784 420.783 177.991 420.783 179.923V179.934C420.783 181.905 421.872 183.118 423.652 183.118ZM430.281 183.197C432.145 183.197 433.274 181.562 433.274 178.951V178.94C433.274 176.329 432.145 174.701 430.281 174.701C428.411 174.701 427.288 176.329 427.288 178.94V178.951C427.288 181.562 428.411 183.197 430.281 183.197ZM430.281 182.152C429.192 182.152 428.557 180.934 428.557 178.951V178.94C428.557 176.958 429.192 175.751 430.281 175.751C431.365 175.751 432.005 176.958 432.005 178.94V178.951C432.005 180.934 431.365 182.152 430.281 182.152ZM435.102 183H436.315V177.862H437.657V176.902H436.304V176.318C436.304 175.7 436.568 175.375 437.241 175.375C437.432 175.375 437.595 175.386 437.707 175.403V174.51C437.5 174.476 437.264 174.454 436.989 174.454C435.72 174.454 435.102 175.049 435.102 176.262V176.902H434.097V177.862H435.102V183ZM440.788 183H442.046V174.897H440.788L438.654 176.413V177.649L440.692 176.194H440.788V183ZM446.103 183H447.361V174.897H446.103L443.969 176.413V177.649L446.007 176.194H446.103V183ZM452.243 183.197C453.95 183.197 455.152 182.051 455.152 180.389V180.378C455.152 178.822 454.063 177.688 452.541 177.688C451.794 177.688 451.16 178.002 450.817 178.547H450.722L450.969 175.964H454.692V174.897H449.98L449.576 179.603H450.66C450.755 179.417 450.884 179.26 451.03 179.131C451.35 178.839 451.772 178.693 452.266 178.693C453.243 178.693 453.95 179.401 453.95 180.4V180.411C453.95 181.428 453.254 182.141 452.255 182.141C451.367 182.141 450.722 181.574 450.615 180.861L450.609 180.816H449.43L449.436 180.889C449.548 182.203 450.649 183.197 452.243 183.197ZM460.231 183H461.444V181.388H462.562V180.322H461.444V174.897H459.653C458.535 176.576 457.345 178.491 456.278 180.322V181.388H460.231V183ZM457.485 180.344V180.265C458.316 178.845 459.305 177.267 460.175 175.958H460.248V180.344H457.485ZM466.681 183.197C468.388 183.197 469.589 182.051 469.589 180.389V180.378C469.589 178.822 468.5 177.688 466.978 177.688C466.231 177.688 465.597 178.002 465.254 178.547H465.159L465.406 175.964H469.129V174.897H464.418L464.013 179.603H465.097C465.193 179.417 465.322 179.26 465.468 179.131C465.788 178.839 466.209 178.693 466.703 178.693C467.68 178.693 468.388 179.401 468.388 180.4V180.411C468.388 181.428 467.691 182.141 466.692 182.141C465.805 182.141 465.159 181.574 465.052 180.861L465.047 180.816H463.867L463.873 180.889C463.985 182.203 465.086 183.197 466.681 183.197ZM473.517 183.118C475.028 183.118 475.898 182.304 476.117 181.119L476.129 181.068H474.961L474.949 181.096C474.753 181.753 474.281 182.102 473.517 182.102C472.512 182.102 471.889 181.282 471.889 179.934V179.923C471.889 178.609 472.501 177.8 473.517 177.8C474.326 177.8 474.82 178.25 474.955 178.85L474.961 178.867L476.129 178.862V178.833C475.96 177.649 475.045 176.784 473.512 176.784C471.732 176.784 470.648 177.991 470.648 179.923V179.934C470.648 181.905 471.737 183.118 473.517 183.118ZM481.006 183H482.218V181.388H483.336V180.322H482.218V174.897H480.427C479.31 176.576 478.119 178.491 477.052 180.322V181.388H481.006V183ZM478.26 180.344V180.265C479.091 178.845 480.079 177.267 480.949 175.958H481.022V180.344H478.26ZM484.647 183H490.105V181.927H486.36V181.815L488.078 180.103C489.549 178.643 489.976 177.935 489.976 177.014V176.997C489.976 175.661 488.864 174.701 487.354 174.701C485.725 174.701 484.58 175.745 484.574 177.228L484.586 177.239H485.765L485.77 177.222C485.77 176.335 486.377 175.74 487.287 175.74C488.174 175.74 488.718 176.323 488.718 177.115V177.132C488.718 177.789 488.41 178.205 487.337 179.322L484.647 182.146V183ZM491.535 183H496.993V181.927H493.247V181.815L494.966 180.103C496.437 178.643 496.864 177.935 496.864 177.014V176.997C496.864 175.661 495.752 174.701 494.241 174.701C492.613 174.701 491.467 175.745 491.462 177.228L491.473 177.239H492.652L492.658 177.222C492.658 176.335 493.264 175.74 494.174 175.74C495.061 175.74 495.606 176.323 495.606 177.115V177.132C495.606 177.789 495.297 178.205 494.224 179.322L491.535 182.146V183ZM499.214 183.084C499.68 183.084 500.034 182.725 500.034 182.27C500.034 181.81 499.68 181.45 499.214 181.45C498.748 181.45 498.388 181.81 498.388 182.27C498.388 182.725 498.748 183.084 499.214 183.084ZM502.62 183.084C503.086 183.084 503.44 182.725 503.44 182.27C503.44 181.81 503.086 181.45 502.62 181.45C502.154 181.45 501.794 181.81 501.794 182.27C501.794 182.725 502.154 183.084 502.62 183.084ZM506.026 183.084C506.492 183.084 506.845 182.725 506.845 182.27C506.845 181.81 506.492 181.45 506.026 181.45C505.56 181.45 505.2 181.81 505.2 182.27C505.2 182.725 505.56 183.084 506.026 183.084Z" fill="#4B4848"/>
+<path d="M65.9482 148V137.091H73.1712V138.993H68.2546V141.592H72.6918V143.494H68.2546V148H65.9482ZM74.68 148V139.818H76.9491V148H74.68ZM75.8199 138.763C75.4825 138.763 75.1931 138.652 74.9516 138.428C74.7137 138.201 74.5947 137.929 74.5947 137.613C74.5947 137.3 74.7137 137.032 74.9516 136.809C75.1931 136.581 75.4825 136.468 75.8199 136.468C76.1572 136.468 76.4449 136.581 76.6828 136.809C76.9243 137.032 77.045 137.3 77.045 137.613C77.045 137.929 76.9243 138.201 76.6828 138.428C76.4449 138.652 76.1572 138.763 75.8199 138.763ZM81.036 137.091V148H78.7669V137.091H81.036ZM87.2057 139.818V141.523H82.2785V139.818H87.2057ZM83.3971 137.858H85.6663V145.486C85.6663 145.695 85.6982 145.859 85.7622 145.976C85.8261 146.089 85.9149 146.169 86.0285 146.216C86.1457 146.262 86.2806 146.285 86.4333 146.285C86.5399 146.285 86.6464 146.276 86.7529 146.258C86.8595 146.237 86.9411 146.221 86.998 146.21L87.3548 147.899C87.2412 147.934 87.0814 147.975 86.8754 148.021C86.6695 148.071 86.4191 148.101 86.1244 148.112C85.5775 148.133 85.0981 148.06 84.6862 147.893C84.2778 147.727 83.96 147.467 83.7327 147.116C83.5054 146.764 83.3936 146.32 83.3971 145.784V137.858ZM92.3247 148.16C91.483 148.16 90.7586 147.989 90.1514 147.648C89.5477 147.304 89.0825 146.817 88.7558 146.189C88.4291 145.557 88.2657 144.809 88.2657 143.946C88.2657 143.105 88.4291 142.366 88.7558 141.73C89.0825 141.095 89.5423 140.599 90.1354 140.244C90.732 139.889 91.4316 139.712 92.2341 139.712C92.7739 139.712 93.2764 139.799 93.7416 139.973C94.2103 140.143 94.6187 140.401 94.9667 140.745C95.3183 141.089 95.5917 141.523 95.787 142.045C95.9823 142.563 96.08 143.17 96.08 143.866V144.49H89.1713V143.083H93.944C93.944 142.757 93.873 142.467 93.7309 142.215C93.5889 141.963 93.3918 141.766 93.1396 141.624C92.8911 141.478 92.6017 141.406 92.2714 141.406C91.9269 141.406 91.6215 141.485 91.3552 141.645C91.0924 141.801 90.8865 142.013 90.7373 142.279C90.5882 142.542 90.5118 142.835 90.5083 143.158V144.495C90.5083 144.9 90.5828 145.25 90.732 145.544C90.8847 145.839 91.0995 146.066 91.3765 146.226C91.6535 146.386 91.982 146.466 92.3619 146.466C92.6141 146.466 92.8449 146.43 93.0544 146.359C93.2639 146.288 93.4433 146.182 93.5924 146.04C93.7416 145.898 93.8552 145.724 93.9333 145.518L96.032 145.656C95.9255 146.161 95.7071 146.601 95.3769 146.977C95.0502 147.35 94.6276 147.641 94.1091 147.851C93.5942 148.057 92.9994 148.16 92.3247 148.16ZM97.5608 148V139.818H99.7607V141.246H99.846C99.9951 140.738 100.245 140.354 100.597 140.095C100.949 139.832 101.353 139.701 101.812 139.701C101.925 139.701 102.048 139.708 102.179 139.722C102.31 139.737 102.426 139.756 102.525 139.781V141.794C102.419 141.762 102.271 141.734 102.083 141.709C101.895 141.684 101.723 141.672 101.566 141.672C101.233 141.672 100.934 141.745 100.672 141.89C100.412 142.032 100.206 142.231 100.054 142.487C99.9046 142.743 99.83 143.037 99.83 143.371V148H97.5608ZM110.506 142.151L108.429 142.279C108.393 142.102 108.317 141.942 108.2 141.8C108.082 141.654 107.928 141.539 107.736 141.453C107.548 141.365 107.322 141.32 107.06 141.32C106.708 141.32 106.412 141.395 106.17 141.544C105.929 141.69 105.808 141.885 105.808 142.13C105.808 142.325 105.886 142.49 106.042 142.625C106.199 142.76 106.467 142.869 106.847 142.95L108.327 143.249C109.123 143.412 109.716 143.675 110.107 144.037C110.497 144.399 110.692 144.875 110.692 145.464C110.692 146.001 110.534 146.471 110.218 146.876C109.906 147.281 109.476 147.597 108.929 147.824C108.386 148.048 107.759 148.16 107.049 148.16C105.966 148.16 105.103 147.934 104.46 147.483C103.821 147.029 103.446 146.411 103.336 145.63L105.568 145.512C105.636 145.843 105.799 146.095 106.058 146.269C106.317 146.439 106.65 146.525 107.054 146.525C107.452 146.525 107.772 146.448 108.013 146.295C108.258 146.139 108.382 145.939 108.386 145.694C108.382 145.488 108.295 145.319 108.125 145.188C107.955 145.053 107.692 144.95 107.337 144.879L105.92 144.596C105.121 144.436 104.526 144.159 104.135 143.765C103.748 143.371 103.555 142.869 103.555 142.258C103.555 141.732 103.697 141.279 103.981 140.9C104.268 140.52 104.672 140.227 105.19 140.021C105.712 139.815 106.323 139.712 107.022 139.712C108.056 139.712 108.869 139.93 109.462 140.367C110.059 140.804 110.407 141.398 110.506 142.151Z" fill="#393939"/>
</g>
</g>
<defs>
-<filter id="filter0_d_625_11712" x="71" y="23" width="679" height="511" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
-<feFlood flood-opacity="0" result="BackgroundImageFix"/>
-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
-<feOffset dy="10"/>
-<feGaussianBlur stdDeviation="10"/>
-<feComposite in2="hardAlpha" operator="out"/>
-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"/>
-<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_625_11712"/>
-<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_625_11712" result="shape"/>
-</filter>
-<filter id="filter1_d_625_11712" x="71" y="23" width="679" height="511" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<filter id="filter0_d_625_11712" x="68" y="31" width="679" height="511" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="10"/>
@@ -153,7 +96,7 @@
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_625_11712"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_625_11712" result="shape"/>
</filter>
-<filter id="filter2_d_625_11712" x="-5" y="73" width="787" height="203" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<filter id="filter1_d_625_11712" x="-8" y="81" width="787" height="203" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="14"/>
diff --git a/app/client/src/assets/svg/upgrade/audit-logs/incident-management.svg b/app/client/src/assets/svg/upgrade/audit-logs/incident-management.svg
index 404eb9dd750d..074acf6dc9cd 100644
--- a/app/client/src/assets/svg/upgrade/audit-logs/incident-management.svg
+++ b/app/client/src/assets/svg/upgrade/audit-logs/incident-management.svg
@@ -1,344 +1,118 @@
<svg width="725" height="537" viewBox="0 0 725 537" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_625_11871)">
<g filter="url(#filter0_d_625_11871)">
-<path d="M88 33H727V504H88V33Z" fill="white"/>
+<rect x="87" y="45" width="639" height="471" fill="white"/>
+<rect x="87.5" y="45.5" width="638" height="470" stroke="#E7E7E7"/>
</g>
-<g filter="url(#filter1_d_625_11871)">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M726 34H89V503H726V34ZM88 33V504H727V33H88Z" fill="#E7E7E7"/>
-</g>
-<path d="M148 137C148 141.971 143.971 146 139 146C134.029 146 130 141.971 130 137C130 132.029 134.029 128 139 128C143.971 128 148 132.029 148 137Z" fill="#FFDEDE"/>
+<circle cx="143" cy="149" r="9" fill="#FFDEDE"/>
<g opacity="0.7">
-<path d="M178 133H329.334V141.294H178V133Z" fill="#D9D9D9"/>
-<path d="M351.83 133H568.606V141.294H351.83V133Z" fill="#D9D9D9"/>
-<path d="M647 133H591.102V141.294H647V133Z" fill="#D9D9D9"/>
+<rect x="182" y="145" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="355.83" y="145" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 651 145)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M178 205H329.334V213.294H178V205Z" fill="#D9D9D9"/>
-<path d="M351.83 205H568.606V213.294H351.83V205Z" fill="#D9D9D9"/>
-<path d="M647 205H591.102V213.294H647V205Z" fill="#D9D9D9"/>
+<rect x="182" y="217" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="355.83" y="217" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 651 217)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M178 242H329.334V250.294H178V242Z" fill="#D9D9D9"/>
-<path d="M351.83 242H568.606V250.294H351.83V242Z" fill="#D9D9D9"/>
-<path d="M647 242H591.102V250.294H647V242Z" fill="#D9D9D9"/>
-</g>
-<path d="M147 244C147 248.971 142.971 253 138 253C133.029 253 129 248.971 129 244C129 239.029 133.029 235 138 235C142.971 235 147 239.029 147 244Z" fill="#FFDEDE"/>
-<path d="M147 285C147 289.971 142.971 294 138 294C133.029 294 129 289.971 129 285C129 280.029 133.029 276 138 276C142.971 276 147 280.029 147 285Z" fill="#FFDEDE"/>
-<path d="M147 322C147 326.971 142.971 331 138 331C133.029 331 129 326.971 129 322C129 317.029 133.029 313 138 313C142.971 313 147 317.029 147 322Z" fill="#FFDEDE"/>
-<path d="M147 359C147 363.971 142.971 368 138 368C133.029 368 129 363.971 129 359C129 354.029 133.029 350 138 350C142.971 350 147 354.029 147 359Z" fill="#FFDEDE"/>
-<path d="M147 396C147 400.971 142.971 405 138 405C133.029 405 129 400.971 129 396C129 391.029 133.029 387 138 387C142.971 387 147 391.029 147 396Z" fill="#FFDEDE"/>
-<path d="M147 433C147 437.971 142.971 442 138 442C133.029 442 129 437.971 129 433C129 428.029 133.029 424 138 424C142.971 424 147 428.029 147 433Z" fill="#FFDEDE"/>
-<path d="M147 470C147 474.971 142.971 479 138 479C133.029 479 129 474.971 129 470C129 465.029 133.029 461 138 461C142.971 461 147 465.029 147 470Z" fill="#FFDEDE"/>
+<rect x="182" y="254" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="355.83" y="254" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 651 254)" fill="#D9D9D9"/>
+</g>
+<circle cx="142" cy="256" r="9" fill="#FFDEDE"/>
+<circle cx="142" cy="297" r="9" fill="#FFDEDE"/>
+<circle cx="142" cy="334" r="9" fill="#FFDEDE"/>
+<circle cx="142" cy="371" r="9" fill="#FFDEDE"/>
+<circle cx="142" cy="408" r="9" fill="#FFDEDE"/>
+<circle cx="142" cy="445" r="9" fill="#FFDEDE"/>
+<circle cx="142" cy="482" r="9" fill="#FFDEDE"/>
<g opacity="0.7">
-<path d="M178 281H329.334V289.294H178V281Z" fill="#D9D9D9"/>
-<path d="M351.83 281H568.606V289.294H351.83V281Z" fill="#D9D9D9"/>
-<path d="M647 281H591.102V289.294H647V281Z" fill="#D9D9D9"/>
+<rect x="182" y="293" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="355.83" y="293" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 651 293)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M178 318H329.334V326.294H178V318Z" fill="#D9D9D9"/>
-<path d="M351.83 318H568.606V326.294H351.83V318Z" fill="#D9D9D9"/>
-<path d="M647 318H591.102V326.294H647V318Z" fill="#D9D9D9"/>
+<rect x="182" y="330" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="355.83" y="330" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 651 330)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M178 355H329.334V363.294H178V355Z" fill="#D9D9D9"/>
-<path d="M351.83 355H568.606V363.294H351.83V355Z" fill="#D9D9D9"/>
-<path d="M647 355H591.102V363.294H647V355Z" fill="#D9D9D9"/>
+<rect x="182" y="367" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="355.83" y="367" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 651 367)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M178 392H329.334V400.294H178V392Z" fill="#D9D9D9"/>
-<path d="M351.83 392H568.606V400.294H351.83V392Z" fill="#D9D9D9"/>
-<path d="M647 392H591.102V400.294H647V392Z" fill="#D9D9D9"/>
+<rect x="182" y="404" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="355.83" y="404" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 651 404)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M178 429H329.334V437.294H178V429Z" fill="#D9D9D9"/>
-<path d="M351.83 429H568.606V437.294H351.83V429Z" fill="#D9D9D9"/>
-<path d="M647 429H591.102V437.294H647V429Z" fill="#D9D9D9"/>
+<rect x="182" y="441" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="355.83" y="441" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 651 441)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M178 466H329.334V474.294H178V466Z" fill="#D9D9D9"/>
-<path d="M351.83 466H568.606V474.294H351.83V466Z" fill="#D9D9D9"/>
-<path d="M647 466H591.102V474.294H647V466Z" fill="#D9D9D9"/>
+<rect x="182" y="478" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="355.83" y="478" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 651 478)" fill="#D9D9D9"/>
</g>
-<path d="M134.128 89.0002H130.613L137.013 70.8184H141.08L147.489 89.0002H143.974L139.118 74.5471H138.975L134.128 89.0002ZM134.244 81.8713H143.832V84.5169H134.244V81.8713Z" fill="#393939"/>
-<path d="M158.433 83.2651V75.3638H161.647V89.0002H158.531V86.5765H158.389C158.081 87.34 157.575 87.9644 156.871 88.4498C156.173 88.9351 155.311 89.1777 154.288 89.1777C153.394 89.1777 152.604 88.9795 151.917 88.5829C151.237 88.1805 150.704 87.5975 150.319 86.834C149.934 86.0646 149.742 85.1354 149.742 84.0463V75.3638H152.956V83.5492C152.956 84.4133 153.193 85.0998 153.666 85.6088C154.14 86.1178 154.761 86.3723 155.53 86.3723C156.004 86.3723 156.463 86.2569 156.906 86.0261C157.35 85.7953 157.714 85.452 157.998 84.9963C158.288 84.5346 158.433 83.9576 158.433 83.2651Z" fill="#393939"/>
-<path d="M170.012 89.2399C168.941 89.2399 167.982 88.9647 167.136 88.4142C166.29 87.8638 165.621 87.0648 165.13 86.0172C164.638 84.9696 164.393 83.6971 164.393 82.1998C164.393 80.6846 164.641 79.4062 165.138 78.3645C165.642 77.3169 166.319 76.5268 167.171 75.9941C168.024 75.4556 168.974 75.1863 170.021 75.1863C170.82 75.1863 171.477 75.3224 171.992 75.5946C172.507 75.861 172.915 76.1835 173.217 76.5623C173.519 76.9352 173.753 77.2873 173.919 77.6188H174.052V70.8184H177.274V89.0002H174.114V86.8517H173.919C173.753 87.1832 173.513 87.5353 173.2 87.9082C172.886 88.2752 172.472 88.5888 171.957 88.8493C171.442 89.1097 170.794 89.2399 170.012 89.2399ZM170.909 86.6032C171.59 86.6032 172.17 86.4197 172.649 86.0527C173.129 85.6799 173.493 85.162 173.741 84.4991C173.99 83.8362 174.114 83.0639 174.114 82.182C174.114 81.3001 173.99 80.5337 173.741 79.8826C173.498 79.2316 173.137 78.7256 172.658 78.3645C172.185 78.0035 171.602 77.823 170.909 77.823C170.193 77.823 169.595 78.0094 169.116 78.3823C168.636 78.7551 168.275 79.2701 168.033 79.927C167.79 80.584 167.669 81.3356 167.669 82.182C167.669 83.0343 167.79 83.7948 168.033 84.4636C168.281 85.1265 168.645 85.6503 169.125 86.035C169.61 86.4138 170.205 86.6032 170.909 86.6032Z" fill="#393939"/>
-<path d="M180.699 89.0002V75.3638H183.913V89.0002H180.699ZM182.315 73.4284C181.806 73.4284 181.368 73.2598 181.001 72.9224C180.634 72.5791 180.451 72.1678 180.451 71.6884C180.451 71.2031 180.634 70.7917 181.001 70.4544C181.368 70.1111 181.806 69.9395 182.315 69.9395C182.83 69.9395 183.268 70.1111 183.629 70.4544C183.996 70.7917 184.179 71.2031 184.179 71.6884C184.179 72.1678 183.996 72.5791 183.629 72.9224C183.268 73.2598 182.83 73.4284 182.315 73.4284Z" fill="#393939"/>
-<path d="M194.027 75.3638V77.8496H186.188V75.3638H194.027ZM188.123 72.0968H191.337V84.8986C191.337 85.3307 191.402 85.6621 191.532 85.8929C191.668 86.1178 191.846 86.2717 192.065 86.3546C192.284 86.4374 192.527 86.4789 192.793 86.4789C192.994 86.4789 193.178 86.4641 193.343 86.4345C193.515 86.4049 193.645 86.3783 193.734 86.3546L194.276 88.867C194.104 88.9262 193.858 88.9913 193.539 89.0623C193.225 89.1333 192.84 89.1748 192.385 89.1866C191.58 89.2103 190.855 89.089 190.209 88.8226C189.564 88.5504 189.052 88.1302 188.674 87.562C188.301 86.9938 188.117 86.2836 188.123 85.4313V72.0968Z" fill="#393939"/>
-<path d="M203.058 89.0002V70.8184H206.352V86.2392H214.359V89.0002H203.058Z" fill="#393939"/>
-<path d="M223.024 89.2665C221.693 89.2665 220.538 88.9735 219.562 88.3876C218.585 87.8017 217.828 86.9819 217.289 85.9284C216.756 84.8749 216.49 83.6439 216.49 82.2353C216.49 80.8266 216.756 79.5926 217.289 78.5332C217.828 77.4738 218.585 76.6511 219.562 76.0652C220.538 75.4792 221.693 75.1863 223.024 75.1863C224.356 75.1863 225.51 75.4792 226.487 76.0652C227.463 76.6511 228.218 77.4738 228.75 78.5332C229.289 79.5926 229.558 80.8266 229.558 82.2353C229.558 83.6439 229.289 84.8749 228.75 85.9284C228.218 86.9819 227.463 87.8017 226.487 88.3876C225.51 88.9735 224.356 89.2665 223.024 89.2665ZM223.042 86.6919C223.764 86.6919 224.368 86.4937 224.853 86.0971C225.338 85.6947 225.699 85.1561 225.936 84.4814C226.179 83.8066 226.3 83.055 226.3 82.2264C226.3 81.3919 226.179 80.6373 225.936 79.9625C225.699 79.2819 225.338 78.7404 224.853 78.3379C224.368 77.9354 223.764 77.7342 223.042 77.7342C222.302 77.7342 221.687 77.9354 221.195 78.3379C220.71 78.7404 220.346 79.2819 220.103 79.9625C219.867 80.6373 219.748 81.3919 219.748 82.2264C219.748 83.055 219.867 83.8066 220.103 84.4814C220.346 85.1561 220.71 85.6947 221.195 86.0971C221.687 86.4937 222.302 86.6919 223.042 86.6919Z" fill="#393939"/>
-<path d="M238.216 94.3979C237.062 94.3979 236.071 94.2411 235.242 93.9274C234.414 93.6196 233.748 93.2053 233.245 92.6845C232.742 92.1636 232.393 91.5866 232.197 90.9533L235.091 90.252C235.222 90.5183 235.411 90.7817 235.66 91.0421C235.908 91.3084 236.243 91.5274 236.663 91.699C237.089 91.8766 237.625 91.9654 238.27 91.9654C239.181 91.9654 239.936 91.7434 240.534 91.2995C241.131 90.8616 241.43 90.1395 241.43 89.1333V86.5499H241.27C241.105 86.8813 240.862 87.2217 240.542 87.5708C240.229 87.92 239.811 88.213 239.291 88.4498C238.776 88.6865 238.128 88.8049 237.346 88.8049C236.299 88.8049 235.349 88.5592 234.497 88.068C233.65 87.5708 232.976 86.831 232.472 85.8485C231.975 84.8601 231.727 83.6232 231.727 82.1376C231.727 80.6402 231.975 79.3766 232.472 78.3468C232.976 77.311 233.653 76.5268 234.505 75.9941C235.358 75.4556 236.308 75.1863 237.355 75.1863C238.154 75.1863 238.811 75.3224 239.326 75.5946C239.847 75.861 240.261 76.1835 240.569 76.5623C240.877 76.9352 241.111 77.2873 241.27 77.6188H241.448V75.3638H244.617V89.2221C244.617 90.3881 244.339 91.3528 243.783 92.1163C243.226 92.8798 242.466 93.4509 241.501 93.8297C240.536 94.2085 239.442 94.3979 238.216 94.3979ZM238.243 86.2836C238.924 86.2836 239.504 86.1178 239.983 85.7864C240.463 85.455 240.827 84.9785 241.075 84.3571C241.324 83.7356 241.448 82.9899 241.448 82.1199C241.448 81.2617 241.324 80.51 241.075 79.8649C240.832 79.2198 240.471 78.7196 239.992 78.3645C239.519 78.0035 238.936 77.823 238.243 77.823C237.527 77.823 236.929 78.0094 236.45 78.3823C235.97 78.7551 235.609 79.2671 235.367 79.9181C235.124 80.5633 235.003 81.2972 235.003 82.1199C235.003 82.9544 235.124 83.6853 235.367 84.3127C235.615 84.9341 235.979 85.4194 236.459 85.7686C236.944 86.1119 237.539 86.2836 238.243 86.2836Z" fill="#393939"/>
-<path d="M258.689 78.9682L255.759 79.2878C255.676 78.9919 255.531 78.7137 255.324 78.4533C255.123 78.1929 254.851 77.9828 254.507 77.823C254.164 77.6632 253.744 77.5833 253.247 77.5833C252.578 77.5833 252.016 77.7283 251.56 78.0183C251.11 78.3083 250.888 78.6841 250.894 79.1458C250.888 79.5423 251.033 79.8649 251.329 80.1135C251.631 80.362 252.128 80.5662 252.82 80.726L255.146 81.2232C256.437 81.5014 257.396 81.9423 258.023 82.546C258.656 83.1497 258.976 83.9398 258.982 84.9164C258.976 85.7746 258.724 86.5321 258.227 87.1891C257.736 87.8401 257.052 88.3491 256.176 88.7161C255.3 89.083 254.294 89.2665 253.158 89.2665C251.489 89.2665 250.145 88.9173 249.127 88.2189C248.109 87.5146 247.503 86.5351 247.307 85.2804L250.441 84.9785C250.583 85.594 250.885 86.0587 251.347 86.3723C251.808 86.686 252.409 86.8429 253.149 86.8429C253.912 86.8429 254.525 86.686 254.987 86.3723C255.454 86.0587 255.688 85.671 255.688 85.2093C255.688 84.8187 255.537 84.4962 255.235 84.2417C254.939 83.9872 254.478 83.7918 253.85 83.6557L251.524 83.1674C250.216 82.8952 249.249 82.4365 248.621 81.7914C247.994 81.1403 247.683 80.3176 247.689 79.3233C247.683 78.4829 247.911 77.7549 248.373 77.1394C248.84 76.5179 249.488 76.0385 250.317 75.7012C251.151 75.3579 252.113 75.1863 253.202 75.1863C254.8 75.1863 256.058 75.5266 256.975 76.2072C257.899 76.8878 258.47 77.8082 258.689 78.9682Z" fill="#393939"/>
-<path d="M148 207C148 211.971 143.971 216 139 216C134.029 216 130 211.971 130 207C130 202.029 134.029 198 139 198C143.971 198 148 202.029 148 207Z" fill="#FFDEDE"/>
+<path d="M138.128 101H134.613L141.013 82.8182H145.08L151.489 101H147.974L143.118 86.5469H142.975L138.128 101ZM138.244 93.8711H147.832V96.5167H138.244V93.8711ZM162.434 95.2649V87.3636H165.647V101H162.531V98.5763H162.389C162.081 99.3398 161.575 99.9643 160.871 100.45C160.173 100.935 159.311 101.178 158.288 101.178C157.394 101.178 156.604 100.979 155.917 100.583C155.237 100.18 154.704 99.5973 154.319 98.8338C153.934 98.0644 153.742 97.1352 153.742 96.0462V87.3636H156.956V95.549C156.956 96.4131 157.193 97.0997 157.666 97.6087C158.14 98.1177 158.761 98.3722 159.53 98.3722C160.004 98.3722 160.463 98.2567 160.907 98.0259C161.35 97.7951 161.714 97.4518 161.998 96.9961C162.289 96.5344 162.434 95.9574 162.434 95.2649ZM174.012 101.24C172.941 101.24 171.982 100.964 171.136 100.414C170.29 99.8636 169.621 99.0646 169.13 98.017C168.638 96.9695 168.393 95.697 168.393 94.1996C168.393 92.6844 168.641 91.406 169.138 90.3643C169.642 89.3168 170.319 88.5266 171.172 87.994C172.024 87.4554 172.974 87.1861 174.021 87.1861C174.82 87.1861 175.477 87.3222 175.992 87.5945C176.507 87.8608 176.915 88.1834 177.217 88.5621C177.519 88.935 177.753 89.2872 177.919 89.6186H178.052V82.8182H181.275V101H178.114V98.8516H177.919C177.753 99.183 177.513 99.5352 177.2 99.908C176.886 100.275 176.472 100.589 175.957 100.849C175.442 101.109 174.794 101.24 174.012 101.24ZM174.909 98.603C175.59 98.603 176.17 98.4195 176.649 98.0526C177.129 97.6797 177.493 97.1618 177.741 96.4989C177.99 95.8361 178.114 95.0637 178.114 94.1818C178.114 93.3 177.99 92.5335 177.741 91.8825C177.498 91.2314 177.137 90.7254 176.658 90.3643C176.185 90.0033 175.602 89.8228 174.909 89.8228C174.193 89.8228 173.595 90.0092 173.116 90.3821C172.636 90.755 172.275 91.2699 172.033 91.9268C171.79 92.5838 171.669 93.3355 171.669 94.1818C171.669 95.0341 171.79 95.7946 172.033 96.4634C172.281 97.1263 172.645 97.6501 173.125 98.0348C173.61 98.4136 174.205 98.603 174.909 98.603ZM184.699 101V87.3636H187.913V101H184.699ZM186.315 85.4283C185.806 85.4283 185.368 85.2596 185.001 84.9222C184.634 84.579 184.451 84.1676 184.451 83.6882C184.451 83.2029 184.634 82.7915 185.001 82.4542C185.368 82.1109 185.806 81.9393 186.315 81.9393C186.83 81.9393 187.268 82.1109 187.629 82.4542C187.996 82.7915 188.179 83.2029 188.179 83.6882C188.179 84.1676 187.996 84.579 187.629 84.9222C187.268 85.2596 186.83 85.4283 186.315 85.4283ZM198.027 87.3636V89.8494H190.188V87.3636H198.027ZM192.123 84.0966H195.337V96.8984C195.337 97.3305 195.402 97.6619 195.532 97.8928C195.668 98.1177 195.846 98.2715 196.065 98.3544C196.284 98.4373 196.527 98.4787 196.793 98.4787C196.994 98.4787 197.178 98.4639 197.343 98.4343C197.515 98.4047 197.645 98.3781 197.734 98.3544L198.276 100.867C198.104 100.926 197.858 100.991 197.539 101.062C197.225 101.133 196.84 101.175 196.385 101.186C195.58 101.21 194.855 101.089 194.21 100.822C193.564 100.55 193.052 100.13 192.674 99.5618C192.301 98.9936 192.117 98.2834 192.123 97.4311V84.0966ZM207.058 101V82.8182H210.352V98.239H218.359V101H207.058ZM227.024 101.266C225.693 101.266 224.538 100.973 223.562 100.387C222.585 99.8015 221.828 98.9818 221.289 97.9283C220.756 96.8748 220.49 95.6437 220.49 94.2351C220.49 92.8265 220.756 91.5924 221.289 90.533C221.828 89.4736 222.585 88.6509 223.562 88.065C224.538 87.479 225.693 87.1861 227.024 87.1861C228.356 87.1861 229.51 87.479 230.487 88.065C231.463 88.6509 232.218 89.4736 232.75 90.533C233.289 91.5924 233.558 92.8265 233.558 94.2351C233.558 95.6437 233.289 96.8748 232.75 97.9283C232.218 98.9818 231.463 99.8015 230.487 100.387C229.51 100.973 228.356 101.266 227.024 101.266ZM227.042 98.6918C227.764 98.6918 228.368 98.4935 228.853 98.0969C229.338 97.6945 229.699 97.1559 229.936 96.4812C230.179 95.8065 230.3 95.0548 230.3 94.2262C230.3 93.3917 230.179 92.6371 229.936 91.9624C229.699 91.2817 229.338 90.7402 228.853 90.3377C228.368 89.9353 227.764 89.734 227.042 89.734C226.302 89.734 225.687 89.9353 225.195 90.3377C224.71 90.7402 224.346 91.2817 224.103 91.9624C223.867 92.6371 223.748 93.3917 223.748 94.2262C223.748 95.0548 223.867 95.8065 224.103 96.4812C224.346 97.1559 224.71 97.6945 225.195 98.0969C225.687 98.4935 226.302 98.6918 227.042 98.6918ZM242.216 106.398C241.062 106.398 240.071 106.241 239.242 105.927C238.414 105.619 237.748 105.205 237.245 104.684C236.742 104.163 236.393 103.586 236.197 102.953L239.091 102.252C239.222 102.518 239.411 102.781 239.66 103.042C239.908 103.308 240.243 103.527 240.663 103.699C241.089 103.876 241.625 103.965 242.27 103.965C243.181 103.965 243.936 103.743 244.534 103.299C245.131 102.861 245.43 102.139 245.43 101.133V98.5497H245.27C245.105 98.8812 244.862 99.2215 244.542 99.5707C244.229 99.9199 243.811 100.213 243.291 100.45C242.776 100.686 242.128 100.805 241.346 100.805C240.299 100.805 239.349 100.559 238.497 100.068C237.65 99.5707 236.976 98.8308 236.472 97.8484C235.975 96.86 235.727 95.623 235.727 94.1374C235.727 92.64 235.975 91.3764 236.472 90.3466C236.976 89.3108 237.653 88.5266 238.506 87.994C239.358 87.4554 240.308 87.1861 241.355 87.1861C242.154 87.1861 242.811 87.3222 243.326 87.5945C243.847 87.8608 244.261 88.1834 244.569 88.5621C244.877 88.935 245.111 89.2872 245.27 89.6186H245.448V87.3636H248.617V101.222C248.617 102.388 248.339 103.353 247.783 104.116C247.227 104.88 246.466 105.451 245.501 105.83C244.537 106.208 243.442 106.398 242.216 106.398ZM242.243 98.2834C242.924 98.2834 243.504 98.1177 243.983 97.7862C244.463 97.4548 244.827 96.9783 245.075 96.3569C245.324 95.7354 245.448 94.9897 245.448 94.1197C245.448 93.2615 245.324 92.5098 245.075 91.8647C244.832 91.2196 244.471 90.7195 243.992 90.3643C243.519 90.0033 242.936 89.8228 242.243 89.8228C241.527 89.8228 240.929 90.0092 240.45 90.3821C239.97 90.755 239.609 91.2669 239.367 91.918C239.124 92.5631 239.003 93.297 239.003 94.1197C239.003 94.9542 239.124 95.6851 239.367 96.3125C239.615 96.9339 239.979 97.4193 240.459 97.7685C240.944 98.1117 241.539 98.2834 242.243 98.2834ZM262.689 90.968L259.759 91.2876C259.676 90.9917 259.531 90.7135 259.324 90.4531C259.123 90.1927 258.851 89.9826 258.507 89.8228C258.164 89.663 257.744 89.5831 257.247 89.5831C256.578 89.5831 256.016 89.7281 255.56 90.0181C255.11 90.3081 254.888 90.6839 254.894 91.1456C254.888 91.5421 255.033 91.8647 255.329 92.1133C255.631 92.3619 256.128 92.5661 256.82 92.7259L259.146 93.223C260.437 93.5012 261.396 93.9421 262.023 94.5458C262.656 95.1495 262.976 95.9396 262.982 96.9162C262.976 97.7744 262.724 98.532 262.227 99.1889C261.736 99.84 261.052 100.349 260.176 100.716C259.3 101.083 258.294 101.266 257.158 101.266C255.489 101.266 254.145 100.917 253.127 100.219C252.109 99.5144 251.503 98.5349 251.307 97.2802L254.441 96.9783C254.583 97.5939 254.885 98.0585 255.347 98.3722C255.808 98.6858 256.409 98.8427 257.149 98.8427C257.912 98.8427 258.525 98.6858 258.987 98.3722C259.454 98.0585 259.688 97.6708 259.688 97.2092C259.688 96.8185 259.537 96.496 259.235 96.2415C258.939 95.987 258.478 95.7917 257.85 95.6555L255.524 95.1673C254.216 94.895 253.249 94.4363 252.621 93.7912C251.994 93.1402 251.683 92.3175 251.689 91.3232C251.683 90.4827 251.911 89.7547 252.373 89.1392C252.84 88.5178 253.488 88.0384 254.317 87.701C255.151 87.3577 256.113 87.1861 257.202 87.1861C258.8 87.1861 260.058 87.5264 260.975 88.207C261.899 88.8877 262.47 89.808 262.689 90.968Z" fill="#393939"/>
+<circle cx="143" cy="219" r="9" fill="#FFDEDE"/>
<g opacity="0.7">
-<path d="M178 167H329.334V175.294H178V167Z" fill="#D9D9D9"/>
-<path d="M351.83 167H568.606V175.294H351.83V167Z" fill="#D9D9D9"/>
-<path d="M647 167H591.102V175.294H647V167Z" fill="#D9D9D9"/>
-</g>
-<path d="M148 169C148 173.971 143.971 178 139 178C134.029 178 130 173.971 130 169C130 164.029 134.029 160 139 160C143.971 160 148 164.029 148 169Z" fill="#FFDEDE"/>
-<g filter="url(#filter2_d_625_11871)">
-<path d="M50 224H783V429H50V224Z" fill="white"/>
-</g>
-<g filter="url(#filter3_d_625_11871)">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M782 225H51V428H782V225ZM50 224V429H783V224H50Z" fill="#E7E7E7"/>
+<rect x="182" y="179" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="355.83" y="179" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 651 179)" fill="#D9D9D9"/>
</g>
+<circle cx="143" cy="181" r="9" fill="#FFDEDE"/>
+<g filter="url(#filter1_d_625_11871)">
+<rect x="51" y="205" width="733" height="243" fill="white"/>
+<rect x="51.5" y="205.5" width="732" height="242" stroke="#E7E7E7"/>
+</g>
+<path d="M103.4 223.858V224.458H104H108.4V225.202H107H106.4V225.802V238.438C106.4 238.531 106.362 238.624 106.289 238.695C106.215 238.767 106.111 238.81 106 238.81H92C91.8885 238.81 91.7849 238.767 91.7111 238.695C91.6379 238.624 91.6 238.531 91.6 238.438V225.802V225.202H91H89.6V224.458H94H94.6V223.858V220.942C94.6 220.849 94.6379 220.756 94.7111 220.685C94.7849 220.613 94.8885 220.57 95 220.57H103C103.111 220.57 103.215 220.613 103.289 220.685C103.362 220.756 103.4 220.849 103.4 220.942V223.858ZM105.6 225.802V225.202H105H93H92.4V225.802V237.466V238.066H93H105H105.6V237.466V225.802ZM96 221.314H95.4V221.914V223.858V224.458H96H102H102.6V223.858V221.914V221.314H102H96Z" stroke="#F86A2B" stroke-width="1.2"/>
+<path d="M127.573 234.429C129.87 234.429 131.34 233.253 131.34 231.366V231.359C131.34 229.896 130.492 229.062 128.421 228.618L127.348 228.379C126.069 228.105 125.55 227.627 125.55 226.896V226.889C125.55 225.959 126.404 225.419 127.56 225.419C128.756 225.412 129.528 226 129.658 226.807L129.672 226.896H131.155L131.148 226.8C131.039 225.269 129.672 224.086 127.58 224.086C125.488 224.086 124.012 225.262 124.005 226.964V226.971C124.005 228.427 124.866 229.356 126.869 229.78L127.949 230.013C129.255 230.293 129.788 230.785 129.788 231.544V231.551C129.788 232.467 128.893 233.096 127.635 233.096C126.315 233.096 125.365 232.521 125.283 231.626L125.276 231.551H123.772L123.779 231.64C123.916 233.301 125.345 234.429 127.573 234.429ZM135.182 234.312C136.166 234.312 136.945 233.889 137.383 233.137H137.499V234.189H138.969V229.11C138.969 227.552 137.916 226.622 136.05 226.622C134.361 226.622 133.192 227.436 133.015 228.652L133.008 228.7H134.437L134.443 228.673C134.621 228.146 135.161 227.846 135.981 227.846C136.986 227.846 137.499 228.297 137.499 229.11V229.767L135.489 229.883C133.719 229.992 132.721 230.765 132.721 232.091V232.104C132.721 233.451 133.767 234.312 135.182 234.312ZM134.197 232.043V232.029C134.197 231.359 134.662 230.99 135.688 230.929L137.499 230.812V231.448C137.499 232.405 136.686 233.13 135.578 233.13C134.778 233.13 134.197 232.727 134.197 232.043ZM141.129 234.189H142.612V223.854H141.129V234.189ZM147.938 234.333C149.838 234.333 150.863 233.239 151.109 232.262L151.123 232.2L149.694 232.207L149.667 232.262C149.489 232.645 148.922 233.116 147.972 233.116C146.748 233.116 145.969 232.289 145.941 230.867H151.205V230.348C151.205 228.119 149.934 226.622 147.862 226.622C145.791 226.622 144.451 228.174 144.451 230.491V230.498C144.451 232.85 145.764 234.333 147.938 234.333ZM147.869 227.839C148.874 227.839 149.619 228.481 149.735 229.808H145.962C146.092 228.529 146.857 227.839 147.869 227.839ZM155.669 234.333C157.433 234.333 158.745 233.396 158.745 232.022V232.009C158.745 230.936 158.062 230.327 156.633 229.992L155.457 229.726C154.623 229.527 154.281 229.24 154.281 228.775V228.762C154.281 228.167 154.869 227.764 155.683 227.764C156.517 227.764 157.043 228.153 157.187 228.673V228.687H158.602V228.68C158.472 227.47 157.385 226.622 155.689 226.622C154.008 226.622 152.805 227.552 152.805 228.844V228.851C152.805 229.938 153.454 230.573 154.855 230.895L156.038 231.168C156.899 231.366 157.248 231.681 157.248 232.146V232.159C157.248 232.768 156.612 233.185 155.696 233.185C154.814 233.185 154.274 232.809 154.09 232.248L154.083 232.241H152.6V232.248C152.743 233.492 153.878 234.333 155.669 234.333ZM168.562 234.429C170.763 234.429 172.369 233.171 172.656 231.277V231.236H171.139L171.125 231.264C170.845 232.378 169.867 233.075 168.562 233.075C166.784 233.075 165.677 231.605 165.677 229.268V229.254C165.677 226.909 166.784 225.439 168.555 225.439C169.854 225.439 170.845 226.226 171.132 227.436V227.456H172.649L172.656 227.422C172.396 225.46 170.729 224.086 168.555 224.086C165.813 224.086 164.111 226.068 164.111 229.254V229.268C164.111 232.446 165.82 234.429 168.562 234.429ZM174.673 234.189H176.204V230.396H178.364L180.374 234.189H182.145L179.93 230.156C181.133 229.753 181.844 228.673 181.844 227.347V227.333C181.844 225.501 180.586 224.325 178.562 224.325H174.673V234.189ZM176.204 229.151V225.61H178.364C179.547 225.61 180.271 226.28 180.271 227.374V227.388C180.271 228.509 179.588 229.151 178.412 229.151H176.204ZM184.024 234.189H185.419V226.95H185.528L188.42 234.189H189.555L192.453 226.95H192.556V234.189H193.95V224.325H192.187L189.042 232.193H188.933L185.788 224.325H184.024V234.189ZM202.789 234.312C203.828 234.312 204.642 233.834 205.072 233.021H205.188V234.189H206.665V223.854H205.188V227.941H205.072C204.676 227.142 203.808 226.636 202.789 226.636C200.902 226.636 199.713 228.119 199.713 230.471V230.484C199.713 232.815 200.923 234.312 202.789 234.312ZM203.213 233.048C201.969 233.048 201.224 232.077 201.224 230.484V230.471C201.224 228.878 201.969 227.907 203.213 227.907C204.443 227.907 205.209 228.885 205.209 230.471V230.484C205.209 232.07 204.45 233.048 203.213 233.048ZM211.99 234.333C213.891 234.333 214.916 233.239 215.162 232.262L215.176 232.2L213.747 232.207L213.72 232.262C213.542 232.645 212.975 233.116 212.024 233.116C210.801 233.116 210.021 232.289 209.994 230.867H215.258V230.348C215.258 228.119 213.986 226.622 211.915 226.622C209.844 226.622 208.504 228.174 208.504 230.491V230.498C208.504 232.85 209.816 234.333 211.99 234.333ZM211.922 227.839C212.927 227.839 213.672 228.481 213.788 229.808H210.015C210.145 228.529 210.91 227.839 211.922 227.839ZM217.09 234.189H218.573V223.854H217.09V234.189ZM223.898 234.333C225.799 234.333 226.824 233.239 227.07 232.262L227.084 232.2L225.655 232.207L225.628 232.262C225.45 232.645 224.883 233.116 223.933 233.116C222.709 233.116 221.93 232.289 221.902 230.867H227.166V230.348C227.166 228.119 225.895 226.622 223.823 226.622C221.752 226.622 220.412 228.174 220.412 230.491V230.498C220.412 232.85 221.725 234.333 223.898 234.333ZM223.83 227.839C224.835 227.839 225.58 228.481 225.696 229.808H221.923C222.053 228.529 222.818 227.839 223.83 227.839ZM231.732 234.237C232.02 234.237 232.293 234.203 232.532 234.162V232.979C232.327 233 232.197 233.007 231.972 233.007C231.24 233.007 230.939 232.679 230.939 231.879V227.935H232.532V226.766H230.939V224.893H229.429V226.766H228.267V227.935H229.429V232.234C229.429 233.663 230.099 234.237 231.732 234.237ZM237.297 234.333C239.197 234.333 240.223 233.239 240.469 232.262L240.482 232.2L239.054 232.207L239.026 232.262C238.849 232.645 238.281 233.116 237.331 233.116C236.107 233.116 235.328 232.289 235.301 230.867H240.564V230.348C240.564 228.119 239.293 226.622 237.222 226.622C235.15 226.622 233.811 228.174 233.811 230.491V230.498C233.811 232.85 235.123 234.333 237.297 234.333ZM237.229 227.839C238.233 227.839 238.979 228.481 239.095 229.808H235.321C235.451 228.529 236.217 227.839 237.229 227.839ZM245.035 234.312C246.074 234.312 246.888 233.834 247.318 233.021H247.435V234.189H248.911V223.854H247.435V227.941H247.318C246.922 227.142 246.054 226.636 245.035 226.636C243.148 226.636 241.959 228.119 241.959 230.471V230.484C241.959 232.815 243.169 234.312 245.035 234.312ZM245.459 233.048C244.215 233.048 243.47 232.077 243.47 230.484V230.471C243.47 228.878 244.215 227.907 245.459 227.907C246.689 227.907 247.455 228.885 247.455 230.471V230.484C247.455 232.07 246.696 233.048 245.459 233.048ZM255.72 225.439C256.226 225.439 256.649 225.022 256.649 224.517C256.649 224.004 256.226 223.587 255.72 223.587C255.207 223.587 254.79 224.004 254.79 224.517C254.79 225.022 255.207 225.439 255.72 225.439ZM254.975 234.189H256.451V226.766H254.975V234.189ZM258.611 234.189H260.095V229.835C260.095 228.639 260.771 227.894 261.858 227.894C262.945 227.894 263.458 228.502 263.458 229.732V234.189H264.935V229.384C264.935 227.613 264.019 226.622 262.357 226.622C261.277 226.622 260.566 227.101 260.204 227.894H260.095V226.766H258.611V234.189ZM271.005 234.189H275.059C277.164 234.189 278.429 233.137 278.429 231.407V231.394C278.429 230.108 277.54 229.165 276.207 229.021V228.905C277.178 228.741 277.937 227.818 277.937 226.793V226.779C277.937 225.269 276.822 224.325 274.97 224.325H271.005V234.189ZM274.614 225.576C275.749 225.576 276.412 226.116 276.412 227.046V227.06C276.412 228.017 275.708 228.522 274.354 228.522H272.536V225.576H274.614ZM274.662 229.691C276.104 229.691 276.863 230.238 276.863 231.298V231.312C276.863 232.371 276.132 232.938 274.751 232.938H272.536V229.691H274.662ZM282.264 234.312C283.248 234.312 284.027 233.889 284.465 233.137H284.581V234.189H286.051V229.11C286.051 227.552 284.998 226.622 283.132 226.622C281.443 226.622 280.274 227.436 280.097 228.652L280.09 228.7H281.519L281.525 228.673C281.703 228.146 282.243 227.846 283.063 227.846C284.068 227.846 284.581 228.297 284.581 229.11V229.767L282.571 229.883C280.801 229.992 279.803 230.765 279.803 232.091V232.104C279.803 233.451 280.849 234.312 282.264 234.312ZM281.279 232.043V232.029C281.279 231.359 281.744 230.99 282.77 230.929L284.581 230.812V231.448C284.581 232.405 283.768 233.13 282.66 233.13C281.86 233.13 281.279 232.727 281.279 232.043ZM291.267 234.333C293.105 234.333 294.165 233.342 294.432 231.899L294.445 231.838H293.023L293.01 231.872C292.771 232.672 292.196 233.096 291.267 233.096C290.043 233.096 289.284 232.098 289.284 230.457V230.443C289.284 228.844 290.029 227.859 291.267 227.859C292.251 227.859 292.853 228.406 293.017 229.138L293.023 229.158L294.445 229.151V229.117C294.24 227.675 293.126 226.622 291.26 226.622C289.093 226.622 287.773 228.092 287.773 230.443V230.457C287.773 232.856 289.1 234.333 291.267 234.333ZM296.195 234.189H297.679V231.489L298.314 230.854L300.871 234.189H302.676L299.374 229.896L302.471 226.766H300.734L297.788 229.896H297.679V223.854H296.195V234.189ZM306.791 234.333C308.965 234.333 310.298 232.877 310.298 230.484V230.471C310.298 228.078 308.958 226.622 306.791 226.622C304.617 226.622 303.277 228.085 303.277 230.471V230.484C303.277 232.877 304.61 234.333 306.791 234.333ZM306.791 233.096C305.513 233.096 304.795 232.132 304.795 230.484V230.471C304.795 228.823 305.513 227.859 306.791 227.859C308.062 227.859 308.787 228.823 308.787 230.471V230.484C308.787 232.125 308.062 233.096 306.791 233.096ZM312.595 234.189H314.071V227.935H315.705V226.766H314.058V226.055C314.058 225.303 314.379 224.906 315.199 224.906C315.432 224.906 315.63 224.92 315.767 224.94V223.854C315.514 223.812 315.227 223.785 314.892 223.785C313.347 223.785 312.595 224.51 312.595 225.986V226.766H311.371V227.935H312.595V234.189ZM317.927 234.189H319.403V227.935H321.037V226.766H319.39V226.055C319.39 225.303 319.711 224.906 320.531 224.906C320.764 224.906 320.962 224.92 321.099 224.94V223.854C320.846 223.812 320.559 223.785 320.224 223.785C318.679 223.785 317.927 224.51 317.927 225.986V226.766H316.703V227.935H317.927V234.189ZM323.478 225.439C323.983 225.439 324.407 225.022 324.407 224.517C324.407 224.004 323.983 223.587 323.478 223.587C322.965 223.587 322.548 224.004 322.548 224.517C322.548 225.022 322.965 225.439 323.478 225.439ZM322.732 234.189H324.209V226.766H322.732V234.189ZM329.493 234.333C331.332 234.333 332.392 233.342 332.658 231.899L332.672 231.838H331.25L331.236 231.872C330.997 232.672 330.423 233.096 329.493 233.096C328.27 233.096 327.511 232.098 327.511 230.457V230.443C327.511 228.844 328.256 227.859 329.493 227.859C330.478 227.859 331.079 228.406 331.243 229.138L331.25 229.158L332.672 229.151V229.117C332.467 227.675 331.353 226.622 329.486 226.622C327.319 226.622 326 228.092 326 230.443V230.457C326 232.856 327.326 234.333 329.493 234.333ZM337.471 234.333C339.371 234.333 340.396 233.239 340.643 232.262L340.656 232.2L339.228 232.207L339.2 232.262C339.022 232.645 338.455 233.116 337.505 233.116C336.281 233.116 335.502 232.289 335.475 230.867H340.738V230.348C340.738 228.119 339.467 226.622 337.396 226.622C335.324 226.622 333.984 228.174 333.984 230.491V230.498C333.984 232.85 335.297 234.333 337.471 234.333ZM337.402 227.839C338.407 227.839 339.152 228.481 339.269 229.808H335.495C335.625 228.529 336.391 227.839 337.402 227.839Z" fill="#393939"/>
+<path d="M355.107 234.483H356.297V229.917C356.297 228.837 357.104 228.119 358.238 228.119C358.498 228.119 358.724 228.146 358.97 228.188V227.032C358.854 227.012 358.601 226.984 358.375 226.984C357.377 226.984 356.687 227.436 356.406 228.208H356.297V227.114H355.107V234.483ZM363.263 234.613C365.361 234.613 366.66 233.164 366.66 230.806V230.792C366.66 228.427 365.361 226.984 363.263 226.984C361.164 226.984 359.865 228.427 359.865 230.792V230.806C359.865 233.164 361.164 234.613 363.263 234.613ZM363.263 233.561C361.868 233.561 361.082 232.542 361.082 230.806V230.792C361.082 229.049 361.868 228.037 363.263 228.037C364.657 228.037 365.443 229.049 365.443 230.792V230.806C365.443 232.542 364.657 233.561 363.263 233.561ZM368.506 234.483H369.695V229.917C369.695 228.878 370.427 228.037 371.391 228.037C372.32 228.037 372.922 228.604 372.922 229.479V234.483H374.111V229.746C374.111 228.81 374.788 228.037 375.813 228.037C376.853 228.037 377.352 228.577 377.352 229.664V234.483H378.541V229.391C378.541 227.846 377.7 226.984 376.196 226.984C375.178 226.984 374.337 227.497 373.94 228.276H373.831C373.489 227.511 372.792 226.984 371.794 226.984C370.83 226.984 370.133 227.442 369.805 228.235H369.695V227.114H368.506V234.483ZM382.711 234.613C383.702 234.613 384.475 234.183 384.939 233.396H385.049V234.483H386.238V229.438C386.238 227.907 385.233 226.984 383.436 226.984C381.863 226.984 380.742 227.764 380.551 228.919L380.544 228.96H381.733L381.74 228.939C381.932 228.365 382.513 228.037 383.395 228.037C384.495 228.037 385.049 228.529 385.049 229.438V230.108L382.937 230.238C381.221 230.341 380.25 231.1 380.25 232.412V232.426C380.25 233.766 381.31 234.613 382.711 234.613ZM381.467 232.398V232.385C381.467 231.653 381.959 231.257 383.08 231.188L385.049 231.065V231.735C385.049 232.788 384.167 233.581 382.957 233.581C382.103 233.581 381.467 233.144 381.467 232.398ZM389.041 225.692C389.492 225.692 389.861 225.323 389.861 224.872C389.861 224.421 389.492 224.052 389.041 224.052C388.59 224.052 388.221 224.421 388.221 224.872C388.221 225.323 388.59 225.692 389.041 225.692ZM388.439 234.483H389.629V227.114H388.439V234.483ZM391.871 234.483H393.061V230.122C393.061 228.83 393.806 228.037 394.981 228.037C396.157 228.037 396.704 228.673 396.704 229.999V234.483H397.894V229.712C397.894 227.962 396.971 226.984 395.316 226.984C394.229 226.984 393.539 227.442 393.17 228.222H393.061V227.114H391.871V234.483ZM402.07 234.613C403.062 234.613 403.834 234.183 404.299 233.396H404.408V234.483H405.598V229.438C405.598 227.907 404.593 226.984 402.795 226.984C401.223 226.984 400.102 227.764 399.91 228.919L399.903 228.96H401.093L401.1 228.939C401.291 228.365 401.872 228.037 402.754 228.037C403.854 228.037 404.408 228.529 404.408 229.438V230.108L402.296 230.238C400.58 230.341 399.609 231.1 399.609 232.412V232.426C399.609 233.766 400.669 234.613 402.07 234.613ZM400.826 232.398V232.385C400.826 231.653 401.318 231.257 402.439 231.188L404.408 231.065V231.735C404.408 232.788 403.526 233.581 402.316 233.581C401.462 233.581 400.826 233.144 400.826 232.398ZM413.404 236.083C414.266 236.083 415.093 235.96 415.708 235.748V234.887C415.277 235.085 414.354 235.215 413.418 235.215C410.492 235.215 408.605 233.335 408.605 230.423V230.409C408.605 227.572 410.526 225.535 413.199 225.535C415.934 225.535 417.807 227.224 417.807 229.685V229.698C417.807 231.373 417.253 232.46 416.392 232.46C415.899 232.46 415.619 232.18 415.619 231.701V227.688H414.587V228.522H414.478C414.211 227.928 413.596 227.559 412.878 227.559C411.477 227.559 410.499 228.721 410.499 230.375V230.389C410.499 232.118 411.456 233.287 412.878 233.287C413.678 233.287 414.293 232.897 414.587 232.2H414.696L414.703 232.241C414.812 232.904 415.414 233.349 416.2 233.349C417.772 233.349 418.771 231.934 418.771 229.712V229.698C418.771 226.738 416.521 224.674 413.288 224.674C409.938 224.674 407.642 226.991 407.642 230.368V230.382C407.642 233.868 409.877 236.083 413.404 236.083ZM413.035 232.323C412.14 232.323 411.593 231.599 411.593 230.416V230.402C411.593 229.213 412.133 228.502 413.049 228.502C413.979 228.502 414.573 229.24 414.573 230.402V230.416C414.573 231.578 413.972 232.323 413.035 232.323ZM423.631 234.613C425.367 234.613 426.42 233.629 426.673 232.631L426.687 232.576H425.497L425.47 232.638C425.271 233.082 424.656 233.554 423.658 233.554C422.346 233.554 421.505 232.665 421.471 231.141H426.775V230.676C426.775 228.475 425.559 226.984 423.556 226.984C421.553 226.984 420.254 228.543 420.254 230.819V230.826C420.254 233.137 421.525 234.613 423.631 234.613ZM423.549 228.044C424.636 228.044 425.442 228.734 425.565 230.19H421.491C421.621 228.789 422.455 228.044 423.549 228.044ZM427.76 234.483H429.093L430.843 231.701H430.952L432.695 234.483H434.09L431.554 230.751L434.056 227.114H432.723L430.993 229.855H430.884L429.134 227.114H427.732L430.282 230.799L427.76 234.483ZM437.713 234.613C438.704 234.613 439.477 234.183 439.941 233.396H440.051V234.483H441.24V229.438C441.24 227.907 440.235 226.984 438.438 226.984C436.865 226.984 435.744 227.764 435.553 228.919L435.546 228.96H436.735L436.742 228.939C436.934 228.365 437.515 228.037 438.396 228.037C439.497 228.037 440.051 228.529 440.051 229.438V230.108L437.938 230.238C436.223 230.341 435.252 231.1 435.252 232.412V232.426C435.252 233.766 436.312 234.613 437.713 234.613ZM436.469 232.398V232.385C436.469 231.653 436.961 231.257 438.082 231.188L440.051 231.065V231.735C440.051 232.788 439.169 233.581 437.959 233.581C437.104 233.581 436.469 233.144 436.469 232.398ZM443.414 234.483H444.604V229.917C444.604 228.878 445.335 228.037 446.299 228.037C447.229 228.037 447.83 228.604 447.83 229.479V234.483H449.02V229.746C449.02 228.81 449.696 228.037 450.722 228.037C451.761 228.037 452.26 228.577 452.26 229.664V234.483H453.449V229.391C453.449 227.846 452.608 226.984 451.104 226.984C450.086 226.984 449.245 227.497 448.849 228.276H448.739C448.397 227.511 447.7 226.984 446.702 226.984C445.738 226.984 445.041 227.442 444.713 228.235H444.604V227.114H443.414V234.483ZM455.596 236.944H456.785V233.321H456.895C457.298 234.107 458.18 234.613 459.191 234.613C461.064 234.613 462.281 233.116 462.281 230.806V230.792C462.281 228.495 461.058 226.984 459.191 226.984C458.166 226.984 457.346 227.47 456.895 228.29H456.785V227.114H455.596V236.944ZM458.918 233.561C457.578 233.561 456.758 232.508 456.758 230.806V230.792C456.758 229.09 457.578 228.037 458.918 228.037C460.265 228.037 461.064 229.076 461.064 230.792V230.806C461.064 232.521 460.265 233.561 458.918 233.561ZM464.209 234.483H465.398V224.188H464.209V234.483ZM470.689 234.613C472.426 234.613 473.479 233.629 473.731 232.631L473.745 232.576H472.556L472.528 232.638C472.33 233.082 471.715 233.554 470.717 233.554C469.404 233.554 468.563 232.665 468.529 231.141H473.834V230.676C473.834 228.475 472.617 226.984 470.614 226.984C468.611 226.984 467.312 228.543 467.312 230.819V230.826C467.312 233.137 468.584 234.613 470.689 234.613ZM470.607 228.044C471.694 228.044 472.501 228.734 472.624 230.19H468.55C468.68 228.789 469.514 228.044 470.607 228.044ZM476.65 234.552C477.143 234.552 477.539 234.148 477.539 233.663C477.539 233.171 477.143 232.774 476.65 232.774C476.165 232.774 475.762 233.171 475.762 233.663C475.762 234.148 476.165 234.552 476.65 234.552ZM482.577 234.613C484.348 234.613 485.339 233.663 485.64 232.33L485.653 232.255L484.478 232.262L484.464 232.303C484.19 233.123 483.562 233.561 482.57 233.561C481.258 233.561 480.41 232.474 480.41 230.778V230.765C480.41 229.104 481.244 228.037 482.57 228.037C483.63 228.037 484.286 228.625 484.471 229.35L484.478 229.37H485.66L485.653 229.329C485.435 228.017 484.361 226.984 482.57 226.984C480.506 226.984 479.193 228.475 479.193 230.765V230.778C479.193 233.116 480.513 234.613 482.577 234.613ZM490.425 234.613C492.523 234.613 493.822 233.164 493.822 230.806V230.792C493.822 228.427 492.523 226.984 490.425 226.984C488.326 226.984 487.027 228.427 487.027 230.792V230.806C487.027 233.164 488.326 234.613 490.425 234.613ZM490.425 233.561C489.03 233.561 488.244 232.542 488.244 230.806V230.792C488.244 229.049 489.03 228.037 490.425 228.037C491.819 228.037 492.605 229.049 492.605 230.792V230.806C492.605 232.542 491.819 233.561 490.425 233.561ZM495.668 234.483H496.857V229.917C496.857 228.878 497.589 228.037 498.553 228.037C499.482 228.037 500.084 228.604 500.084 229.479V234.483H501.273V229.746C501.273 228.81 501.95 228.037 502.976 228.037C504.015 228.037 504.514 228.577 504.514 229.664V234.483H505.703V229.391C505.703 227.846 504.862 226.984 503.358 226.984C502.34 226.984 501.499 227.497 501.103 228.276H500.993C500.651 227.511 499.954 226.984 498.956 226.984C497.992 226.984 497.295 227.442 496.967 228.235H496.857V227.114H495.668V234.483Z" fill="#575757"/>
+<path d="M527.491 234.716C529.692 234.716 531.135 233.567 531.135 231.722V231.715C531.135 230.293 530.321 229.466 528.264 229.008L527.17 228.762C525.83 228.468 525.29 227.935 525.29 227.148V227.142C525.29 226.109 526.24 225.528 527.471 225.521C528.756 225.515 529.576 226.157 529.713 227.025L529.727 227.114H530.957L530.95 227.019C530.848 225.549 529.474 224.387 527.505 224.387C525.468 224.387 524.039 225.542 524.032 227.176V227.183C524.032 228.611 524.887 229.521 526.862 229.958L527.956 230.197C529.31 230.498 529.877 231.059 529.877 231.879V231.886C529.877 232.891 528.899 233.581 527.56 233.581C526.138 233.581 525.112 232.959 525.023 231.975L525.017 231.899H523.786L523.793 231.975C523.937 233.581 525.331 234.716 527.491 234.716ZM536.043 234.613C537.779 234.613 538.832 233.629 539.085 232.631L539.099 232.576H537.909L537.882 232.638C537.684 233.082 537.068 233.554 536.07 233.554C534.758 233.554 533.917 232.665 533.883 231.141H539.188V230.676C539.188 228.475 537.971 226.984 535.968 226.984C533.965 226.984 532.666 228.543 532.666 230.819V230.826C532.666 233.137 533.938 234.613 536.043 234.613ZM535.961 228.044C537.048 228.044 537.854 228.734 537.978 230.19H533.903C534.033 228.789 534.867 228.044 535.961 228.044ZM541.033 236.944H542.223V233.321H542.332C542.735 234.107 543.617 234.613 544.629 234.613C546.502 234.613 547.719 233.116 547.719 230.806V230.792C547.719 228.495 546.495 226.984 544.629 226.984C543.604 226.984 542.783 227.47 542.332 228.29H542.223V227.114H541.033V236.944ZM544.355 233.561C543.016 233.561 542.195 232.508 542.195 230.806V230.792C542.195 229.09 543.016 228.037 544.355 228.037C545.702 228.037 546.502 229.076 546.502 230.792V230.806C546.502 232.521 545.702 233.561 544.355 233.561ZM556.879 234.647C558.971 234.647 560.461 233.472 560.461 231.817V231.804C560.461 230.587 559.606 229.575 558.342 229.281V229.254C559.422 228.919 560.105 228.099 560.105 227.06V227.046C560.105 225.556 558.745 224.455 556.879 224.455C555.013 224.455 553.652 225.556 553.652 227.046V227.06C553.652 228.099 554.336 228.919 555.416 229.254V229.281C554.151 229.575 553.297 230.587 553.297 231.804V231.817C553.297 233.472 554.787 234.647 556.879 234.647ZM556.879 228.796C555.689 228.796 554.876 228.119 554.876 227.162V227.148C554.876 226.191 555.689 225.515 556.879 225.515C558.068 225.515 558.882 226.191 558.882 227.148V227.162C558.882 228.119 558.068 228.796 556.879 228.796ZM556.879 233.574C555.519 233.574 554.548 232.809 554.548 231.742V231.729C554.548 230.648 555.512 229.876 556.879 229.876C558.246 229.876 559.21 230.648 559.21 231.729V231.742C559.21 232.809 558.239 233.574 556.879 233.574ZM569.689 234.716C571.87 234.716 573.183 232.727 573.183 229.555V229.541C573.183 226.369 571.87 224.387 569.689 224.387C567.509 224.387 566.21 226.369 566.21 229.541V229.555C566.21 232.727 567.509 234.716 569.689 234.716ZM569.689 233.643C568.274 233.643 567.447 232.07 567.447 229.555V229.541C567.447 227.025 568.274 225.467 569.689 225.467C571.104 225.467 571.945 227.025 571.945 229.541V229.555C571.945 232.07 571.104 233.643 569.689 233.643ZM578.433 224.387C576.443 224.387 574.98 225.815 574.98 227.784V227.798C574.98 229.691 576.361 231.1 578.214 231.1C579.547 231.1 580.477 230.382 580.839 229.575H580.969C580.969 229.65 580.969 229.732 580.962 229.808C580.887 231.865 580.155 233.615 578.364 233.615C577.366 233.615 576.676 233.103 576.375 232.275L576.348 232.2H575.11L575.131 232.289C575.466 233.745 576.696 234.716 578.351 234.716C580.743 234.716 582.145 232.747 582.145 229.384V229.37C582.145 225.658 580.237 224.387 578.433 224.387ZM578.426 230.026C577.147 230.026 576.218 229.083 576.218 227.771V227.757C576.218 226.479 577.209 225.474 578.446 225.474C579.697 225.474 580.675 226.499 580.675 227.798V227.805C580.675 229.09 579.704 230.026 578.426 230.026ZM585.098 227.791C585.59 227.791 585.986 227.388 585.986 226.902C585.986 226.41 585.59 226.014 585.098 226.014C584.612 226.014 584.209 226.41 584.209 226.902C584.209 227.388 584.612 227.791 585.098 227.791ZM585.098 233.082C585.59 233.082 585.986 232.679 585.986 232.193C585.986 231.701 585.59 231.305 585.098 231.305C584.612 231.305 584.209 231.701 584.209 232.193C584.209 232.679 584.612 233.082 585.098 233.082ZM588.345 234.483H594.729V233.376H590.054V233.267L592.296 230.949C594.08 229.11 594.565 228.29 594.565 227.162V227.148C594.565 225.556 593.246 224.387 591.523 224.387C589.637 224.387 588.283 225.645 588.276 227.395L588.29 227.401L589.466 227.408L589.473 227.395C589.473 226.232 590.259 225.46 591.441 225.46C592.604 225.46 593.308 226.239 593.308 227.278V227.292C593.308 228.153 592.938 228.666 591.681 230.026L588.345 233.636V234.483ZM600.15 234.647C602.126 234.647 603.575 233.431 603.575 231.783V231.77C603.575 230.368 602.598 229.473 601.162 229.35V229.322C602.393 229.062 603.254 228.229 603.254 227.012V226.998C603.254 225.501 602.017 224.455 600.137 224.455C598.291 224.455 597.02 225.528 596.862 227.135L596.855 227.203H598.038L598.045 227.135C598.147 226.137 598.975 225.521 600.137 225.521C601.34 225.521 602.017 226.116 602.017 227.148V227.162C602.017 228.146 601.196 228.871 600.021 228.871H598.838V229.91H600.075C601.456 229.91 602.324 230.587 602.324 231.797V231.811C602.324 232.856 601.442 233.581 600.15 233.581C598.838 233.581 597.942 232.911 597.847 231.94L597.84 231.872H596.657L596.664 231.954C596.794 233.513 598.113 234.647 600.15 234.647ZM606.549 227.791C607.041 227.791 607.438 227.388 607.438 226.902C607.438 226.41 607.041 226.014 606.549 226.014C606.063 226.014 605.66 226.41 605.66 226.902C605.66 227.388 606.063 227.791 606.549 227.791ZM606.549 233.082C607.041 233.082 607.438 232.679 607.438 232.193C607.438 231.701 607.041 231.305 606.549 231.305C606.063 231.305 605.66 231.701 605.66 232.193C605.66 232.679 606.063 233.082 606.549 233.082ZM613.029 234.716C615.21 234.716 616.522 232.727 616.522 229.555V229.541C616.522 226.369 615.21 224.387 613.029 224.387C610.849 224.387 609.55 226.369 609.55 229.541V229.555C609.55 232.727 610.849 234.716 613.029 234.716ZM613.029 233.643C611.614 233.643 610.787 232.07 610.787 229.555V229.541C610.787 227.025 611.614 225.467 613.029 225.467C614.444 225.467 615.285 227.025 615.285 229.541V229.555C615.285 232.07 614.444 233.643 613.029 233.643ZM621.848 234.716C624.028 234.716 625.341 232.727 625.341 229.555V229.541C625.341 226.369 624.028 224.387 621.848 224.387C619.667 224.387 618.368 226.369 618.368 229.541V229.555C618.368 232.727 619.667 234.716 621.848 234.716ZM621.848 233.643C620.433 233.643 619.605 232.07 619.605 229.555V229.541C619.605 227.025 620.433 225.467 621.848 225.467C623.263 225.467 624.104 227.025 624.104 229.541V229.555C624.104 232.07 623.263 233.643 621.848 233.643ZM635.547 234.716C638.069 234.716 639.737 233.103 639.737 230.669V229.466H635.738V230.546H638.507V230.785C638.507 232.453 637.317 233.581 635.554 233.581C633.571 233.581 632.334 232.036 632.334 229.555V229.541C632.334 227.094 633.592 225.521 635.547 225.521C637.017 225.521 638.008 226.219 638.411 227.49L638.432 227.559H639.676L639.662 227.49C639.272 225.617 637.734 224.387 635.547 224.387C632.847 224.387 631.076 226.431 631.076 229.541V229.555C631.076 232.706 632.819 234.716 635.547 234.716ZM641.918 234.483H643.066V226.95H643.142L646.259 234.483H647.298L650.415 226.95H650.49V234.483H651.639V224.619H650.21L646.833 232.85H646.724L643.347 224.619H641.918V234.483ZM656.718 234.483H657.948V225.727H661.127V224.619H653.539V225.727H656.718V234.483ZM666.5 231.065H669.562V234.196H670.67V231.065H673.732V229.958H670.67V226.827H669.562V229.958H666.5V231.065ZM682.804 234.716C684.807 234.716 686.235 233.328 686.235 231.339V231.325C686.235 229.418 684.902 228.03 683.05 228.03C682.154 228.03 681.382 228.393 680.944 229.056H680.835L681.17 225.72H685.688V224.619H680.199L679.68 230.286H680.746C680.869 230.054 681.026 229.862 681.197 229.698C681.621 229.295 682.182 229.097 682.838 229.097C684.116 229.097 685.032 230.033 685.032 231.346V231.359C685.032 232.692 684.13 233.629 682.817 233.629C681.662 233.629 680.808 232.877 680.691 231.934L680.685 231.879H679.502L679.509 231.954C679.652 233.533 680.965 234.716 682.804 234.716ZM689.195 227.791C689.688 227.791 690.084 227.388 690.084 226.902C690.084 226.41 689.688 226.014 689.195 226.014C688.71 226.014 688.307 226.41 688.307 226.902C688.307 227.388 688.71 227.791 689.195 227.791ZM689.195 233.082C689.688 233.082 690.084 232.679 690.084 232.193C690.084 231.701 689.688 231.305 689.195 231.305C688.71 231.305 688.307 231.701 688.307 232.193C688.307 232.679 688.71 233.082 689.195 233.082ZM695.662 234.647C697.638 234.647 699.087 233.431 699.087 231.783V231.77C699.087 230.368 698.109 229.473 696.674 229.35V229.322C697.904 229.062 698.766 228.229 698.766 227.012V226.998C698.766 225.501 697.528 224.455 695.648 224.455C693.803 224.455 692.531 225.528 692.374 227.135L692.367 227.203H693.55L693.557 227.135C693.659 226.137 694.486 225.521 695.648 225.521C696.852 225.521 697.528 226.116 697.528 227.148V227.162C697.528 228.146 696.708 228.871 695.532 228.871H694.35V229.91H695.587C696.968 229.91 697.836 230.587 697.836 231.797V231.811C697.836 232.856 696.954 233.581 695.662 233.581C694.35 233.581 693.454 232.911 693.358 231.94L693.352 231.872H692.169L692.176 231.954C692.306 233.513 693.625 234.647 695.662 234.647ZM704.385 234.716C706.565 234.716 707.878 232.727 707.878 229.555V229.541C707.878 226.369 706.565 224.387 704.385 224.387C702.204 224.387 700.905 226.369 700.905 229.541V229.555C700.905 232.727 702.204 234.716 704.385 234.716ZM704.385 233.643C702.97 233.643 702.143 232.07 702.143 229.555V229.541C702.143 227.025 702.97 225.467 704.385 225.467C705.8 225.467 706.641 227.025 706.641 229.541V229.555C706.641 232.07 705.8 233.643 704.385 233.643Z" fill="#575757"/>
+<rect x="67.5" y="257.988" width="23" height="23" fill="white"/>
<g clip-path="url(#clip1_625_11871)">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M73 243.4H68V245.4H70V258.4C70 258.666 70.1054 258.92 70.2929 259.107C70.4804 259.295 70.7348 259.4 71 259.4H85C85.2652 259.4 85.5196 259.295 85.7071 259.107C85.8946 258.92 86 258.666 86 258.4V245.4H88V243.4H83V240.4C83 240.135 82.8946 239.881 82.7071 239.693C82.5196 239.506 82.2652 239.4 82 239.4H74C73.7348 239.4 73.4804 239.506 73.2929 239.693C73.1054 239.881 73 240.135 73 240.4V243.4ZM72 245.4H84V257.4H72V245.4ZM75 243.4V241.4H81V243.4H75Z" fill="#F86A2B"/>
-</g>
-<path d="M104.237 255H108.291C110.396 255 111.661 253.947 111.661 252.218V252.204C111.661 250.919 110.772 249.976 109.439 249.832V249.716C110.41 249.552 111.169 248.629 111.169 247.604V247.59C111.169 246.079 110.055 245.136 108.202 245.136H104.237V255ZM107.847 246.387C108.981 246.387 109.645 246.927 109.645 247.856V247.87C109.645 248.827 108.94 249.333 107.587 249.333H105.769V246.387H107.847ZM107.895 250.502C109.337 250.502 110.096 251.049 110.096 252.108V252.122C110.096 253.182 109.364 253.749 107.983 253.749H105.769V250.502H107.895Z" fill="#393939"/>
-<path d="M115.934 255.144C117.014 255.144 117.766 254.679 118.121 253.879H118.237V255H119.714V247.576H118.237V251.931C118.237 253.127 117.602 253.872 116.412 253.872C115.325 253.872 114.874 253.264 114.874 252.033V247.576H113.391V252.382C113.391 254.139 114.259 255.144 115.934 255.144Z" fill="#393939"/>
-<path d="M124.554 255.144C126.317 255.144 127.63 254.207 127.63 252.833V252.819C127.63 251.746 126.946 251.138 125.518 250.803L124.342 250.536C123.508 250.338 123.166 250.051 123.166 249.586V249.572C123.166 248.978 123.754 248.574 124.567 248.574C125.401 248.574 125.928 248.964 126.071 249.483V249.497H127.486V249.49C127.356 248.28 126.27 247.433 124.574 247.433C122.893 247.433 121.689 248.362 121.689 249.654V249.661C121.689 250.748 122.339 251.384 123.74 251.705L124.923 251.979C125.784 252.177 126.133 252.491 126.133 252.956V252.97C126.133 253.578 125.497 253.995 124.581 253.995C123.699 253.995 123.159 253.619 122.975 253.059L122.968 253.052H121.484V253.059C121.628 254.303 122.763 255.144 124.554 255.144Z" fill="#393939"/>
-<path d="M130.173 246.25C130.679 246.25 131.103 245.833 131.103 245.327C131.103 244.814 130.679 244.397 130.173 244.397C129.66 244.397 129.243 244.814 129.243 245.327C129.243 245.833 129.66 246.25 130.173 246.25ZM129.428 255H130.904V247.576H129.428V255Z" fill="#393939"/>
-<path d="M133.064 255H134.548V250.646C134.548 249.449 135.225 248.704 136.312 248.704C137.398 248.704 137.911 249.312 137.911 250.543V255H139.388V250.194C139.388 248.424 138.472 247.433 136.811 247.433C135.73 247.433 135.02 247.911 134.657 248.704H134.548V247.576H133.064V255Z" fill="#393939"/>
-<path d="M144.576 255.144C146.477 255.144 147.502 254.05 147.748 253.072L147.762 253.011L146.333 253.018L146.306 253.072C146.128 253.455 145.561 253.927 144.61 253.927C143.387 253.927 142.607 253.1 142.58 251.678H147.844V251.158C147.844 248.93 146.572 247.433 144.501 247.433C142.43 247.433 141.09 248.984 141.09 251.302V251.309C141.09 253.66 142.402 255.144 144.576 255.144ZM144.508 248.649C145.513 248.649 146.258 249.292 146.374 250.618H142.601C142.73 249.34 143.496 248.649 144.508 248.649Z" fill="#393939"/>
-<path d="M152.308 255.144C154.071 255.144 155.384 254.207 155.384 252.833V252.819C155.384 251.746 154.7 251.138 153.271 250.803L152.096 250.536C151.262 250.338 150.92 250.051 150.92 249.586V249.572C150.92 248.978 151.508 248.574 152.321 248.574C153.155 248.574 153.682 248.964 153.825 249.483V249.497H155.24V249.49C155.11 248.28 154.023 247.433 152.328 247.433C150.646 247.433 149.443 248.362 149.443 249.654V249.661C149.443 250.748 150.093 251.384 151.494 251.705L152.677 251.979C153.538 252.177 153.887 252.491 153.887 252.956V252.97C153.887 253.578 153.251 253.995 152.335 253.995C151.453 253.995 150.913 253.619 150.729 253.059L150.722 253.052H149.238V253.059C149.382 254.303 150.517 255.144 152.308 255.144Z" fill="#393939"/>
-<path d="M159.718 255.144C161.481 255.144 162.794 254.207 162.794 252.833V252.819C162.794 251.746 162.11 251.138 160.682 250.803L159.506 250.536C158.672 250.338 158.33 250.051 158.33 249.586V249.572C158.33 248.978 158.918 248.574 159.731 248.574C160.565 248.574 161.092 248.964 161.235 249.483V249.497H162.65V249.49C162.521 248.28 161.434 247.433 159.738 247.433C158.057 247.433 156.854 248.362 156.854 249.654V249.661C156.854 250.748 157.503 251.384 158.904 251.705L160.087 251.979C160.948 252.177 161.297 252.491 161.297 252.956V252.97C161.297 253.578 160.661 253.995 159.745 253.995C158.863 253.995 158.323 253.619 158.139 253.059L158.132 253.052H156.648V253.059C156.792 254.303 157.927 255.144 159.718 255.144Z" fill="#393939"/>
-<path d="M170.43 255.123C171.414 255.123 172.193 254.699 172.631 253.947H172.747V255H174.217V249.921C174.217 248.362 173.164 247.433 171.298 247.433C169.609 247.433 168.44 248.246 168.263 249.463L168.256 249.511H169.685L169.691 249.483C169.869 248.957 170.409 248.656 171.229 248.656C172.234 248.656 172.747 249.107 172.747 249.921V250.577L170.737 250.693C168.967 250.803 167.969 251.575 167.969 252.901V252.915C167.969 254.262 169.015 255.123 170.43 255.123ZM169.445 252.854V252.84C169.445 252.17 169.91 251.801 170.936 251.739L172.747 251.623V252.259C172.747 253.216 171.934 253.94 170.826 253.94C170.026 253.94 169.445 253.537 169.445 252.854Z" fill="#393939"/>
-<path d="M176.309 255H177.792V250.646C177.792 249.449 178.469 248.704 179.556 248.704C180.643 248.704 181.155 249.312 181.155 250.543V255H182.632V250.194C182.632 248.424 181.716 247.433 180.055 247.433C178.975 247.433 178.264 247.911 177.901 248.704H177.792V247.576H176.309V255Z" fill="#393939"/>
-<path d="M186.74 255.123C187.725 255.123 188.504 254.699 188.941 253.947H189.058V255H190.527V249.921C190.527 248.362 189.475 247.433 187.608 247.433C185.92 247.433 184.751 248.246 184.573 249.463L184.566 249.511H185.995L186.002 249.483C186.18 248.957 186.72 248.656 187.54 248.656C188.545 248.656 189.058 249.107 189.058 249.921V250.577L187.048 250.693C185.277 250.803 184.279 251.575 184.279 252.901V252.915C184.279 254.262 185.325 255.123 186.74 255.123ZM185.756 252.854V252.84C185.756 252.17 186.221 251.801 187.246 251.739L189.058 251.623V252.259C189.058 253.216 188.244 253.94 187.137 253.94C186.337 253.94 185.756 253.537 185.756 252.854Z" fill="#393939"/>
-<path d="M192.688 255H194.171V244.664H192.688V255Z" fill="#393939"/>
-<path d="M197.104 257.611C198.607 257.611 199.359 257.058 199.988 255.287L202.75 247.576H201.191L199.339 253.51H199.209L197.35 247.576H195.75L198.443 255.007L198.334 255.39C198.115 256.142 197.698 256.436 197.008 256.436C196.837 256.436 196.652 256.429 196.509 256.408V257.577C196.7 257.598 196.919 257.611 197.104 257.611Z" fill="#393939"/>
-<path d="M207.057 255.048C207.344 255.048 207.617 255.014 207.856 254.973V253.79C207.651 253.811 207.521 253.817 207.296 253.817C206.564 253.817 206.264 253.489 206.264 252.689V248.745H207.856V247.576H206.264V245.703H204.753V247.576H203.591V248.745H204.753V253.045C204.753 254.474 205.423 255.048 207.057 255.048Z" fill="#393939"/>
-<path d="M210.358 246.25C210.864 246.25 211.288 245.833 211.288 245.327C211.288 244.814 210.864 244.397 210.358 244.397C209.846 244.397 209.429 244.814 209.429 245.327C209.429 245.833 209.846 246.25 210.358 246.25ZM209.613 255H211.09V247.576H209.613V255Z" fill="#393939"/>
-<path d="M216.374 255.144C218.213 255.144 219.272 254.152 219.539 252.71L219.553 252.648H218.131L218.117 252.683C217.878 253.482 217.304 253.906 216.374 253.906C215.15 253.906 214.392 252.908 214.392 251.268V251.254C214.392 249.654 215.137 248.67 216.374 248.67C217.358 248.67 217.96 249.217 218.124 249.948L218.131 249.969L219.553 249.962V249.928C219.348 248.485 218.233 247.433 216.367 247.433C214.2 247.433 212.881 248.902 212.881 251.254V251.268C212.881 253.667 214.207 255.144 216.374 255.144Z" fill="#393939"/>
-<path d="M223.935 255.144C225.698 255.144 227.011 254.207 227.011 252.833V252.819C227.011 251.746 226.327 251.138 224.898 250.803L223.723 250.536C222.889 250.338 222.547 250.051 222.547 249.586V249.572C222.547 248.978 223.135 248.574 223.948 248.574C224.782 248.574 225.309 248.964 225.452 249.483V249.497H226.867V249.49C226.737 248.28 225.65 247.433 223.955 247.433C222.273 247.433 221.07 248.362 221.07 249.654V249.661C221.07 250.748 221.72 251.384 223.121 251.705L224.304 251.979C225.165 252.177 225.514 252.491 225.514 252.956V252.97C225.514 253.578 224.878 253.995 223.962 253.995C223.08 253.995 222.54 253.619 222.355 253.059L222.349 253.052H220.865V253.059C221.009 254.303 222.144 255.144 223.935 255.144Z" fill="#393939"/>
-<path d="M235.316 255.123C236.355 255.123 237.169 254.645 237.6 253.831H237.716V255H239.192V244.664H237.716V248.752H237.6C237.203 247.952 236.335 247.446 235.316 247.446C233.43 247.446 232.24 248.93 232.24 251.281V251.295C232.24 253.626 233.45 255.123 235.316 255.123ZM235.74 253.858C234.496 253.858 233.751 252.888 233.751 251.295V251.281C233.751 249.688 234.496 248.718 235.74 248.718C236.971 248.718 237.736 249.695 237.736 251.281V251.295C237.736 252.881 236.978 253.858 235.74 253.858Z" fill="#393939"/>
-<path d="M244.518 255.144C246.418 255.144 247.443 254.05 247.689 253.072L247.703 253.011L246.274 253.018L246.247 253.072C246.069 253.455 245.502 253.927 244.552 253.927C243.328 253.927 242.549 253.1 242.521 251.678H247.785V251.158C247.785 248.93 246.514 247.433 244.442 247.433C242.371 247.433 241.031 248.984 241.031 251.302V251.309C241.031 253.66 242.344 255.144 244.518 255.144ZM244.449 248.649C245.454 248.649 246.199 249.292 246.315 250.618H242.542C242.672 249.34 243.438 248.649 244.449 248.649Z" fill="#393939"/>
-<path d="M249.617 255H251.101V244.664H249.617V255Z" fill="#393939"/>
-<path d="M256.426 255.144C258.326 255.144 259.352 254.05 259.598 253.072L259.611 253.011L258.183 253.018L258.155 253.072C257.978 253.455 257.41 253.927 256.46 253.927C255.236 253.927 254.457 253.1 254.43 251.678H259.693V251.158C259.693 248.93 258.422 247.433 256.351 247.433C254.279 247.433 252.939 248.984 252.939 251.302V251.309C252.939 253.66 254.252 255.144 256.426 255.144ZM256.357 248.649C257.362 248.649 258.107 249.292 258.224 250.618H254.45C254.58 249.34 255.346 248.649 256.357 248.649Z" fill="#393939"/>
-<path d="M264.26 255.048C264.547 255.048 264.82 255.014 265.06 254.973V253.79C264.854 253.811 264.725 253.817 264.499 253.817C263.768 253.817 263.467 253.489 263.467 252.689V248.745H265.06V247.576H263.467V245.703H261.956V247.576H260.794V248.745H261.956V253.045C261.956 254.474 262.626 255.048 264.26 255.048Z" fill="#393939"/>
-<path d="M269.824 255.144C271.725 255.144 272.75 254.05 272.996 253.072L273.01 253.011L271.581 253.018L271.554 253.072C271.376 253.455 270.809 253.927 269.858 253.927C268.635 253.927 267.855 253.1 267.828 251.678H273.092V251.158C273.092 248.93 271.82 247.433 269.749 247.433C267.678 247.433 266.338 248.984 266.338 251.302V251.309C266.338 253.66 267.65 255.144 269.824 255.144ZM269.756 248.649C270.761 248.649 271.506 249.292 271.622 250.618H267.849C267.979 249.34 268.744 248.649 269.756 248.649Z" fill="#393939"/>
-<path d="M277.562 255.123C278.602 255.123 279.415 254.645 279.846 253.831H279.962V255H281.438V244.664H279.962V248.752H279.846C279.449 247.952 278.581 247.446 277.562 247.446C275.676 247.446 274.486 248.93 274.486 251.281V251.295C274.486 253.626 275.696 255.123 277.562 255.123ZM277.986 253.858C276.742 253.858 275.997 252.888 275.997 251.295V251.281C275.997 249.688 276.742 248.718 277.986 248.718C279.217 248.718 279.982 249.695 279.982 251.281V251.295C279.982 252.881 279.224 253.858 277.986 253.858Z" fill="#393939"/>
-<path d="M288.247 246.25C288.753 246.25 289.177 245.833 289.177 245.327C289.177 244.814 288.753 244.397 288.247 244.397C287.734 244.397 287.317 244.814 287.317 245.327C287.317 245.833 287.734 246.25 288.247 246.25ZM287.502 255H288.979V247.576H287.502V255Z" fill="#393939"/>
-<path d="M291.139 255H292.622V250.646C292.622 249.449 293.299 248.704 294.386 248.704C295.473 248.704 295.985 249.312 295.985 250.543V255H297.462V250.194C297.462 248.424 296.546 247.433 294.885 247.433C293.805 247.433 293.094 247.911 292.731 248.704H292.622V247.576H291.139V255Z" fill="#393939"/>
-<path d="M307.518 255.239C309.999 255.239 311.51 253.77 311.51 251.603V245.136H309.979V251.486C309.979 252.915 309.09 253.886 307.518 253.886C305.945 253.886 305.05 252.915 305.05 251.486V245.136H303.519V251.603C303.519 253.77 305.043 255.239 307.518 255.239Z" fill="#393939"/>
-<path d="M313.807 255H315.29V250.646C315.29 249.449 315.967 248.704 317.054 248.704C318.141 248.704 318.653 249.312 318.653 250.543V255H320.13V250.194C320.13 248.424 319.214 247.433 317.553 247.433C316.473 247.433 315.762 247.911 315.399 248.704H315.29V247.576H313.807V255Z" fill="#393939"/>
-<path d="M325.004 255.048C325.291 255.048 325.564 255.014 325.804 254.973V253.79C325.599 253.811 325.469 253.817 325.243 253.817C324.512 253.817 324.211 253.489 324.211 252.689V248.745H325.804V247.576H324.211V245.703H322.7V247.576H321.538V248.745H322.7V253.045C322.7 254.474 323.37 255.048 325.004 255.048Z" fill="#393939"/>
-<path d="M328.306 246.25C328.812 246.25 329.235 245.833 329.235 245.327C329.235 244.814 328.812 244.397 328.306 244.397C327.793 244.397 327.376 244.814 327.376 245.327C327.376 245.833 327.793 246.25 328.306 246.25ZM327.561 255H329.037V247.576H327.561V255Z" fill="#393939"/>
-<path d="M334 255.048C334.287 255.048 334.561 255.014 334.8 254.973V253.79C334.595 253.811 334.465 253.817 334.239 253.817C333.508 253.817 333.207 253.489 333.207 252.689V248.745H334.8V247.576H333.207V245.703H331.696V247.576H330.534V248.745H331.696V253.045C331.696 254.474 332.366 255.048 334 255.048Z" fill="#393939"/>
-<path d="M336.598 255H338.081V244.664H336.598V255Z" fill="#393939"/>
-<path d="M343.406 255.144C345.307 255.144 346.332 254.05 346.578 253.072L346.592 253.011L345.163 253.018L345.136 253.072C344.958 253.455 344.391 253.927 343.44 253.927C342.217 253.927 341.438 253.1 341.41 251.678H346.674V251.158C346.674 248.93 345.402 247.433 343.331 247.433C341.26 247.433 339.92 248.984 339.92 251.302V251.309C339.92 253.66 341.232 255.144 343.406 255.144ZM343.338 248.649C344.343 248.649 345.088 249.292 345.204 250.618H341.431C341.561 249.34 342.326 248.649 343.338 248.649Z" fill="#393939"/>
-<path d="M351.145 255.123C352.184 255.123 352.997 254.645 353.428 253.831H353.544V255H355.021V244.664H353.544V248.752H353.428C353.031 247.952 352.163 247.446 351.145 247.446C349.258 247.446 348.068 248.93 348.068 251.281V251.295C348.068 253.626 349.278 255.123 351.145 255.123ZM351.568 253.858C350.324 253.858 349.579 252.888 349.579 251.295V251.281C349.579 249.688 350.324 248.718 351.568 248.718C352.799 248.718 353.564 249.695 353.564 251.281V251.295C353.564 252.881 352.806 253.858 351.568 253.858Z" fill="#393939"/>
-<path d="M363.258 255H364.707L366.819 247.624H366.915L369.034 255H370.477L373.143 245.136H371.55L369.745 252.806H369.649L367.578 245.136H366.156L364.099 252.806H364.003L362.191 245.136H360.599L363.258 255Z" fill="#393939"/>
-<path d="M377.23 255.144C379.404 255.144 380.737 253.688 380.737 251.295V251.281C380.737 248.889 379.397 247.433 377.23 247.433C375.057 247.433 373.717 248.896 373.717 251.281V251.295C373.717 253.688 375.05 255.144 377.23 255.144ZM377.23 253.906C375.952 253.906 375.234 252.942 375.234 251.295V251.281C375.234 249.634 375.952 248.67 377.23 248.67C378.502 248.67 379.227 249.634 379.227 251.281V251.295C379.227 252.936 378.502 253.906 377.23 253.906Z" fill="#393939"/>
-<path d="M382.508 255H383.991V250.563C383.991 249.49 384.764 248.793 385.898 248.793C386.179 248.793 386.432 248.827 386.698 248.882V247.515C386.548 247.48 386.288 247.446 386.049 247.446C385.058 247.446 384.367 247.911 384.101 248.697H383.991V247.576H382.508V255Z" fill="#393939"/>
-<path d="M388.182 255H389.665V252.3L390.301 251.664L392.857 255H394.662L391.36 250.707L394.457 247.576H392.721L389.774 250.707H389.665V244.664H388.182V255Z" fill="#393939"/>
-<path d="M398.429 255.144C400.192 255.144 401.505 254.207 401.505 252.833V252.819C401.505 251.746 400.821 251.138 399.393 250.803L398.217 250.536C397.383 250.338 397.041 250.051 397.041 249.586V249.572C397.041 248.978 397.629 248.574 398.442 248.574C399.276 248.574 399.803 248.964 399.946 249.483V249.497H401.361V249.49C401.231 248.28 400.145 247.433 398.449 247.433C396.768 247.433 395.564 248.362 395.564 249.654V249.661C395.564 250.748 396.214 251.384 397.615 251.705L398.798 251.979C399.659 252.177 400.008 252.491 400.008 252.956V252.97C400.008 253.578 399.372 253.995 398.456 253.995C397.574 253.995 397.034 253.619 396.85 253.059L396.843 253.052H395.359V253.059C395.503 254.303 396.638 255.144 398.429 255.144Z" fill="#393939"/>
-<path d="M403.275 257.475H404.759V253.824H404.868C405.265 254.624 406.133 255.123 407.151 255.123C409.038 255.123 410.228 253.646 410.228 251.295V251.281C410.228 248.943 409.024 247.446 407.151 247.446C406.112 247.446 405.299 247.932 404.868 248.745H404.759V247.576H403.275V257.475ZM406.734 253.858C405.497 253.858 404.731 252.881 404.731 251.295V251.281C404.731 249.695 405.497 248.718 406.734 248.718C407.972 248.718 408.717 249.682 408.717 251.281V251.295C408.717 252.888 407.972 253.858 406.734 253.858Z" fill="#393939"/>
-<path d="M414.049 255.123C415.033 255.123 415.812 254.699 416.25 253.947H416.366V255H417.836V249.921C417.836 248.362 416.783 247.433 414.917 247.433C413.229 247.433 412.06 248.246 411.882 249.463L411.875 249.511H413.304L413.311 249.483C413.488 248.957 414.028 248.656 414.849 248.656C415.854 248.656 416.366 249.107 416.366 249.921V250.577L414.356 250.693C412.586 250.803 411.588 251.575 411.588 252.901V252.915C411.588 254.262 412.634 255.123 414.049 255.123ZM413.064 252.854V252.84C413.064 252.17 413.529 251.801 414.555 251.739L416.366 251.623V252.259C416.366 253.216 415.553 253.94 414.445 253.94C413.646 253.94 413.064 253.537 413.064 252.854Z" fill="#393939"/>
-<path d="M423.052 255.144C424.891 255.144 425.95 254.152 426.217 252.71L426.23 252.648H424.809L424.795 252.683C424.556 253.482 423.981 253.906 423.052 253.906C421.828 253.906 421.069 252.908 421.069 251.268V251.254C421.069 249.654 421.814 248.67 423.052 248.67C424.036 248.67 424.638 249.217 424.802 249.948L424.809 249.969L426.23 249.962V249.928C426.025 248.485 424.911 247.433 423.045 247.433C420.878 247.433 419.559 248.902 419.559 251.254V251.268C419.559 253.667 420.885 255.144 423.052 255.144Z" fill="#393939"/>
-<path d="M431.029 255.144C432.93 255.144 433.955 254.05 434.201 253.072L434.215 253.011L432.786 253.018L432.759 253.072C432.581 253.455 432.014 253.927 431.063 253.927C429.84 253.927 429.061 253.1 429.033 251.678H434.297V251.158C434.297 248.93 433.025 247.433 430.954 247.433C428.883 247.433 427.543 248.984 427.543 251.302V251.309C427.543 253.66 428.855 255.144 431.029 255.144ZM430.961 248.649C431.966 248.649 432.711 249.292 432.827 250.618H429.054C429.184 249.34 429.949 248.649 430.961 248.649Z" fill="#393939"/>
-<path d="M455.107 255H456.297V250.434C456.297 249.354 457.104 248.636 458.238 248.636C458.498 248.636 458.724 248.663 458.97 248.704V247.549C458.854 247.528 458.601 247.501 458.375 247.501C457.377 247.501 456.687 247.952 456.406 248.725H456.297V247.631H455.107V255Z" fill="#575757"/>
-<path d="M463.263 255.13C465.361 255.13 466.66 253.681 466.66 251.322V251.309C466.66 248.943 465.361 247.501 463.263 247.501C461.164 247.501 459.865 248.943 459.865 251.309V251.322C459.865 253.681 461.164 255.13 463.263 255.13ZM463.263 254.077C461.868 254.077 461.082 253.059 461.082 251.322V251.309C461.082 249.565 461.868 248.554 463.263 248.554C464.657 248.554 465.443 249.565 465.443 251.309V251.322C465.443 253.059 464.657 254.077 463.263 254.077Z" fill="#575757"/>
-<path d="M468.506 255H469.695V250.434C469.695 249.395 470.427 248.554 471.391 248.554C472.32 248.554 472.922 249.121 472.922 249.996V255H474.111V250.263C474.111 249.326 474.788 248.554 475.813 248.554C476.853 248.554 477.352 249.094 477.352 250.181V255H478.541V249.907C478.541 248.362 477.7 247.501 476.196 247.501C475.178 247.501 474.337 248.014 473.94 248.793H473.831C473.489 248.027 472.792 247.501 471.794 247.501C470.83 247.501 470.133 247.959 469.805 248.752H469.695V247.631H468.506V255Z" fill="#575757"/>
-<path d="M482.711 255.13C483.702 255.13 484.475 254.699 484.939 253.913H485.049V255H486.238V249.955C486.238 248.424 485.233 247.501 483.436 247.501C481.863 247.501 480.742 248.28 480.551 249.436L480.544 249.477H481.733L481.74 249.456C481.932 248.882 482.513 248.554 483.395 248.554C484.495 248.554 485.049 249.046 485.049 249.955V250.625L482.937 250.755C481.221 250.857 480.25 251.616 480.25 252.929V252.942C480.25 254.282 481.31 255.13 482.711 255.13ZM481.467 252.915V252.901C481.467 252.17 481.959 251.773 483.08 251.705L485.049 251.582V252.252C485.049 253.305 484.167 254.098 482.957 254.098C482.103 254.098 481.467 253.66 481.467 252.915Z" fill="#575757"/>
-<path d="M489.041 246.209C489.492 246.209 489.861 245.84 489.861 245.389C489.861 244.938 489.492 244.568 489.041 244.568C488.59 244.568 488.221 244.938 488.221 245.389C488.221 245.84 488.59 246.209 489.041 246.209ZM488.439 255H489.629V247.631H488.439V255Z" fill="#575757"/>
-<path d="M491.871 255H493.061V250.639C493.061 249.347 493.806 248.554 494.981 248.554C496.157 248.554 496.704 249.189 496.704 250.516V255H497.894V250.229C497.894 248.479 496.971 247.501 495.316 247.501C494.229 247.501 493.539 247.959 493.17 248.738H493.061V247.631H491.871V255Z" fill="#575757"/>
-<path d="M502.07 255.13C503.062 255.13 503.834 254.699 504.299 253.913H504.408V255H505.598V249.955C505.598 248.424 504.593 247.501 502.795 247.501C501.223 247.501 500.102 248.28 499.91 249.436L499.903 249.477H501.093L501.1 249.456C501.291 248.882 501.872 248.554 502.754 248.554C503.854 248.554 504.408 249.046 504.408 249.955V250.625L502.296 250.755C500.58 250.857 499.609 251.616 499.609 252.929V252.942C499.609 254.282 500.669 255.13 502.07 255.13ZM500.826 252.915V252.901C500.826 252.17 501.318 251.773 502.439 251.705L504.408 251.582V252.252C504.408 253.305 503.526 254.098 502.316 254.098C501.462 254.098 500.826 253.66 500.826 252.915Z" fill="#575757"/>
-<path d="M513.404 256.6C514.266 256.6 515.093 256.477 515.708 256.265V255.403C515.277 255.602 514.354 255.731 513.418 255.731C510.492 255.731 508.605 253.852 508.605 250.939V250.926C508.605 248.089 510.526 246.052 513.199 246.052C515.934 246.052 517.807 247.74 517.807 250.201V250.215C517.807 251.89 517.253 252.977 516.392 252.977C515.899 252.977 515.619 252.696 515.619 252.218V248.205H514.587V249.039H514.478C514.211 248.444 513.596 248.075 512.878 248.075C511.477 248.075 510.499 249.237 510.499 250.892V250.905C510.499 252.635 511.456 253.804 512.878 253.804C513.678 253.804 514.293 253.414 514.587 252.717H514.696L514.703 252.758C514.812 253.421 515.414 253.865 516.2 253.865C517.772 253.865 518.771 252.45 518.771 250.229V250.215C518.771 247.255 516.521 245.19 513.288 245.19C509.938 245.19 507.642 247.508 507.642 250.885V250.898C507.642 254.385 509.877 256.6 513.404 256.6ZM513.035 252.84C512.14 252.84 511.593 252.115 511.593 250.933V250.919C511.593 249.729 512.133 249.019 513.049 249.019C513.979 249.019 514.573 249.757 514.573 250.919V250.933C514.573 252.095 513.972 252.84 513.035 252.84Z" fill="#575757"/>
-<path d="M523.631 255.13C525.367 255.13 526.42 254.146 526.673 253.147L526.687 253.093H525.497L525.47 253.154C525.271 253.599 524.656 254.07 523.658 254.07C522.346 254.07 521.505 253.182 521.471 251.657H526.775V251.192C526.775 248.991 525.559 247.501 523.556 247.501C521.553 247.501 520.254 249.06 520.254 251.336V251.343C520.254 253.653 521.525 255.13 523.631 255.13ZM523.549 248.561C524.636 248.561 525.442 249.251 525.565 250.707H521.491C521.621 249.306 522.455 248.561 523.549 248.561Z" fill="#575757"/>
-<path d="M527.76 255H529.093L530.843 252.218H530.952L532.695 255H534.09L531.554 251.268L534.056 247.631H532.723L530.993 250.372H530.884L529.134 247.631H527.732L530.282 251.315L527.76 255Z" fill="#575757"/>
-<path d="M537.713 255.13C538.704 255.13 539.477 254.699 539.941 253.913H540.051V255H541.24V249.955C541.24 248.424 540.235 247.501 538.438 247.501C536.865 247.501 535.744 248.28 535.553 249.436L535.546 249.477H536.735L536.742 249.456C536.934 248.882 537.515 248.554 538.396 248.554C539.497 248.554 540.051 249.046 540.051 249.955V250.625L537.938 250.755C536.223 250.857 535.252 251.616 535.252 252.929V252.942C535.252 254.282 536.312 255.13 537.713 255.13ZM536.469 252.915V252.901C536.469 252.17 536.961 251.773 538.082 251.705L540.051 251.582V252.252C540.051 253.305 539.169 254.098 537.959 254.098C537.104 254.098 536.469 253.66 536.469 252.915Z" fill="#575757"/>
-<path d="M543.414 255H544.604V250.434C544.604 249.395 545.335 248.554 546.299 248.554C547.229 248.554 547.83 249.121 547.83 249.996V255H549.02V250.263C549.02 249.326 549.696 248.554 550.722 248.554C551.761 248.554 552.26 249.094 552.26 250.181V255H553.449V249.907C553.449 248.362 552.608 247.501 551.104 247.501C550.086 247.501 549.245 248.014 548.849 248.793H548.739C548.397 248.027 547.7 247.501 546.702 247.501C545.738 247.501 545.041 247.959 544.713 248.752H544.604V247.631H543.414V255Z" fill="#575757"/>
-<path d="M555.596 257.461H556.785V253.838H556.895C557.298 254.624 558.18 255.13 559.191 255.13C561.064 255.13 562.281 253.633 562.281 251.322V251.309C562.281 249.012 561.058 247.501 559.191 247.501C558.166 247.501 557.346 247.986 556.895 248.807H556.785V247.631H555.596V257.461ZM558.918 254.077C557.578 254.077 556.758 253.024 556.758 251.322V251.309C556.758 249.606 557.578 248.554 558.918 248.554C560.265 248.554 561.064 249.593 561.064 251.309V251.322C561.064 253.038 560.265 254.077 558.918 254.077Z" fill="#575757"/>
-<path d="M564.209 255H565.398V244.705H564.209V255Z" fill="#575757"/>
-<path d="M570.689 255.13C572.426 255.13 573.479 254.146 573.731 253.147L573.745 253.093H572.556L572.528 253.154C572.33 253.599 571.715 254.07 570.717 254.07C569.404 254.07 568.563 253.182 568.529 251.657H573.834V251.192C573.834 248.991 572.617 247.501 570.614 247.501C568.611 247.501 567.312 249.06 567.312 251.336V251.343C567.312 253.653 568.584 255.13 570.689 255.13ZM570.607 248.561C571.694 248.561 572.501 249.251 572.624 250.707H568.55C568.68 249.306 569.514 248.561 570.607 248.561Z" fill="#575757"/>
-<path d="M576.65 255.068C577.143 255.068 577.539 254.665 577.539 254.18C577.539 253.688 577.143 253.291 576.65 253.291C576.165 253.291 575.762 253.688 575.762 254.18C575.762 254.665 576.165 255.068 576.65 255.068Z" fill="#575757"/>
-<path d="M582.577 255.13C584.348 255.13 585.339 254.18 585.64 252.847L585.653 252.771L584.478 252.778L584.464 252.819C584.19 253.64 583.562 254.077 582.57 254.077C581.258 254.077 580.41 252.99 580.41 251.295V251.281C580.41 249.62 581.244 248.554 582.57 248.554C583.63 248.554 584.286 249.142 584.471 249.866L584.478 249.887H585.66L585.653 249.846C585.435 248.533 584.361 247.501 582.57 247.501C580.506 247.501 579.193 248.991 579.193 251.281V251.295C579.193 253.633 580.513 255.13 582.577 255.13Z" fill="#575757"/>
-<path d="M590.425 255.13C592.523 255.13 593.822 253.681 593.822 251.322V251.309C593.822 248.943 592.523 247.501 590.425 247.501C588.326 247.501 587.027 248.943 587.027 251.309V251.322C587.027 253.681 588.326 255.13 590.425 255.13ZM590.425 254.077C589.03 254.077 588.244 253.059 588.244 251.322V251.309C588.244 249.565 589.03 248.554 590.425 248.554C591.819 248.554 592.605 249.565 592.605 251.309V251.322C592.605 253.059 591.819 254.077 590.425 254.077Z" fill="#575757"/>
-<path d="M595.668 255H596.857V250.434C596.857 249.395 597.589 248.554 598.553 248.554C599.482 248.554 600.084 249.121 600.084 249.996V255H601.273V250.263C601.273 249.326 601.95 248.554 602.976 248.554C604.015 248.554 604.514 249.094 604.514 250.181V255H605.703V249.907C605.703 248.362 604.862 247.501 603.358 247.501C602.34 247.501 601.499 248.014 601.103 248.793H600.993C600.651 248.027 599.954 247.501 598.956 247.501C597.992 247.501 597.295 247.959 596.967 248.752H596.857V247.631H595.668V255Z" fill="#575757"/>
-<path d="M629.37 255.633C631.195 255.633 632.275 254.525 632.275 252.659V245.536H631.045V252.646C631.045 253.849 630.457 254.498 629.363 254.498C628.386 254.498 627.9 253.876 627.825 253.131L627.818 253.062H626.588L626.595 253.158C626.697 254.573 627.661 255.633 629.37 255.633Z" fill="#575757"/>
-<path d="M637.108 255.53C638.188 255.53 638.934 255.086 639.296 254.3H639.405V255.4H640.595V248.031H639.405V252.393C639.405 253.685 638.715 254.478 637.416 254.478C636.24 254.478 635.762 253.842 635.762 252.516V248.031H634.572V252.803C634.572 254.546 635.434 255.53 637.108 255.53Z" fill="#575757"/>
-<path d="M642.885 255.4H644.074V245.105H642.885V255.4Z" fill="#575757"/>
-<path d="M653.528 255.633C655.531 255.633 656.96 254.245 656.96 252.256V252.242C656.96 250.335 655.627 248.947 653.774 248.947C652.879 248.947 652.106 249.31 651.669 249.973H651.56L651.895 246.637H656.413V245.536H650.924L650.404 251.203H651.471C651.594 250.971 651.751 250.779 651.922 250.615C652.346 250.212 652.906 250.014 653.562 250.014C654.841 250.014 655.757 250.95 655.757 252.263V252.276C655.757 253.609 654.854 254.546 653.542 254.546C652.387 254.546 651.532 253.794 651.416 252.851L651.409 252.796H650.227L650.233 252.871C650.377 254.45 651.689 255.633 653.528 255.633Z" fill="#575757"/>
-<path d="M665.293 255.4H666.523V245.536H665.3L662.675 247.423V248.722L665.184 246.903H665.293V255.4Z" fill="#575757"/>
-<path d="M669.374 255.4H675.759V254.293H671.083V254.184L673.325 251.866C675.109 250.027 675.595 249.207 675.595 248.079V248.065C675.595 246.473 674.275 245.304 672.553 245.304C670.666 245.304 669.312 246.562 669.306 248.312L669.319 248.318L670.495 248.325L670.502 248.312C670.502 247.149 671.288 246.377 672.471 246.377C673.633 246.377 674.337 247.156 674.337 248.195V248.209C674.337 249.07 673.968 249.583 672.71 250.943L669.374 254.553V255.4Z" fill="#575757"/>
-<path d="M678.801 248.708C679.293 248.708 679.689 248.305 679.689 247.819C679.689 247.327 679.293 246.931 678.801 246.931C678.315 246.931 677.912 247.327 677.912 247.819C677.912 248.305 678.315 248.708 678.801 248.708ZM678.801 253.999C679.293 253.999 679.689 253.596 679.689 253.11C679.689 252.618 679.293 252.222 678.801 252.222C678.315 252.222 677.912 252.618 677.912 253.11C677.912 253.596 678.315 253.999 678.801 253.999Z" fill="#575757"/>
-<path d="M685.452 255.633C687.455 255.633 688.884 254.245 688.884 252.256V252.242C688.884 250.335 687.551 248.947 685.698 248.947C684.803 248.947 684.03 249.31 683.593 249.973H683.483L683.818 246.637H688.337V245.536H682.848L682.328 251.203H683.395C683.518 250.971 683.675 250.779 683.846 250.615C684.27 250.212 684.83 250.014 685.486 250.014C686.765 250.014 687.681 250.95 687.681 252.263V252.276C687.681 253.609 686.778 254.546 685.466 254.546C684.311 254.546 683.456 253.794 683.34 252.851L683.333 252.796H682.15L682.157 252.871C682.301 254.45 683.613 255.633 685.452 255.633Z" fill="#575757"/>
-<path d="M694.223 255.564C696.198 255.564 697.647 254.348 697.647 252.7V252.687C697.647 251.285 696.67 250.39 695.234 250.267V250.239C696.465 249.979 697.326 249.146 697.326 247.929V247.915C697.326 246.418 696.089 245.372 694.209 245.372C692.363 245.372 691.092 246.445 690.935 248.052L690.928 248.12H692.11L692.117 248.052C692.22 247.054 693.047 246.438 694.209 246.438C695.412 246.438 696.089 247.033 696.089 248.065V248.079C696.089 249.063 695.269 249.788 694.093 249.788H692.91V250.827H694.147C695.528 250.827 696.396 251.504 696.396 252.714V252.728C696.396 253.773 695.515 254.498 694.223 254.498C692.91 254.498 692.015 253.828 691.919 252.857L691.912 252.789H690.729L690.736 252.871C690.866 254.43 692.186 255.564 694.223 255.564Z" fill="#575757"/>
-<path d="M700.621 248.708C701.113 248.708 701.51 248.305 701.51 247.819C701.51 247.327 701.113 246.931 700.621 246.931C700.136 246.931 699.732 247.327 699.732 247.819C699.732 248.305 700.136 248.708 700.621 248.708ZM700.621 253.999C701.113 253.999 701.51 253.596 701.51 253.11C701.51 252.618 701.113 252.222 700.621 252.222C700.136 252.222 699.732 252.618 699.732 253.11C699.732 253.596 700.136 253.999 700.621 253.999Z" fill="#575757"/>
-<path d="M707.102 255.633C709.282 255.633 710.595 253.644 710.595 250.472V250.458C710.595 247.286 709.282 245.304 707.102 245.304C704.921 245.304 703.622 247.286 703.622 250.458V250.472C703.622 253.644 704.921 255.633 707.102 255.633ZM707.102 254.56C705.687 254.56 704.859 252.987 704.859 250.472V250.458C704.859 247.942 705.687 246.384 707.102 246.384C708.517 246.384 709.357 247.942 709.357 250.458V250.472C709.357 252.987 708.517 254.56 707.102 254.56Z" fill="#575757"/>
-<path d="M715.92 255.633C718.101 255.633 719.413 253.644 719.413 250.472V250.458C719.413 247.286 718.101 245.304 715.92 245.304C713.739 245.304 712.44 247.286 712.44 250.458V250.472C712.44 253.644 713.739 255.633 715.92 255.633ZM715.92 254.56C714.505 254.56 713.678 252.987 713.678 250.472V250.458C713.678 247.942 714.505 246.384 715.92 246.384C717.335 246.384 718.176 247.942 718.176 250.458V250.472C718.176 252.987 717.335 254.56 715.92 254.56Z" fill="#575757"/>
-<path d="M729.619 255.633C732.142 255.633 733.81 254.02 733.81 251.586V250.383H729.811V251.463H732.579V251.702C732.579 253.37 731.39 254.498 729.626 254.498C727.644 254.498 726.406 252.953 726.406 250.472V250.458C726.406 248.011 727.664 246.438 729.619 246.438C731.089 246.438 732.08 247.136 732.483 248.407L732.504 248.476H733.748L733.734 248.407C733.345 246.534 731.807 245.304 729.619 245.304C726.919 245.304 725.148 247.348 725.148 250.458V250.472C725.148 253.623 726.892 255.633 729.619 255.633Z" fill="#575757"/>
-<path d="M735.99 255.4H737.139V247.867H737.214L740.331 255.4H741.37L744.487 247.867H744.562V255.4H745.711V245.536H744.282L740.905 253.767H740.796L737.419 245.536H735.99V255.4Z" fill="#575757"/>
-<path d="M750.79 255.4H752.021V246.644H755.199V245.536H747.611V246.644H750.79V255.4Z" fill="#575757"/>
-<path d="M760.572 251.982H763.635V255.113H764.742V251.982H767.805V250.875H764.742V247.744H763.635V250.875H760.572V251.982Z" fill="#575757"/>
-<path d="M776.876 255.633C778.879 255.633 780.308 254.245 780.308 252.256V252.242C780.308 250.335 778.975 248.947 777.122 248.947C776.227 248.947 775.454 249.31 775.017 249.973H774.907L775.242 246.637H779.761V245.536H774.271L773.752 251.203H774.818C774.941 250.971 775.099 250.779 775.27 250.615C775.693 250.212 776.254 250.014 776.91 250.014C778.188 250.014 779.104 250.95 779.104 252.263V252.276C779.104 253.609 778.202 254.546 776.89 254.546C775.734 254.546 774.88 253.794 774.764 252.851L774.757 252.796H773.574L773.581 252.871C773.725 254.45 775.037 255.633 776.876 255.633Z" fill="#575757"/>
-<path d="M783.268 248.708C783.76 248.708 784.156 248.305 784.156 247.819C784.156 247.327 783.76 246.931 783.268 246.931C782.782 246.931 782.379 247.327 782.379 247.819C782.379 248.305 782.782 248.708 783.268 248.708ZM783.268 253.999C783.76 253.999 784.156 253.596 784.156 253.11C784.156 252.618 783.76 252.222 783.268 252.222C782.782 252.222 782.379 252.618 782.379 253.11C782.379 253.596 782.782 253.999 783.268 253.999Z" fill="#575757"/>
-<path d="M789.734 255.564C791.71 255.564 793.159 254.348 793.159 252.7V252.687C793.159 251.285 792.182 250.39 790.746 250.267V250.239C791.977 249.979 792.838 249.146 792.838 247.929V247.915C792.838 246.418 791.601 245.372 789.721 245.372C787.875 245.372 786.604 246.445 786.446 248.052L786.439 248.12H787.622L787.629 248.052C787.731 247.054 788.559 246.438 789.721 246.438C790.924 246.438 791.601 247.033 791.601 248.065V248.079C791.601 249.063 790.78 249.788 789.604 249.788H788.422V250.827H789.659C791.04 250.827 791.908 251.504 791.908 252.714V252.728C791.908 253.773 791.026 254.498 789.734 254.498C788.422 254.498 787.526 253.828 787.431 252.857L787.424 252.789H786.241L786.248 252.871C786.378 254.43 787.697 255.564 789.734 255.564Z" fill="#575757"/>
-<path d="M798.457 255.633C800.638 255.633 801.95 253.644 801.95 250.472V250.458C801.95 247.286 800.638 245.304 798.457 245.304C796.276 245.304 794.978 247.286 794.978 250.458V250.472C794.978 253.644 796.276 255.633 798.457 255.633ZM798.457 254.56C797.042 254.56 796.215 252.987 796.215 250.472V250.458C796.215 247.942 797.042 246.384 798.457 246.384C799.872 246.384 800.713 247.942 800.713 250.458V250.472C800.713 252.987 799.872 254.56 798.457 254.56Z" fill="#575757"/>
+<path d="M83.0207 272.566L85.876 275.421L84.9327 276.364L82.078 273.509C81.0159 274.36 79.6947 274.823 78.3334 274.821C75.0214 274.821 72.3334 272.133 72.3334 268.821C72.3334 265.509 75.0214 262.821 78.3334 262.821C81.6454 262.821 84.3334 265.509 84.3334 268.821C84.3353 270.183 83.8722 271.504 83.0207 272.566ZM81.6834 272.071C82.5294 271.201 83.002 270.035 83 268.821C83 266.243 80.9114 264.155 78.3334 264.155C75.7547 264.155 73.6667 266.243 73.6667 268.821C73.6667 271.399 75.7547 273.488 78.3334 273.488C79.547 273.49 80.7133 273.017 81.5834 272.171L81.6834 272.071Z" fill="#858282"/>
+</g>
+<rect x="67.5" y="257.988" width="23" height="23" stroke="#F1F1F1"/>
+<rect x="91.5" y="257.988" width="255" height="23" fill="white"/>
+<path d="M97.044 269.014V264.688H98.332V269.014H97.044ZM100.082 269.014V264.688H101.37V269.014H100.082ZM107.651 266.312C107.371 266.312 107.137 266.219 106.951 266.032C106.764 265.846 106.671 265.622 106.671 265.36C106.671 265.09 106.764 264.866 106.951 264.688C107.137 264.502 107.371 264.408 107.651 264.408C107.921 264.408 108.15 264.502 108.337 264.688C108.533 264.866 108.631 265.09 108.631 265.36C108.631 265.622 108.533 265.846 108.337 266.032C108.15 266.219 107.921 266.312 107.651 266.312ZM104.935 274.488V273.48H107.147V268.902C107.147 268.669 107.03 268.552 106.797 268.552H105.173V267.544H107.077C107.907 267.544 108.323 267.96 108.323 268.79V273.48H110.535V274.488H104.935ZM116.031 274.656C115.443 274.656 114.916 274.516 114.449 274.236C113.992 273.956 113.632 273.546 113.371 273.004C113.11 272.454 112.979 271.786 112.979 271.002C112.979 270.228 113.11 269.57 113.371 269.028C113.632 268.487 113.992 268.076 114.449 267.796C114.916 267.516 115.443 267.376 116.031 267.376C116.582 267.376 117.034 267.484 117.389 267.698C117.753 267.913 118.024 268.193 118.201 268.538V264.408H119.377V274.488H118.411L118.285 273.41H118.201C118.014 273.793 117.739 274.096 117.375 274.32C117.011 274.544 116.563 274.656 116.031 274.656ZM116.185 273.536C116.773 273.536 117.258 273.331 117.641 272.92C118.024 272.5 118.215 271.866 118.215 271.016C118.215 270.167 118.024 269.537 117.641 269.126C117.258 268.706 116.773 268.496 116.185 268.496C115.597 268.496 115.112 268.706 114.729 269.126C114.356 269.537 114.169 270.167 114.169 271.016C114.169 271.866 114.356 272.5 114.729 272.92C115.112 273.331 115.597 273.536 116.185 273.536ZM122.648 269.014V264.688H123.936V269.014H122.648ZM125.686 269.014V264.688H126.974V269.014H125.686ZM133.338 274.516C133.049 274.516 132.801 274.418 132.596 274.222C132.391 274.026 132.288 273.784 132.288 273.494C132.288 273.214 132.391 272.976 132.596 272.78C132.801 272.584 133.049 272.486 133.338 272.486C133.627 272.486 133.875 272.584 134.08 272.78C134.285 272.976 134.388 273.214 134.388 273.494C134.388 273.784 134.285 274.026 134.08 274.222C133.875 274.418 133.627 274.516 133.338 274.516ZM133.338 268.986C133.049 268.986 132.801 268.888 132.596 268.692C132.391 268.496 132.288 268.254 132.288 267.964C132.288 267.684 132.391 267.446 132.596 267.25C132.801 267.054 133.049 266.956 133.338 266.956C133.627 266.956 133.875 267.054 134.08 267.25C134.285 267.446 134.388 267.684 134.388 267.964C134.388 268.254 134.285 268.496 134.08 268.692C133.875 268.888 133.627 268.986 133.338 268.986ZM148.251 269.014V264.688H149.539V269.014H148.251ZM151.289 269.014V264.688H152.577V269.014H151.289ZM336.011 269.014V264.688H337.299V269.014H336.011ZM339.049 269.014V264.688H340.337V269.014H339.049Z" fill="#575757"/>
+<path d="M159.138 274.656C158.279 274.656 157.579 274.451 157.038 274.04C156.506 273.62 156.109 273.06 155.848 272.36C155.596 271.651 155.47 270.853 155.47 269.966C155.47 268.893 155.619 267.95 155.918 267.138C156.216 266.317 156.646 265.678 157.206 265.22C157.775 264.754 158.456 264.52 159.25 264.52C159.875 264.52 160.407 264.642 160.846 264.884C161.294 265.118 161.644 265.44 161.896 265.85C162.157 266.252 162.311 266.704 162.358 267.208H161.252C161.158 266.714 160.934 266.322 160.58 266.032C160.225 265.734 159.782 265.584 159.25 265.584C158.783 265.584 158.354 265.734 157.962 266.032C157.579 266.322 157.262 266.774 157.01 267.39C156.767 267.997 156.627 268.772 156.59 269.714H156.66C156.874 269.313 157.206 268.963 157.654 268.664C158.102 268.366 158.643 268.216 159.278 268.216C159.866 268.216 160.393 268.352 160.86 268.622C161.326 268.893 161.695 269.266 161.966 269.742C162.246 270.218 162.386 270.76 162.386 271.366C162.386 271.964 162.25 272.514 161.98 273.018C161.718 273.513 161.34 273.91 160.846 274.208C160.36 274.507 159.791 274.656 159.138 274.656ZM159.054 273.592C159.698 273.592 160.216 273.387 160.608 272.976C161 272.566 161.196 272.052 161.196 271.436C161.196 270.811 161 270.298 160.608 269.896C160.216 269.486 159.698 269.28 159.054 269.28C158.624 269.28 158.246 269.374 157.92 269.56C157.602 269.747 157.35 270.004 157.164 270.33C156.986 270.657 156.898 271.026 156.898 271.436C156.898 271.847 156.986 272.216 157.164 272.542C157.35 272.869 157.602 273.126 157.92 273.312C158.246 273.499 158.624 273.592 159.054 273.592ZM167.602 274.656C166.958 274.656 166.38 274.54 165.866 274.306C165.362 274.064 164.956 273.714 164.648 273.256C164.34 272.799 164.172 272.239 164.144 271.576H165.348C165.367 272.136 165.572 272.612 165.964 273.004C166.356 273.387 166.902 273.578 167.602 273.578C168.284 273.578 168.811 273.406 169.184 273.06C169.558 272.706 169.744 272.225 169.744 271.618C169.744 271.198 169.637 270.853 169.422 270.582C169.208 270.302 168.918 270.097 168.554 269.966C168.2 269.826 167.803 269.756 167.364 269.756H166.51V268.692H167.252C167.887 268.692 168.391 268.557 168.764 268.286C169.147 268.016 169.338 267.619 169.338 267.096C169.338 266.658 169.184 266.298 168.876 266.018C168.578 265.738 168.148 265.598 167.588 265.598C167.047 265.598 166.608 265.752 166.272 266.06C165.936 266.359 165.745 266.751 165.698 267.236H164.522C164.541 266.704 164.681 266.238 164.942 265.836C165.204 265.426 165.558 265.104 166.006 264.87C166.464 264.637 166.991 264.52 167.588 264.52C168.232 264.52 168.769 264.632 169.198 264.856C169.637 265.08 169.968 265.384 170.192 265.766C170.416 266.14 170.528 266.555 170.528 267.012C170.528 267.498 170.379 267.927 170.08 268.3C169.782 268.664 169.427 268.921 169.016 269.07V269.154C169.567 269.322 170.024 269.607 170.388 270.008C170.752 270.41 170.934 270.946 170.934 271.618C170.934 272.188 170.799 272.701 170.528 273.158C170.267 273.616 169.884 273.98 169.38 274.25C168.886 274.521 168.293 274.656 167.602 274.656ZM177.215 274.488V272.22H172.525V271.31L176.991 264.688H178.391V271.156H179.791V272.22H178.391V274.488H177.215ZM173.841 271.156H177.271V266.06L173.841 271.156ZM182.753 274.488L186.575 265.752H181.227V264.688H187.793V265.626L183.999 274.488H182.753ZM193.192 274.656C192.567 274.656 192.007 274.512 191.512 274.222C191.027 273.933 190.639 273.518 190.35 272.976C190.061 272.426 189.916 271.772 189.916 271.016C189.916 270.26 190.061 269.612 190.35 269.07C190.639 268.52 191.031 268.1 191.526 267.81C192.03 267.521 192.585 267.376 193.192 267.376C194.051 267.376 194.737 267.591 195.25 268.02C195.763 268.45 196.09 269.024 196.23 269.742H195.026C194.914 269.36 194.699 269.056 194.382 268.832C194.065 268.599 193.663 268.482 193.178 268.482C192.823 268.482 192.487 268.576 192.17 268.762C191.853 268.949 191.596 269.229 191.4 269.602C191.204 269.976 191.106 270.447 191.106 271.016C191.106 271.586 191.204 272.062 191.4 272.444C191.596 272.818 191.853 273.098 192.17 273.284C192.487 273.471 192.823 273.564 193.178 273.564C193.691 273.564 194.097 273.448 194.396 273.214C194.704 272.981 194.914 272.673 195.026 272.29H196.23C196.053 273.028 195.703 273.606 195.18 274.026C194.667 274.446 194.004 274.656 193.192 274.656ZM201.614 274.656C200.942 274.656 200.364 274.53 199.878 274.278C199.393 274.026 199.01 273.686 198.73 273.256C198.45 272.827 198.282 272.337 198.226 271.786H199.43C199.514 272.318 199.752 272.752 200.144 273.088C200.536 273.415 201.031 273.578 201.628 273.578C202.328 273.578 202.879 273.354 203.28 272.906C203.682 272.449 203.882 271.875 203.882 271.184C203.882 270.456 203.677 269.887 203.266 269.476C202.856 269.056 202.324 268.846 201.67 268.846C201.148 268.846 200.7 268.968 200.326 269.21C199.962 269.444 199.668 269.742 199.444 270.106H198.324L199.164 264.688H204.4V265.766H200.088L199.57 268.678H199.64C199.855 268.445 200.144 268.24 200.508 268.062C200.882 267.885 201.311 267.796 201.796 267.796C202.44 267.796 203 267.936 203.476 268.216C203.962 268.487 204.34 268.879 204.61 269.392C204.881 269.896 205.016 270.489 205.016 271.17C205.016 271.805 204.881 272.388 204.61 272.92C204.349 273.443 203.962 273.863 203.448 274.18C202.944 274.498 202.333 274.656 201.614 274.656ZM210.345 274.656C209.486 274.656 208.786 274.451 208.245 274.04C207.713 273.62 207.316 273.06 207.055 272.36C206.803 271.651 206.677 270.853 206.677 269.966C206.677 268.893 206.826 267.95 207.125 267.138C207.424 266.317 207.853 265.678 208.413 265.22C208.982 264.754 209.664 264.52 210.457 264.52C211.082 264.52 211.614 264.642 212.053 264.884C212.501 265.118 212.851 265.44 213.103 265.85C213.364 266.252 213.518 266.704 213.565 267.208H212.459C212.366 266.714 212.142 266.322 211.787 266.032C211.432 265.734 210.989 265.584 210.457 265.584C209.99 265.584 209.561 265.734 209.169 266.032C208.786 266.322 208.469 266.774 208.217 267.39C207.974 267.997 207.834 268.772 207.797 269.714H207.867C208.082 269.313 208.413 268.963 208.861 268.664C209.309 268.366 209.85 268.216 210.485 268.216C211.073 268.216 211.6 268.352 212.067 268.622C212.534 268.893 212.902 269.266 213.173 269.742C213.453 270.218 213.593 270.76 213.593 271.366C213.593 271.964 213.458 272.514 213.187 273.018C212.926 273.513 212.548 273.91 212.053 274.208C211.568 274.507 210.998 274.656 210.345 274.656ZM210.261 273.592C210.905 273.592 211.423 273.387 211.815 272.976C212.207 272.566 212.403 272.052 212.403 271.436C212.403 270.811 212.207 270.298 211.815 269.896C211.423 269.486 210.905 269.28 210.261 269.28C209.832 269.28 209.454 269.374 209.127 269.56C208.81 269.747 208.558 270.004 208.371 270.33C208.194 270.657 208.105 271.026 208.105 271.436C208.105 271.847 208.194 272.216 208.371 272.542C208.558 272.869 208.81 273.126 209.127 273.312C209.454 273.499 209.832 273.592 210.261 273.592ZM218.515 274.656C217.918 274.656 217.386 274.54 216.919 274.306C216.462 274.064 216.093 273.742 215.813 273.34C215.543 272.93 215.384 272.472 215.337 271.968H216.471C216.555 272.463 216.775 272.86 217.129 273.158C217.493 273.448 217.955 273.592 218.515 273.592C219.253 273.592 219.855 273.261 220.321 272.598C220.788 271.926 221.054 270.881 221.119 269.462H221.035C220.783 269.901 220.461 270.26 220.069 270.54C219.677 270.82 219.127 270.96 218.417 270.96C217.829 270.96 217.302 270.825 216.835 270.554C216.369 270.284 215.995 269.91 215.715 269.434C215.445 268.958 215.309 268.417 215.309 267.81C215.309 267.213 215.44 266.667 215.701 266.172C215.972 265.668 216.35 265.267 216.835 264.968C217.33 264.67 217.904 264.52 218.557 264.52C219.789 264.52 220.709 264.94 221.315 265.78C221.922 266.62 222.225 267.764 222.225 269.21C222.225 270.284 222.081 271.231 221.791 272.052C221.502 272.864 221.082 273.504 220.531 273.97C219.981 274.428 219.309 274.656 218.515 274.656ZM218.641 269.896C219.295 269.896 219.817 269.691 220.209 269.28C220.601 268.87 220.797 268.356 220.797 267.74C220.797 267.124 220.601 266.611 220.209 266.2C219.817 265.79 219.295 265.584 218.641 265.584C217.988 265.584 217.465 265.79 217.073 266.2C216.691 266.611 216.499 267.124 216.499 267.74C216.499 268.366 216.691 268.884 217.073 269.294C217.465 269.696 217.988 269.896 218.641 269.896ZM224.054 274.488V273.564C225.062 272.762 225.939 272.024 226.686 271.352C227.442 270.68 228.025 270.032 228.436 269.406C228.847 268.781 229.052 268.142 229.052 267.488C229.052 266.9 228.884 266.438 228.548 266.102C228.221 265.757 227.778 265.584 227.218 265.584C226.789 265.584 226.425 265.678 226.126 265.864C225.827 266.051 225.603 266.298 225.454 266.606C225.305 266.914 225.23 267.246 225.23 267.6H224.068C224.077 266.956 224.217 266.406 224.488 265.948C224.768 265.482 225.141 265.127 225.608 264.884C226.084 264.642 226.621 264.52 227.218 264.52C228.179 264.52 228.926 264.786 229.458 265.318C229.99 265.85 230.256 266.564 230.256 267.46C230.256 268.048 230.13 268.613 229.878 269.154C229.626 269.686 229.29 270.2 228.87 270.694C228.45 271.189 227.979 271.665 227.456 272.122C226.933 272.58 226.406 273.018 225.874 273.438H230.522V274.488H224.054ZM235.823 274.656C235.169 274.656 234.591 274.507 234.087 274.208C233.592 273.9 233.2 273.476 232.911 272.934C232.621 272.384 232.477 271.744 232.477 271.016C232.477 270.288 232.617 269.654 232.897 269.112C233.186 268.562 233.583 268.137 234.087 267.838C234.591 267.53 235.179 267.376 235.851 267.376C236.523 267.376 237.097 267.53 237.573 267.838C238.049 268.137 238.413 268.534 238.665 269.028C238.917 269.523 239.043 270.055 239.043 270.624C239.043 270.727 239.038 270.83 239.029 270.932C239.029 271.035 239.029 271.152 239.029 271.282H233.639C233.667 271.796 233.783 272.225 233.989 272.57C234.203 272.906 234.469 273.158 234.787 273.326C235.113 273.494 235.459 273.578 235.823 273.578C236.336 273.578 236.737 273.471 237.027 273.256C237.316 273.042 237.535 272.743 237.685 272.36H238.847C238.688 273.004 238.357 273.55 237.853 273.998C237.349 274.437 236.672 274.656 235.823 274.656ZM235.823 268.426C235.281 268.426 234.805 268.59 234.395 268.916C233.993 269.243 233.746 269.7 233.653 270.288H237.881C237.843 269.71 237.633 269.257 237.251 268.93C236.877 268.594 236.401 268.426 235.823 268.426ZM244.357 274.656C243.704 274.656 243.125 274.507 242.621 274.208C242.126 273.9 241.734 273.476 241.445 272.934C241.156 272.384 241.011 271.744 241.011 271.016C241.011 270.288 241.151 269.654 241.431 269.112C241.72 268.562 242.117 268.137 242.621 267.838C243.125 267.53 243.713 267.376 244.385 267.376C245.057 267.376 245.631 267.53 246.107 267.838C246.583 268.137 246.947 268.534 247.199 269.028C247.451 269.523 247.577 270.055 247.577 270.624C247.577 270.727 247.572 270.83 247.563 270.932C247.563 271.035 247.563 271.152 247.563 271.282H242.173C242.201 271.796 242.318 272.225 242.523 272.57C242.738 272.906 243.004 273.158 243.321 273.326C243.648 273.494 243.993 273.578 244.357 273.578C244.87 273.578 245.272 273.471 245.561 273.256C245.85 273.042 246.07 272.743 246.219 272.36H247.381C247.222 273.004 246.891 273.55 246.387 273.998C245.883 274.437 245.206 274.656 244.357 274.656ZM244.357 268.426C243.816 268.426 243.34 268.59 242.929 268.916C242.528 269.243 242.28 269.7 242.187 270.288H246.415C246.378 269.71 246.168 269.257 245.785 268.93C245.412 268.594 244.936 268.426 244.357 268.426ZM251.03 274.488L254.852 265.752H249.504V264.688H256.07V265.626L252.276 274.488H251.03ZM259.564 274.488L263.386 265.752H258.038V264.688H264.604V265.626L260.81 274.488H259.564ZM266.727 274.488V273.564C267.735 272.762 268.612 272.024 269.359 271.352C270.115 270.68 270.698 270.032 271.109 269.406C271.519 268.781 271.725 268.142 271.725 267.488C271.725 266.9 271.557 266.438 271.221 266.102C270.894 265.757 270.451 265.584 269.891 265.584C269.461 265.584 269.097 265.678 268.799 265.864C268.5 266.051 268.276 266.298 268.127 266.606C267.977 266.914 267.903 267.246 267.903 267.6H266.741C266.75 266.956 266.89 266.406 267.161 265.948C267.441 265.482 267.814 265.127 268.281 264.884C268.757 264.642 269.293 264.52 269.891 264.52C270.852 264.52 271.599 264.786 272.131 265.318C272.663 265.85 272.929 266.564 272.929 267.46C272.929 268.048 272.803 268.613 272.551 269.154C272.299 269.686 271.963 270.2 271.543 270.694C271.123 271.189 270.651 271.665 270.129 272.122C269.606 272.58 269.079 273.018 268.547 273.438H273.195V274.488H266.727ZM278.425 274.656C277.753 274.656 277.174 274.53 276.689 274.278C276.204 274.026 275.821 273.686 275.541 273.256C275.261 272.827 275.093 272.337 275.037 271.786H276.241C276.325 272.318 276.563 272.752 276.955 273.088C277.347 273.415 277.842 273.578 278.439 273.578C279.139 273.578 279.69 273.354 280.091 272.906C280.492 272.449 280.693 271.875 280.693 271.184C280.693 270.456 280.488 269.887 280.077 269.476C279.666 269.056 279.134 268.846 278.481 268.846C277.958 268.846 277.51 268.968 277.137 269.21C276.773 269.444 276.479 269.742 276.255 270.106H275.135L275.975 264.688H281.211V265.766H276.899L276.381 268.678H276.451C276.666 268.445 276.955 268.24 277.319 268.062C277.692 267.885 278.122 267.796 278.607 267.796C279.251 267.796 279.811 267.936 280.287 268.216C280.772 268.487 281.15 268.879 281.421 269.392C281.692 269.896 281.827 270.489 281.827 271.17C281.827 271.805 281.692 272.388 281.421 272.92C281.16 273.443 280.772 273.863 280.259 274.18C279.755 274.498 279.144 274.656 278.425 274.656ZM286.372 274.656C285.821 274.656 285.364 274.558 285 274.362C284.636 274.166 284.365 273.91 284.188 273.592C284.01 273.266 283.922 272.911 283.922 272.528C283.922 271.819 284.178 271.282 284.692 270.918C285.214 270.545 285.91 270.358 286.778 270.358H288.682V270.218C288.682 269.005 288.126 268.398 287.016 268.398C286.568 268.398 286.19 268.496 285.882 268.692C285.583 268.888 285.392 269.196 285.308 269.616H284.104C284.15 269.15 284.304 268.748 284.566 268.412C284.836 268.076 285.182 267.82 285.602 267.642C286.022 267.465 286.493 267.376 287.016 267.376C288.005 267.376 288.724 267.638 289.172 268.16C289.629 268.674 289.858 269.36 289.858 270.218V274.488H288.85L288.752 273.41H288.654C288.448 273.746 288.173 274.04 287.828 274.292C287.492 274.535 287.006 274.656 286.372 274.656ZM286.582 273.62C287.03 273.62 287.408 273.513 287.716 273.298C288.033 273.084 288.271 272.799 288.43 272.444C288.598 272.09 288.682 271.702 288.682 271.282H286.876C286.241 271.282 285.793 271.39 285.532 271.604C285.28 271.819 285.154 272.104 285.154 272.458C285.154 272.822 285.275 273.107 285.518 273.312C285.76 273.518 286.115 273.62 286.582 273.62ZM295.494 274.656C294.841 274.656 294.267 274.535 293.772 274.292C293.287 274.04 292.904 273.7 292.624 273.27C292.344 272.841 292.204 272.351 292.204 271.8C292.204 271.184 292.368 270.662 292.694 270.232C293.021 269.803 293.399 269.504 293.828 269.336V269.266C293.418 269.07 293.086 268.79 292.834 268.426C292.592 268.053 292.47 267.619 292.47 267.124C292.47 266.648 292.592 266.214 292.834 265.822C293.086 265.421 293.441 265.104 293.898 264.87C294.356 264.637 294.888 264.52 295.494 264.52C296.092 264.52 296.614 264.637 297.062 264.87C297.52 265.104 297.874 265.421 298.126 265.822C298.388 266.214 298.518 266.648 298.518 267.124C298.518 267.619 298.392 268.053 298.14 268.426C297.898 268.79 297.571 269.07 297.16 269.266V269.336C297.59 269.504 297.968 269.803 298.294 270.232C298.621 270.662 298.784 271.184 298.784 271.8C298.784 272.351 298.644 272.841 298.364 273.27C298.084 273.7 297.697 274.04 297.202 274.292C296.717 274.535 296.148 274.656 295.494 274.656ZM295.494 268.832C296.073 268.832 296.526 268.683 296.852 268.384C297.188 268.076 297.356 267.68 297.356 267.194C297.356 266.718 297.188 266.331 296.852 266.032C296.526 265.724 296.073 265.57 295.494 265.57C294.916 265.57 294.458 265.724 294.122 266.032C293.796 266.331 293.632 266.718 293.632 267.194C293.632 267.68 293.796 268.076 294.122 268.384C294.458 268.683 294.916 268.832 295.494 268.832ZM295.494 273.592C296.12 273.592 296.624 273.434 297.006 273.116C297.398 272.79 297.594 272.318 297.594 271.702C297.594 271.096 297.398 270.634 297.006 270.316C296.624 269.99 296.12 269.826 295.494 269.826C294.869 269.826 294.36 269.99 293.968 270.316C293.586 270.634 293.394 271.096 293.394 271.702C293.394 272.318 293.586 272.79 293.968 273.116C294.36 273.434 294.869 273.592 295.494 273.592ZM300.809 274.488V273.424H303.343V266.074L300.949 266.536V265.64L303.735 264.688H304.519V273.424H307.193V274.488H300.809ZM312.563 274.656C311.91 274.656 311.336 274.535 310.841 274.292C310.356 274.04 309.973 273.7 309.693 273.27C309.413 272.841 309.273 272.351 309.273 271.8C309.273 271.184 309.437 270.662 309.763 270.232C310.09 269.803 310.468 269.504 310.897 269.336V269.266C310.487 269.07 310.155 268.79 309.903 268.426C309.661 268.053 309.539 267.619 309.539 267.124C309.539 266.648 309.661 266.214 309.903 265.822C310.155 265.421 310.51 265.104 310.967 264.87C311.425 264.637 311.957 264.52 312.563 264.52C313.161 264.52 313.683 264.637 314.131 264.87C314.589 265.104 314.943 265.421 315.195 265.822C315.457 266.214 315.587 266.648 315.587 267.124C315.587 267.619 315.461 268.053 315.209 268.426C314.967 268.79 314.64 269.07 314.229 269.266V269.336C314.659 269.504 315.037 269.803 315.363 270.232C315.69 270.662 315.853 271.184 315.853 271.8C315.853 272.351 315.713 272.841 315.433 273.27C315.153 273.7 314.766 274.04 314.271 274.292C313.786 274.535 313.217 274.656 312.563 274.656ZM312.563 268.832C313.142 268.832 313.595 268.683 313.921 268.384C314.257 268.076 314.425 267.68 314.425 267.194C314.425 266.718 314.257 266.331 313.921 266.032C313.595 265.724 313.142 265.57 312.563 265.57C311.985 265.57 311.527 265.724 311.191 266.032C310.865 266.331 310.701 266.718 310.701 267.194C310.701 267.68 310.865 268.076 311.191 268.384C311.527 268.683 311.985 268.832 312.563 268.832ZM312.563 273.592C313.189 273.592 313.693 273.434 314.075 273.116C314.467 272.79 314.663 272.318 314.663 271.702C314.663 271.096 314.467 270.634 314.075 270.316C313.693 269.99 313.189 269.826 312.563 269.826C311.938 269.826 311.429 269.99 311.037 270.316C310.655 270.634 310.463 271.096 310.463 271.702C310.463 272.318 310.655 272.79 311.037 273.116C311.429 273.434 311.938 273.592 312.563 273.592ZM321.098 274.656C320.444 274.656 319.87 274.535 319.376 274.292C318.89 274.04 318.508 273.7 318.228 273.27C317.948 272.841 317.808 272.351 317.808 271.8C317.808 271.184 317.971 270.662 318.298 270.232C318.624 269.803 319.002 269.504 319.432 269.336V269.266C319.021 269.07 318.69 268.79 318.438 268.426C318.195 268.053 318.074 267.619 318.074 267.124C318.074 266.648 318.195 266.214 318.438 265.822C318.69 265.421 319.044 265.104 319.502 264.87C319.959 264.637 320.491 264.52 321.098 264.52C321.695 264.52 322.218 264.637 322.666 264.87C323.123 265.104 323.478 265.421 323.73 265.822C323.991 266.214 324.122 266.648 324.122 267.124C324.122 267.619 323.996 268.053 323.744 268.426C323.501 268.79 323.174 269.07 322.764 269.266V269.336C323.193 269.504 323.571 269.803 323.898 270.232C324.224 270.662 324.388 271.184 324.388 271.8C324.388 272.351 324.248 272.841 323.968 273.27C323.688 273.7 323.3 274.04 322.806 274.292C322.32 274.535 321.751 274.656 321.098 274.656ZM321.098 268.832C321.676 268.832 322.129 268.683 322.456 268.384C322.792 268.076 322.96 267.68 322.96 267.194C322.96 266.718 322.792 266.331 322.456 266.032C322.129 265.724 321.676 265.57 321.098 265.57C320.519 265.57 320.062 265.724 319.726 266.032C319.399 266.331 319.236 266.718 319.236 267.194C319.236 267.68 319.399 268.076 319.726 268.384C320.062 268.683 320.519 268.832 321.098 268.832ZM321.098 273.592C321.723 273.592 322.227 273.434 322.61 273.116C323.002 272.79 323.198 272.318 323.198 271.702C323.198 271.096 323.002 270.634 322.61 270.316C322.227 269.99 321.723 269.826 321.098 269.826C320.472 269.826 319.964 269.99 319.572 270.316C319.189 270.634 318.998 271.096 318.998 271.702C318.998 272.318 319.189 272.79 319.572 273.116C319.964 273.434 320.472 273.592 321.098 273.592ZM326.412 274.488V273.424H328.946V266.074L326.552 266.536V265.64L329.338 264.688H330.122V273.424H332.796V274.488H326.412Z" fill="#F86A2B"/>
+<rect x="91.5" y="257.988" width="255" height="23" stroke="#F1F1F1"/>
+<rect x="67.5" y="257.988" width="279" height="23" stroke="#393939"/>
+<rect x="357.5" y="257.988" width="23" height="23" fill="white"/>
<g clip-path="url(#clip2_625_11871)">
-<rect width="650" height="138" transform="translate(66 275)" fill="#F8F8F8"/>
-<path d="M77.876 295.756H78.252V294.792H77.9785C77.0146 294.792 76.625 294.348 76.625 293.254V291.053C76.625 290.068 76.1328 289.556 75.1279 289.453V289.289C76.1328 289.187 76.625 288.674 76.625 287.689V285.502C76.625 284.408 77.0146 283.964 77.9785 283.964H78.252V283H77.876C76.2627 283 75.5039 283.759 75.5039 285.352V287.266C75.5039 288.359 75.1279 288.722 74 288.722V290.021C75.1279 290.021 75.5039 290.383 75.5039 291.477V293.404C75.5039 294.997 76.2627 295.756 77.876 295.756Z" fill="#191919"/>
-<path d="M90.7891 309.32H91.7734L91.917 305.431H90.6455L90.7891 309.32ZM93.3184 309.32H94.3027L94.4463 305.431H93.1748L93.3184 309.32Z" fill="#191919"/>
-<path d="M100.004 315.425C101.74 315.425 102.793 314.44 103.046 313.442L103.06 313.388H101.87L101.843 313.449C101.645 313.894 101.029 314.365 100.031 314.365C98.7188 314.365 97.8779 313.477 97.8438 311.952H103.148V311.487C103.148 309.286 101.932 307.796 99.9287 307.796C97.9258 307.796 96.627 309.354 96.627 311.631V311.638C96.627 313.948 97.8984 315.425 100.004 315.425ZM99.9219 308.855C101.009 308.855 101.815 309.546 101.938 311.002H97.8643C97.9941 309.601 98.8281 308.855 99.9219 308.855Z" fill="#191919"/>
-<path d="M106.942 315.295H108.146L110.873 307.926H109.615L107.599 313.996H107.489L105.473 307.926H104.215L106.942 315.295Z" fill="#191919"/>
-<path d="M115.18 315.425C116.916 315.425 117.969 314.44 118.222 313.442L118.235 313.388H117.046L117.019 313.449C116.82 313.894 116.205 314.365 115.207 314.365C113.895 314.365 113.054 313.477 113.02 311.952H118.324V311.487C118.324 309.286 117.107 307.796 115.104 307.796C113.102 307.796 111.803 309.354 111.803 311.631V311.638C111.803 313.948 113.074 315.425 115.18 315.425ZM115.098 308.855C116.185 308.855 116.991 309.546 117.114 311.002H113.04C113.17 309.601 114.004 308.855 115.098 308.855Z" fill="#191919"/>
-<path d="M120.17 315.295H121.359V310.934C121.359 309.642 122.104 308.849 123.28 308.849C124.456 308.849 125.003 309.484 125.003 310.811V315.295H126.192V310.523C126.192 308.773 125.27 307.796 123.615 307.796C122.528 307.796 121.838 308.254 121.469 309.033H121.359V307.926H120.17V315.295Z" fill="#191919"/>
-<path d="M130.964 315.35C131.196 315.35 131.422 315.322 131.654 315.281V314.27C131.436 314.29 131.319 314.297 131.107 314.297C130.342 314.297 130.041 313.948 130.041 313.08V308.91H131.654V307.926H130.041V306.019H128.811V307.926H127.648V308.91H128.811V313.381C128.811 314.789 129.446 315.35 130.964 315.35Z" fill="#191919"/>
-<path d="M133.91 309.32H134.895L135.038 305.431H133.767L133.91 309.32ZM136.439 309.32H137.424L137.567 305.431H136.296L136.439 309.32Z" fill="#191919"/>
-<path d="M141.088 310.072C141.58 310.072 141.977 309.669 141.977 309.184C141.977 308.691 141.58 308.295 141.088 308.295C140.603 308.295 140.199 308.691 140.199 309.184C140.199 309.669 140.603 310.072 141.088 310.072ZM141.088 315.363C141.58 315.363 141.977 314.96 141.977 314.475C141.977 313.982 141.58 313.586 141.088 313.586C140.603 313.586 140.199 313.982 140.199 314.475C140.199 314.96 140.603 315.363 141.088 315.363Z" fill="#191919"/>
-<path d="M148.689 309.32H149.674L149.817 305.431H148.546L148.689 309.32ZM151.219 309.32H152.203L152.347 305.431H151.075L151.219 309.32Z" fill="#191919"/>
-<path d="M156.92 315.425C157.911 315.425 158.684 314.994 159.148 314.208H159.258V315.295H160.447V310.25C160.447 308.719 159.442 307.796 157.645 307.796C156.072 307.796 154.951 308.575 154.76 309.73L154.753 309.771H155.942L155.949 309.751C156.141 309.177 156.722 308.849 157.604 308.849C158.704 308.849 159.258 309.341 159.258 310.25V310.92L157.146 311.05C155.43 311.152 154.459 311.911 154.459 313.224V313.237C154.459 314.577 155.519 315.425 156.92 315.425ZM155.676 313.21V313.196C155.676 312.465 156.168 312.068 157.289 312L159.258 311.877V312.547C159.258 313.6 158.376 314.393 157.166 314.393C156.312 314.393 155.676 313.955 155.676 313.21Z" fill="#191919"/>
-<path d="M162.621 317.756H163.811V314.133H163.92C164.323 314.919 165.205 315.425 166.217 315.425C168.09 315.425 169.307 313.928 169.307 311.617V311.604C169.307 309.307 168.083 307.796 166.217 307.796C165.191 307.796 164.371 308.281 163.92 309.102H163.811V307.926H162.621V317.756ZM165.943 314.372C164.604 314.372 163.783 313.319 163.783 311.617V311.604C163.783 309.901 164.604 308.849 165.943 308.849C167.29 308.849 168.09 309.888 168.09 311.604V311.617C168.09 313.333 167.29 314.372 165.943 314.372Z" fill="#191919"/>
-<path d="M171.166 317.756H172.355V314.133H172.465C172.868 314.919 173.75 315.425 174.762 315.425C176.635 315.425 177.852 313.928 177.852 311.617V311.604C177.852 309.307 176.628 307.796 174.762 307.796C173.736 307.796 172.916 308.281 172.465 309.102H172.355V307.926H171.166V317.756ZM174.488 314.372C173.148 314.372 172.328 313.319 172.328 311.617V311.604C172.328 309.901 173.148 308.849 174.488 308.849C175.835 308.849 176.635 309.888 176.635 311.604V311.617C176.635 313.333 175.835 314.372 174.488 314.372Z" fill="#191919"/>
-<path d="M179.779 315.295H180.969V305H179.779V315.295Z" fill="#191919"/>
-<path d="M183.881 306.504C184.332 306.504 184.701 306.135 184.701 305.684C184.701 305.232 184.332 304.863 183.881 304.863C183.43 304.863 183.061 305.232 183.061 305.684C183.061 306.135 183.43 306.504 183.881 306.504ZM183.279 315.295H184.469V307.926H183.279V315.295Z" fill="#191919"/>
-<path d="M189.726 315.425C191.496 315.425 192.487 314.475 192.788 313.142L192.802 313.066L191.626 313.073L191.612 313.114C191.339 313.935 190.71 314.372 189.719 314.372C188.406 314.372 187.559 313.285 187.559 311.59V311.576C187.559 309.915 188.393 308.849 189.719 308.849C190.778 308.849 191.435 309.437 191.619 310.161L191.626 310.182H192.809L192.802 310.141C192.583 308.828 191.51 307.796 189.719 307.796C187.654 307.796 186.342 309.286 186.342 311.576V311.59C186.342 313.928 187.661 315.425 189.726 315.425Z" fill="#191919"/>
-<path d="M196.568 315.425C197.56 315.425 198.332 314.994 198.797 314.208H198.906V315.295H200.096V310.25C200.096 308.719 199.091 307.796 197.293 307.796C195.721 307.796 194.6 308.575 194.408 309.73L194.401 309.771H195.591L195.598 309.751C195.789 309.177 196.37 308.849 197.252 308.849C198.353 308.849 198.906 309.341 198.906 310.25V310.92L196.794 311.05C195.078 311.152 194.107 311.911 194.107 313.224V313.237C194.107 314.577 195.167 315.425 196.568 315.425ZM195.324 313.21V313.196C195.324 312.465 195.816 312.068 196.938 312L198.906 311.877V312.547C198.906 313.6 198.024 314.393 196.814 314.393C195.96 314.393 195.324 313.955 195.324 313.21Z" fill="#191919"/>
-<path d="M204.888 315.35C205.12 315.35 205.346 315.322 205.578 315.281V314.27C205.359 314.29 205.243 314.297 205.031 314.297C204.266 314.297 203.965 313.948 203.965 313.08V308.91H205.578V307.926H203.965V306.019H202.734V307.926H201.572V308.91H202.734V313.381C202.734 314.789 203.37 315.35 204.888 315.35Z" fill="#191919"/>
-<path d="M207.984 306.504C208.436 306.504 208.805 306.135 208.805 305.684C208.805 305.232 208.436 304.863 207.984 304.863C207.533 304.863 207.164 305.232 207.164 305.684C207.164 306.135 207.533 306.504 207.984 306.504ZM207.383 315.295H208.572V307.926H207.383V315.295Z" fill="#191919"/>
-<path d="M213.843 315.425C215.941 315.425 217.24 313.976 217.24 311.617V311.604C217.24 309.238 215.941 307.796 213.843 307.796C211.744 307.796 210.445 309.238 210.445 311.604V311.617C210.445 313.976 211.744 315.425 213.843 315.425ZM213.843 314.372C212.448 314.372 211.662 313.354 211.662 311.617V311.604C211.662 309.86 212.448 308.849 213.843 308.849C215.237 308.849 216.023 309.86 216.023 311.604V311.617C216.023 313.354 215.237 314.372 213.843 314.372Z" fill="#191919"/>
-<path d="M219.086 315.295H220.275V310.934C220.275 309.642 221.021 308.849 222.196 308.849C223.372 308.849 223.919 309.484 223.919 310.811V315.295H225.108V310.523C225.108 308.773 224.186 307.796 222.531 307.796C221.444 307.796 220.754 308.254 220.385 309.033H220.275V307.926H219.086V315.295Z" fill="#191919"/>
-<path d="M228.232 315.363C228.725 315.363 229.121 314.96 229.121 314.475C229.121 313.982 228.725 313.586 228.232 313.586C227.747 313.586 227.344 313.982 227.344 314.475C227.344 314.96 227.747 315.363 228.232 315.363Z" fill="#191919"/>
-<path d="M233.886 315.425C234.966 315.425 235.711 314.98 236.073 314.194H236.183V315.295H237.372V307.926H236.183V312.287C236.183 313.579 235.492 314.372 234.193 314.372C233.018 314.372 232.539 313.736 232.539 312.41V307.926H231.35V312.697C231.35 314.44 232.211 315.425 233.886 315.425Z" fill="#191919"/>
-<path d="M239.594 317.756H240.783V314.133H240.893C241.296 314.919 242.178 315.425 243.189 315.425C245.062 315.425 246.279 313.928 246.279 311.617V311.604C246.279 309.307 245.056 307.796 243.189 307.796C242.164 307.796 241.344 308.281 240.893 309.102H240.783V307.926H239.594V317.756ZM242.916 314.372C241.576 314.372 240.756 313.319 240.756 311.617V311.604C240.756 309.901 241.576 308.849 242.916 308.849C244.263 308.849 245.062 309.888 245.062 311.604V311.617C245.062 313.333 244.263 314.372 242.916 314.372Z" fill="#191919"/>
-<path d="M250.859 315.425C251.885 315.425 252.705 314.939 253.156 314.119H253.266V315.295H254.455V305H253.266V309.088H253.156C252.753 308.302 251.871 307.796 250.859 307.796C248.986 307.796 247.77 309.293 247.77 311.604V311.617C247.77 313.914 248.993 315.425 250.859 315.425ZM251.133 314.372C249.786 314.372 248.986 313.333 248.986 311.617V311.604C248.986 309.888 249.786 308.849 251.133 308.849C252.473 308.849 253.293 309.901 253.293 311.604V311.617C253.293 313.319 252.473 314.372 251.133 314.372Z" fill="#191919"/>
-<path d="M258.762 315.425C259.753 315.425 260.525 314.994 260.99 314.208H261.1V315.295H262.289V310.25C262.289 308.719 261.284 307.796 259.486 307.796C257.914 307.796 256.793 308.575 256.602 309.73L256.595 309.771H257.784L257.791 309.751C257.982 309.177 258.563 308.849 259.445 308.849C260.546 308.849 261.1 309.341 261.1 310.25V310.92L258.987 311.05C257.271 311.152 256.301 311.911 256.301 313.224V313.237C256.301 314.577 257.36 315.425 258.762 315.425ZM257.518 313.21V313.196C257.518 312.465 258.01 312.068 259.131 312L261.1 311.877V312.547C261.1 313.6 260.218 314.393 259.008 314.393C258.153 314.393 257.518 313.955 257.518 313.21Z" fill="#191919"/>
-<path d="M267.081 315.35C267.313 315.35 267.539 315.322 267.771 315.281V314.27C267.553 314.29 267.437 314.297 267.225 314.297C266.459 314.297 266.158 313.948 266.158 313.08V308.91H267.771V307.926H266.158V306.019H264.928V307.926H263.766V308.91H264.928V313.381C264.928 314.789 265.563 315.35 267.081 315.35Z" fill="#191919"/>
-<path d="M272.447 315.425C274.184 315.425 275.236 314.44 275.489 313.442L275.503 313.388H274.313L274.286 313.449C274.088 313.894 273.473 314.365 272.475 314.365C271.162 314.365 270.321 313.477 270.287 311.952H275.592V311.487C275.592 309.286 274.375 307.796 272.372 307.796C270.369 307.796 269.07 309.354 269.07 311.631V311.638C269.07 313.948 270.342 315.425 272.447 315.425ZM272.365 308.855C273.452 308.855 274.259 309.546 274.382 311.002H270.308C270.438 309.601 271.271 308.855 272.365 308.855Z" fill="#191919"/>
-<path d="M280.158 315.425C281.184 315.425 282.004 314.939 282.455 314.119H282.564V315.295H283.754V305H282.564V309.088H282.455C282.052 308.302 281.17 307.796 280.158 307.796C278.285 307.796 277.068 309.293 277.068 311.604V311.617C277.068 313.914 278.292 315.425 280.158 315.425ZM280.432 314.372C279.085 314.372 278.285 313.333 278.285 311.617V311.604C278.285 309.888 279.085 308.849 280.432 308.849C281.771 308.849 282.592 309.901 282.592 311.604V311.617C282.592 313.319 281.771 314.372 280.432 314.372Z" fill="#191919"/>
-<path d="M286.516 309.32H287.5L287.644 305.431H286.372L286.516 309.32ZM289.045 309.32H290.029L290.173 305.431H288.901L289.045 309.32Z" fill="#191919"/>
-<path d="M291.123 317.804H292.005L293.078 313.914H291.718L291.123 317.804Z" fill="#191919"/>
-<path d="M90.7891 331.32H91.7734L91.917 327.431H90.6455L90.7891 331.32ZM93.3184 331.32H94.3027L94.4463 327.431H93.1748L93.3184 331.32Z" fill="#191919"/>
-<path d="M99.6143 337.35C99.8467 337.35 100.072 337.322 100.305 337.281V336.27C100.086 336.29 99.9697 336.297 99.7578 336.297C98.9922 336.297 98.6914 335.948 98.6914 335.08V330.91H100.305V329.926H98.6914V328.019H97.4609V329.926H96.2988V330.91H97.4609V335.381C97.4609 336.789 98.0967 337.35 99.6143 337.35Z" fill="#191919"/>
-<path d="M102.711 328.504C103.162 328.504 103.531 328.135 103.531 327.684C103.531 327.232 103.162 326.863 102.711 326.863C102.26 326.863 101.891 327.232 101.891 327.684C101.891 328.135 102.26 328.504 102.711 328.504ZM102.109 337.295H103.299V329.926H102.109V337.295Z" fill="#191919"/>
-<path d="M105.541 337.295H106.73V332.729C106.73 331.689 107.462 330.849 108.426 330.849C109.355 330.849 109.957 331.416 109.957 332.291V337.295H111.146V332.558C111.146 331.621 111.823 330.849 112.849 330.849C113.888 330.849 114.387 331.389 114.387 332.476V337.295H115.576V332.202C115.576 330.657 114.735 329.796 113.231 329.796C112.213 329.796 111.372 330.309 110.976 331.088H110.866C110.524 330.322 109.827 329.796 108.829 329.796C107.865 329.796 107.168 330.254 106.84 331.047H106.73V329.926H105.541V337.295Z" fill="#191919"/>
-<path d="M120.73 337.425C122.467 337.425 123.52 336.44 123.772 335.442L123.786 335.388H122.597L122.569 335.449C122.371 335.894 121.756 336.365 120.758 336.365C119.445 336.365 118.604 335.477 118.57 333.952H123.875V333.487C123.875 331.286 122.658 329.796 120.655 329.796C118.652 329.796 117.354 331.354 117.354 333.631V333.638C117.354 335.948 118.625 337.425 120.73 337.425ZM120.648 330.855C121.735 330.855 122.542 331.546 122.665 333.002H118.591C118.721 331.601 119.555 330.855 120.648 330.855Z" fill="#191919"/>
-<path d="M128.25 337.425C129.925 337.425 131.203 336.516 131.203 335.203V335.189C131.203 334.137 130.533 333.535 129.146 333.2L128.011 332.927C127.143 332.715 126.773 332.4 126.773 331.901V331.888C126.773 331.238 127.416 330.787 128.291 330.787C129.18 330.787 129.754 331.19 129.911 331.771H131.08C130.916 330.568 129.843 329.796 128.298 329.796C126.732 329.796 125.557 330.719 125.557 331.942V331.949C125.557 333.009 126.179 333.61 127.56 333.938L128.701 334.212C129.61 334.431 129.986 334.779 129.986 335.278V335.292C129.986 335.962 129.282 336.434 128.291 336.434C127.348 336.434 126.76 336.03 126.562 335.415H125.345C125.481 336.632 126.609 337.425 128.25 337.425Z" fill="#191919"/>
-<path d="M135.599 337.35C135.831 337.35 136.057 337.322 136.289 337.281V336.27C136.07 336.29 135.954 336.297 135.742 336.297C134.977 336.297 134.676 335.948 134.676 335.08V330.91H136.289V329.926H134.676V328.019H133.445V329.926H132.283V330.91H133.445V335.381C133.445 336.789 134.081 337.35 135.599 337.35Z" fill="#191919"/>
-<path d="M140.09 337.425C141.081 337.425 141.854 336.994 142.318 336.208H142.428V337.295H143.617V332.25C143.617 330.719 142.612 329.796 140.814 329.796C139.242 329.796 138.121 330.575 137.93 331.73L137.923 331.771H139.112L139.119 331.751C139.311 331.177 139.892 330.849 140.773 330.849C141.874 330.849 142.428 331.341 142.428 332.25V332.92L140.315 333.05C138.6 333.152 137.629 333.911 137.629 335.224V335.237C137.629 336.577 138.688 337.425 140.09 337.425ZM138.846 335.21V335.196C138.846 334.465 139.338 334.068 140.459 334L142.428 333.877V334.547C142.428 335.6 141.546 336.393 140.336 336.393C139.481 336.393 138.846 335.955 138.846 335.21Z" fill="#191919"/>
-<path d="M145.791 337.295H146.98V332.729C146.98 331.689 147.712 330.849 148.676 330.849C149.605 330.849 150.207 331.416 150.207 332.291V337.295H151.396V332.558C151.396 331.621 152.073 330.849 153.099 330.849C154.138 330.849 154.637 331.389 154.637 332.476V337.295H155.826V332.202C155.826 330.657 154.985 329.796 153.481 329.796C152.463 329.796 151.622 330.309 151.226 331.088H151.116C150.774 330.322 150.077 329.796 149.079 329.796C148.115 329.796 147.418 330.254 147.09 331.047H146.98V329.926H145.791V337.295Z" fill="#191919"/>
-<path d="M157.973 339.756H159.162V336.133H159.271C159.675 336.919 160.557 337.425 161.568 337.425C163.441 337.425 164.658 335.928 164.658 333.617V333.604C164.658 331.307 163.435 329.796 161.568 329.796C160.543 329.796 159.723 330.281 159.271 331.102H159.162V329.926H157.973V339.756ZM161.295 336.372C159.955 336.372 159.135 335.319 159.135 333.617V333.604C159.135 331.901 159.955 330.849 161.295 330.849C162.642 330.849 163.441 331.888 163.441 333.604V333.617C163.441 335.333 162.642 336.372 161.295 336.372Z" fill="#191919"/>
-<path d="M166.996 331.32H167.98L168.124 327.431H166.853L166.996 331.32ZM169.525 331.32H170.51L170.653 327.431H169.382L169.525 331.32Z" fill="#191919"/>
-<path d="M174.174 332.072C174.666 332.072 175.062 331.669 175.062 331.184C175.062 330.691 174.666 330.295 174.174 330.295C173.688 330.295 173.285 330.691 173.285 331.184C173.285 331.669 173.688 332.072 174.174 332.072ZM174.174 337.363C174.666 337.363 175.062 336.96 175.062 336.475C175.062 335.982 174.666 335.586 174.174 335.586C173.688 335.586 173.285 335.982 173.285 336.475C173.285 336.96 173.688 337.363 174.174 337.363Z" fill="#191919"/>
-<path d="M181.775 331.32H182.76L182.903 327.431H181.632L181.775 331.32ZM184.305 331.32H185.289L185.433 327.431H184.161L184.305 331.32Z" fill="#191919"/>
-<path d="M187.976 337.295H194.36V336.188H189.685V336.078L191.927 333.761C193.711 331.922 194.196 331.102 194.196 329.974V329.96C194.196 328.367 192.877 327.198 191.154 327.198C189.268 327.198 187.914 328.456 187.907 330.206L187.921 330.213L189.097 330.22L189.104 330.206C189.104 329.044 189.89 328.271 191.072 328.271C192.234 328.271 192.938 329.051 192.938 330.09V330.104C192.938 330.965 192.569 331.478 191.312 332.838L187.976 336.447V337.295Z" fill="#191919"/>
-<path d="M199.727 337.527C201.907 337.527 203.22 335.538 203.22 332.366V332.353C203.22 329.181 201.907 327.198 199.727 327.198C197.546 327.198 196.247 329.181 196.247 332.353V332.366C196.247 335.538 197.546 337.527 199.727 337.527ZM199.727 336.454C198.312 336.454 197.484 334.882 197.484 332.366V332.353C197.484 329.837 198.312 328.278 199.727 328.278C201.142 328.278 201.982 329.837 201.982 332.353V332.366C201.982 334.882 201.142 336.454 199.727 336.454Z" fill="#191919"/>
-<path d="M205.243 337.295H211.628V336.188H206.952V336.078L209.194 333.761C210.979 331.922 211.464 331.102 211.464 329.974V329.96C211.464 328.367 210.145 327.198 208.422 327.198C206.535 327.198 205.182 328.456 205.175 330.206L205.188 330.213L206.364 330.22L206.371 330.206C206.371 329.044 207.157 328.271 208.34 328.271C209.502 328.271 210.206 329.051 210.206 330.09V330.104C210.206 330.965 209.837 331.478 208.579 332.838L205.243 336.447V337.295Z" fill="#191919"/>
-<path d="M213.692 337.295H220.077V336.188H215.401V336.078L217.644 333.761C219.428 331.922 219.913 331.102 219.913 329.974V329.96C219.913 328.367 218.594 327.198 216.871 327.198C214.984 327.198 213.631 328.456 213.624 330.206L213.638 330.213L214.813 330.22L214.82 330.206C214.82 329.044 215.606 328.271 216.789 328.271C217.951 328.271 218.655 329.051 218.655 330.09V330.104C218.655 330.965 218.286 331.478 217.028 332.838L213.692 336.447V337.295Z" fill="#191919"/>
-<path d="M222.046 333.877H226.64V332.77H222.046V333.877Z" fill="#191919"/>
-<path d="M232.047 337.527C234.228 337.527 235.54 335.538 235.54 332.366V332.353C235.54 329.181 234.228 327.198 232.047 327.198C229.866 327.198 228.567 329.181 228.567 332.353V332.366C228.567 335.538 229.866 337.527 232.047 337.527ZM232.047 336.454C230.632 336.454 229.805 334.882 229.805 332.366V332.353C229.805 329.837 230.632 328.278 232.047 328.278C233.462 328.278 234.303 329.837 234.303 332.353V332.366C234.303 334.882 233.462 336.454 232.047 336.454Z" fill="#191919"/>
-<path d="M241.05 337.527C243.039 337.527 244.502 336.099 244.502 334.13V334.116C244.502 332.223 243.121 330.814 241.269 330.814C239.936 330.814 239.006 331.532 238.644 332.339H238.514C238.514 332.264 238.514 332.182 238.521 332.106C238.596 330.049 239.327 328.299 241.118 328.299C242.116 328.299 242.807 328.812 243.107 329.639L243.135 329.714H244.372L244.352 329.625C244.017 328.169 242.786 327.198 241.132 327.198C238.739 327.198 237.338 329.167 237.338 332.53V332.544C237.338 336.256 239.245 337.527 241.05 337.527ZM238.808 334.116V334.109C238.808 332.824 239.778 331.888 241.057 331.888C242.335 331.888 243.265 332.831 243.265 334.144V334.157C243.265 335.436 242.273 336.44 241.036 336.44C239.785 336.44 238.808 335.415 238.808 334.116Z" fill="#191919"/>
-<path d="M246.382 333.877H250.976V332.77H246.382V333.877Z" fill="#191919"/>
-<path d="M253.081 337.295H259.466V336.188H254.79V336.078L257.032 333.761C258.816 331.922 259.302 331.102 259.302 329.974V329.96C259.302 328.367 257.982 327.198 256.26 327.198C254.373 327.198 253.02 328.456 253.013 330.206L253.026 330.213L254.202 330.22L254.209 330.206C254.209 329.044 254.995 328.271 256.178 328.271C257.34 328.271 258.044 329.051 258.044 330.09V330.104C258.044 330.965 257.675 331.478 256.417 332.838L253.081 336.447V337.295Z" fill="#191919"/>
-<path d="M264.757 327.198C262.768 327.198 261.305 328.627 261.305 330.596V330.609C261.305 332.503 262.686 333.911 264.538 333.911C265.871 333.911 266.801 333.193 267.163 332.387H267.293C267.293 332.462 267.293 332.544 267.286 332.619C267.211 334.677 266.479 336.427 264.688 336.427C263.69 336.427 263 335.914 262.699 335.087L262.672 335.012H261.435L261.455 335.101C261.79 336.557 263.021 337.527 264.675 337.527C267.067 337.527 268.469 335.559 268.469 332.195V332.182C268.469 328.47 266.562 327.198 264.757 327.198ZM264.75 332.838C263.472 332.838 262.542 331.895 262.542 330.582V330.568C262.542 329.29 263.533 328.285 264.771 328.285C266.021 328.285 266.999 329.311 266.999 330.609V330.616C266.999 331.901 266.028 332.838 264.75 332.838Z" fill="#191919"/>
-<path d="M272.755 337.295H273.985V328.538H277.164V327.431H269.576V328.538H272.755V337.295Z" fill="#191919"/>
-<path d="M281.799 337.527C283.979 337.527 285.292 335.538 285.292 332.366V332.353C285.292 329.181 283.979 327.198 281.799 327.198C279.618 327.198 278.319 329.181 278.319 332.353V332.366C278.319 335.538 279.618 337.527 281.799 337.527ZM281.799 336.454C280.384 336.454 279.557 334.882 279.557 332.366V332.353C279.557 329.837 280.384 328.278 281.799 328.278C283.214 328.278 284.055 329.837 284.055 332.353V332.366C284.055 334.882 283.214 336.454 281.799 336.454Z" fill="#191919"/>
-<path d="M290.686 337.459C292.777 337.459 294.268 336.283 294.268 334.629V334.615C294.268 333.398 293.413 332.387 292.148 332.093V332.065C293.229 331.73 293.912 330.91 293.912 329.871V329.857C293.912 328.367 292.552 327.267 290.686 327.267C288.819 327.267 287.459 328.367 287.459 329.857V329.871C287.459 330.91 288.143 331.73 289.223 332.065V332.093C287.958 332.387 287.104 333.398 287.104 334.615V334.629C287.104 336.283 288.594 337.459 290.686 337.459ZM290.686 331.607C289.496 331.607 288.683 330.931 288.683 329.974V329.96C288.683 329.003 289.496 328.326 290.686 328.326C291.875 328.326 292.688 329.003 292.688 329.96V329.974C292.688 330.931 291.875 331.607 290.686 331.607ZM290.686 336.386C289.325 336.386 288.354 335.62 288.354 334.554V334.54C288.354 333.46 289.318 332.688 290.686 332.688C292.053 332.688 293.017 333.46 293.017 334.54V334.554C293.017 335.62 292.046 336.386 290.686 336.386Z" fill="#191919"/>
-<path d="M297.234 330.603C297.727 330.603 298.123 330.199 298.123 329.714C298.123 329.222 297.727 328.825 297.234 328.825C296.749 328.825 296.346 329.222 296.346 329.714C296.346 330.199 296.749 330.603 297.234 330.603ZM297.234 335.894C297.727 335.894 298.123 335.49 298.123 335.005C298.123 334.513 297.727 334.116 297.234 334.116C296.749 334.116 296.346 334.513 296.346 335.005C296.346 335.49 296.749 335.894 297.234 335.894Z" fill="#191919"/>
-<path d="M303.701 337.459C305.677 337.459 307.126 336.242 307.126 334.595V334.581C307.126 333.18 306.148 332.284 304.713 332.161V332.134C305.943 331.874 306.805 331.04 306.805 329.823V329.81C306.805 328.312 305.567 327.267 303.688 327.267C301.842 327.267 300.57 328.34 300.413 329.946L300.406 330.015H301.589L301.596 329.946C301.698 328.948 302.525 328.333 303.688 328.333C304.891 328.333 305.567 328.928 305.567 329.96V329.974C305.567 330.958 304.747 331.683 303.571 331.683H302.389V332.722H303.626C305.007 332.722 305.875 333.398 305.875 334.608V334.622C305.875 335.668 304.993 336.393 303.701 336.393C302.389 336.393 301.493 335.723 301.397 334.752L301.391 334.684H300.208L300.215 334.766C300.345 336.324 301.664 337.459 303.701 337.459Z" fill="#191919"/>
-<path d="M312.608 337.527C314.598 337.527 316.061 336.099 316.061 334.13V334.116C316.061 332.223 314.68 330.814 312.827 330.814C311.494 330.814 310.564 331.532 310.202 332.339H310.072C310.072 332.264 310.072 332.182 310.079 332.106C310.154 330.049 310.886 328.299 312.677 328.299C313.675 328.299 314.365 328.812 314.666 329.639L314.693 329.714H315.931L315.91 329.625C315.575 328.169 314.345 327.198 312.69 327.198C310.298 327.198 308.896 329.167 308.896 332.53V332.544C308.896 336.256 310.804 337.527 312.608 337.527ZM310.366 334.116V334.109C310.366 332.824 311.337 331.888 312.615 331.888C313.894 331.888 314.823 332.831 314.823 334.144V334.157C314.823 335.436 313.832 336.44 312.595 336.44C311.344 336.44 310.366 335.415 310.366 334.116Z" fill="#191919"/>
-<path d="M319.014 330.603C319.506 330.603 319.902 330.199 319.902 329.714C319.902 329.222 319.506 328.825 319.014 328.825C318.528 328.825 318.125 329.222 318.125 329.714C318.125 330.199 318.528 330.603 319.014 330.603ZM319.014 335.894C319.506 335.894 319.902 335.49 319.902 335.005C319.902 334.513 319.506 334.116 319.014 334.116C318.528 334.116 318.125 334.513 318.125 335.005C318.125 335.49 318.528 335.894 319.014 335.894Z" fill="#191919"/>
-<path d="M325.48 337.459C327.456 337.459 328.905 336.242 328.905 334.595V334.581C328.905 333.18 327.928 332.284 326.492 332.161V332.134C327.723 331.874 328.584 331.04 328.584 329.823V329.81C328.584 328.312 327.347 327.267 325.467 327.267C323.621 327.267 322.35 328.34 322.192 329.946L322.186 330.015H323.368L323.375 329.946C323.478 328.948 324.305 328.333 325.467 328.333C326.67 328.333 327.347 328.928 327.347 329.96V329.974C327.347 330.958 326.526 331.683 325.351 331.683H324.168V332.722H325.405C326.786 332.722 327.654 333.398 327.654 334.608V334.622C327.654 335.668 326.772 336.393 325.48 336.393C324.168 336.393 323.272 335.723 323.177 334.752L323.17 334.684H321.987L321.994 334.766C322.124 336.324 323.443 337.459 325.48 337.459Z" fill="#191919"/>
-<path d="M334.258 337.459C336.233 337.459 337.683 336.242 337.683 334.595V334.581C337.683 333.18 336.705 332.284 335.27 332.161V332.134C336.5 331.874 337.361 331.04 337.361 329.823V329.81C337.361 328.312 336.124 327.267 334.244 327.267C332.398 327.267 331.127 328.34 330.97 329.946L330.963 330.015H332.146L332.152 329.946C332.255 328.948 333.082 328.333 334.244 328.333C335.447 328.333 336.124 328.928 336.124 329.96V329.974C336.124 330.958 335.304 331.683 334.128 331.683H332.945V332.722H334.183C335.563 332.722 336.432 333.398 336.432 334.608V334.622C336.432 335.668 335.55 336.393 334.258 336.393C332.945 336.393 332.05 335.723 331.954 334.752L331.947 334.684H330.765L330.771 334.766C330.901 336.324 332.221 337.459 334.258 337.459Z" fill="#191919"/>
-<path d="M340.178 337.363C340.67 337.363 341.066 336.96 341.066 336.475C341.066 335.982 340.67 335.586 340.178 335.586C339.692 335.586 339.289 335.982 339.289 336.475C339.289 336.96 339.692 337.363 340.178 337.363Z" fill="#191919"/>
-<path d="M346.146 337.527C348.148 337.527 349.577 336.14 349.577 334.15V334.137C349.577 332.229 348.244 330.842 346.392 330.842C345.496 330.842 344.724 331.204 344.286 331.867H344.177L344.512 328.531H349.03V327.431H343.541L343.021 333.098H344.088C344.211 332.865 344.368 332.674 344.539 332.51C344.963 332.106 345.523 331.908 346.18 331.908C347.458 331.908 348.374 332.845 348.374 334.157V334.171C348.374 335.504 347.472 336.44 346.159 336.44C345.004 336.44 344.149 335.688 344.033 334.745L344.026 334.69H342.844L342.851 334.766C342.994 336.345 344.307 337.527 346.146 337.527Z" fill="#191919"/>
-<path d="M354.861 337.527C357.042 337.527 358.354 335.538 358.354 332.366V332.353C358.354 329.181 357.042 327.198 354.861 327.198C352.681 327.198 351.382 329.181 351.382 332.353V332.366C351.382 335.538 352.681 337.527 354.861 337.527ZM354.861 336.454C353.446 336.454 352.619 334.882 352.619 332.366V332.353C352.619 329.837 353.446 328.278 354.861 328.278C356.276 328.278 357.117 329.837 357.117 332.353V332.366C357.117 334.882 356.276 336.454 354.861 336.454Z" fill="#191919"/>
-<path d="M360.515 337.295H361.807L366.195 328.572V327.431H359.667V328.531H364.944V328.627L360.515 337.295Z" fill="#191919"/>
-<path d="M367.768 333.877H370.83V337.008H371.938V333.877H375V332.77H371.938V329.639H370.83V332.77H367.768V333.877Z" fill="#191919"/>
-<path d="M380.195 337.527C382.376 337.527 383.688 335.538 383.688 332.366V332.353C383.688 329.181 382.376 327.198 380.195 327.198C378.015 327.198 376.716 329.181 376.716 332.353V332.366C376.716 335.538 378.015 337.527 380.195 337.527ZM380.195 336.454C378.78 336.454 377.953 334.882 377.953 332.366V332.353C377.953 329.837 378.78 328.278 380.195 328.278C381.61 328.278 382.451 329.837 382.451 332.353V332.366C382.451 334.882 381.61 336.454 380.195 336.454Z" fill="#191919"/>
-<path d="M389.014 337.527C391.194 337.527 392.507 335.538 392.507 332.366V332.353C392.507 329.181 391.194 327.198 389.014 327.198C386.833 327.198 385.534 329.181 385.534 332.353V332.366C385.534 335.538 386.833 337.527 389.014 337.527ZM389.014 336.454C387.599 336.454 386.771 334.882 386.771 332.366V332.353C386.771 329.837 387.599 328.278 389.014 328.278C390.429 328.278 391.27 329.837 391.27 332.353V332.366C391.27 334.882 390.429 336.454 389.014 336.454Z" fill="#191919"/>
-<path d="M395.508 330.603C396 330.603 396.396 330.199 396.396 329.714C396.396 329.222 396 328.825 395.508 328.825C395.022 328.825 394.619 329.222 394.619 329.714C394.619 330.199 395.022 330.603 395.508 330.603ZM395.508 335.894C396 335.894 396.396 335.49 396.396 335.005C396.396 334.513 396 334.116 395.508 334.116C395.022 334.116 394.619 334.513 394.619 335.005C394.619 335.49 395.022 335.894 395.508 335.894Z" fill="#191919"/>
-<path d="M401.988 337.527C404.169 337.527 405.481 335.538 405.481 332.366V332.353C405.481 329.181 404.169 327.198 401.988 327.198C399.808 327.198 398.509 329.181 398.509 332.353V332.366C398.509 335.538 399.808 337.527 401.988 337.527ZM401.988 336.454C400.573 336.454 399.746 334.882 399.746 332.366V332.353C399.746 329.837 400.573 328.278 401.988 328.278C403.403 328.278 404.244 329.837 404.244 332.353V332.366C404.244 334.882 403.403 336.454 401.988 336.454Z" fill="#191919"/>
-<path d="M410.807 337.527C412.987 337.527 414.3 335.538 414.3 332.366V332.353C414.3 329.181 412.987 327.198 410.807 327.198C408.626 327.198 407.327 329.181 407.327 332.353V332.366C407.327 335.538 408.626 337.527 410.807 337.527ZM410.807 336.454C409.392 336.454 408.564 334.882 408.564 332.366V332.353C408.564 329.837 409.392 328.278 410.807 328.278C412.222 328.278 413.062 329.837 413.062 332.353V332.366C413.062 334.882 412.222 336.454 410.807 336.454Z" fill="#191919"/>
-<path d="M416.604 331.32H417.588L417.731 327.431H416.46L416.604 331.32ZM419.133 331.32H420.117L420.261 327.431H418.989L419.133 331.32Z" fill="#191919"/>
-<path d="M421.211 339.804H422.093L423.166 335.914H421.806L421.211 339.804Z" fill="#191919"/>
-<path d="M90.7891 353.32H91.7734L91.917 349.431H90.6455L90.7891 353.32ZM93.3184 353.32H94.3027L94.4463 349.431H93.1748L93.3184 353.32Z" fill="#191919"/>
-<path d="M96.9961 359.295H98.1855V354.729C98.1855 353.648 98.9922 352.931 100.127 352.931C100.387 352.931 100.612 352.958 100.858 352.999V351.844C100.742 351.823 100.489 351.796 100.264 351.796C99.2656 351.796 98.5752 352.247 98.2949 353.02H98.1855V351.926H96.9961V359.295Z" fill="#191919"/>
-<path d="M105.131 359.425C106.867 359.425 107.92 358.44 108.173 357.442L108.187 357.388H106.997L106.97 357.449C106.771 357.894 106.156 358.365 105.158 358.365C103.846 358.365 103.005 357.477 102.971 355.952H108.275V355.487C108.275 353.286 107.059 351.796 105.056 351.796C103.053 351.796 101.754 353.354 101.754 355.631V355.638C101.754 357.948 103.025 359.425 105.131 359.425ZM105.049 352.855C106.136 352.855 106.942 353.546 107.065 355.002H102.991C103.121 353.601 103.955 352.855 105.049 352.855Z" fill="#191919"/>
-<path d="M112.65 359.425C114.325 359.425 115.604 358.516 115.604 357.203V357.189C115.604 356.137 114.934 355.535 113.546 355.2L112.411 354.927C111.543 354.715 111.174 354.4 111.174 353.901V353.888C111.174 353.238 111.816 352.787 112.691 352.787C113.58 352.787 114.154 353.19 114.312 353.771H115.48C115.316 352.568 114.243 351.796 112.698 351.796C111.133 351.796 109.957 352.719 109.957 353.942V353.949C109.957 355.009 110.579 355.61 111.96 355.938L113.102 356.212C114.011 356.431 114.387 356.779 114.387 357.278V357.292C114.387 357.962 113.683 358.434 112.691 358.434C111.748 358.434 111.16 358.03 110.962 357.415H109.745C109.882 358.632 111.01 359.425 112.65 359.425Z" fill="#191919"/>
-<path d="M120.478 359.425C122.576 359.425 123.875 357.976 123.875 355.617V355.604C123.875 353.238 122.576 351.796 120.478 351.796C118.379 351.796 117.08 353.238 117.08 355.604V355.617C117.08 357.976 118.379 359.425 120.478 359.425ZM120.478 358.372C119.083 358.372 118.297 357.354 118.297 355.617V355.604C118.297 353.86 119.083 352.849 120.478 352.849C121.872 352.849 122.658 353.86 122.658 355.604V355.617C122.658 357.354 121.872 358.372 120.478 358.372Z" fill="#191919"/>
-<path d="M128.188 359.425C129.269 359.425 130.014 358.98 130.376 358.194H130.485V359.295H131.675V351.926H130.485V356.287C130.485 357.579 129.795 358.372 128.496 358.372C127.32 358.372 126.842 357.736 126.842 356.41V351.926H125.652V356.697C125.652 358.44 126.514 359.425 128.188 359.425Z" fill="#191919"/>
-<path d="M133.896 359.295H135.086V354.729C135.086 353.648 135.893 352.931 137.027 352.931C137.287 352.931 137.513 352.958 137.759 352.999V351.844C137.643 351.823 137.39 351.796 137.164 351.796C136.166 351.796 135.476 352.247 135.195 353.02H135.086V351.926H133.896V359.295Z" fill="#191919"/>
-<path d="M142.038 359.425C143.809 359.425 144.8 358.475 145.101 357.142L145.114 357.066L143.938 357.073L143.925 357.114C143.651 357.935 143.022 358.372 142.031 358.372C140.719 358.372 139.871 357.285 139.871 355.59V355.576C139.871 353.915 140.705 352.849 142.031 352.849C143.091 352.849 143.747 353.437 143.932 354.161L143.938 354.182H145.121L145.114 354.141C144.896 352.828 143.822 351.796 142.031 351.796C139.967 351.796 138.654 353.286 138.654 355.576V355.59C138.654 357.928 139.974 359.425 142.038 359.425Z" fill="#191919"/>
-<path d="M149.865 359.425C151.602 359.425 152.654 358.44 152.907 357.442L152.921 357.388H151.731L151.704 357.449C151.506 357.894 150.891 358.365 149.893 358.365C148.58 358.365 147.739 357.477 147.705 355.952H153.01V355.487C153.01 353.286 151.793 351.796 149.79 351.796C147.787 351.796 146.488 353.354 146.488 355.631V355.638C146.488 357.948 147.76 359.425 149.865 359.425ZM149.783 352.855C150.87 352.855 151.677 353.546 151.8 355.002H147.726C147.855 353.601 148.689 352.855 149.783 352.855Z" fill="#191919"/>
-<path d="M155.334 353.32H156.318L156.462 349.431H155.19L155.334 353.32ZM157.863 353.32H158.848L158.991 349.431H157.72L157.863 353.32Z" fill="#191919"/>
-<path d="M162.512 354.072C163.004 354.072 163.4 353.669 163.4 353.184C163.4 352.691 163.004 352.295 162.512 352.295C162.026 352.295 161.623 352.691 161.623 353.184C161.623 353.669 162.026 354.072 162.512 354.072ZM162.512 359.363C163.004 359.363 163.4 358.96 163.4 358.475C163.4 357.982 163.004 357.586 162.512 357.586C162.026 357.586 161.623 357.982 161.623 358.475C161.623 358.96 162.026 359.363 162.512 359.363Z" fill="#191919"/>
-<path d="M172.95 361.756H173.326V360.792H173.053C172.089 360.792 171.699 360.348 171.699 359.254V357.053C171.699 356.068 171.207 355.556 170.202 355.453V355.289C171.207 355.187 171.699 354.674 171.699 353.689V351.502C171.699 350.408 172.089 349.964 173.053 349.964H173.326V349H172.95C171.337 349 170.578 349.759 170.578 351.352V353.266C170.578 354.359 170.202 354.722 169.074 354.722V356.021C170.202 356.021 170.578 356.383 170.578 357.477V359.404C170.578 360.997 171.337 361.756 172.95 361.756Z" fill="#191919"/>
-<path d="M106.539 375.32H107.523L107.667 371.431H106.396L106.539 375.32ZM109.068 375.32H110.053L110.196 371.431H108.925L109.068 375.32Z" fill="#191919"/>
-<path d="M113.375 372.504C113.826 372.504 114.195 372.135 114.195 371.684C114.195 371.232 113.826 370.863 113.375 370.863C112.924 370.863 112.555 371.232 112.555 371.684C112.555 372.135 112.924 372.504 113.375 372.504ZM112.773 381.295H113.963V373.926H112.773V381.295Z" fill="#191919"/>
-<path d="M118.926 381.425C119.951 381.425 120.771 380.939 121.223 380.119H121.332V381.295H122.521V371H121.332V375.088H121.223C120.819 374.302 119.938 373.796 118.926 373.796C117.053 373.796 115.836 375.293 115.836 377.604V377.617C115.836 379.914 117.06 381.425 118.926 381.425ZM119.199 380.372C117.853 380.372 117.053 379.333 117.053 377.617V377.604C117.053 375.888 117.853 374.849 119.199 374.849C120.539 374.849 121.359 375.901 121.359 377.604V377.617C121.359 379.319 120.539 380.372 119.199 380.372Z" fill="#191919"/>
-<path d="M125.283 375.32H126.268L126.411 371.431H125.14L125.283 375.32ZM127.812 375.32H128.797L128.94 371.431H127.669L127.812 375.32Z" fill="#191919"/>
-<path d="M132.461 376.072C132.953 376.072 133.35 375.669 133.35 375.184C133.35 374.691 132.953 374.295 132.461 374.295C131.976 374.295 131.572 374.691 131.572 375.184C131.572 375.669 131.976 376.072 132.461 376.072ZM132.461 381.363C132.953 381.363 133.35 380.96 133.35 380.475C133.35 379.982 132.953 379.586 132.461 379.586C131.976 379.586 131.572 379.982 131.572 380.475C131.572 380.96 131.976 381.363 132.461 381.363Z" fill="#191919"/>
-<path d="M140.062 375.32H141.047L141.19 371.431H139.919L140.062 375.32ZM142.592 375.32H143.576L143.72 371.431H142.448L142.592 375.32Z" fill="#191919"/>
-<path d="M149.544 381.527C151.533 381.527 152.996 380.099 152.996 378.13V378.116C152.996 376.223 151.615 374.814 149.763 374.814C148.43 374.814 147.5 375.532 147.138 376.339H147.008C147.008 376.264 147.008 376.182 147.015 376.106C147.09 374.049 147.821 372.299 149.612 372.299C150.61 372.299 151.301 372.812 151.602 373.639L151.629 373.714H152.866L152.846 373.625C152.511 372.169 151.28 371.198 149.626 371.198C147.233 371.198 145.832 373.167 145.832 376.53V376.544C145.832 380.256 147.739 381.527 149.544 381.527ZM147.302 378.116V378.109C147.302 376.824 148.272 375.888 149.551 375.888C150.829 375.888 151.759 376.831 151.759 378.144V378.157C151.759 379.436 150.768 380.44 149.53 380.44C148.279 380.44 147.302 379.415 147.302 378.116Z" fill="#191919"/>
-<path d="M154.972 381.295H161.356V380.188H156.681V380.078L158.923 377.761C160.707 375.922 161.192 375.102 161.192 373.974V373.96C161.192 372.367 159.873 371.198 158.15 371.198C156.264 371.198 154.91 372.456 154.903 374.206L154.917 374.213L156.093 374.22L156.1 374.206C156.1 373.044 156.886 372.271 158.068 372.271C159.23 372.271 159.935 373.051 159.935 374.09V374.104C159.935 374.965 159.565 375.478 158.308 376.838L154.972 380.447V381.295Z" fill="#191919"/>
-<path d="M167.092 381.425C168.958 381.425 170.182 379.914 170.182 377.617V377.604C170.182 375.293 168.965 373.796 167.092 373.796C166.08 373.796 165.198 374.302 164.795 375.088H164.686V371H163.496V381.295H164.686V380.119H164.795C165.246 380.939 166.066 381.425 167.092 381.425ZM166.818 380.372C165.479 380.372 164.658 379.319 164.658 377.617V377.604C164.658 375.901 165.479 374.849 166.818 374.849C168.165 374.849 168.965 375.888 168.965 377.604V377.617C168.965 379.333 168.165 380.372 166.818 380.372Z" fill="#191919"/>
-<path d="M175.042 381.425C176.812 381.425 177.804 380.475 178.104 379.142L178.118 379.066L176.942 379.073L176.929 379.114C176.655 379.935 176.026 380.372 175.035 380.372C173.723 380.372 172.875 379.285 172.875 377.59V377.576C172.875 375.915 173.709 374.849 175.035 374.849C176.095 374.849 176.751 375.437 176.936 376.161L176.942 376.182H178.125L178.118 376.141C177.899 374.828 176.826 373.796 175.035 373.796C172.971 373.796 171.658 375.286 171.658 377.576V377.59C171.658 379.928 172.978 381.425 175.042 381.425Z" fill="#191919"/>
-<path d="M183.156 381.527C185.337 381.527 186.649 379.538 186.649 376.366V376.353C186.649 373.181 185.337 371.198 183.156 371.198C180.976 371.198 179.677 373.181 179.677 376.353V376.366C179.677 379.538 180.976 381.527 183.156 381.527ZM183.156 380.454C181.741 380.454 180.914 378.882 180.914 376.366V376.353C180.914 373.837 181.741 372.278 183.156 372.278C184.571 372.278 185.412 373.837 185.412 376.353V376.366C185.412 378.882 184.571 380.454 183.156 380.454Z" fill="#191919"/>
-<path d="M189.172 381.295H190.361V374.91H192.036V373.926H190.361V373.14C190.361 372.333 190.703 371.916 191.551 371.916C191.763 371.916 191.961 371.923 192.104 371.95V371C191.858 370.952 191.599 370.932 191.312 370.932C189.91 370.932 189.172 371.636 189.172 373.105V373.926H187.948V374.91H189.172V381.295Z" fill="#191919"/>
-<path d="M196.158 381.295H197.389V371.431H196.165L193.54 373.317V374.616L196.049 372.798H196.158V381.295Z" fill="#191919"/>
-<path d="M202.652 381.295H203.883V371.431H202.659L200.034 373.317V374.616L202.543 372.798H202.652V381.295Z" fill="#191919"/>
-<path d="M209.974 381.527C211.977 381.527 213.405 380.14 213.405 378.15V378.137C213.405 376.229 212.072 374.842 210.22 374.842C209.324 374.842 208.552 375.204 208.114 375.867H208.005L208.34 372.531H212.858V371.431H207.369L206.85 377.098H207.916C208.039 376.865 208.196 376.674 208.367 376.51C208.791 376.106 209.352 375.908 210.008 375.908C211.286 375.908 212.202 376.845 212.202 378.157V378.171C212.202 379.504 211.3 380.44 209.987 380.44C208.832 380.44 207.978 379.688 207.861 378.745L207.854 378.69H206.672L206.679 378.766C206.822 380.345 208.135 381.527 209.974 381.527Z" fill="#191919"/>
-<path d="M219.893 381.295H221.096V379.251H222.497V378.15H221.096V371.431H219.312C217.931 373.488 216.42 375.895 215.087 378.13V379.251H219.893V381.295ZM216.345 378.157V378.075C217.418 376.264 218.71 374.227 219.817 372.572H219.899V378.157H216.345Z" fill="#191919"/>
-<path d="M227.638 381.527C229.641 381.527 231.069 380.14 231.069 378.15V378.137C231.069 376.229 229.736 374.842 227.884 374.842C226.988 374.842 226.216 375.204 225.778 375.867H225.669L226.004 372.531H230.522V371.431H225.033L224.514 377.098H225.58C225.703 376.865 225.86 376.674 226.031 376.51C226.455 376.106 227.016 375.908 227.672 375.908C228.95 375.908 229.866 376.845 229.866 378.157V378.171C229.866 379.504 228.964 380.44 227.651 380.44C226.496 380.44 225.642 379.688 225.525 378.745L225.519 378.69H224.336L224.343 378.766C224.486 380.345 225.799 381.527 227.638 381.527Z" fill="#191919"/>
-<path d="M236.073 381.425C237.844 381.425 238.835 380.475 239.136 379.142L239.149 379.066L237.974 379.073L237.96 379.114C237.687 379.935 237.058 380.372 236.066 380.372C234.754 380.372 233.906 379.285 233.906 377.59V377.576C233.906 375.915 234.74 374.849 236.066 374.849C237.126 374.849 237.782 375.437 237.967 376.161L237.974 376.182H239.156L239.149 376.141C238.931 374.828 237.857 373.796 236.066 373.796C234.002 373.796 232.689 375.286 232.689 377.576V377.59C232.689 379.928 234.009 381.425 236.073 381.425Z" fill="#191919"/>
-<path d="M245.391 381.295H246.594V379.251H247.995V378.15H246.594V371.431H244.81C243.429 373.488 241.918 375.895 240.585 378.13V379.251H245.391V381.295ZM241.843 378.157V378.075C242.916 376.264 244.208 374.227 245.315 372.572H245.397V378.157H241.843Z" fill="#191919"/>
-<path d="M252.917 381.425C254.688 381.425 255.679 380.475 255.979 379.142L255.993 379.066L254.817 379.073L254.804 379.114C254.53 379.935 253.901 380.372 252.91 380.372C251.598 380.372 250.75 379.285 250.75 377.59V377.576C250.75 375.915 251.584 374.849 252.91 374.849C253.97 374.849 254.626 375.437 254.811 376.161L254.817 376.182H256L255.993 376.141C255.774 374.828 254.701 373.796 252.91 373.796C250.846 373.796 249.533 375.286 249.533 377.576V377.59C249.533 379.928 250.853 381.425 252.917 381.425Z" fill="#191919"/>
-<path d="M261.031 381.527C263.212 381.527 264.524 379.538 264.524 376.366V376.353C264.524 373.181 263.212 371.198 261.031 371.198C258.851 371.198 257.552 373.181 257.552 376.353V376.366C257.552 379.538 258.851 381.527 261.031 381.527ZM261.031 380.454C259.616 380.454 258.789 378.882 258.789 376.366V376.353C258.789 373.837 259.616 372.278 261.031 372.278C262.446 372.278 263.287 373.837 263.287 376.353V376.366C263.287 378.882 262.446 380.454 261.031 380.454Z" fill="#191919"/>
-<path d="M269.85 381.527C272.03 381.527 273.343 379.538 273.343 376.366V376.353C273.343 373.181 272.03 371.198 269.85 371.198C267.669 371.198 266.37 373.181 266.37 376.353V376.366C266.37 379.538 267.669 381.527 269.85 381.527ZM269.85 380.454C268.435 380.454 267.607 378.882 267.607 376.366V376.353C267.607 373.837 268.435 372.278 269.85 372.278C271.265 372.278 272.105 373.837 272.105 376.353V376.366C272.105 378.882 271.265 380.454 269.85 380.454Z" fill="#191919"/>
-<path d="M279.037 381.425C280.903 381.425 282.127 379.914 282.127 377.617V377.604C282.127 375.293 280.91 373.796 279.037 373.796C278.025 373.796 277.144 374.302 276.74 375.088H276.631V371H275.441V381.295H276.631V380.119H276.74C277.191 380.939 278.012 381.425 279.037 381.425ZM278.764 380.372C277.424 380.372 276.604 379.319 276.604 377.617V377.604C276.604 375.901 277.424 374.849 278.764 374.849C280.11 374.849 280.91 375.888 280.91 377.604V377.617C280.91 379.333 280.11 380.372 278.764 380.372Z" fill="#191919"/>
-<path d="M286.037 381.295H287.268V371.431H286.044L283.419 373.317V374.616L285.928 372.798H286.037V381.295Z" fill="#191919"/>
-<path d="M293.345 371.198C291.355 371.198 289.893 372.627 289.893 374.596V374.609C289.893 376.503 291.273 377.911 293.126 377.911C294.459 377.911 295.389 377.193 295.751 376.387H295.881C295.881 376.462 295.881 376.544 295.874 376.619C295.799 378.677 295.067 380.427 293.276 380.427C292.278 380.427 291.588 379.914 291.287 379.087L291.26 379.012H290.022L290.043 379.101C290.378 380.557 291.608 381.527 293.263 381.527C295.655 381.527 297.057 379.559 297.057 376.195V376.182C297.057 372.47 295.149 371.198 293.345 371.198ZM293.338 376.838C292.06 376.838 291.13 375.895 291.13 374.582V374.568C291.13 373.29 292.121 372.285 293.358 372.285C294.609 372.285 295.587 373.311 295.587 374.609V374.616C295.587 375.901 294.616 376.838 293.338 376.838Z" fill="#191919"/>
-<path d="M301.76 381.425C302.785 381.425 303.605 380.939 304.057 380.119H304.166V381.295H305.355V371H304.166V375.088H304.057C303.653 374.302 302.771 373.796 301.76 373.796C299.887 373.796 298.67 375.293 298.67 377.604V377.617C298.67 379.914 299.894 381.425 301.76 381.425ZM302.033 380.372C300.687 380.372 299.887 379.333 299.887 377.617V377.604C299.887 375.888 300.687 374.849 302.033 374.849C303.373 374.849 304.193 375.901 304.193 377.604V377.617C304.193 379.319 303.373 380.372 302.033 380.372Z" fill="#191919"/>
-<path d="M310.872 381.527C312.875 381.527 314.304 380.14 314.304 378.15V378.137C314.304 376.229 312.971 374.842 311.118 374.842C310.223 374.842 309.45 375.204 309.013 375.867H308.903L309.238 372.531H313.757V371.431H308.268L307.748 377.098H308.814C308.938 376.865 309.095 376.674 309.266 376.51C309.689 376.106 310.25 375.908 310.906 375.908C312.185 375.908 313.101 376.845 313.101 378.157V378.171C313.101 379.504 312.198 380.44 310.886 380.44C309.73 380.44 308.876 379.688 308.76 378.745L308.753 378.69H307.57L307.577 378.766C307.721 380.345 309.033 381.527 310.872 381.527Z" fill="#191919"/>
-<path d="M319.308 381.425C321.078 381.425 322.069 380.475 322.37 379.142L322.384 379.066L321.208 379.073L321.194 379.114C320.921 379.935 320.292 380.372 319.301 380.372C317.988 380.372 317.141 379.285 317.141 377.59V377.576C317.141 375.915 317.975 374.849 319.301 374.849C320.36 374.849 321.017 375.437 321.201 376.161L321.208 376.182H322.391L322.384 376.141C322.165 374.828 321.092 373.796 319.301 373.796C317.236 373.796 315.924 375.286 315.924 377.576V377.59C315.924 379.928 317.243 381.425 319.308 381.425Z" fill="#191919"/>
-<path d="M327.36 381.527C329.363 381.527 330.792 380.14 330.792 378.15V378.137C330.792 376.229 329.459 374.842 327.606 374.842C326.711 374.842 325.938 375.204 325.501 375.867H325.392L325.727 372.531H330.245V371.431H324.756L324.236 377.098H325.303C325.426 376.865 325.583 376.674 325.754 376.51C326.178 376.106 326.738 375.908 327.395 375.908C328.673 375.908 329.589 376.845 329.589 378.157V378.171C329.589 379.504 328.687 380.44 327.374 380.44C326.219 380.44 325.364 379.688 325.248 378.745L325.241 378.69H324.059L324.065 378.766C324.209 380.345 325.521 381.527 327.36 381.527Z" fill="#191919"/>
-<path d="M336.001 371.198C334.012 371.198 332.549 372.627 332.549 374.596V374.609C332.549 376.503 333.93 377.911 335.782 377.911C337.115 377.911 338.045 377.193 338.407 376.387H338.537C338.537 376.462 338.537 376.544 338.53 376.619C338.455 378.677 337.724 380.427 335.933 380.427C334.935 380.427 334.244 379.914 333.943 379.087L333.916 379.012H332.679L332.699 379.101C333.034 380.557 334.265 381.527 335.919 381.527C338.312 381.527 339.713 379.559 339.713 376.195V376.182C339.713 372.47 337.806 371.198 336.001 371.198ZM335.994 376.838C334.716 376.838 333.786 375.895 333.786 374.582V374.568C333.786 373.29 334.777 372.285 336.015 372.285C337.266 372.285 338.243 373.311 338.243 374.609V374.616C338.243 375.901 337.272 376.838 335.994 376.838Z" fill="#191919"/>
-<path d="M341.969 375.32H342.953L343.097 371.431H341.825L341.969 375.32ZM344.498 375.32H345.482L345.626 371.431H344.354L344.498 375.32Z" fill="#191919"/>
-<path d="M346.576 383.804H347.458L348.531 379.914H347.171L346.576 383.804Z" fill="#191919"/>
-<path d="M106.539 397.32H107.523L107.667 393.431H106.396L106.539 397.32ZM109.068 397.32H110.053L110.196 393.431H108.925L109.068 397.32Z" fill="#191919"/>
-<path d="M115.364 403.35C115.597 403.35 115.822 403.322 116.055 403.281V402.27C115.836 402.29 115.72 402.297 115.508 402.297C114.742 402.297 114.441 401.948 114.441 401.08V396.91H116.055V395.926H114.441V394.019H113.211V395.926H112.049V396.91H113.211V401.381C113.211 402.789 113.847 403.35 115.364 403.35Z" fill="#191919"/>
-<path d="M118.461 405.879C119.767 405.879 120.375 405.4 120.983 403.746L123.861 395.926H122.61L120.594 401.989H120.484L118.461 395.926H117.189L119.917 403.302L119.78 403.739C119.514 404.587 119.104 404.895 118.427 404.895C118.263 404.895 118.078 404.888 117.935 404.86V405.838C118.099 405.865 118.304 405.879 118.461 405.879Z" fill="#191919"/>
-<path d="M125.434 405.756H126.623V402.133H126.732C127.136 402.919 128.018 403.425 129.029 403.425C130.902 403.425 132.119 401.928 132.119 399.617V399.604C132.119 397.307 130.896 395.796 129.029 395.796C128.004 395.796 127.184 396.281 126.732 397.102H126.623V395.926H125.434V405.756ZM128.756 402.372C127.416 402.372 126.596 401.319 126.596 399.617V399.604C126.596 397.901 127.416 396.849 128.756 396.849C130.103 396.849 130.902 397.888 130.902 399.604V399.617C130.902 401.333 130.103 402.372 128.756 402.372Z" fill="#191919"/>
-<path d="M136.986 403.425C138.723 403.425 139.775 402.44 140.028 401.442L140.042 401.388H138.853L138.825 401.449C138.627 401.894 138.012 402.365 137.014 402.365C135.701 402.365 134.86 401.477 134.826 399.952H140.131V399.487C140.131 397.286 138.914 395.796 136.911 395.796C134.908 395.796 133.609 397.354 133.609 399.631V399.638C133.609 401.948 134.881 403.425 136.986 403.425ZM136.904 396.855C137.991 396.855 138.798 397.546 138.921 399.002H134.847C134.977 397.601 135.811 396.855 136.904 396.855Z" fill="#191919"/>
-<path d="M142.455 397.32H143.439L143.583 393.431H142.312L142.455 397.32ZM144.984 397.32H145.969L146.112 393.431H144.841L144.984 397.32Z" fill="#191919"/>
-<path d="M149.633 398.072C150.125 398.072 150.521 397.669 150.521 397.184C150.521 396.691 150.125 396.295 149.633 396.295C149.147 396.295 148.744 396.691 148.744 397.184C148.744 397.669 149.147 398.072 149.633 398.072ZM149.633 403.363C150.125 403.363 150.521 402.96 150.521 402.475C150.521 401.982 150.125 401.586 149.633 401.586C149.147 401.586 148.744 401.982 148.744 402.475C148.744 402.96 149.147 403.363 149.633 403.363Z" fill="#191919"/>
-<path d="M157.234 397.32H158.219L158.362 393.431H157.091L157.234 397.32ZM159.764 397.32H160.748L160.892 393.431H159.62L159.764 397.32Z" fill="#191919"/>
-<path d="M161.712 403.295H163.004L163.995 400.472H167.919L168.91 403.295H170.202L166.565 393.431H165.349L161.712 403.295ZM165.902 395.023H166.012L167.557 399.426H164.357L165.902 395.023Z" fill="#191919"/>
-<path d="M171.781 405.756H172.971V402.133H173.08C173.483 402.919 174.365 403.425 175.377 403.425C177.25 403.425 178.467 401.928 178.467 399.617V399.604C178.467 397.307 177.243 395.796 175.377 395.796C174.352 395.796 173.531 396.281 173.08 397.102H172.971V395.926H171.781V405.756ZM175.104 402.372C173.764 402.372 172.943 401.319 172.943 399.617V399.604C172.943 397.901 173.764 396.849 175.104 396.849C176.45 396.849 177.25 397.888 177.25 399.604V399.617C177.25 401.333 176.45 402.372 175.104 402.372Z" fill="#191919"/>
-<path d="M180.326 405.756H181.516V402.133H181.625C182.028 402.919 182.91 403.425 183.922 403.425C185.795 403.425 187.012 401.928 187.012 399.617V399.604C187.012 397.307 185.788 395.796 183.922 395.796C182.896 395.796 182.076 396.281 181.625 397.102H181.516V395.926H180.326V405.756ZM183.648 402.372C182.309 402.372 181.488 401.319 181.488 399.617V399.604C181.488 397.901 182.309 396.849 183.648 396.849C184.995 396.849 185.795 397.888 185.795 399.604V399.617C185.795 401.333 184.995 402.372 183.648 402.372Z" fill="#191919"/>
-<path d="M188.939 403.295H190.129V393H188.939V403.295Z" fill="#191919"/>
-<path d="M193.041 394.504C193.492 394.504 193.861 394.135 193.861 393.684C193.861 393.232 193.492 392.863 193.041 392.863C192.59 392.863 192.221 393.232 192.221 393.684C192.221 394.135 192.59 394.504 193.041 394.504ZM192.439 403.295H193.629V395.926H192.439V403.295Z" fill="#191919"/>
-<path d="M198.886 403.425C200.656 403.425 201.647 402.475 201.948 401.142L201.962 401.066L200.786 401.073L200.772 401.114C200.499 401.935 199.87 402.372 198.879 402.372C197.566 402.372 196.719 401.285 196.719 399.59V399.576C196.719 397.915 197.553 396.849 198.879 396.849C199.938 396.849 200.595 397.437 200.779 398.161L200.786 398.182H201.969L201.962 398.141C201.743 396.828 200.67 395.796 198.879 395.796C196.814 395.796 195.502 397.286 195.502 399.576V399.59C195.502 401.928 196.821 403.425 198.886 403.425Z" fill="#191919"/>
-<path d="M205.729 403.425C206.72 403.425 207.492 402.994 207.957 402.208H208.066V403.295H209.256V398.25C209.256 396.719 208.251 395.796 206.453 395.796C204.881 395.796 203.76 396.575 203.568 397.73L203.562 397.771H204.751L204.758 397.751C204.949 397.177 205.53 396.849 206.412 396.849C207.513 396.849 208.066 397.341 208.066 398.25V398.92L205.954 399.05C204.238 399.152 203.268 399.911 203.268 401.224V401.237C203.268 402.577 204.327 403.425 205.729 403.425ZM204.484 401.21V401.196C204.484 400.465 204.977 400.068 206.098 400L208.066 399.877V400.547C208.066 401.6 207.185 402.393 205.975 402.393C205.12 402.393 204.484 401.955 204.484 401.21Z" fill="#191919"/>
-<path d="M214.048 403.35C214.28 403.35 214.506 403.322 214.738 403.281V402.27C214.52 402.29 214.403 402.297 214.191 402.297C213.426 402.297 213.125 401.948 213.125 401.08V396.91H214.738V395.926H213.125V394.019H211.895V395.926H210.732V396.91H211.895V401.381C211.895 402.789 212.53 403.35 214.048 403.35Z" fill="#191919"/>
-<path d="M217.145 394.504C217.596 394.504 217.965 394.135 217.965 393.684C217.965 393.232 217.596 392.863 217.145 392.863C216.693 392.863 216.324 393.232 216.324 393.684C216.324 394.135 216.693 394.504 217.145 394.504ZM216.543 403.295H217.732V395.926H216.543V403.295Z" fill="#191919"/>
-<path d="M223.003 403.425C225.102 403.425 226.4 401.976 226.4 399.617V399.604C226.4 397.238 225.102 395.796 223.003 395.796C220.904 395.796 219.605 397.238 219.605 399.604V399.617C219.605 401.976 220.904 403.425 223.003 403.425ZM223.003 402.372C221.608 402.372 220.822 401.354 220.822 399.617V399.604C220.822 397.86 221.608 396.849 223.003 396.849C224.397 396.849 225.184 397.86 225.184 399.604V399.617C225.184 401.354 224.397 402.372 223.003 402.372Z" fill="#191919"/>
-<path d="M228.246 403.295H229.436V398.934C229.436 397.642 230.181 396.849 231.356 396.849C232.532 396.849 233.079 397.484 233.079 398.811V403.295H234.269V398.523C234.269 396.773 233.346 395.796 231.691 395.796C230.604 395.796 229.914 396.254 229.545 397.033H229.436V395.926H228.246V403.295Z" fill="#191919"/>
-<path d="M236.9 397.32H237.885L238.028 393.431H236.757L236.9 397.32ZM239.43 397.32H240.414L240.558 393.431H239.286L239.43 397.32Z" fill="#191919"/>
-<path d="M241.508 405.804H242.39L243.463 401.914H242.103L241.508 405.804Z" fill="#191919"/>
-<path d="M106.539 419.32H107.523L107.667 415.431H106.396L106.539 419.32ZM109.068 419.32H110.053L110.196 415.431H108.925L109.068 419.32Z" fill="#191919"/>
-<path d="M112.746 425.295H113.936V420.934C113.936 419.642 114.681 418.849 115.856 418.849C117.032 418.849 117.579 419.484 117.579 420.811V425.295H118.769V420.523C118.769 418.773 117.846 417.796 116.191 417.796C115.104 417.796 114.414 418.254 114.045 419.033H113.936V417.926H112.746V425.295Z" fill="#191919"/>
-<path d="M122.945 425.425C123.937 425.425 124.709 424.994 125.174 424.208H125.283V425.295H126.473V420.25C126.473 418.719 125.468 417.796 123.67 417.796C122.098 417.796 120.977 418.575 120.785 419.73L120.778 419.771H121.968L121.975 419.751C122.166 419.177 122.747 418.849 123.629 418.849C124.729 418.849 125.283 419.341 125.283 420.25V420.92L123.171 421.05C121.455 421.152 120.484 421.911 120.484 423.224V423.237C120.484 424.577 121.544 425.425 122.945 425.425ZM121.701 423.21V423.196C121.701 422.465 122.193 422.068 123.314 422L125.283 421.877V422.547C125.283 423.6 124.401 424.393 123.191 424.393C122.337 424.393 121.701 423.955 121.701 423.21Z" fill="#191919"/>
-<path d="M128.646 425.295H129.836V420.729C129.836 419.689 130.567 418.849 131.531 418.849C132.461 418.849 133.062 419.416 133.062 420.291V425.295H134.252V420.558C134.252 419.621 134.929 418.849 135.954 418.849C136.993 418.849 137.492 419.389 137.492 420.476V425.295H138.682V420.202C138.682 418.657 137.841 417.796 136.337 417.796C135.318 417.796 134.478 418.309 134.081 419.088H133.972C133.63 418.322 132.933 417.796 131.935 417.796C130.971 417.796 130.273 418.254 129.945 419.047H129.836V417.926H128.646V425.295Z" fill="#191919"/>
-<path d="M143.836 425.425C145.572 425.425 146.625 424.44 146.878 423.442L146.892 423.388H145.702L145.675 423.449C145.477 423.894 144.861 424.365 143.863 424.365C142.551 424.365 141.71 423.477 141.676 421.952H146.98V421.487C146.98 419.286 145.764 417.796 143.761 417.796C141.758 417.796 140.459 419.354 140.459 421.631V421.638C140.459 423.948 141.73 425.425 143.836 425.425ZM143.754 418.855C144.841 418.855 145.647 419.546 145.771 421.002H141.696C141.826 419.601 142.66 418.855 143.754 418.855Z" fill="#191919"/>
-<path d="M149.305 419.32H150.289L150.433 415.431H149.161L149.305 419.32ZM151.834 419.32H152.818L152.962 415.431H151.69L151.834 419.32Z" fill="#191919"/>
-<path d="M156.482 420.072C156.975 420.072 157.371 419.669 157.371 419.184C157.371 418.691 156.975 418.295 156.482 418.295C155.997 418.295 155.594 418.691 155.594 419.184C155.594 419.669 155.997 420.072 156.482 420.072ZM156.482 425.363C156.975 425.363 157.371 424.96 157.371 424.475C157.371 423.982 156.975 423.586 156.482 423.586C155.997 423.586 155.594 423.982 155.594 424.475C155.594 424.96 155.997 425.363 156.482 425.363Z" fill="#191919"/>
-<path d="M164.084 419.32H165.068L165.212 415.431H163.94L164.084 419.32ZM166.613 419.32H167.598L167.741 415.431H166.47L166.613 419.32Z" fill="#191919"/>
-<path d="M168.562 425.295H169.854L170.845 422.472H174.769L175.76 425.295H177.052L173.415 415.431H172.198L168.562 425.295ZM172.752 417.023H172.861L174.406 421.426H171.207L172.752 417.023Z" fill="#191919"/>
-<path d="M178.323 421.877H182.917V420.77H178.323V421.877Z" fill="#191919"/>
-<path d="M185.18 425.295H186.41V421.022H190.778V419.929H186.41V416.538H191.168V415.431H185.18V425.295Z" fill="#191919"/>
-<path d="M196.069 425.425C198.168 425.425 199.467 423.976 199.467 421.617V421.604C199.467 419.238 198.168 417.796 196.069 417.796C193.971 417.796 192.672 419.238 192.672 421.604V421.617C192.672 423.976 193.971 425.425 196.069 425.425ZM196.069 424.372C194.675 424.372 193.889 423.354 193.889 421.617V421.604C193.889 419.86 194.675 418.849 196.069 418.849C197.464 418.849 198.25 419.86 198.25 421.604V421.617C198.25 423.354 197.464 424.372 196.069 424.372Z" fill="#191919"/>
-<path d="M201.312 425.295H202.502V420.729C202.502 419.648 203.309 418.931 204.443 418.931C204.703 418.931 204.929 418.958 205.175 418.999V417.844C205.059 417.823 204.806 417.796 204.58 417.796C203.582 417.796 202.892 418.247 202.611 419.02H202.502V417.926H201.312V425.295Z" fill="#191919"/>
-<path d="M209.454 425.425C211.225 425.425 212.216 424.475 212.517 423.142L212.53 423.066L211.354 423.073L211.341 423.114C211.067 423.935 210.438 424.372 209.447 424.372C208.135 424.372 207.287 423.285 207.287 421.59V421.576C207.287 419.915 208.121 418.849 209.447 418.849C210.507 418.849 211.163 419.437 211.348 420.161L211.354 420.182H212.537L212.53 420.141C212.312 418.828 211.238 417.796 209.447 417.796C207.383 417.796 206.07 419.286 206.07 421.576V421.59C206.07 423.928 207.39 425.425 209.454 425.425Z" fill="#191919"/>
-<path d="M217.281 425.425C219.018 425.425 220.07 424.44 220.323 423.442L220.337 423.388H219.147L219.12 423.449C218.922 423.894 218.307 424.365 217.309 424.365C215.996 424.365 215.155 423.477 215.121 421.952H220.426V421.487C220.426 419.286 219.209 417.796 217.206 417.796C215.203 417.796 213.904 419.354 213.904 421.631V421.638C213.904 423.948 215.176 425.425 217.281 425.425ZM217.199 418.855C218.286 418.855 219.093 419.546 219.216 421.002H215.142C215.271 419.601 216.105 418.855 217.199 418.855Z" fill="#191919"/>
-<path d="M222.75 419.32H223.734L223.878 415.431H222.606L222.75 419.32ZM225.279 419.32H226.264L226.407 415.431H225.136L225.279 419.32Z" fill="#191919"/>
-<path d="M227.357 427.804H228.239L229.312 423.914H227.952L227.357 427.804Z" fill="#191919"/>
-</g>
+<path d="M373.021 272.566L375.876 275.421L374.933 276.364L372.078 273.509C371.016 274.36 369.695 274.823 368.333 274.821C365.021 274.821 362.333 272.133 362.333 268.821C362.333 265.509 365.021 262.821 368.333 262.821C371.645 262.821 374.333 265.509 374.333 268.821C374.335 270.183 373.872 271.504 373.021 272.566ZM371.683 272.071C372.529 271.201 373.002 270.035 373 268.821C373 266.243 370.911 264.155 368.333 264.155C365.755 264.155 363.667 266.243 363.667 268.821C363.667 271.399 365.755 273.488 368.333 273.488C369.547 273.49 370.713 273.017 371.583 272.171L371.683 272.071Z" fill="#858282"/>
+</g>
+<rect x="357.5" y="257.988" width="23" height="23" stroke="#F1F1F1"/>
+<rect x="380.5" y="257.988" width="246" height="23" fill="white"/>
+<path d="M386.044 269.014V264.688H387.332V269.014H386.044ZM389.082 269.014V264.688H390.37V269.014H389.082ZM396.805 274.656C396.151 274.656 395.573 274.507 395.069 274.208C394.574 273.9 394.182 273.476 393.893 272.934C393.603 272.384 393.459 271.744 393.459 271.016C393.459 270.288 393.599 269.654 393.879 269.112C394.168 268.562 394.565 268.137 395.069 267.838C395.573 267.53 396.161 267.376 396.833 267.376C397.505 267.376 398.079 267.53 398.555 267.838C399.031 268.137 399.395 268.534 399.647 269.028C399.899 269.523 400.025 270.055 400.025 270.624C400.025 270.727 400.02 270.83 400.011 270.932C400.011 271.035 400.011 271.152 400.011 271.282H394.621C394.649 271.796 394.765 272.225 394.971 272.57C395.185 272.906 395.451 273.158 395.769 273.326C396.095 273.494 396.441 273.578 396.805 273.578C397.318 273.578 397.719 273.471 398.009 273.256C398.298 273.042 398.517 272.743 398.667 272.36H399.829C399.67 273.004 399.339 273.55 398.835 273.998C398.331 274.437 397.654 274.656 396.805 274.656ZM396.805 268.426C396.263 268.426 395.787 268.59 395.377 268.916C394.975 269.243 394.728 269.7 394.635 270.288H398.863C398.825 269.71 398.615 269.257 398.233 268.93C397.859 268.594 397.383 268.426 396.805 268.426ZM401.587 274.488V267.544H402.553L402.679 268.356H402.749C402.87 268.076 403.052 267.843 403.295 267.656C403.547 267.47 403.85 267.376 404.205 267.376C404.56 267.376 404.858 267.465 405.101 267.642C405.353 267.81 405.535 268.048 405.647 268.356H405.703C405.824 268.076 406.02 267.843 406.291 267.656C406.562 267.47 406.888 267.376 407.271 267.376C407.803 267.376 408.2 267.558 408.461 267.922C408.732 268.277 408.867 268.753 408.867 269.35V274.488H407.719V269.532C407.719 269.196 407.649 268.93 407.509 268.734C407.378 268.538 407.164 268.44 406.865 268.44C406.557 268.44 406.305 268.557 406.109 268.79C405.913 269.024 405.815 269.355 405.815 269.784V274.488H404.653V269.532C404.653 269.196 404.588 268.93 404.457 268.734C404.326 268.538 404.112 268.44 403.813 268.44C403.505 268.44 403.248 268.557 403.043 268.79C402.847 269.024 402.749 269.355 402.749 269.784V274.488H401.587ZM413.216 274.656C412.665 274.656 412.208 274.558 411.844 274.362C411.48 274.166 411.209 273.91 411.032 273.592C410.854 273.266 410.766 272.911 410.766 272.528C410.766 271.819 411.022 271.282 411.536 270.918C412.058 270.545 412.754 270.358 413.622 270.358H415.526V270.218C415.526 269.005 414.97 268.398 413.86 268.398C413.412 268.398 413.034 268.496 412.726 268.692C412.427 268.888 412.236 269.196 412.152 269.616H410.948C410.994 269.15 411.148 268.748 411.41 268.412C411.68 268.076 412.026 267.82 412.446 267.642C412.866 267.465 413.337 267.376 413.86 267.376C414.849 267.376 415.568 267.638 416.016 268.16C416.473 268.674 416.702 269.36 416.702 270.218V274.488H415.694L415.596 273.41H415.498C415.292 273.746 415.017 274.04 414.672 274.292C414.336 274.535 413.85 274.656 413.216 274.656ZM413.426 273.62C413.874 273.62 414.252 273.513 414.56 273.298C414.877 273.084 415.115 272.799 415.274 272.444C415.442 272.09 415.526 271.702 415.526 271.282H413.72C413.085 271.282 412.637 271.39 412.376 271.604C412.124 271.819 411.998 272.104 411.998 272.458C411.998 272.822 412.119 273.107 412.362 273.312C412.604 273.518 412.959 273.62 413.426 273.62ZM422.254 266.312C421.974 266.312 421.741 266.219 421.554 266.032C421.367 265.846 421.274 265.622 421.274 265.36C421.274 265.09 421.367 264.866 421.554 264.688C421.741 264.502 421.974 264.408 422.254 264.408C422.525 264.408 422.753 264.502 422.94 264.688C423.136 264.866 423.234 265.09 423.234 265.36C423.234 265.622 423.136 265.846 422.94 266.032C422.753 266.219 422.525 266.312 422.254 266.312ZM419.538 274.488V273.48H421.75V268.902C421.75 268.669 421.633 268.552 421.4 268.552H419.776V267.544H421.68C422.511 267.544 422.926 267.96 422.926 268.79V273.48H425.138V274.488H419.538ZM427.723 274.488V273.48H430.089V265.766C430.089 265.533 429.972 265.416 429.739 265.416H427.975V264.408H430.019C430.42 264.408 430.728 264.516 430.943 264.73C431.157 264.945 431.265 265.253 431.265 265.654V273.48H433.631V274.488H427.723ZM437.251 269.014V264.688H438.539V269.014H437.251ZM440.289 269.014V264.688H441.577V269.014H440.289ZM447.942 274.516C447.652 274.516 447.405 274.418 447.2 274.222C446.994 274.026 446.892 273.784 446.892 273.494C446.892 273.214 446.994 272.976 447.2 272.78C447.405 272.584 447.652 272.486 447.942 272.486C448.231 272.486 448.478 272.584 448.684 272.78C448.889 272.976 448.992 273.214 448.992 273.494C448.992 273.784 448.889 274.026 448.684 274.222C448.478 274.418 448.231 274.516 447.942 274.516ZM447.942 268.986C447.652 268.986 447.405 268.888 447.2 268.692C446.994 268.496 446.892 268.254 446.892 267.964C446.892 267.684 446.994 267.446 447.2 267.25C447.405 267.054 447.652 266.956 447.942 266.956C448.231 266.956 448.478 267.054 448.684 267.25C448.889 267.446 448.992 267.684 448.992 267.964C448.992 268.254 448.889 268.496 448.684 268.692C448.478 268.888 448.231 268.986 447.942 268.986ZM462.855 269.014V264.688H464.143V269.014H462.855ZM465.893 269.014V264.688H467.181V269.014H465.893ZM616.476 269.014V264.688H617.764V269.014H616.476ZM619.514 269.014V264.688H620.802V269.014H619.514Z" fill="#575757"/>
+<path d="M473.825 266.312C473.555 266.312 473.321 266.219 473.125 266.032C472.939 265.846 472.845 265.622 472.845 265.36C472.845 265.09 472.939 264.866 473.125 264.688C473.321 264.502 473.555 264.408 473.825 264.408C474.105 264.408 474.339 264.502 474.525 264.688C474.712 264.866 474.805 265.09 474.805 265.36C474.805 265.622 474.712 265.846 474.525 266.032C474.339 266.219 474.105 266.312 473.825 266.312ZM470.199 277.568V276.56H472.971C473.205 276.56 473.321 276.439 473.321 276.196V268.902C473.321 268.669 473.205 268.552 472.971 268.552H471.291V267.544H473.251C474.082 267.544 474.497 267.96 474.497 268.79V276.322C474.497 277.153 474.082 277.568 473.251 277.568H470.199ZM482.08 274.656C481.427 274.656 480.848 274.507 480.344 274.208C479.84 273.91 479.443 273.49 479.154 272.948C478.865 272.398 478.72 271.754 478.72 271.016C478.72 270.279 478.865 269.64 479.154 269.098C479.443 268.548 479.84 268.123 480.344 267.824C480.848 267.526 481.427 267.376 482.08 267.376C482.733 267.376 483.312 267.526 483.816 267.824C484.32 268.123 484.717 268.548 485.006 269.098C485.295 269.64 485.44 270.279 485.44 271.016C485.44 271.754 485.295 272.398 485.006 272.948C484.717 273.49 484.32 273.91 483.816 274.208C483.312 274.507 482.733 274.656 482.08 274.656ZM482.08 273.536C482.481 273.536 482.845 273.448 483.172 273.27C483.499 273.093 483.755 272.818 483.942 272.444C484.138 272.071 484.236 271.595 484.236 271.016C484.236 270.438 484.138 269.962 483.942 269.588C483.755 269.215 483.499 268.94 483.172 268.762C482.845 268.585 482.481 268.496 482.08 268.496C481.688 268.496 481.329 268.585 481.002 268.762C480.675 268.94 480.414 269.215 480.218 269.588C480.022 269.962 479.924 270.438 479.924 271.016C479.924 271.884 480.134 272.524 480.554 272.934C480.974 273.336 481.483 273.536 482.08 273.536ZM487.576 274.488V264.408H488.752V268.594C488.939 268.24 489.247 267.95 489.676 267.726C490.106 267.493 490.577 267.376 491.09 267.376C491.94 267.376 492.584 267.633 493.022 268.146C493.47 268.66 493.694 269.378 493.694 270.302V274.488H492.518V270.456C492.518 269.831 492.364 269.346 492.056 269C491.758 268.655 491.338 268.482 490.796 268.482C490.423 268.482 490.082 268.566 489.774 268.734C489.466 268.902 489.219 269.15 489.032 269.476C488.846 269.803 488.752 270.204 488.752 270.68V274.488H487.576ZM496.181 274.488V267.544H497.161L497.287 268.594H497.357C497.544 268.258 497.838 267.974 498.239 267.74C498.64 267.498 499.102 267.376 499.625 267.376C500.474 267.376 501.109 267.628 501.529 268.132C501.958 268.636 502.173 269.364 502.173 270.316V274.488H500.997V270.456C500.997 269.84 500.862 269.36 500.591 269.014C500.32 268.66 499.9 268.482 499.331 268.482C498.78 268.482 498.314 268.674 497.931 269.056C497.548 269.43 497.357 269.971 497.357 270.68V274.488H496.181ZM508.705 275.804C507.688 275.804 506.839 275.562 506.157 275.076C505.485 274.6 504.981 273.942 504.645 273.102C504.309 272.262 504.141 271.31 504.141 270.246C504.141 269.276 504.249 268.44 504.463 267.74C504.687 267.04 504.991 266.466 505.373 266.018C505.756 265.561 506.185 265.225 506.661 265.01C507.137 264.796 507.632 264.688 508.145 264.688C509.107 264.688 509.867 264.931 510.427 265.416C510.987 265.902 511.267 266.597 511.267 267.502V272.99H510.427L510.315 272.192H510.259C510.119 272.454 509.919 272.673 509.657 272.85C509.405 273.028 509.083 273.116 508.691 273.116C507.991 273.116 507.413 272.864 506.955 272.36C506.498 271.856 506.269 271.147 506.269 270.232C506.269 269.318 506.493 268.613 506.941 268.118C507.399 267.624 507.982 267.376 508.691 267.376C509.083 267.376 509.405 267.446 509.657 267.586C509.919 267.726 510.119 267.913 510.259 268.146V267.502C510.259 266.924 510.063 266.471 509.671 266.144C509.289 265.808 508.78 265.64 508.145 265.64C507.651 265.64 507.179 265.79 506.731 266.088C506.283 266.387 505.915 266.872 505.625 267.544C505.345 268.216 505.205 269.117 505.205 270.246C505.205 271.068 505.331 271.828 505.583 272.528C505.835 273.228 506.223 273.793 506.745 274.222C507.268 274.642 507.921 274.852 508.705 274.852H510.665V275.804H508.705ZM508.775 272.234C509.205 272.234 509.559 272.076 509.839 271.758C510.119 271.432 510.259 270.928 510.259 270.246C510.259 269.565 510.119 269.066 509.839 268.748C509.559 268.422 509.205 268.258 508.775 268.258C508.346 268.258 507.991 268.422 507.711 268.748C507.431 269.066 507.291 269.565 507.291 270.246C507.291 270.928 507.431 271.432 507.711 271.758C507.991 272.076 508.346 272.234 508.775 272.234ZM515.63 274.656C515.079 274.656 514.622 274.558 514.258 274.362C513.894 274.166 513.623 273.91 513.446 273.592C513.269 273.266 513.18 272.911 513.18 272.528C513.18 271.819 513.437 271.282 513.95 270.918C514.473 270.545 515.168 270.358 516.036 270.358H517.94V270.218C517.94 269.005 517.385 268.398 516.274 268.398C515.826 268.398 515.448 268.496 515.14 268.692C514.841 268.888 514.65 269.196 514.566 269.616H513.362C513.409 269.15 513.563 268.748 513.824 268.412C514.095 268.076 514.44 267.82 514.86 267.642C515.28 267.465 515.751 267.376 516.274 267.376C517.263 267.376 517.982 267.638 518.43 268.16C518.887 268.674 519.116 269.36 519.116 270.218V274.488H518.108L518.01 273.41H517.912C517.707 273.746 517.431 274.04 517.086 274.292C516.75 274.535 516.265 274.656 515.63 274.656ZM515.84 273.62C516.288 273.62 516.666 273.513 516.974 273.298C517.291 273.084 517.529 272.799 517.688 272.444C517.856 272.09 517.94 271.702 517.94 271.282H516.134C515.499 271.282 515.051 271.39 514.79 271.604C514.538 271.819 514.412 272.104 514.412 272.458C514.412 272.822 514.533 273.107 514.776 273.312C515.019 273.518 515.373 273.62 515.84 273.62ZM521.645 277.568V267.544H522.597L522.737 268.692H522.821C522.998 268.319 523.283 268.006 523.675 267.754C524.067 267.502 524.529 267.376 525.061 267.376C525.621 267.376 526.125 267.516 526.573 267.796C527.03 268.076 527.389 268.492 527.651 269.042C527.912 269.584 528.043 270.246 528.043 271.03C528.043 271.805 527.907 272.463 527.637 273.004C527.375 273.546 527.011 273.956 526.545 274.236C526.087 274.516 525.56 274.656 524.963 274.656C524.431 274.656 523.978 274.544 523.605 274.32C523.241 274.087 522.979 273.816 522.821 273.508V277.568H521.645ZM524.823 273.536C525.411 273.536 525.896 273.331 526.279 272.92C526.661 272.5 526.853 271.866 526.853 271.016C526.853 270.167 526.661 269.537 526.279 269.126C525.896 268.706 525.411 268.496 524.823 268.496C524.235 268.496 523.749 268.706 523.367 269.126C522.984 269.537 522.793 270.167 522.793 271.016C522.793 271.866 522.984 272.5 523.367 272.92C523.749 273.331 524.235 273.536 524.823 273.536ZM530.179 277.568V267.544H531.131L531.271 268.692H531.355C531.532 268.319 531.817 268.006 532.209 267.754C532.601 267.502 533.063 267.376 533.595 267.376C534.155 267.376 534.659 267.516 535.107 267.796C535.564 268.076 535.924 268.492 536.185 269.042C536.446 269.584 536.577 270.246 536.577 271.03C536.577 271.805 536.442 272.463 536.171 273.004C535.91 273.546 535.546 273.956 535.079 274.236C534.622 274.516 534.094 274.656 533.497 274.656C532.965 274.656 532.512 274.544 532.139 274.32C531.775 274.087 531.514 273.816 531.355 273.508V277.568H530.179ZM533.357 273.536C533.945 273.536 534.43 273.331 534.813 272.92C535.196 272.5 535.387 271.866 535.387 271.016C535.387 270.167 535.196 269.537 534.813 269.126C534.43 268.706 533.945 268.496 533.357 268.496C532.769 268.496 532.284 268.706 531.901 269.126C531.518 269.537 531.327 270.167 531.327 271.016C531.327 271.866 531.518 272.5 531.901 272.92C532.284 273.331 532.769 273.536 533.357 273.536ZM541.892 274.656C541.005 274.656 540.286 274.451 539.736 274.04C539.194 273.62 538.891 273.046 538.826 272.318H540.044C540.1 272.701 540.286 273.014 540.604 273.256C540.93 273.499 541.369 273.62 541.92 273.62C542.442 273.62 542.83 273.508 543.082 273.284C543.343 273.06 543.474 272.804 543.474 272.514C543.474 272.122 543.32 271.856 543.012 271.716C542.704 271.567 542.242 271.455 541.626 271.38C540.888 271.296 540.277 271.096 539.792 270.778C539.306 270.461 539.064 269.985 539.064 269.35C539.064 268.781 539.302 268.31 539.778 267.936C540.254 267.563 540.902 267.376 541.724 267.376C542.536 267.376 543.175 267.563 543.642 267.936C544.108 268.3 544.374 268.823 544.44 269.504H543.278C543.25 269.168 543.086 268.902 542.788 268.706C542.498 268.501 542.134 268.398 541.696 268.398C541.238 268.398 540.884 268.487 540.632 268.664C540.38 268.832 540.254 269.056 540.254 269.336C540.254 269.616 540.394 269.85 540.674 270.036C540.963 270.214 541.416 270.33 542.032 270.386C542.517 270.442 542.96 270.536 543.362 270.666C543.763 270.797 544.08 271.002 544.314 271.282C544.556 271.562 544.678 271.954 544.678 272.458C544.687 272.878 544.57 273.256 544.328 273.592C544.094 273.919 543.768 274.18 543.348 274.376C542.928 274.563 542.442 274.656 541.892 274.656ZM546.674 274.488V267.544H547.64L547.766 268.356H547.836C547.957 268.076 548.139 267.843 548.382 267.656C548.634 267.47 548.937 267.376 549.292 267.376C549.647 267.376 549.945 267.465 550.188 267.642C550.44 267.81 550.622 268.048 550.734 268.356H550.79C550.911 268.076 551.107 267.843 551.378 267.656C551.649 267.47 551.975 267.376 552.358 267.376C552.89 267.376 553.287 267.558 553.548 267.922C553.819 268.277 553.954 268.753 553.954 269.35V274.488H552.806V269.532C552.806 269.196 552.736 268.93 552.596 268.734C552.465 268.538 552.251 268.44 551.952 268.44C551.644 268.44 551.392 268.557 551.196 268.79C551 269.024 550.902 269.355 550.902 269.784V274.488H549.74V269.532C549.74 269.196 549.675 268.93 549.544 268.734C549.413 268.538 549.199 268.44 548.9 268.44C548.592 268.44 548.335 268.557 548.13 268.79C547.934 269.024 547.836 269.355 547.836 269.784V274.488H546.674ZM558.807 266.312C558.527 266.312 558.293 266.219 558.107 266.032C557.92 265.846 557.827 265.622 557.827 265.36C557.827 265.09 557.92 264.866 558.107 264.688C558.293 264.502 558.527 264.408 558.807 264.408C559.077 264.408 559.306 264.502 559.493 264.688C559.689 264.866 559.787 265.09 559.787 265.36C559.787 265.622 559.689 265.846 559.493 266.032C559.306 266.219 559.077 266.312 558.807 266.312ZM556.091 274.488V273.48H558.303V268.902C558.303 268.669 558.186 268.552 557.953 268.552H556.329V267.544H558.233C559.063 267.544 559.479 267.96 559.479 268.79V273.48H561.691V274.488H556.091ZM568.153 274.488C567.518 274.488 567.019 274.334 566.655 274.026C566.291 273.718 566.109 273.163 566.109 272.36V268.552H564.345V267.544H565.395C565.871 267.544 566.146 267.311 566.221 266.844L566.417 265.766H567.285V267.544H570.057V268.552H567.285V272.36C567.285 272.752 567.374 273.028 567.551 273.186C567.738 273.345 568.055 273.424 568.503 273.424H570.057V274.488H568.153ZM572.922 274.488V264.408H574.098V268.594C574.284 268.24 574.592 267.95 575.022 267.726C575.451 267.493 575.922 267.376 576.436 267.376C577.285 267.376 577.929 267.633 578.368 268.146C578.816 268.66 579.04 269.378 579.04 270.302V274.488H577.864V270.456C577.864 269.831 577.71 269.346 577.402 269C577.103 268.655 576.683 268.482 576.142 268.482C575.768 268.482 575.428 268.566 575.12 268.734C574.812 268.902 574.564 269.15 574.378 269.476C574.191 269.803 574.098 270.204 574.098 270.68V274.488H572.922ZM584.494 274.516C584.205 274.516 583.958 274.418 583.752 274.222C583.547 274.026 583.444 273.784 583.444 273.494C583.444 273.214 583.547 272.976 583.752 272.78C583.958 272.584 584.205 272.486 584.494 272.486C584.784 272.486 585.031 272.584 585.236 272.78C585.442 272.976 585.544 273.214 585.544 273.494C585.544 273.784 585.442 274.026 585.236 274.222C585.031 274.418 584.784 274.516 584.494 274.516ZM593.141 274.656C592.515 274.656 591.955 274.512 591.461 274.222C590.975 273.933 590.588 273.518 590.299 272.976C590.009 272.426 589.865 271.772 589.865 271.016C589.865 270.26 590.009 269.612 590.299 269.07C590.588 268.52 590.98 268.1 591.475 267.81C591.979 267.521 592.534 267.376 593.141 267.376C593.999 267.376 594.685 267.591 595.199 268.02C595.712 268.45 596.039 269.024 596.179 269.742H594.975C594.863 269.36 594.648 269.056 594.331 268.832C594.013 268.599 593.612 268.482 593.127 268.482C592.772 268.482 592.436 268.576 592.119 268.762C591.801 268.949 591.545 269.229 591.349 269.602C591.153 269.976 591.055 270.447 591.055 271.016C591.055 271.586 591.153 272.062 591.349 272.444C591.545 272.818 591.801 273.098 592.119 273.284C592.436 273.471 592.772 273.564 593.127 273.564C593.64 273.564 594.046 273.448 594.345 273.214C594.653 272.981 594.863 272.673 594.975 272.29H596.179C596.001 273.028 595.651 273.606 595.129 274.026C594.615 274.446 593.953 274.656 593.141 274.656ZM601.563 274.656C600.91 274.656 600.331 274.507 599.827 274.208C599.323 273.91 598.927 273.49 598.637 272.948C598.348 272.398 598.203 271.754 598.203 271.016C598.203 270.279 598.348 269.64 598.637 269.098C598.927 268.548 599.323 268.123 599.827 267.824C600.331 267.526 600.91 267.376 601.563 267.376C602.217 267.376 602.795 267.526 603.299 267.824C603.803 268.123 604.2 268.548 604.489 269.098C604.779 269.64 604.923 270.279 604.923 271.016C604.923 271.754 604.779 272.398 604.489 272.948C604.2 273.49 603.803 273.91 603.299 274.208C602.795 274.507 602.217 274.656 601.563 274.656ZM601.563 273.536C601.965 273.536 602.329 273.448 602.655 273.27C602.982 273.093 603.239 272.818 603.425 272.444C603.621 272.071 603.719 271.595 603.719 271.016C603.719 270.438 603.621 269.962 603.425 269.588C603.239 269.215 602.982 268.94 602.655 268.762C602.329 268.585 601.965 268.496 601.563 268.496C601.171 268.496 600.812 268.585 600.485 268.762C600.159 268.94 599.897 269.215 599.701 269.588C599.505 269.962 599.407 270.438 599.407 271.016C599.407 271.884 599.617 272.524 600.037 272.934C600.457 273.336 600.966 273.536 601.563 273.536ZM606.416 274.488V267.544H607.382L607.508 268.356H607.578C607.699 268.076 607.881 267.843 608.124 267.656C608.376 267.47 608.679 267.376 609.034 267.376C609.388 267.376 609.687 267.465 609.93 267.642C610.182 267.81 610.364 268.048 610.476 268.356H610.532C610.653 268.076 610.849 267.843 611.12 267.656C611.39 267.47 611.717 267.376 612.1 267.376C612.632 267.376 613.028 267.558 613.29 267.922C613.56 268.277 613.696 268.753 613.696 269.35V274.488H612.548V269.532C612.548 269.196 612.478 268.93 612.338 268.734C612.207 268.538 611.992 268.44 611.694 268.44C611.386 268.44 611.134 268.557 610.938 268.79C610.742 269.024 610.644 269.355 610.644 269.784V274.488H609.482V269.532C609.482 269.196 609.416 268.93 609.286 268.734C609.155 268.538 608.94 268.44 608.642 268.44C608.334 268.44 608.077 268.557 607.872 268.79C607.676 269.024 607.578 269.355 607.578 269.784V274.488H606.416Z" fill="#F86A2B"/>
+<rect x="380.5" y="257.988" width="246" height="23" stroke="#F1F1F1"/>
+<rect x="637.5" y="257.988" width="23" height="23" fill="white"/>
+<g clip-path="url(#clip3_625_11871)">
+<path d="M653.021 272.566L655.876 275.421L654.933 276.364L652.078 273.509C651.016 274.36 649.695 274.823 648.333 274.821C645.021 274.821 642.333 272.133 642.333 268.821C642.333 265.509 645.021 262.821 648.333 262.821C651.645 262.821 654.333 265.509 654.333 268.821C654.335 270.183 653.872 271.504 653.021 272.566ZM651.683 272.071C652.529 271.201 653.002 270.035 653 268.821C653 266.243 650.911 264.155 648.333 264.155C645.755 264.155 643.667 266.243 643.667 268.821C643.667 271.399 645.755 273.488 648.333 273.488C649.547 273.49 650.713 273.017 651.583 272.171L651.683 272.071Z" fill="#858282"/>
+</g>
+<rect x="637.5" y="257.988" width="23" height="23" stroke="#F1F1F1"/>
+<rect x="660.5" y="257.988" width="272" height="23" fill="white"/>
+<path d="M666.044 269.014V264.688H667.332V269.014H666.044ZM669.082 269.014V264.688H670.37V269.014H669.082ZM673.711 274.488V273.48H675.489V268.902C675.489 268.669 675.377 268.552 675.153 268.552H673.893V267.544H675.587C675.895 267.544 676.142 267.628 676.329 267.796C676.515 267.964 676.609 268.212 676.609 268.538V268.832H676.665C676.777 268.366 676.987 268.006 677.295 267.754C677.612 267.502 678.051 267.376 678.611 267.376H679.885V268.622H678.443C677.873 268.622 677.435 268.814 677.127 269.196C676.819 269.57 676.665 270.05 676.665 270.638V273.48H678.849V274.488H673.711ZM685.339 274.656C684.686 274.656 684.107 274.507 683.603 274.208C683.108 273.9 682.716 273.476 682.427 272.934C682.138 272.384 681.993 271.744 681.993 271.016C681.993 270.288 682.133 269.654 682.413 269.112C682.702 268.562 683.099 268.137 683.603 267.838C684.107 267.53 684.695 267.376 685.367 267.376C686.039 267.376 686.613 267.53 687.089 267.838C687.565 268.137 687.929 268.534 688.181 269.028C688.433 269.523 688.559 270.055 688.559 270.624C688.559 270.727 688.554 270.83 688.545 270.932C688.545 271.035 688.545 271.152 688.545 271.282H683.155C683.183 271.796 683.3 272.225 683.505 272.57C683.72 272.906 683.986 273.158 684.303 273.326C684.63 273.494 684.975 273.578 685.339 273.578C685.852 273.578 686.254 273.471 686.543 273.256C686.832 273.042 687.052 272.743 687.201 272.36H688.363C688.204 273.004 687.873 273.55 687.369 273.998C686.865 274.437 686.188 274.656 685.339 274.656ZM685.339 268.426C684.798 268.426 684.322 268.59 683.911 268.916C683.51 269.243 683.262 269.7 683.169 270.288H687.397C687.36 269.71 687.15 269.257 686.767 268.93C686.394 268.594 685.918 268.426 685.339 268.426ZM693.874 274.656C692.987 274.656 692.268 274.451 691.718 274.04C691.176 273.62 690.873 273.046 690.808 272.318H692.026C692.082 272.701 692.268 273.014 692.586 273.256C692.912 273.499 693.351 273.62 693.902 273.62C694.424 273.62 694.812 273.508 695.064 273.284C695.325 273.06 695.456 272.804 695.456 272.514C695.456 272.122 695.302 271.856 694.994 271.716C694.686 271.567 694.224 271.455 693.608 271.38C692.87 271.296 692.259 271.096 691.774 270.778C691.288 270.461 691.046 269.985 691.046 269.35C691.046 268.781 691.284 268.31 691.76 267.936C692.236 267.563 692.884 267.376 693.706 267.376C694.518 267.376 695.157 267.563 695.624 267.936C696.09 268.3 696.356 268.823 696.422 269.504H695.26C695.232 269.168 695.068 268.902 694.77 268.706C694.48 268.501 694.116 268.398 693.678 268.398C693.22 268.398 692.866 268.487 692.614 268.664C692.362 268.832 692.236 269.056 692.236 269.336C692.236 269.616 692.376 269.85 692.656 270.036C692.945 270.214 693.398 270.33 694.014 270.386C694.499 270.442 694.942 270.536 695.344 270.666C695.745 270.797 696.062 271.002 696.296 271.282C696.538 271.562 696.66 271.954 696.66 272.458C696.669 272.878 696.552 273.256 696.31 273.592C696.076 273.919 695.75 274.18 695.33 274.376C694.91 274.563 694.424 274.656 693.874 274.656ZM702.338 274.656C701.685 274.656 701.106 274.507 700.602 274.208C700.098 273.91 699.701 273.49 699.412 272.948C699.123 272.398 698.978 271.754 698.978 271.016C698.978 270.279 699.123 269.64 699.412 269.098C699.701 268.548 700.098 268.123 700.602 267.824C701.106 267.526 701.685 267.376 702.338 267.376C702.991 267.376 703.57 267.526 704.074 267.824C704.578 268.123 704.975 268.548 705.264 269.098C705.553 269.64 705.698 270.279 705.698 271.016C705.698 271.754 705.553 272.398 705.264 272.948C704.975 273.49 704.578 273.91 704.074 274.208C703.57 274.507 702.991 274.656 702.338 274.656ZM702.338 273.536C702.739 273.536 703.103 273.448 703.43 273.27C703.757 273.093 704.013 272.818 704.2 272.444C704.396 272.071 704.494 271.595 704.494 271.016C704.494 270.438 704.396 269.962 704.2 269.588C704.013 269.215 703.757 268.94 703.43 268.762C703.103 268.585 702.739 268.496 702.338 268.496C701.946 268.496 701.587 268.585 701.26 268.762C700.933 268.94 700.672 269.215 700.476 269.588C700.28 269.962 700.182 270.438 700.182 271.016C700.182 271.884 700.392 272.524 700.812 272.934C701.232 273.336 701.741 273.536 702.338 273.536ZM710.383 274.656C709.543 274.656 708.908 274.404 708.479 273.9C708.049 273.396 707.835 272.668 707.835 271.716V267.544H709.011V271.576C709.011 272.192 709.146 272.678 709.417 273.032C709.697 273.378 710.117 273.55 710.677 273.55C711.237 273.55 711.708 273.364 712.091 272.99C712.473 272.608 712.665 272.062 712.665 271.352V267.544H713.841V274.488H712.861L712.735 273.438H712.665C712.478 273.774 712.184 274.064 711.783 274.306C711.381 274.54 710.915 274.656 710.383 274.656ZM716.383 274.488V273.48H718.161V268.902C718.161 268.669 718.049 268.552 717.825 268.552H716.565V267.544H718.259C718.567 267.544 718.815 267.628 719.001 267.796C719.188 267.964 719.281 268.212 719.281 268.538V268.832H719.337C719.449 268.366 719.659 268.006 719.967 267.754C720.285 267.502 720.723 267.376 721.283 267.376H722.557V268.622H721.115C720.546 268.622 720.107 268.814 719.799 269.196C719.491 269.57 719.337 270.05 719.337 270.638V273.48H721.521V274.488H716.383ZM728.054 274.656C727.428 274.656 726.868 274.512 726.374 274.222C725.888 273.933 725.501 273.518 725.212 272.976C724.922 272.426 724.778 271.772 724.778 271.016C724.778 270.26 724.922 269.612 725.212 269.07C725.501 268.52 725.893 268.1 726.388 267.81C726.892 267.521 727.447 267.376 728.054 267.376C728.912 267.376 729.598 267.591 730.112 268.02C730.625 268.45 730.952 269.024 731.092 269.742H729.888C729.776 269.36 729.561 269.056 729.244 268.832C728.926 268.599 728.525 268.482 728.04 268.482C727.685 268.482 727.349 268.576 727.032 268.762C726.714 268.949 726.458 269.229 726.262 269.602C726.066 269.976 725.968 270.447 725.968 271.016C725.968 271.586 726.066 272.062 726.262 272.444C726.458 272.818 726.714 273.098 727.032 273.284C727.349 273.471 727.685 273.564 728.04 273.564C728.553 273.564 728.959 273.448 729.258 273.214C729.566 272.981 729.776 272.673 729.888 272.29H731.092C730.914 273.028 730.564 273.606 730.042 274.026C729.528 274.446 728.866 274.656 728.054 274.656ZM736.546 274.656C735.893 274.656 735.314 274.507 734.81 274.208C734.316 273.9 733.924 273.476 733.634 272.934C733.345 272.384 733.2 271.744 733.2 271.016C733.2 270.288 733.34 269.654 733.62 269.112C733.91 268.562 734.306 268.137 734.81 267.838C735.314 267.53 735.902 267.376 736.574 267.376C737.246 267.376 737.82 267.53 738.296 267.838C738.772 268.137 739.136 268.534 739.388 269.028C739.64 269.523 739.766 270.055 739.766 270.624C739.766 270.727 739.762 270.83 739.752 270.932C739.752 271.035 739.752 271.152 739.752 271.282H734.362C734.39 271.796 734.507 272.225 734.712 272.57C734.927 272.906 735.193 273.158 735.51 273.326C735.837 273.494 736.182 273.578 736.546 273.578C737.06 273.578 737.461 273.471 737.75 273.256C738.04 273.042 738.259 272.743 738.408 272.36H739.57C739.412 273.004 739.08 273.55 738.576 273.998C738.072 274.437 737.396 274.656 736.546 274.656ZM736.546 268.426C736.005 268.426 735.529 268.59 735.118 268.916C734.717 269.243 734.47 269.7 734.376 270.288H738.604C738.567 269.71 738.357 269.257 737.974 268.93C737.601 268.594 737.125 268.426 736.546 268.426ZM742.855 269.014V264.688H744.143V269.014H742.855ZM745.893 269.014V264.688H747.181V269.014H745.893ZM753.545 274.516C753.256 274.516 753.009 274.418 752.803 274.222C752.598 274.026 752.495 273.784 752.495 273.494C752.495 273.214 752.598 272.976 752.803 272.78C753.009 272.584 753.256 272.486 753.545 272.486C753.835 272.486 754.082 272.584 754.287 272.78C754.493 272.976 754.595 273.214 754.595 273.494C754.595 273.784 754.493 274.026 754.287 274.222C754.082 274.418 753.835 274.516 753.545 274.516ZM753.545 268.986C753.256 268.986 753.009 268.888 752.803 268.692C752.598 268.496 752.495 268.254 752.495 267.964C752.495 267.684 752.598 267.446 752.803 267.25C753.009 267.054 753.256 266.956 753.545 266.956C753.835 266.956 754.082 267.054 754.287 267.25C754.493 267.446 754.595 267.684 754.595 267.964C754.595 268.254 754.493 268.496 754.287 268.692C754.082 268.888 753.835 268.986 753.545 268.986ZM768.458 269.014V264.688H769.746V269.014H768.458ZM771.496 269.014V264.688H772.784V269.014H771.496ZM922.08 269.014V264.688H923.368V269.014H922.08ZM925.118 269.014V264.688H926.406V269.014H925.118Z" fill="#575757"/>
+<path d="M779.429 266.312C779.158 266.312 778.925 266.219 778.729 266.032C778.542 265.846 778.449 265.622 778.449 265.36C778.449 265.09 778.542 264.866 778.729 264.688C778.925 264.502 779.158 264.408 779.429 264.408C779.709 264.408 779.942 264.502 780.129 264.688C780.316 264.866 780.409 265.09 780.409 265.36C780.409 265.622 780.316 265.846 780.129 266.032C779.942 266.219 779.709 266.312 779.429 266.312ZM775.803 277.568V276.56H778.575C778.808 276.56 778.925 276.439 778.925 276.196V268.902C778.925 268.669 778.808 268.552 778.575 268.552H776.895V267.544H778.855C779.686 267.544 780.101 267.96 780.101 268.79V276.322C780.101 277.153 779.686 277.568 778.855 277.568H775.803ZM787.683 274.656C787.03 274.656 786.451 274.507 785.947 274.208C785.443 273.91 785.047 273.49 784.757 272.948C784.468 272.398 784.323 271.754 784.323 271.016C784.323 270.279 784.468 269.64 784.757 269.098C785.047 268.548 785.443 268.123 785.947 267.824C786.451 267.526 787.03 267.376 787.683 267.376C788.337 267.376 788.915 267.526 789.419 267.824C789.923 268.123 790.32 268.548 790.609 269.098C790.899 269.64 791.043 270.279 791.043 271.016C791.043 271.754 790.899 272.398 790.609 272.948C790.32 273.49 789.923 273.91 789.419 274.208C788.915 274.507 788.337 274.656 787.683 274.656ZM787.683 273.536C788.085 273.536 788.449 273.448 788.775 273.27C789.102 273.093 789.359 272.818 789.545 272.444C789.741 272.071 789.839 271.595 789.839 271.016C789.839 270.438 789.741 269.962 789.545 269.588C789.359 269.215 789.102 268.94 788.775 268.762C788.449 268.585 788.085 268.496 787.683 268.496C787.291 268.496 786.932 268.585 786.605 268.762C786.279 268.94 786.017 269.215 785.821 269.588C785.625 269.962 785.527 270.438 785.527 271.016C785.527 271.884 785.737 272.524 786.157 272.934C786.577 273.336 787.086 273.536 787.683 273.536ZM793.18 274.488V264.408H794.356V268.594C794.543 268.24 794.851 267.95 795.28 267.726C795.709 267.493 796.181 267.376 796.694 267.376C797.543 267.376 798.187 267.633 798.626 268.146C799.074 268.66 799.298 269.378 799.298 270.302V274.488H798.122V270.456C798.122 269.831 797.968 269.346 797.66 269C797.361 268.655 796.941 268.482 796.4 268.482C796.027 268.482 795.686 268.566 795.378 268.734C795.07 268.902 794.823 269.15 794.636 269.476C794.449 269.803 794.356 270.204 794.356 270.68V274.488H793.18ZM801.785 274.488V267.544H802.765L802.891 268.594H802.961C803.147 268.258 803.441 267.974 803.843 267.74C804.244 267.498 804.706 267.376 805.229 267.376C806.078 267.376 806.713 267.628 807.133 268.132C807.562 268.636 807.777 269.364 807.777 270.316V274.488H806.601V270.456C806.601 269.84 806.465 269.36 806.195 269.014C805.924 268.66 805.504 268.482 804.935 268.482C804.384 268.482 803.917 268.674 803.535 269.056C803.152 269.43 802.961 269.971 802.961 270.68V274.488H801.785ZM814.309 275.804C813.292 275.804 812.442 275.562 811.761 275.076C811.089 274.6 810.585 273.942 810.249 273.102C809.913 272.262 809.745 271.31 809.745 270.246C809.745 269.276 809.852 268.44 810.067 267.74C810.291 267.04 810.594 266.466 810.977 266.018C811.36 265.561 811.789 265.225 812.265 265.01C812.741 264.796 813.236 264.688 813.749 264.688C814.71 264.688 815.471 264.931 816.031 265.416C816.591 265.902 816.871 266.597 816.871 267.502V272.99H816.031L815.919 272.192H815.863C815.723 272.454 815.522 272.673 815.261 272.85C815.009 273.028 814.687 273.116 814.295 273.116C813.595 273.116 813.016 272.864 812.559 272.36C812.102 271.856 811.873 271.147 811.873 270.232C811.873 269.318 812.097 268.613 812.545 268.118C813.002 267.624 813.586 267.376 814.295 267.376C814.687 267.376 815.009 267.446 815.261 267.586C815.522 267.726 815.723 267.913 815.863 268.146V267.502C815.863 266.924 815.667 266.471 815.275 266.144C814.892 265.808 814.384 265.64 813.749 265.64C813.254 265.64 812.783 265.79 812.335 266.088C811.887 266.387 811.518 266.872 811.229 267.544C810.949 268.216 810.809 269.117 810.809 270.246C810.809 271.068 810.935 271.828 811.187 272.528C811.439 273.228 811.826 273.793 812.349 274.222C812.872 274.642 813.525 274.852 814.309 274.852H816.269V275.804H814.309ZM814.379 272.234C814.808 272.234 815.163 272.076 815.443 271.758C815.723 271.432 815.863 270.928 815.863 270.246C815.863 269.565 815.723 269.066 815.443 268.748C815.163 268.422 814.808 268.258 814.379 268.258C813.95 268.258 813.595 268.422 813.315 268.748C813.035 269.066 812.895 269.565 812.895 270.246C812.895 270.928 813.035 271.432 813.315 271.758C813.595 272.076 813.95 272.234 814.379 272.234ZM821.234 274.656C820.683 274.656 820.226 274.558 819.862 274.362C819.498 274.166 819.227 273.91 819.05 273.592C818.872 273.266 818.784 272.911 818.784 272.528C818.784 271.819 819.04 271.282 819.554 270.918C820.076 270.545 820.772 270.358 821.64 270.358H823.544V270.218C823.544 269.005 822.988 268.398 821.878 268.398C821.43 268.398 821.052 268.496 820.744 268.692C820.445 268.888 820.254 269.196 820.17 269.616H818.966C819.012 269.15 819.166 268.748 819.428 268.412C819.698 268.076 820.044 267.82 820.464 267.642C820.884 267.465 821.355 267.376 821.878 267.376C822.867 267.376 823.586 267.638 824.034 268.16C824.491 268.674 824.72 269.36 824.72 270.218V274.488H823.712L823.614 273.41H823.516C823.31 273.746 823.035 274.04 822.69 274.292C822.354 274.535 821.868 274.656 821.234 274.656ZM821.444 273.62C821.892 273.62 822.27 273.513 822.578 273.298C822.895 273.084 823.133 272.799 823.292 272.444C823.46 272.09 823.544 271.702 823.544 271.282H821.738C821.103 271.282 820.655 271.39 820.394 271.604C820.142 271.819 820.016 272.104 820.016 272.458C820.016 272.822 820.137 273.107 820.38 273.312C820.622 273.518 820.977 273.62 821.444 273.62ZM827.248 277.568V267.544H828.2L828.34 268.692H828.424C828.601 268.319 828.886 268.006 829.278 267.754C829.67 267.502 830.132 267.376 830.664 267.376C831.224 267.376 831.728 267.516 832.176 267.796C832.633 268.076 832.993 268.492 833.254 269.042C833.515 269.584 833.646 270.246 833.646 271.03C833.646 271.805 833.511 272.463 833.24 273.004C832.979 273.546 832.615 273.956 832.148 274.236C831.691 274.516 831.163 274.656 830.566 274.656C830.034 274.656 829.581 274.544 829.208 274.32C828.844 274.087 828.583 273.816 828.424 273.508V277.568H827.248ZM830.426 273.536C831.014 273.536 831.499 273.331 831.882 272.92C832.265 272.5 832.456 271.866 832.456 271.016C832.456 270.167 832.265 269.537 831.882 269.126C831.499 268.706 831.014 268.496 830.426 268.496C829.838 268.496 829.353 268.706 828.97 269.126C828.587 269.537 828.396 270.167 828.396 271.016C828.396 271.866 828.587 272.5 828.97 272.92C829.353 273.331 829.838 273.536 830.426 273.536ZM835.783 277.568V267.544H836.735L836.875 268.692H836.959C837.136 268.319 837.421 268.006 837.813 267.754C838.205 267.502 838.667 267.376 839.199 267.376C839.759 267.376 840.263 267.516 840.711 267.796C841.168 268.076 841.527 268.492 841.789 269.042C842.05 269.584 842.181 270.246 842.181 271.03C842.181 271.805 842.045 272.463 841.775 273.004C841.513 273.546 841.149 273.956 840.683 274.236C840.225 274.516 839.698 274.656 839.101 274.656C838.569 274.656 838.116 274.544 837.743 274.32C837.379 274.087 837.117 273.816 836.959 273.508V277.568H835.783ZM838.961 273.536C839.549 273.536 840.034 273.331 840.417 272.92C840.799 272.5 840.991 271.866 840.991 271.016C840.991 270.167 840.799 269.537 840.417 269.126C840.034 268.706 839.549 268.496 838.961 268.496C838.373 268.496 837.887 268.706 837.505 269.126C837.122 269.537 836.931 270.167 836.931 271.016C836.931 271.866 837.122 272.5 837.505 272.92C837.887 273.331 838.373 273.536 838.961 273.536ZM847.495 274.656C846.608 274.656 845.89 274.451 845.339 274.04C844.798 273.62 844.494 273.046 844.429 272.318H845.647C845.703 272.701 845.89 273.014 846.207 273.256C846.534 273.499 846.972 273.62 847.523 273.62C848.046 273.62 848.433 273.508 848.685 273.284C848.946 273.06 849.077 272.804 849.077 272.514C849.077 272.122 848.923 271.856 848.615 271.716C848.307 271.567 847.845 271.455 847.229 271.38C846.492 271.296 845.88 271.096 845.395 270.778C844.91 270.461 844.667 269.985 844.667 269.35C844.667 268.781 844.905 268.31 845.381 267.936C845.857 267.563 846.506 267.376 847.327 267.376C848.139 267.376 848.778 267.563 849.245 267.936C849.712 268.3 849.978 268.823 850.043 269.504H848.881C848.853 269.168 848.69 268.902 848.391 268.706C848.102 268.501 847.738 268.398 847.299 268.398C846.842 268.398 846.487 268.487 846.235 268.664C845.983 268.832 845.857 269.056 845.857 269.336C845.857 269.616 845.997 269.85 846.277 270.036C846.566 270.214 847.019 270.33 847.635 270.386C848.12 270.442 848.564 270.536 848.965 270.666C849.366 270.797 849.684 271.002 849.917 271.282C850.16 271.562 850.281 271.954 850.281 272.458C850.29 272.878 850.174 273.256 849.931 273.592C849.698 273.919 849.371 274.18 848.951 274.376C848.531 274.563 848.046 274.656 847.495 274.656ZM852.278 274.488V267.544H853.244L853.37 268.356H853.44C853.561 268.076 853.743 267.843 853.986 267.656C854.238 267.47 854.541 267.376 854.896 267.376C855.25 267.376 855.549 267.465 855.792 267.642C856.044 267.81 856.226 268.048 856.338 268.356H856.394C856.515 268.076 856.711 267.843 856.982 267.656C857.252 267.47 857.579 267.376 857.962 267.376C858.494 267.376 858.89 267.558 859.152 267.922C859.422 268.277 859.558 268.753 859.558 269.35V274.488H858.41V269.532C858.41 269.196 858.34 268.93 858.2 268.734C858.069 268.538 857.854 268.44 857.556 268.44C857.248 268.44 856.996 268.557 856.8 268.79C856.604 269.024 856.506 269.355 856.506 269.784V274.488H855.344V269.532C855.344 269.196 855.278 268.93 855.148 268.734C855.017 268.538 854.802 268.44 854.504 268.44C854.196 268.44 853.939 268.557 853.734 268.79C853.538 269.024 853.44 269.355 853.44 269.784V274.488H852.278ZM864.41 266.312C864.13 266.312 863.897 266.219 863.71 266.032C863.524 265.846 863.43 265.622 863.43 265.36C863.43 265.09 863.524 264.866 863.71 264.688C863.897 264.502 864.13 264.408 864.41 264.408C864.681 264.408 864.91 264.502 865.096 264.688C865.292 264.866 865.39 265.09 865.39 265.36C865.39 265.622 865.292 265.846 865.096 266.032C864.91 266.219 864.681 266.312 864.41 266.312ZM861.694 274.488V273.48H863.906V268.902C863.906 268.669 863.79 268.552 863.556 268.552H861.932V267.544H863.836C864.667 267.544 865.082 267.96 865.082 268.79V273.48H867.294V274.488H861.694ZM873.757 274.488C873.122 274.488 872.623 274.334 872.259 274.026C871.895 273.718 871.713 273.163 871.713 272.36V268.552H869.949V267.544H870.999C871.475 267.544 871.75 267.311 871.825 266.844L872.021 265.766H872.889V267.544H875.661V268.552H872.889V272.36C872.889 272.752 872.977 273.028 873.155 273.186C873.341 273.345 873.659 273.424 874.107 273.424H875.661V274.488H873.757ZM878.525 274.488V264.408H879.701V268.594C879.888 268.24 880.196 267.95 880.625 267.726C881.055 267.493 881.526 267.376 882.039 267.376C882.889 267.376 883.533 267.633 883.971 268.146C884.419 268.66 884.643 269.378 884.643 270.302V274.488H883.467V270.456C883.467 269.831 883.313 269.346 883.005 269C882.707 268.655 882.287 268.482 881.745 268.482C881.372 268.482 881.031 268.566 880.723 268.734C880.415 268.902 880.168 269.15 879.981 269.476C879.795 269.803 879.701 270.204 879.701 270.68V274.488H878.525ZM890.098 274.516C889.808 274.516 889.561 274.418 889.356 274.222C889.15 274.026 889.048 273.784 889.048 273.494C889.048 273.214 889.15 272.976 889.356 272.78C889.561 272.584 889.808 272.486 890.098 272.486C890.387 272.486 890.634 272.584 890.84 272.78C891.045 272.976 891.148 273.214 891.148 273.494C891.148 273.784 891.045 274.026 890.84 274.222C890.634 274.418 890.387 274.516 890.098 274.516ZM898.744 274.656C898.119 274.656 897.559 274.512 897.064 274.222C896.579 273.933 896.192 273.518 895.902 272.976C895.613 272.426 895.468 271.772 895.468 271.016C895.468 270.26 895.613 269.612 895.902 269.07C896.192 268.52 896.584 268.1 897.078 267.81C897.582 267.521 898.138 267.376 898.744 267.376C899.603 267.376 900.289 267.591 900.802 268.02C901.316 268.45 901.642 269.024 901.782 269.742H900.578C900.466 269.36 900.252 269.056 899.934 268.832C899.617 268.599 899.216 268.482 898.73 268.482C898.376 268.482 898.04 268.576 897.722 268.762C897.405 268.949 897.148 269.229 896.952 269.602C896.756 269.976 896.658 270.447 896.658 271.016C896.658 271.586 896.756 272.062 896.952 272.444C897.148 272.818 897.405 273.098 897.722 273.284C898.04 273.471 898.376 273.564 898.73 273.564C899.244 273.564 899.65 273.448 899.948 273.214C900.256 272.981 900.466 272.673 900.578 272.29H901.782C901.605 273.028 901.255 273.606 900.732 274.026C900.219 274.446 899.556 274.656 898.744 274.656ZM907.167 274.656C906.514 274.656 905.935 274.507 905.431 274.208C904.927 273.91 904.53 273.49 904.241 272.948C903.952 272.398 903.807 271.754 903.807 271.016C903.807 270.279 903.952 269.64 904.241 269.098C904.53 268.548 904.927 268.123 905.431 267.824C905.935 267.526 906.514 267.376 907.167 267.376C907.82 267.376 908.399 267.526 908.903 267.824C909.407 268.123 909.804 268.548 910.093 269.098C910.382 269.64 910.527 270.279 910.527 271.016C910.527 271.754 910.382 272.398 910.093 272.948C909.804 273.49 909.407 273.91 908.903 274.208C908.399 274.507 907.82 274.656 907.167 274.656ZM907.167 273.536C907.568 273.536 907.932 273.448 908.259 273.27C908.586 273.093 908.842 272.818 909.029 272.444C909.225 272.071 909.323 271.595 909.323 271.016C909.323 270.438 909.225 269.962 909.029 269.588C908.842 269.215 908.586 268.94 908.259 268.762C907.932 268.585 907.568 268.496 907.167 268.496C906.775 268.496 906.416 268.585 906.089 268.762C905.762 268.94 905.501 269.215 905.305 269.588C905.109 269.962 905.011 270.438 905.011 271.016C905.011 271.884 905.221 272.524 905.641 272.934C906.061 273.336 906.57 273.536 907.167 273.536ZM912.019 274.488V267.544H912.985L913.111 268.356H913.181C913.303 268.076 913.485 267.843 913.727 267.656C913.979 267.47 914.283 267.376 914.637 267.376C914.992 267.376 915.291 267.465 915.533 267.642C915.785 267.81 915.967 268.048 916.079 268.356H916.135C916.257 268.076 916.453 267.843 916.723 267.656C916.994 267.47 917.321 267.376 917.703 267.376C918.235 267.376 918.632 267.558 918.893 267.922C919.164 268.277 919.299 268.753 919.299 269.35V274.488H918.151V269.532C918.151 269.196 918.081 268.93 917.941 268.734C917.811 268.538 917.596 268.44 917.297 268.44C916.989 268.44 916.737 268.557 916.541 268.79C916.345 269.024 916.247 269.355 916.247 269.784V274.488H915.085V269.532C915.085 269.196 915.02 268.93 914.889 268.734C914.759 268.538 914.544 268.44 914.245 268.44C913.937 268.44 913.681 268.557 913.475 268.79C913.279 269.024 913.181 269.355 913.181 269.784V274.488H912.019Z" fill="#F86A2B"/>
+<rect x="660.5" y="257.988" width="272" height="23" stroke="#F1F1F1"/>
+<g clip-path="url(#clip4_625_11871)">
+<rect width="661" height="138" transform="translate(67 292)" fill="#F8F8F8"/>
+<path d="M85 313L80 308L90 308L85 313Z" fill="#939393"/>
+<path d="M109.423 318.461H109.799V317.497H109.525C108.562 317.497 108.172 317.053 108.172 315.959V313.758C108.172 312.773 107.68 312.261 106.675 312.158V311.994C107.68 311.892 108.172 311.379 108.172 310.395V308.207C108.172 307.113 108.562 306.669 109.525 306.669H109.799V305.705H109.423C107.81 305.705 107.051 306.464 107.051 308.057V309.971C107.051 311.064 106.675 311.427 105.547 311.427V312.726C106.675 312.726 107.051 313.088 107.051 314.182V316.109C107.051 317.702 107.81 318.461 109.423 318.461ZM122.336 332.025H123.32L123.464 328.136H122.192L122.336 332.025ZM124.865 332.025H125.85L125.993 328.136H124.722L124.865 332.025ZM131.551 338.13C133.287 338.13 134.34 337.146 134.593 336.147L134.606 336.093H133.417L133.39 336.154C133.191 336.599 132.576 337.07 131.578 337.07C130.266 337.07 129.425 336.182 129.391 334.657H134.695V334.192C134.695 331.991 133.479 330.501 131.476 330.501C129.473 330.501 128.174 332.06 128.174 334.336V334.343C128.174 336.653 129.445 338.13 131.551 338.13ZM131.469 331.561C132.556 331.561 133.362 332.251 133.485 333.707H129.411C129.541 332.306 130.375 331.561 131.469 331.561ZM138.489 338H139.692L142.42 330.631H141.162L139.146 336.701H139.036L137.02 330.631H135.762L138.489 338ZM146.727 338.13C148.463 338.13 149.516 337.146 149.769 336.147L149.782 336.093H148.593L148.565 336.154C148.367 336.599 147.752 337.07 146.754 337.07C145.441 337.07 144.601 336.182 144.566 334.657H149.871V334.192C149.871 331.991 148.654 330.501 146.651 330.501C144.648 330.501 143.35 332.06 143.35 334.336V334.343C143.35 336.653 144.621 338.13 146.727 338.13ZM146.645 331.561C147.731 331.561 148.538 332.251 148.661 333.707H144.587C144.717 332.306 145.551 331.561 146.645 331.561ZM151.717 338H152.906V333.639C152.906 332.347 153.651 331.554 154.827 331.554C156.003 331.554 156.55 332.189 156.55 333.516V338H157.739V333.229C157.739 331.479 156.816 330.501 155.162 330.501C154.075 330.501 153.385 330.959 153.016 331.738H152.906V330.631H151.717V338ZM162.511 338.055C162.743 338.055 162.969 338.027 163.201 337.986V336.975C162.982 336.995 162.866 337.002 162.654 337.002C161.889 337.002 161.588 336.653 161.588 335.785V331.615H163.201V330.631H161.588V328.724H160.357V330.631H159.195V331.615H160.357V336.086C160.357 337.494 160.993 338.055 162.511 338.055ZM165.457 332.025H166.441L166.585 328.136H165.313L165.457 332.025ZM167.986 332.025H168.971L169.114 328.136H167.843L167.986 332.025ZM172.635 332.777C173.127 332.777 173.523 332.374 173.523 331.889C173.523 331.396 173.127 331 172.635 331C172.149 331 171.746 331.396 171.746 331.889C171.746 332.374 172.149 332.777 172.635 332.777ZM172.635 338.068C173.127 338.068 173.523 337.665 173.523 337.18C173.523 336.688 173.127 336.291 172.635 336.291C172.149 336.291 171.746 336.688 171.746 337.18C171.746 337.665 172.149 338.068 172.635 338.068ZM122.336 354.025H123.32L123.464 350.136H122.192L122.336 354.025ZM124.865 354.025H125.85L125.993 350.136H124.722L124.865 354.025ZM131.161 360.055C131.394 360.055 131.619 360.027 131.852 359.986V358.975C131.633 358.995 131.517 359.002 131.305 359.002C130.539 359.002 130.238 358.653 130.238 357.785V353.615H131.852V352.631H130.238V350.724H129.008V352.631H127.846V353.615H129.008V358.086C129.008 359.494 129.644 360.055 131.161 360.055ZM134.258 351.209C134.709 351.209 135.078 350.84 135.078 350.389C135.078 349.938 134.709 349.568 134.258 349.568C133.807 349.568 133.438 349.938 133.438 350.389C133.438 350.84 133.807 351.209 134.258 351.209ZM133.656 360H134.846V352.631H133.656V360ZM137.088 360H138.277V355.434C138.277 354.395 139.009 353.554 139.973 353.554C140.902 353.554 141.504 354.121 141.504 354.996V360H142.693V355.263C142.693 354.326 143.37 353.554 144.396 353.554C145.435 353.554 145.934 354.094 145.934 355.181V360H147.123V354.907C147.123 353.362 146.282 352.501 144.778 352.501C143.76 352.501 142.919 353.014 142.522 353.793H142.413C142.071 353.027 141.374 352.501 140.376 352.501C139.412 352.501 138.715 352.959 138.387 353.752H138.277V352.631H137.088V360ZM152.277 360.13C154.014 360.13 155.066 359.146 155.319 358.147L155.333 358.093H154.144L154.116 358.154C153.918 358.599 153.303 359.07 152.305 359.07C150.992 359.07 150.151 358.182 150.117 356.657H155.422V356.192C155.422 353.991 154.205 352.501 152.202 352.501C150.199 352.501 148.9 354.06 148.9 356.336V356.343C148.9 358.653 150.172 360.13 152.277 360.13ZM152.195 353.561C153.282 353.561 154.089 354.251 154.212 355.707H150.138C150.268 354.306 151.102 353.561 152.195 353.561ZM159.797 360.13C161.472 360.13 162.75 359.221 162.75 357.908V357.895C162.75 356.842 162.08 356.24 160.692 355.905L159.558 355.632C158.689 355.42 158.32 355.105 158.32 354.606V354.593C158.32 353.943 158.963 353.492 159.838 353.492C160.727 353.492 161.301 353.896 161.458 354.477H162.627C162.463 353.273 161.39 352.501 159.845 352.501C158.279 352.501 157.104 353.424 157.104 354.647V354.654C157.104 355.714 157.726 356.315 159.106 356.644L160.248 356.917C161.157 357.136 161.533 357.484 161.533 357.983V357.997C161.533 358.667 160.829 359.139 159.838 359.139C158.895 359.139 158.307 358.735 158.108 358.12H156.892C157.028 359.337 158.156 360.13 159.797 360.13ZM167.146 360.055C167.378 360.055 167.604 360.027 167.836 359.986V358.975C167.617 358.995 167.501 359.002 167.289 359.002C166.523 359.002 166.223 358.653 166.223 357.785V353.615H167.836V352.631H166.223V350.724H164.992V352.631H163.83V353.615H164.992V358.086C164.992 359.494 165.628 360.055 167.146 360.055ZM171.637 360.13C172.628 360.13 173.4 359.699 173.865 358.913H173.975V360H175.164V354.955C175.164 353.424 174.159 352.501 172.361 352.501C170.789 352.501 169.668 353.28 169.477 354.436L169.47 354.477H170.659L170.666 354.456C170.857 353.882 171.438 353.554 172.32 353.554C173.421 353.554 173.975 354.046 173.975 354.955V355.625L171.862 355.755C170.146 355.857 169.176 356.616 169.176 357.929V357.942C169.176 359.282 170.235 360.13 171.637 360.13ZM170.393 357.915V357.901C170.393 357.17 170.885 356.773 172.006 356.705L173.975 356.582V357.252C173.975 358.305 173.093 359.098 171.883 359.098C171.028 359.098 170.393 358.66 170.393 357.915ZM177.338 360H178.527V355.434C178.527 354.395 179.259 353.554 180.223 353.554C181.152 353.554 181.754 354.121 181.754 354.996V360H182.943V355.263C182.943 354.326 183.62 353.554 184.646 353.554C185.685 353.554 186.184 354.094 186.184 355.181V360H187.373V354.907C187.373 353.362 186.532 352.501 185.028 352.501C184.01 352.501 183.169 353.014 182.772 353.793H182.663C182.321 353.027 181.624 352.501 180.626 352.501C179.662 352.501 178.965 352.959 178.637 353.752H178.527V352.631H177.338V360ZM189.52 362.461H190.709V358.838H190.818C191.222 359.624 192.104 360.13 193.115 360.13C194.988 360.13 196.205 358.633 196.205 356.322V356.309C196.205 354.012 194.981 352.501 193.115 352.501C192.09 352.501 191.27 352.986 190.818 353.807H190.709V352.631H189.52V362.461ZM192.842 359.077C191.502 359.077 190.682 358.024 190.682 356.322V356.309C190.682 354.606 191.502 353.554 192.842 353.554C194.188 353.554 194.988 354.593 194.988 356.309V356.322C194.988 358.038 194.188 359.077 192.842 359.077ZM198.543 354.025H199.527L199.671 350.136H198.399L198.543 354.025ZM201.072 354.025H202.057L202.2 350.136H200.929L201.072 354.025ZM205.721 354.777C206.213 354.777 206.609 354.374 206.609 353.889C206.609 353.396 206.213 353 205.721 353C205.235 353 204.832 353.396 204.832 353.889C204.832 354.374 205.235 354.777 205.721 354.777ZM205.721 360.068C206.213 360.068 206.609 359.665 206.609 359.18C206.609 358.688 206.213 358.291 205.721 358.291C205.235 358.291 204.832 358.688 204.832 359.18C204.832 359.665 205.235 360.068 205.721 360.068ZM122.336 376.025H123.32L123.464 372.136H122.192L122.336 376.025ZM124.865 376.025H125.85L125.993 372.136H124.722L124.865 376.025ZM128.543 382H129.732V377.434C129.732 376.354 130.539 375.636 131.674 375.636C131.934 375.636 132.159 375.663 132.405 375.704V374.549C132.289 374.528 132.036 374.501 131.811 374.501C130.812 374.501 130.122 374.952 129.842 375.725H129.732V374.631H128.543V382ZM136.678 382.13C138.414 382.13 139.467 381.146 139.72 380.147L139.733 380.093H138.544L138.517 380.154C138.318 380.599 137.703 381.07 136.705 381.07C135.393 381.07 134.552 380.182 134.518 378.657H139.822V378.192C139.822 375.991 138.605 374.501 136.603 374.501C134.6 374.501 133.301 376.06 133.301 378.336V378.343C133.301 380.653 134.572 382.13 136.678 382.13ZM136.596 375.561C137.683 375.561 138.489 376.251 138.612 377.707H134.538C134.668 376.306 135.502 375.561 136.596 375.561ZM144.197 382.13C145.872 382.13 147.15 381.221 147.15 379.908V379.895C147.15 378.842 146.48 378.24 145.093 377.905L143.958 377.632C143.09 377.42 142.721 377.105 142.721 376.606V376.593C142.721 375.943 143.363 375.492 144.238 375.492C145.127 375.492 145.701 375.896 145.858 376.477H147.027C146.863 375.273 145.79 374.501 144.245 374.501C142.68 374.501 141.504 375.424 141.504 376.647V376.654C141.504 377.714 142.126 378.315 143.507 378.644L144.648 378.917C145.558 379.136 145.934 379.484 145.934 379.983V379.997C145.934 380.667 145.229 381.139 144.238 381.139C143.295 381.139 142.707 380.735 142.509 380.12H141.292C141.429 381.337 142.557 382.13 144.197 382.13ZM152.024 382.13C154.123 382.13 155.422 380.681 155.422 378.322V378.309C155.422 375.943 154.123 374.501 152.024 374.501C149.926 374.501 148.627 375.943 148.627 378.309V378.322C148.627 380.681 149.926 382.13 152.024 382.13ZM152.024 381.077C150.63 381.077 149.844 380.059 149.844 378.322V378.309C149.844 376.565 150.63 375.554 152.024 375.554C153.419 375.554 154.205 376.565 154.205 378.309V378.322C154.205 380.059 153.419 381.077 152.024 381.077ZM159.735 382.13C160.815 382.13 161.561 381.686 161.923 380.899H162.032V382H163.222V374.631H162.032V378.992C162.032 380.284 161.342 381.077 160.043 381.077C158.867 381.077 158.389 380.441 158.389 379.115V374.631H157.199V379.402C157.199 381.146 158.061 382.13 159.735 382.13ZM165.443 382H166.633V377.434C166.633 376.354 167.439 375.636 168.574 375.636C168.834 375.636 169.06 375.663 169.306 375.704V374.549C169.189 374.528 168.937 374.501 168.711 374.501C167.713 374.501 167.022 374.952 166.742 375.725H166.633V374.631H165.443V382ZM173.585 382.13C175.355 382.13 176.347 381.18 176.647 379.847L176.661 379.771L175.485 379.778L175.472 379.819C175.198 380.64 174.569 381.077 173.578 381.077C172.266 381.077 171.418 379.99 171.418 378.295V378.281C171.418 376.62 172.252 375.554 173.578 375.554C174.638 375.554 175.294 376.142 175.479 376.866L175.485 376.887H176.668L176.661 376.846C176.442 375.533 175.369 374.501 173.578 374.501C171.514 374.501 170.201 375.991 170.201 378.281V378.295C170.201 380.633 171.521 382.13 173.585 382.13ZM181.412 382.13C183.148 382.13 184.201 381.146 184.454 380.147L184.468 380.093H183.278L183.251 380.154C183.053 380.599 182.438 381.07 181.439 381.07C180.127 381.07 179.286 380.182 179.252 378.657H184.557V378.192C184.557 375.991 183.34 374.501 181.337 374.501C179.334 374.501 178.035 376.06 178.035 378.336V378.343C178.035 380.653 179.307 382.13 181.412 382.13ZM181.33 375.561C182.417 375.561 183.224 376.251 183.347 377.707H179.272C179.402 376.306 180.236 375.561 181.33 375.561ZM186.881 376.025H187.865L188.009 372.136H186.737L186.881 376.025ZM189.41 376.025H190.395L190.538 372.136H189.267L189.41 376.025ZM194.059 376.777C194.551 376.777 194.947 376.374 194.947 375.889C194.947 375.396 194.551 375 194.059 375C193.573 375 193.17 375.396 193.17 375.889C193.17 376.374 193.573 376.777 194.059 376.777ZM194.059 382.068C194.551 382.068 194.947 381.665 194.947 381.18C194.947 380.688 194.551 380.291 194.059 380.291C193.573 380.291 193.17 380.688 193.17 381.18C193.17 381.665 193.573 382.068 194.059 382.068ZM204.497 384.461H204.873V383.497H204.6C203.636 383.497 203.246 383.053 203.246 381.959V379.758C203.246 378.773 202.754 378.261 201.749 378.158V377.994C202.754 377.892 203.246 377.379 203.246 376.395V374.207C203.246 373.113 203.636 372.669 204.6 372.669H204.873V371.705H204.497C202.884 371.705 202.125 372.464 202.125 374.057V375.971C202.125 377.064 201.749 377.427 200.621 377.427V378.726C201.749 378.726 202.125 379.088 202.125 380.182V382.109C202.125 383.702 202.884 384.461 204.497 384.461ZM138.086 398.025H139.07L139.214 394.136H137.942L138.086 398.025ZM140.615 398.025H141.6L141.743 394.136H140.472L140.615 398.025ZM144.922 395.209C145.373 395.209 145.742 394.84 145.742 394.389C145.742 393.938 145.373 393.568 144.922 393.568C144.471 393.568 144.102 393.938 144.102 394.389C144.102 394.84 144.471 395.209 144.922 395.209ZM144.32 404H145.51V396.631H144.32V404ZM150.473 404.13C151.498 404.13 152.318 403.645 152.77 402.824H152.879V404H154.068V393.705H152.879V397.793H152.77C152.366 397.007 151.484 396.501 150.473 396.501C148.6 396.501 147.383 397.998 147.383 400.309V400.322C147.383 402.619 148.606 404.13 150.473 404.13ZM150.746 403.077C149.399 403.077 148.6 402.038 148.6 400.322V400.309C148.6 398.593 149.399 397.554 150.746 397.554C152.086 397.554 152.906 398.606 152.906 400.309V400.322C152.906 402.024 152.086 403.077 150.746 403.077ZM156.83 398.025H157.814L157.958 394.136H156.687L156.83 398.025ZM159.359 398.025H160.344L160.487 394.136H159.216L159.359 398.025ZM164.008 398.777C164.5 398.777 164.896 398.374 164.896 397.889C164.896 397.396 164.5 397 164.008 397C163.522 397 163.119 397.396 163.119 397.889C163.119 398.374 163.522 398.777 164.008 398.777ZM164.008 404.068C164.5 404.068 164.896 403.665 164.896 403.18C164.896 402.688 164.5 402.291 164.008 402.291C163.522 402.291 163.119 402.688 163.119 403.18C163.119 403.665 163.522 404.068 164.008 404.068ZM138.086 420.025H139.07L139.214 416.136H137.942L138.086 420.025ZM140.615 420.025H141.6L141.743 416.136H140.472L140.615 420.025ZM146.911 426.055C147.144 426.055 147.369 426.027 147.602 425.986V424.975C147.383 424.995 147.267 425.002 147.055 425.002C146.289 425.002 145.988 424.653 145.988 423.785V419.615H147.602V418.631H145.988V416.724H144.758V418.631H143.596V419.615H144.758V424.086C144.758 425.494 145.394 426.055 146.911 426.055ZM150.008 428.584C151.313 428.584 151.922 428.105 152.53 426.451L155.408 418.631H154.157L152.141 424.694H152.031L150.008 418.631H148.736L151.464 426.007L151.327 426.444C151.061 427.292 150.65 427.6 149.974 427.6C149.81 427.6 149.625 427.593 149.481 427.565V428.543C149.646 428.57 149.851 428.584 150.008 428.584ZM156.98 428.461H158.17V424.838H158.279C158.683 425.624 159.564 426.13 160.576 426.13C162.449 426.13 163.666 424.633 163.666 422.322V422.309C163.666 420.012 162.442 418.501 160.576 418.501C159.551 418.501 158.73 418.986 158.279 419.807H158.17V418.631H156.98V428.461ZM160.303 425.077C158.963 425.077 158.143 424.024 158.143 422.322V422.309C158.143 420.606 158.963 419.554 160.303 419.554C161.649 419.554 162.449 420.593 162.449 422.309V422.322C162.449 424.038 161.649 425.077 160.303 425.077ZM168.533 426.13C170.27 426.13 171.322 425.146 171.575 424.147L171.589 424.093H170.399L170.372 424.154C170.174 424.599 169.559 425.07 168.561 425.07C167.248 425.07 166.407 424.182 166.373 422.657H171.678V422.192C171.678 419.991 170.461 418.501 168.458 418.501C166.455 418.501 165.156 420.06 165.156 422.336V422.343C165.156 424.653 166.428 426.13 168.533 426.13ZM168.451 419.561C169.538 419.561 170.345 420.251 170.468 421.707H166.394C166.523 420.306 167.357 419.561 168.451 419.561ZM174.002 420.025H174.986L175.13 416.136H173.858L174.002 420.025ZM176.531 420.025H177.516L177.659 416.136H176.388L176.531 420.025ZM181.18 420.777C181.672 420.777 182.068 420.374 182.068 419.889C182.068 419.396 181.672 419 181.18 419C180.694 419 180.291 419.396 180.291 419.889C180.291 420.374 180.694 420.777 181.18 420.777ZM181.18 426.068C181.672 426.068 182.068 425.665 182.068 425.18C182.068 424.688 181.672 424.291 181.18 424.291C180.694 424.291 180.291 424.688 180.291 425.18C180.291 425.665 180.694 426.068 181.18 426.068ZM138.086 442.025H139.07L139.214 438.136H137.942L138.086 442.025ZM140.615 442.025H141.6L141.743 438.136H140.472L140.615 442.025ZM144.293 448H145.482V443.639C145.482 442.347 146.228 441.554 147.403 441.554C148.579 441.554 149.126 442.189 149.126 443.516V448H150.315V443.229C150.315 441.479 149.393 440.501 147.738 440.501C146.651 440.501 145.961 440.959 145.592 441.738H145.482V440.631H144.293V448ZM154.492 448.13C155.483 448.13 156.256 447.699 156.721 446.913H156.83V448H158.02V442.955C158.02 441.424 157.015 440.501 155.217 440.501C153.645 440.501 152.523 441.28 152.332 442.436L152.325 442.477H153.515L153.521 442.456C153.713 441.882 154.294 441.554 155.176 441.554C156.276 441.554 156.83 442.046 156.83 442.955V443.625L154.718 443.755C153.002 443.857 152.031 444.616 152.031 445.929V445.942C152.031 447.282 153.091 448.13 154.492 448.13ZM153.248 445.915V445.901C153.248 445.17 153.74 444.773 154.861 444.705L156.83 444.582V445.252C156.83 446.305 155.948 447.098 154.738 447.098C153.884 447.098 153.248 446.66 153.248 445.915ZM160.193 448H161.383V443.434C161.383 442.395 162.114 441.554 163.078 441.554C164.008 441.554 164.609 442.121 164.609 442.996V448H165.799V443.263C165.799 442.326 166.476 441.554 167.501 441.554C168.54 441.554 169.039 442.094 169.039 443.181V448H170.229V442.907C170.229 441.362 169.388 440.501 167.884 440.501C166.865 440.501 166.024 441.014 165.628 441.793H165.519C165.177 441.027 164.479 440.501 163.481 440.501C162.518 440.501 161.82 440.959 161.492 441.752H161.383V440.631H160.193V448ZM175.383 448.13C177.119 448.13 178.172 447.146 178.425 446.147L178.438 446.093H177.249L177.222 446.154C177.023 446.599 176.408 447.07 175.41 447.07C174.098 447.07 173.257 446.182 173.223 444.657H178.527V444.192C178.527 441.991 177.311 440.501 175.308 440.501C173.305 440.501 172.006 442.06 172.006 444.336V444.343C172.006 446.653 173.277 448.13 175.383 448.13ZM175.301 441.561C176.388 441.561 177.194 442.251 177.317 443.707H173.243C173.373 442.306 174.207 441.561 175.301 441.561ZM180.852 442.025H181.836L181.979 438.136H180.708L180.852 442.025ZM183.381 442.025H184.365L184.509 438.136H183.237L183.381 442.025ZM188.029 442.777C188.521 442.777 188.918 442.374 188.918 441.889C188.918 441.396 188.521 441 188.029 441C187.544 441 187.141 441.396 187.141 441.889C187.141 442.374 187.544 442.777 188.029 442.777ZM188.029 448.068C188.521 448.068 188.918 447.665 188.918 447.18C188.918 446.688 188.521 446.291 188.029 446.291C187.544 446.291 187.141 446.688 187.141 447.18C187.141 447.665 187.544 448.068 188.029 448.068ZM195.631 442.025H196.615L196.759 438.136H195.487L195.631 442.025ZM198.16 442.025H199.145L199.288 438.136H198.017L198.16 442.025ZM200.108 448H201.4L202.392 445.177H206.315L207.307 448H208.599L204.962 438.136H203.745L200.108 448ZM204.299 439.729H204.408L205.953 444.131H202.754L204.299 439.729ZM209.87 444.582H214.464V443.475H209.87V444.582ZM216.727 448H217.957V443.728H222.325V442.634H217.957V439.243H222.715V438.136H216.727V448ZM227.616 448.13C229.715 448.13 231.014 446.681 231.014 444.322V444.309C231.014 441.943 229.715 440.501 227.616 440.501C225.518 440.501 224.219 441.943 224.219 444.309V444.322C224.219 446.681 225.518 448.13 227.616 448.13ZM227.616 447.077C226.222 447.077 225.436 446.059 225.436 444.322V444.309C225.436 442.565 226.222 441.554 227.616 441.554C229.011 441.554 229.797 442.565 229.797 444.309V444.322C229.797 446.059 229.011 447.077 227.616 447.077ZM232.859 448H234.049V443.434C234.049 442.354 234.855 441.636 235.99 441.636C236.25 441.636 236.476 441.663 236.722 441.704V440.549C236.605 440.528 236.353 440.501 236.127 440.501C235.129 440.501 234.438 440.952 234.158 441.725H234.049V440.631H232.859V448ZM241.001 448.13C242.771 448.13 243.763 447.18 244.063 445.847L244.077 445.771L242.901 445.778L242.888 445.819C242.614 446.64 241.985 447.077 240.994 447.077C239.682 447.077 238.834 445.99 238.834 444.295V444.281C238.834 442.62 239.668 441.554 240.994 441.554C242.054 441.554 242.71 442.142 242.895 442.866L242.901 442.887H244.084L244.077 442.846C243.858 441.533 242.785 440.501 240.994 440.501C238.93 440.501 237.617 441.991 237.617 444.281V444.295C237.617 446.633 238.937 448.13 241.001 448.13ZM248.828 448.13C250.564 448.13 251.617 447.146 251.87 446.147L251.884 446.093H250.694L250.667 446.154C250.469 446.599 249.854 447.07 248.855 447.07C247.543 447.07 246.702 446.182 246.668 444.657H251.973V444.192C251.973 441.991 250.756 440.501 248.753 440.501C246.75 440.501 245.451 442.06 245.451 444.336V444.343C245.451 446.653 246.723 448.13 248.828 448.13ZM248.746 441.561C249.833 441.561 250.64 442.251 250.763 443.707H246.688C246.818 442.306 247.652 441.561 248.746 441.561ZM254.297 442.025H255.281L255.425 438.136H254.153L254.297 442.025ZM256.826 442.025H257.811L257.954 438.136H256.683L256.826 442.025ZM258.904 450.509H259.786L260.859 446.619H259.499L258.904 450.509Z" fill="#191919"/>
+<path d="M180.236 332.025H181.221L181.364 328.136H180.093L180.236 332.025ZM182.766 332.025H183.75L183.894 328.136H182.622L182.766 332.025ZM188.467 338.13C189.458 338.13 190.23 337.699 190.695 336.913H190.805V338H191.994V332.955C191.994 331.424 190.989 330.501 189.191 330.501C187.619 330.501 186.498 331.28 186.307 332.436L186.3 332.477H187.489L187.496 332.456C187.688 331.882 188.269 331.554 189.15 331.554C190.251 331.554 190.805 332.046 190.805 332.955V333.625L188.692 333.755C186.977 333.857 186.006 334.616 186.006 335.929V335.942C186.006 337.282 187.065 338.13 188.467 338.13ZM187.223 335.915V335.901C187.223 335.17 187.715 334.773 188.836 334.705L190.805 334.582V335.252C190.805 336.305 189.923 337.098 188.713 337.098C187.858 337.098 187.223 336.66 187.223 335.915ZM194.168 340.461H195.357V336.838H195.467C195.87 337.624 196.752 338.13 197.764 338.13C199.637 338.13 200.854 336.633 200.854 334.322V334.309C200.854 332.012 199.63 330.501 197.764 330.501C196.738 330.501 195.918 330.986 195.467 331.807H195.357V330.631H194.168V340.461ZM197.49 337.077C196.15 337.077 195.33 336.024 195.33 334.322V334.309C195.33 332.606 196.15 331.554 197.49 331.554C198.837 331.554 199.637 332.593 199.637 334.309V334.322C199.637 336.038 198.837 337.077 197.49 337.077ZM202.713 340.461H203.902V336.838H204.012C204.415 337.624 205.297 338.13 206.309 338.13C208.182 338.13 209.398 336.633 209.398 334.322V334.309C209.398 332.012 208.175 330.501 206.309 330.501C205.283 330.501 204.463 330.986 204.012 331.807H203.902V330.631H202.713V340.461ZM206.035 337.077C204.695 337.077 203.875 336.024 203.875 334.322V334.309C203.875 332.606 204.695 331.554 206.035 331.554C207.382 331.554 208.182 332.593 208.182 334.309V334.322C208.182 336.038 207.382 337.077 206.035 337.077ZM211.326 338H212.516V327.705H211.326V338ZM215.428 329.209C215.879 329.209 216.248 328.84 216.248 328.389C216.248 327.938 215.879 327.568 215.428 327.568C214.977 327.568 214.607 327.938 214.607 328.389C214.607 328.84 214.977 329.209 215.428 329.209ZM214.826 338H216.016V330.631H214.826V338ZM221.272 338.13C223.043 338.13 224.034 337.18 224.335 335.847L224.349 335.771L223.173 335.778L223.159 335.819C222.886 336.64 222.257 337.077 221.266 337.077C219.953 337.077 219.105 335.99 219.105 334.295V334.281C219.105 332.62 219.939 331.554 221.266 331.554C222.325 331.554 222.981 332.142 223.166 332.866L223.173 332.887H224.355L224.349 332.846C224.13 331.533 223.057 330.501 221.266 330.501C219.201 330.501 217.889 331.991 217.889 334.281V334.295C217.889 336.633 219.208 338.13 221.272 338.13ZM228.115 338.13C229.106 338.13 229.879 337.699 230.344 336.913H230.453V338H231.643V332.955C231.643 331.424 230.638 330.501 228.84 330.501C227.268 330.501 226.146 331.28 225.955 332.436L225.948 332.477H227.138L227.145 332.456C227.336 331.882 227.917 331.554 228.799 331.554C229.899 331.554 230.453 332.046 230.453 332.955V333.625L228.341 333.755C226.625 333.857 225.654 334.616 225.654 335.929V335.942C225.654 337.282 226.714 338.13 228.115 338.13ZM226.871 335.915V335.901C226.871 335.17 227.363 334.773 228.484 334.705L230.453 334.582V335.252C230.453 336.305 229.571 337.098 228.361 337.098C227.507 337.098 226.871 336.66 226.871 335.915ZM236.435 338.055C236.667 338.055 236.893 338.027 237.125 337.986V336.975C236.906 336.995 236.79 337.002 236.578 337.002C235.812 337.002 235.512 336.653 235.512 335.785V331.615H237.125V330.631H235.512V328.724H234.281V330.631H233.119V331.615H234.281V336.086C234.281 337.494 234.917 338.055 236.435 338.055ZM239.531 329.209C239.982 329.209 240.352 328.84 240.352 328.389C240.352 327.938 239.982 327.568 239.531 327.568C239.08 327.568 238.711 327.938 238.711 328.389C238.711 328.84 239.08 329.209 239.531 329.209ZM238.93 338H240.119V330.631H238.93V338ZM245.39 338.13C247.488 338.13 248.787 336.681 248.787 334.322V334.309C248.787 331.943 247.488 330.501 245.39 330.501C243.291 330.501 241.992 331.943 241.992 334.309V334.322C241.992 336.681 243.291 338.13 245.39 338.13ZM245.39 337.077C243.995 337.077 243.209 336.059 243.209 334.322V334.309C243.209 332.565 243.995 331.554 245.39 331.554C246.784 331.554 247.57 332.565 247.57 334.309V334.322C247.57 336.059 246.784 337.077 245.39 337.077ZM250.633 338H251.822V333.639C251.822 332.347 252.567 331.554 253.743 331.554C254.919 331.554 255.466 332.189 255.466 333.516V338H256.655V333.229C256.655 331.479 255.732 330.501 254.078 330.501C252.991 330.501 252.301 330.959 251.932 331.738H251.822V330.631H250.633V338ZM259.779 338.068C260.271 338.068 260.668 337.665 260.668 337.18C260.668 336.688 260.271 336.291 259.779 336.291C259.294 336.291 258.891 336.688 258.891 337.18C258.891 337.665 259.294 338.068 259.779 338.068ZM265.412 338.13C266.438 338.13 267.258 337.645 267.709 336.824H267.818V338H269.008V327.705H267.818V331.793H267.709C267.306 331.007 266.424 330.501 265.412 330.501C263.539 330.501 262.322 331.998 262.322 334.309V334.322C262.322 336.619 263.546 338.13 265.412 338.13ZM265.686 337.077C264.339 337.077 263.539 336.038 263.539 334.322V334.309C263.539 332.593 264.339 331.554 265.686 331.554C267.025 331.554 267.846 332.606 267.846 334.309V334.322C267.846 336.024 267.025 337.077 265.686 337.077ZM274.299 338.13C276.035 338.13 277.088 337.146 277.341 336.147L277.354 336.093H276.165L276.138 336.154C275.939 336.599 275.324 337.07 274.326 337.07C273.014 337.07 272.173 336.182 272.139 334.657H277.443V334.192C277.443 331.991 276.227 330.501 274.224 330.501C272.221 330.501 270.922 332.06 270.922 334.336V334.343C270.922 336.653 272.193 338.13 274.299 338.13ZM274.217 331.561C275.304 331.561 276.11 332.251 276.233 333.707H272.159C272.289 332.306 273.123 331.561 274.217 331.561ZM279.357 338H280.547V327.705H279.357V338ZM285.838 338.13C287.574 338.13 288.627 337.146 288.88 336.147L288.894 336.093H287.704L287.677 336.154C287.479 336.599 286.863 337.07 285.865 337.07C284.553 337.07 283.712 336.182 283.678 334.657H288.982V334.192C288.982 331.991 287.766 330.501 285.763 330.501C283.76 330.501 282.461 332.06 282.461 334.336V334.343C282.461 336.653 283.732 338.13 285.838 338.13ZM285.756 331.561C286.843 331.561 287.649 332.251 287.772 333.707H283.698C283.828 332.306 284.662 331.561 285.756 331.561ZM293.446 338.055C293.679 338.055 293.904 338.027 294.137 337.986V336.975C293.918 336.995 293.802 337.002 293.59 337.002C292.824 337.002 292.523 336.653 292.523 335.785V331.615H294.137V330.631H292.523V328.724H291.293V330.631H290.131V331.615H291.293V336.086C291.293 337.494 291.929 338.055 293.446 338.055ZM298.812 338.13C300.549 338.13 301.602 337.146 301.854 336.147L301.868 336.093H300.679L300.651 336.154C300.453 336.599 299.838 337.07 298.84 337.07C297.527 337.07 296.687 336.182 296.652 334.657H301.957V334.192C301.957 331.991 300.74 330.501 298.737 330.501C296.734 330.501 295.436 332.06 295.436 334.336V334.343C295.436 336.653 296.707 338.13 298.812 338.13ZM298.73 331.561C299.817 331.561 300.624 332.251 300.747 333.707H296.673C296.803 332.306 297.637 331.561 298.73 331.561ZM306.523 338.13C307.549 338.13 308.369 337.645 308.82 336.824H308.93V338H310.119V327.705H308.93V331.793H308.82C308.417 331.007 307.535 330.501 306.523 330.501C304.65 330.501 303.434 331.998 303.434 334.309V334.322C303.434 336.619 304.657 338.13 306.523 338.13ZM306.797 337.077C305.45 337.077 304.65 336.038 304.65 334.322V334.309C304.65 332.593 305.45 331.554 306.797 331.554C308.137 331.554 308.957 332.606 308.957 334.309V334.322C308.957 336.024 308.137 337.077 306.797 337.077ZM312.881 332.025H313.865L314.009 328.136H312.737L312.881 332.025ZM315.41 332.025H316.395L316.538 328.136H315.267L315.41 332.025ZM317.488 340.509H318.37L319.443 336.619H318.083L317.488 340.509ZM213.322 354.025H214.307L214.45 350.136H213.179L213.322 354.025ZM215.852 354.025H216.836L216.979 350.136H215.708L215.852 354.025ZM222.619 360.232C224.8 360.232 226.112 358.243 226.112 355.071V355.058C226.112 351.886 224.8 349.903 222.619 349.903C220.438 349.903 219.14 351.886 219.14 355.058V355.071C219.14 358.243 220.438 360.232 222.619 360.232ZM222.619 359.159C221.204 359.159 220.377 357.587 220.377 355.071V355.058C220.377 352.542 221.204 350.983 222.619 350.983C224.034 350.983 224.875 352.542 224.875 355.058V355.071C224.875 357.587 224.034 359.159 222.619 359.159ZM231.506 360.164C233.598 360.164 235.088 358.988 235.088 357.334V357.32C235.088 356.104 234.233 355.092 232.969 354.798V354.771C234.049 354.436 234.732 353.615 234.732 352.576V352.562C234.732 351.072 233.372 349.972 231.506 349.972C229.64 349.972 228.279 351.072 228.279 352.562V352.576C228.279 353.615 228.963 354.436 230.043 354.771V354.798C228.778 355.092 227.924 356.104 227.924 357.32V357.334C227.924 358.988 229.414 360.164 231.506 360.164ZM231.506 354.312C230.316 354.312 229.503 353.636 229.503 352.679V352.665C229.503 351.708 230.316 351.031 231.506 351.031C232.695 351.031 233.509 351.708 233.509 352.665V352.679C233.509 353.636 232.695 354.312 231.506 354.312ZM231.506 359.091C230.146 359.091 229.175 358.325 229.175 357.259V357.245C229.175 356.165 230.139 355.393 231.506 355.393C232.873 355.393 233.837 356.165 233.837 357.245V357.259C233.837 358.325 232.866 359.091 231.506 359.091ZM240.235 349.705H239.094L235.977 362.461H237.118L240.235 349.705ZM244.645 360.232C246.825 360.232 248.138 358.243 248.138 355.071V355.058C248.138 351.886 246.825 349.903 244.645 349.903C242.464 349.903 241.165 351.886 241.165 355.058V355.071C241.165 358.243 242.464 360.232 244.645 360.232ZM244.645 359.159C243.229 359.159 242.402 357.587 242.402 355.071V355.058C242.402 352.542 243.229 350.983 244.645 350.983C246.06 350.983 246.9 352.542 246.9 355.058V355.071C246.9 357.587 246.06 359.159 244.645 359.159ZM253.388 349.903C251.398 349.903 249.936 351.332 249.936 353.301V353.314C249.936 355.208 251.316 356.616 253.169 356.616C254.502 356.616 255.432 355.898 255.794 355.092H255.924C255.924 355.167 255.924 355.249 255.917 355.324C255.842 357.382 255.11 359.132 253.319 359.132C252.321 359.132 251.631 358.619 251.33 357.792L251.303 357.717H250.065L250.086 357.806C250.421 359.262 251.651 360.232 253.306 360.232C255.698 360.232 257.1 358.264 257.1 354.9V354.887C257.1 351.175 255.192 349.903 253.388 349.903ZM253.381 355.543C252.103 355.543 251.173 354.6 251.173 353.287V353.273C251.173 351.995 252.164 350.99 253.401 350.99C254.652 350.99 255.63 352.016 255.63 353.314V353.321C255.63 354.606 254.659 355.543 253.381 355.543ZM262.233 349.705H261.092L257.975 362.461H259.116L262.233 349.705ZM263.341 360H269.726V358.893H265.05V358.783L267.292 356.466C269.076 354.627 269.562 353.807 269.562 352.679V352.665C269.562 351.072 268.242 349.903 266.52 349.903C264.633 349.903 263.279 351.161 263.272 352.911L263.286 352.918L264.462 352.925L264.469 352.911C264.469 351.749 265.255 350.977 266.438 350.977C267.6 350.977 268.304 351.756 268.304 352.795V352.809C268.304 353.67 267.935 354.183 266.677 355.543L263.341 359.152V360ZM275.092 360.232C277.272 360.232 278.585 358.243 278.585 355.071V355.058C278.585 351.886 277.272 349.903 275.092 349.903C272.911 349.903 271.612 351.886 271.612 355.058V355.071C271.612 358.243 272.911 360.232 275.092 360.232ZM275.092 359.159C273.677 359.159 272.85 357.587 272.85 355.071V355.058C272.85 352.542 273.677 350.983 275.092 350.983C276.507 350.983 277.348 352.542 277.348 355.058V355.071C277.348 357.587 276.507 359.159 275.092 359.159ZM280.608 360H286.993V358.893H282.317V358.783L284.56 356.466C286.344 354.627 286.829 353.807 286.829 352.679V352.665C286.829 351.072 285.51 349.903 283.787 349.903C281.9 349.903 280.547 351.161 280.54 352.911L280.554 352.918L281.729 352.925L281.736 352.911C281.736 351.749 282.522 350.977 283.705 350.977C284.867 350.977 285.571 351.756 285.571 352.795V352.809C285.571 353.67 285.202 354.183 283.944 355.543L280.608 359.152V360ZM289.058 360H295.442V358.893H290.767V358.783L293.009 356.466C294.793 354.627 295.278 353.807 295.278 352.679V352.665C295.278 351.072 293.959 349.903 292.236 349.903C290.35 349.903 288.996 351.161 288.989 352.911L289.003 352.918L290.179 352.925L290.186 352.911C290.186 351.749 290.972 350.977 292.154 350.977C293.316 350.977 294.021 351.756 294.021 352.795V352.809C294.021 353.67 293.651 354.183 292.394 355.543L289.058 359.152V360ZM297.992 354.025H298.977L299.12 350.136H297.849L297.992 354.025ZM300.521 354.025H301.506L301.649 350.136H300.378L300.521 354.025ZM302.6 362.509H303.481L304.555 358.619H303.194L302.6 362.509ZM313.4 360H314.631V350.136H313.407L310.782 352.022V353.321L313.291 351.503H313.4V360ZM320.968 360.232C322.957 360.232 324.42 358.804 324.42 356.835V356.821C324.42 354.928 323.039 353.52 321.187 353.52C319.854 353.52 318.924 354.237 318.562 355.044H318.432C318.432 354.969 318.432 354.887 318.438 354.812C318.514 352.754 319.245 351.004 321.036 351.004C322.034 351.004 322.725 351.517 323.025 352.344L323.053 352.419H324.29L324.27 352.33C323.935 350.874 322.704 349.903 321.05 349.903C318.657 349.903 317.256 351.872 317.256 355.235V355.249C317.256 358.961 319.163 360.232 320.968 360.232ZM318.726 356.821V356.814C318.726 355.529 319.696 354.593 320.975 354.593C322.253 354.593 323.183 355.536 323.183 356.849V356.862C323.183 358.141 322.191 359.146 320.954 359.146C319.703 359.146 318.726 358.12 318.726 356.821ZM327.373 353.308C327.865 353.308 328.262 352.904 328.262 352.419C328.262 351.927 327.865 351.53 327.373 351.53C326.888 351.53 326.484 351.927 326.484 352.419C326.484 352.904 326.888 353.308 327.373 353.308ZM327.373 358.599C327.865 358.599 328.262 358.195 328.262 357.71C328.262 357.218 327.865 356.821 327.373 356.821C326.888 356.821 326.484 357.218 326.484 357.71C326.484 358.195 326.888 358.599 327.373 358.599ZM333.854 360.232C336.034 360.232 337.347 358.243 337.347 355.071V355.058C337.347 351.886 336.034 349.903 333.854 349.903C331.673 349.903 330.374 351.886 330.374 355.058V355.071C330.374 358.243 331.673 360.232 333.854 360.232ZM333.854 359.159C332.438 359.159 331.611 357.587 331.611 355.071V355.058C331.611 352.542 332.438 350.983 333.854 350.983C335.269 350.983 336.109 352.542 336.109 355.058V355.071C336.109 357.587 335.269 359.159 333.854 359.159ZM342.727 360.164C344.702 360.164 346.151 358.947 346.151 357.3V357.286C346.151 355.885 345.174 354.989 343.738 354.866V354.839C344.969 354.579 345.83 353.745 345.83 352.528V352.515C345.83 351.018 344.593 349.972 342.713 349.972C340.867 349.972 339.596 351.045 339.438 352.651L339.432 352.72H340.614L340.621 352.651C340.724 351.653 341.551 351.038 342.713 351.038C343.916 351.038 344.593 351.633 344.593 352.665V352.679C344.593 353.663 343.772 354.388 342.597 354.388H341.414V355.427H342.651C344.032 355.427 344.9 356.104 344.9 357.313V357.327C344.9 358.373 344.019 359.098 342.727 359.098C341.414 359.098 340.519 358.428 340.423 357.457L340.416 357.389H339.233L339.24 357.471C339.37 359.029 340.689 360.164 342.727 360.164ZM349.125 353.308C349.617 353.308 350.014 352.904 350.014 352.419C350.014 351.927 349.617 351.53 349.125 351.53C348.64 351.53 348.236 351.927 348.236 352.419C348.236 352.904 348.64 353.308 349.125 353.308ZM349.125 358.599C349.617 358.599 350.014 358.195 350.014 357.71C350.014 357.218 349.617 356.821 349.125 356.821C348.64 356.821 348.236 357.218 348.236 357.71C348.236 358.195 348.64 358.599 349.125 358.599ZM355.592 360.164C357.567 360.164 359.017 358.947 359.017 357.3V357.286C359.017 355.885 358.039 354.989 356.604 354.866V354.839C357.834 354.579 358.695 353.745 358.695 352.528V352.515C358.695 351.018 357.458 349.972 355.578 349.972C353.732 349.972 352.461 351.045 352.304 352.651L352.297 352.72H353.479L353.486 352.651C353.589 351.653 354.416 351.038 355.578 351.038C356.781 351.038 357.458 351.633 357.458 352.665V352.679C357.458 353.663 356.638 354.388 355.462 354.388H354.279V355.427H355.517C356.897 355.427 357.766 356.104 357.766 357.313V357.327C357.766 358.373 356.884 359.098 355.592 359.098C354.279 359.098 353.384 358.428 353.288 357.457L353.281 357.389H352.099L352.105 357.471C352.235 359.029 353.555 360.164 355.592 360.164ZM364.369 360.164C366.345 360.164 367.794 358.947 367.794 357.3V357.286C367.794 355.885 366.816 354.989 365.381 354.866V354.839C366.611 354.579 367.473 353.745 367.473 352.528V352.515C367.473 351.018 366.235 349.972 364.355 349.972C362.51 349.972 361.238 351.045 361.081 352.651L361.074 352.72H362.257L362.264 352.651C362.366 351.653 363.193 351.038 364.355 351.038C365.559 351.038 366.235 351.633 366.235 352.665V352.679C366.235 353.663 365.415 354.388 364.239 354.388H363.057V355.427H364.294C365.675 355.427 366.543 356.104 366.543 357.313V357.327C366.543 358.373 365.661 359.098 364.369 359.098C363.057 359.098 362.161 358.428 362.065 357.457L362.059 357.389H360.876L360.883 357.471C361.013 359.029 362.332 360.164 364.369 360.164ZM369.38 354.025H370.262L371.335 350.136H369.975L369.38 354.025ZM371.649 354.025H372.531L373.604 350.136H372.244L371.649 354.025ZM171.609 398.025H172.594L172.737 394.136H171.466L171.609 398.025ZM174.139 398.025H175.123L175.267 394.136H173.995L174.139 398.025ZM181.091 404.232C183.08 404.232 184.543 402.804 184.543 400.835V400.821C184.543 398.928 183.162 397.52 181.31 397.52C179.977 397.52 179.047 398.237 178.685 399.044H178.555C178.555 398.969 178.555 398.887 178.562 398.812C178.637 396.754 179.368 395.004 181.159 395.004C182.157 395.004 182.848 395.517 183.148 396.344L183.176 396.419H184.413L184.393 396.33C184.058 394.874 182.827 393.903 181.173 393.903C178.78 393.903 177.379 395.872 177.379 399.235V399.249C177.379 402.961 179.286 404.232 181.091 404.232ZM178.849 400.821V400.814C178.849 399.529 179.819 398.593 181.098 398.593C182.376 398.593 183.306 399.536 183.306 400.849V400.862C183.306 402.141 182.314 403.146 181.077 403.146C179.826 403.146 178.849 402.12 178.849 400.821ZM189.875 404.164C191.851 404.164 193.3 402.947 193.3 401.3V401.286C193.3 399.885 192.322 398.989 190.887 398.866V398.839C192.117 398.579 192.979 397.745 192.979 396.528V396.515C192.979 395.018 191.741 393.972 189.861 393.972C188.016 393.972 186.744 395.045 186.587 396.651L186.58 396.72H187.763L187.77 396.651C187.872 395.653 188.699 395.038 189.861 395.038C191.064 395.038 191.741 395.633 191.741 396.665V396.679C191.741 397.663 190.921 398.388 189.745 398.388H188.562V399.427H189.8C191.181 399.427 192.049 400.104 192.049 401.313V401.327C192.049 402.373 191.167 403.098 189.875 403.098C188.562 403.098 187.667 402.428 187.571 401.457L187.564 401.389H186.382L186.389 401.471C186.519 403.029 187.838 404.164 189.875 404.164ZM199.801 404H201.004V401.956H202.405V400.855H201.004V394.136H199.22C197.839 396.193 196.328 398.6 194.995 400.835V401.956H199.801V404ZM196.253 400.862V400.78C197.326 398.969 198.618 396.932 199.726 395.277H199.808V400.862H196.253ZM204.716 404H206.008L210.396 395.277V394.136H203.868V395.236H209.146V395.332L204.716 404ZM214.614 404.13C216.385 404.13 217.376 403.18 217.677 401.847L217.69 401.771L216.515 401.778L216.501 401.819C216.228 402.64 215.599 403.077 214.607 403.077C213.295 403.077 212.447 401.99 212.447 400.295V400.281C212.447 398.62 213.281 397.554 214.607 397.554C215.667 397.554 216.323 398.142 216.508 398.866L216.515 398.887H217.697L217.69 398.846C217.472 397.533 216.398 396.501 214.607 396.501C212.543 396.501 211.23 397.991 211.23 400.281V400.295C211.23 402.633 212.55 404.13 214.614 404.13ZM222.667 404.232C224.67 404.232 226.099 402.845 226.099 400.855V400.842C226.099 398.935 224.766 397.547 222.913 397.547C222.018 397.547 221.245 397.909 220.808 398.572H220.698L221.033 395.236H225.552V394.136H220.062L219.543 399.803H220.609C220.732 399.57 220.89 399.379 221.061 399.215C221.484 398.812 222.045 398.613 222.701 398.613C223.979 398.613 224.896 399.55 224.896 400.862V400.876C224.896 402.209 223.993 403.146 222.681 403.146C221.525 403.146 220.671 402.394 220.555 401.45L220.548 401.396H219.365L219.372 401.471C219.516 403.05 220.828 404.232 222.667 404.232ZM231.567 404.232C233.557 404.232 235.02 402.804 235.02 400.835V400.821C235.02 398.928 233.639 397.52 231.786 397.52C230.453 397.52 229.523 398.237 229.161 399.044H229.031C229.031 398.969 229.031 398.887 229.038 398.812C229.113 396.754 229.845 395.004 231.636 395.004C232.634 395.004 233.324 395.517 233.625 396.344L233.652 396.419H234.89L234.869 396.33C234.534 394.874 233.304 393.903 231.649 393.903C229.257 393.903 227.855 395.872 227.855 399.235V399.249C227.855 402.961 229.763 404.232 231.567 404.232ZM229.325 400.821V400.814C229.325 399.529 230.296 398.593 231.574 398.593C232.853 398.593 233.782 399.536 233.782 400.849V400.862C233.782 402.141 232.791 403.146 231.554 403.146C230.303 403.146 229.325 402.12 229.325 400.821ZM240.222 393.903C238.232 393.903 236.77 395.332 236.77 397.301V397.314C236.77 399.208 238.15 400.616 240.003 400.616C241.336 400.616 242.266 399.898 242.628 399.092H242.758C242.758 399.167 242.758 399.249 242.751 399.324C242.676 401.382 241.944 403.132 240.153 403.132C239.155 403.132 238.465 402.619 238.164 401.792L238.137 401.717H236.899L236.92 401.806C237.255 403.262 238.485 404.232 240.14 404.232C242.532 404.232 243.934 402.264 243.934 398.9V398.887C243.934 395.175 242.026 393.903 240.222 393.903ZM240.215 399.543C238.937 399.543 238.007 398.6 238.007 397.287V397.273C238.007 395.995 238.998 394.99 240.235 394.99C241.486 394.99 242.464 396.016 242.464 397.314V397.321C242.464 398.606 241.493 399.543 240.215 399.543ZM245.909 404H252.294V402.893H247.618V402.783L249.86 400.466C251.645 398.627 252.13 397.807 252.13 396.679V396.665C252.13 395.072 250.811 393.903 249.088 393.903C247.201 393.903 245.848 395.161 245.841 396.911L245.854 396.918L247.03 396.925L247.037 396.911C247.037 395.749 247.823 394.977 249.006 394.977C250.168 394.977 250.872 395.756 250.872 396.795V396.809C250.872 397.67 250.503 398.183 249.245 399.543L245.909 403.152V404ZM257.305 404.13C259.041 404.13 260.094 403.146 260.347 402.147L260.36 402.093H259.171L259.144 402.154C258.945 402.599 258.33 403.07 257.332 403.07C256.02 403.07 255.179 402.182 255.145 400.657H260.449V400.192C260.449 397.991 259.232 396.501 257.229 396.501C255.227 396.501 253.928 398.06 253.928 400.336V400.343C253.928 402.653 255.199 404.13 257.305 404.13ZM257.223 397.561C258.31 397.561 259.116 398.251 259.239 399.707H255.165C255.295 398.306 256.129 397.561 257.223 397.561ZM265.303 404.13C267.039 404.13 268.092 403.146 268.345 402.147L268.358 402.093H267.169L267.142 402.154C266.943 402.599 266.328 403.07 265.33 403.07C264.018 403.07 263.177 402.182 263.143 400.657H268.447V400.192C268.447 397.991 267.23 396.501 265.228 396.501C263.225 396.501 261.926 398.06 261.926 400.336V400.343C261.926 402.653 263.197 404.13 265.303 404.13ZM265.221 397.561C266.308 397.561 267.114 398.251 267.237 399.707H263.163C263.293 398.306 264.127 397.561 265.221 397.561ZM270.423 404H271.715L276.104 395.277V394.136H269.575V395.236H274.853V395.332L270.423 404ZM278.667 404H279.959L284.348 395.277V394.136H277.819V395.236H283.097V395.332L278.667 404ZM286.228 404H292.612V402.893H287.937V402.783L290.179 400.466C291.963 398.627 292.448 397.807 292.448 396.679V396.665C292.448 395.072 291.129 393.903 289.406 393.903C287.52 393.903 286.166 395.161 286.159 396.911L286.173 396.918L287.349 396.925L287.355 396.911C287.355 395.749 288.142 394.977 289.324 394.977C290.486 394.977 291.19 395.756 291.19 396.795V396.809C291.19 397.67 290.821 398.183 289.563 399.543L286.228 403.152V404ZM297.917 404.232C299.92 404.232 301.349 402.845 301.349 400.855V400.842C301.349 398.935 300.016 397.547 298.163 397.547C297.268 397.547 296.495 397.909 296.058 398.572H295.948L296.283 395.236H300.802V394.136H295.312L294.793 399.803H295.859C295.982 399.57 296.14 399.379 296.311 399.215C296.734 398.812 297.295 398.613 297.951 398.613C299.229 398.613 300.146 399.55 300.146 400.862V400.876C300.146 402.209 299.243 403.146 297.931 403.146C296.775 403.146 295.921 402.394 295.805 401.45L295.798 401.396H294.615L294.622 401.471C294.766 403.05 296.078 404.232 297.917 404.232ZM305.361 404.13C306.353 404.13 307.125 403.699 307.59 402.913H307.699V404H308.889V398.955C308.889 397.424 307.884 396.501 306.086 396.501C304.514 396.501 303.393 397.28 303.201 398.436L303.194 398.477H304.384L304.391 398.456C304.582 397.882 305.163 397.554 306.045 397.554C307.146 397.554 307.699 398.046 307.699 398.955V399.625L305.587 399.755C303.871 399.857 302.9 400.616 302.9 401.929V401.942C302.9 403.282 303.96 404.13 305.361 404.13ZM304.117 401.915V401.901C304.117 401.17 304.609 400.773 305.73 400.705L307.699 400.582V401.252C307.699 402.305 306.817 403.098 305.607 403.098C304.753 403.098 304.117 402.66 304.117 401.915ZM314.426 404.164C316.518 404.164 318.008 402.988 318.008 401.334V401.32C318.008 400.104 317.153 399.092 315.889 398.798V398.771C316.969 398.436 317.652 397.615 317.652 396.576V396.562C317.652 395.072 316.292 393.972 314.426 393.972C312.56 393.972 311.199 395.072 311.199 396.562V396.576C311.199 397.615 311.883 398.436 312.963 398.771V398.798C311.698 399.092 310.844 400.104 310.844 401.32V401.334C310.844 402.988 312.334 404.164 314.426 404.164ZM314.426 398.312C313.236 398.312 312.423 397.636 312.423 396.679V396.665C312.423 395.708 313.236 395.031 314.426 395.031C315.615 395.031 316.429 395.708 316.429 396.665V396.679C316.429 397.636 315.615 398.312 314.426 398.312ZM314.426 403.091C313.065 403.091 312.095 402.325 312.095 401.259V401.245C312.095 400.165 313.059 399.393 314.426 399.393C315.793 399.393 316.757 400.165 316.757 401.245V401.259C316.757 402.325 315.786 403.091 314.426 403.091ZM322.41 404H323.641V394.136H322.417L319.792 396.022V397.321L322.301 395.503H322.41V404ZM329.861 404.164C331.953 404.164 333.443 402.988 333.443 401.334V401.32C333.443 400.104 332.589 399.092 331.324 398.798V398.771C332.404 398.436 333.088 397.615 333.088 396.576V396.562C333.088 395.072 331.728 393.972 329.861 393.972C327.995 393.972 326.635 395.072 326.635 396.562V396.576C326.635 397.615 327.318 398.436 328.398 398.771V398.798C327.134 399.092 326.279 400.104 326.279 401.32V401.334C326.279 402.988 327.77 404.164 329.861 404.164ZM329.861 398.312C328.672 398.312 327.858 397.636 327.858 396.679V396.665C327.858 395.708 328.672 395.031 329.861 395.031C331.051 395.031 331.864 395.708 331.864 396.665V396.679C331.864 397.636 331.051 398.312 329.861 398.312ZM329.861 403.091C328.501 403.091 327.53 402.325 327.53 401.259V401.245C327.53 400.165 328.494 399.393 329.861 399.393C331.229 399.393 332.192 400.165 332.192 401.245V401.259C332.192 402.325 331.222 403.091 329.861 403.091ZM338.803 404.164C340.895 404.164 342.385 402.988 342.385 401.334V401.32C342.385 400.104 341.53 399.092 340.266 398.798V398.771C341.346 398.436 342.029 397.615 342.029 396.576V396.562C342.029 395.072 340.669 393.972 338.803 393.972C336.937 393.972 335.576 395.072 335.576 396.562V396.576C335.576 397.615 336.26 398.436 337.34 398.771V398.798C336.075 399.092 335.221 400.104 335.221 401.32V401.334C335.221 402.988 336.711 404.164 338.803 404.164ZM338.803 398.312C337.613 398.312 336.8 397.636 336.8 396.679V396.665C336.8 395.708 337.613 395.031 338.803 395.031C339.992 395.031 340.806 395.708 340.806 396.665V396.679C340.806 397.636 339.992 398.312 338.803 398.312ZM338.803 403.091C337.442 403.091 336.472 402.325 336.472 401.259V401.245C336.472 400.165 337.436 399.393 338.803 399.393C340.17 399.393 341.134 400.165 341.134 401.245V401.259C341.134 402.325 340.163 403.091 338.803 403.091ZM346.787 404H348.018V394.136H346.794L344.169 396.022V397.321L346.678 395.503H346.787V404ZM351.08 398.025H352.064L352.208 394.136H350.937L351.08 398.025ZM353.609 398.025H354.594L354.737 394.136H353.466L353.609 398.025ZM355.688 406.509H356.569L357.643 402.619H356.282L355.688 406.509ZM188.781 420.025H189.766L189.909 416.136H188.638L188.781 420.025ZM191.311 420.025H192.295L192.438 416.136H191.167L191.311 420.025ZM193.259 426H194.551L195.542 423.177H199.466L200.457 426H201.749L198.112 416.136H196.896L193.259 426ZM197.449 417.729H197.559L199.104 422.131H195.904L197.449 417.729ZM203.328 428.461H204.518V424.838H204.627C205.03 425.624 205.912 426.13 206.924 426.13C208.797 426.13 210.014 424.633 210.014 422.322V422.309C210.014 420.012 208.79 418.501 206.924 418.501C205.898 418.501 205.078 418.986 204.627 419.807H204.518V418.631H203.328V428.461ZM206.65 425.077C205.311 425.077 204.49 424.024 204.49 422.322V422.309C204.49 420.606 205.311 419.554 206.65 419.554C207.997 419.554 208.797 420.593 208.797 422.309V422.322C208.797 424.038 207.997 425.077 206.65 425.077ZM211.873 428.461H213.062V424.838H213.172C213.575 425.624 214.457 426.13 215.469 426.13C217.342 426.13 218.559 424.633 218.559 422.322V422.309C218.559 420.012 217.335 418.501 215.469 418.501C214.443 418.501 213.623 418.986 213.172 419.807H213.062V418.631H211.873V428.461ZM215.195 425.077C213.855 425.077 213.035 424.024 213.035 422.322V422.309C213.035 420.606 213.855 419.554 215.195 419.554C216.542 419.554 217.342 420.593 217.342 422.309V422.322C217.342 424.038 216.542 425.077 215.195 425.077ZM220.486 426H221.676V415.705H220.486V426ZM224.588 417.209C225.039 417.209 225.408 416.84 225.408 416.389C225.408 415.938 225.039 415.568 224.588 415.568C224.137 415.568 223.768 415.938 223.768 416.389C223.768 416.84 224.137 417.209 224.588 417.209ZM223.986 426H225.176V418.631H223.986V426ZM230.433 426.13C232.203 426.13 233.194 425.18 233.495 423.847L233.509 423.771L232.333 423.778L232.319 423.819C232.046 424.64 231.417 425.077 230.426 425.077C229.113 425.077 228.266 423.99 228.266 422.295V422.281C228.266 420.62 229.1 419.554 230.426 419.554C231.485 419.554 232.142 420.142 232.326 420.866L232.333 420.887H233.516L233.509 420.846C233.29 419.533 232.217 418.501 230.426 418.501C228.361 418.501 227.049 419.991 227.049 422.281V422.295C227.049 424.633 228.368 426.13 230.433 426.13ZM237.275 426.13C238.267 426.13 239.039 425.699 239.504 424.913H239.613V426H240.803V420.955C240.803 419.424 239.798 418.501 238 418.501C236.428 418.501 235.307 419.28 235.115 420.436L235.108 420.477H236.298L236.305 420.456C236.496 419.882 237.077 419.554 237.959 419.554C239.06 419.554 239.613 420.046 239.613 420.955V421.625L237.501 421.755C235.785 421.857 234.814 422.616 234.814 423.929V423.942C234.814 425.282 235.874 426.13 237.275 426.13ZM236.031 423.915V423.901C236.031 423.17 236.523 422.773 237.645 422.705L239.613 422.582V423.252C239.613 424.305 238.731 425.098 237.521 425.098C236.667 425.098 236.031 424.66 236.031 423.915ZM245.595 426.055C245.827 426.055 246.053 426.027 246.285 425.986V424.975C246.066 424.995 245.95 425.002 245.738 425.002C244.973 425.002 244.672 424.653 244.672 423.785V419.615H246.285V418.631H244.672V416.724H243.441V418.631H242.279V419.615H243.441V424.086C243.441 425.494 244.077 426.055 245.595 426.055ZM248.691 417.209C249.143 417.209 249.512 416.84 249.512 416.389C249.512 415.938 249.143 415.568 248.691 415.568C248.24 415.568 247.871 415.938 247.871 416.389C247.871 416.84 248.24 417.209 248.691 417.209ZM248.09 426H249.279V418.631H248.09V426ZM254.55 426.13C256.648 426.13 257.947 424.681 257.947 422.322V422.309C257.947 419.943 256.648 418.501 254.55 418.501C252.451 418.501 251.152 419.943 251.152 422.309V422.322C251.152 424.681 252.451 426.13 254.55 426.13ZM254.55 425.077C253.155 425.077 252.369 424.059 252.369 422.322V422.309C252.369 420.565 253.155 419.554 254.55 419.554C255.944 419.554 256.73 420.565 256.73 422.309V422.322C256.73 424.059 255.944 425.077 254.55 425.077ZM259.793 426H260.982V421.639C260.982 420.347 261.728 419.554 262.903 419.554C264.079 419.554 264.626 420.189 264.626 421.516V426H265.815V421.229C265.815 419.479 264.893 418.501 263.238 418.501C262.151 418.501 261.461 418.959 261.092 419.738H260.982V418.631H259.793V426ZM268.447 420.025H269.432L269.575 416.136H268.304L268.447 420.025ZM270.977 420.025H271.961L272.104 416.136H270.833L270.977 420.025ZM273.055 428.509H273.937L275.01 424.619H273.649L273.055 428.509Z" fill="#D15420"/>
+</g>
+<line x1="85.5" y1="320" x2="85.5" y2="430" stroke="#E7E7E7"/>
+<line x1="105.5" y1="388" x2="105.5" y2="430" stroke="#E7E7E7"/>
+<path d="M75 235L70 230L80 230L75 235Z" fill="#575757"/>
</g>
<defs>
-<filter id="filter0_d_625_11871" x="68" y="23" width="679" height="511" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
-<feFlood flood-opacity="0" result="BackgroundImageFix"/>
-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
-<feOffset dy="10"/>
-<feGaussianBlur stdDeviation="10"/>
-<feComposite in2="hardAlpha" operator="out"/>
-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"/>
-<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_625_11871"/>
-<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_625_11871" result="shape"/>
-</filter>
-<filter id="filter1_d_625_11871" x="68" y="23" width="679" height="511" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<filter id="filter0_d_625_11871" x="67" y="35" width="679" height="511" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="10"/>
@@ -348,17 +122,7 @@
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_625_11871"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_625_11871" result="shape"/>
</filter>
-<filter id="filter2_d_625_11871" x="-14" y="184" width="861" height="333" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
-<feFlood flood-opacity="0" result="BackgroundImageFix"/>
-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
-<feOffset dy="24"/>
-<feGaussianBlur stdDeviation="32"/>
-<feComposite in2="hardAlpha" operator="out"/>
-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0"/>
-<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_625_11871"/>
-<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_625_11871" result="shape"/>
-</filter>
-<filter id="filter3_d_625_11871" x="-14" y="184" width="861" height="333" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<filter id="filter1_d_625_11871" x="-13" y="165" width="861" height="371" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="24"/>
@@ -372,10 +136,16 @@
<rect width="725" height="537" fill="white"/>
</clipPath>
<clipPath id="clip1_625_11871">
-<rect width="24" height="24" fill="white" transform="translate(66 237.4)"/>
+<rect width="16" height="16" fill="white" transform="translate(71 261.488)"/>
</clipPath>
<clipPath id="clip2_625_11871">
-<rect width="650" height="138" fill="white" transform="translate(66 275)"/>
+<rect width="16" height="16" fill="white" transform="translate(361 261.488)"/>
+</clipPath>
+<clipPath id="clip3_625_11871">
+<rect width="16" height="16" fill="white" transform="translate(641 261.488)"/>
+</clipPath>
+<clipPath id="clip4_625_11871">
+<rect width="661" height="138" fill="white" transform="translate(67 292)"/>
</clipPath>
</defs>
</svg>
diff --git a/app/client/src/assets/svg/upgrade/audit-logs/security-and-compliance.svg b/app/client/src/assets/svg/upgrade/audit-logs/security-and-compliance.svg
index 69ece50ed883..559fd08b55ed 100644
--- a/app/client/src/assets/svg/upgrade/audit-logs/security-and-compliance.svg
+++ b/app/client/src/assets/svg/upgrade/audit-logs/security-and-compliance.svg
@@ -1,159 +1,78 @@
-<svg width="725" height="537" viewBox="0 0 725 537" fill="none" xmlns="http://www.w3.org/2000/svg">
+<svg width="734" height="537" viewBox="0 0 734 537" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_625_11711)">
<g filter="url(#filter0_d_625_11711)">
-<path d="M86 33H725V504H86V33Z" fill="white"/>
+<rect x="98" y="40" width="639" height="471" fill="white"/>
+<rect x="98.5" y="40.5" width="638" height="470" stroke="#E7E7E7"/>
</g>
-<g filter="url(#filter1_d_625_11711)">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M724 34H87V503H724V34ZM86 33V504H725V33H86Z" fill="#E7E7E7"/>
-</g>
-<path d="M146 137C146 141.971 141.971 146 137 146C132.029 146 128 141.971 128 137C128 132.029 132.029 128 137 128C141.971 128 146 132.029 146 137Z" fill="#FFDEDE"/>
+<circle cx="149" cy="144" r="9" fill="#FFDEDE"/>
<g opacity="0.7">
-<path d="M176 133H327.334V141.294H176V133Z" fill="#D9D9D9"/>
-<path d="M349.83 133H566.606V141.294H349.83V133Z" fill="#D9D9D9"/>
-<path d="M645 133H589.102V141.294H645V133Z" fill="#D9D9D9"/>
+<rect x="188" y="140" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="361.83" y="140" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 657 140)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M176 170H327.334V178.294H176V170Z" fill="#D9D9D9"/>
-<path d="M349.83 170H566.606V178.294H349.83V170Z" fill="#D9D9D9"/>
-<path d="M645 170H589.102V178.294H645V170Z" fill="#D9D9D9"/>
+<rect x="188" y="177" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="361.83" y="177" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 657 177)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M176 207H327.334V215.294H176V207Z" fill="#D9D9D9"/>
-<path d="M349.83 207H566.606V215.294H349.83V207Z" fill="#D9D9D9"/>
-<path d="M645 207H589.102V215.294H645V207Z" fill="#D9D9D9"/>
+<rect x="188" y="214" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="361.83" y="214" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 657 214)" fill="#D9D9D9"/>
</g>
-<path d="M145 209C145 213.971 140.971 218 136 218C131.029 218 127 213.971 127 209C127 204.029 131.029 200 136 200C140.971 200 145 204.029 145 209Z" fill="#FFDEDE"/>
-<path d="M145 285C145 289.971 140.971 294 136 294C131.029 294 127 289.971 127 285C127 280.029 131.029 276 136 276C140.971 276 145 280.029 145 285Z" fill="#FFDEDE"/>
-<path d="M145 322C145 326.971 140.971 331 136 331C131.029 331 127 326.971 127 322C127 317.029 131.029 313 136 313C140.971 313 145 317.029 145 322Z" fill="#FFDEDE"/>
-<path d="M145 359C145 363.971 140.971 368 136 368C131.029 368 127 363.971 127 359C127 354.029 131.029 350 136 350C140.971 350 145 354.029 145 359Z" fill="#FFDEDE"/>
-<path d="M145 396C145 400.971 140.971 405 136 405C131.029 405 127 400.971 127 396C127 391.029 131.029 387 136 387C140.971 387 145 391.029 145 396Z" fill="#FFDEDE"/>
-<path d="M145 433C145 437.971 140.971 442 136 442C131.029 442 127 437.971 127 433C127 428.029 131.029 424 136 424C140.971 424 145 428.029 145 433Z" fill="#FFDEDE"/>
-<path d="M145 470C145 474.971 140.971 479 136 479C131.029 479 127 474.971 127 470C127 465.029 131.029 461 136 461C140.971 461 145 465.029 145 470Z" fill="#FFDEDE"/>
+<circle cx="148" cy="216" r="9" fill="#FFDEDE"/>
+<circle cx="148" cy="292" r="9" fill="#FFDEDE"/>
+<circle cx="148" cy="329" r="9" fill="#FFDEDE"/>
+<circle cx="148" cy="366" r="9" fill="#FFDEDE"/>
+<circle cx="148" cy="403" r="9" fill="#FFDEDE"/>
+<circle cx="148" cy="440" r="9" fill="#FFDEDE"/>
+<circle cx="148" cy="477" r="9" fill="#FFDEDE"/>
<g opacity="0.7">
-<path d="M176 281H327.334V289.294H176V281Z" fill="#D9D9D9"/>
-<path d="M349.83 281H566.606V289.294H349.83V281Z" fill="#D9D9D9"/>
-<path d="M645 281H589.102V289.294H645V281Z" fill="#D9D9D9"/>
+<rect x="188" y="288" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="361.83" y="288" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 657 288)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M176 318H327.334V326.294H176V318Z" fill="#D9D9D9"/>
-<path d="M349.83 318H566.606V326.294H349.83V318Z" fill="#D9D9D9"/>
-<path d="M645 318H589.102V326.294H645V318Z" fill="#D9D9D9"/>
+<rect x="188" y="325" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="361.83" y="325" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 657 325)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M176 355H327.334V363.294H176V355Z" fill="#D9D9D9"/>
-<path d="M349.83 355H566.606V363.294H349.83V355Z" fill="#D9D9D9"/>
-<path d="M645 355H589.102V363.294H645V355Z" fill="#D9D9D9"/>
+<rect x="188" y="362" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="361.83" y="362" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 657 362)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M176 392H327.334V400.294H176V392Z" fill="#D9D9D9"/>
-<path d="M349.83 392H566.606V400.294H349.83V392Z" fill="#D9D9D9"/>
-<path d="M645 392H589.102V400.294H645V392Z" fill="#D9D9D9"/>
+<rect x="188" y="399" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="361.83" y="399" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 657 399)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M176 429H327.334V437.294H176V429Z" fill="#D9D9D9"/>
-<path d="M349.83 429H566.606V437.294H349.83V429Z" fill="#D9D9D9"/>
-<path d="M645 429H589.102V437.294H645V429Z" fill="#D9D9D9"/>
+<rect x="188" y="436" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="361.83" y="436" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 657 436)" fill="#D9D9D9"/>
</g>
<g opacity="0.7">
-<path d="M176 466H327.334V474.294H176V466Z" fill="#D9D9D9"/>
-<path d="M349.83 466H566.606V474.294H349.83V466Z" fill="#D9D9D9"/>
-<path d="M645 466H589.102V474.294H645V466Z" fill="#D9D9D9"/>
-</g>
-<path d="M132.128 89.0002H128.613L135.013 70.8184H139.08L145.489 89.0002H141.974L137.118 74.5471H136.975L132.128 89.0002ZM132.244 81.8713H141.832V84.5169H132.244V81.8713Z" fill="#393939"/>
-<path d="M156.433 83.2651V75.3638H159.647V89.0002H156.531V86.5765H156.389C156.081 87.34 155.575 87.9644 154.871 88.4498C154.173 88.9351 153.311 89.1777 152.288 89.1777C151.394 89.1777 150.604 88.9795 149.917 88.5829C149.237 88.1805 148.704 87.5975 148.319 86.834C147.934 86.0646 147.742 85.1354 147.742 84.0463V75.3638H150.956V83.5492C150.956 84.4133 151.193 85.0998 151.666 85.6088C152.14 86.1178 152.761 86.3723 153.53 86.3723C154.004 86.3723 154.463 86.2569 154.906 86.0261C155.35 85.7953 155.714 85.452 155.998 84.9963C156.288 84.5346 156.433 83.9576 156.433 83.2651Z" fill="#393939"/>
-<path d="M168.012 89.2399C166.941 89.2399 165.982 88.9647 165.136 88.4142C164.29 87.8638 163.621 87.0648 163.13 86.0172C162.638 84.9696 162.393 83.6971 162.393 82.1998C162.393 80.6846 162.641 79.4062 163.138 78.3645C163.642 77.3169 164.319 76.5268 165.171 75.9941C166.024 75.4556 166.974 75.1863 168.021 75.1863C168.82 75.1863 169.477 75.3224 169.992 75.5946C170.507 75.861 170.915 76.1835 171.217 76.5623C171.519 76.9352 171.753 77.2873 171.919 77.6188H172.052V70.8184H175.274V89.0002H172.114V86.8517H171.919C171.753 87.1832 171.513 87.5353 171.2 87.9082C170.886 88.2752 170.472 88.5888 169.957 88.8493C169.442 89.1097 168.794 89.2399 168.012 89.2399ZM168.909 86.6032C169.59 86.6032 170.17 86.4197 170.649 86.0527C171.129 85.6799 171.493 85.162 171.741 84.4991C171.99 83.8362 172.114 83.0639 172.114 82.182C172.114 81.3001 171.99 80.5337 171.741 79.8826C171.498 79.2316 171.137 78.7256 170.658 78.3645C170.185 78.0035 169.602 77.823 168.909 77.823C168.193 77.823 167.595 78.0094 167.116 78.3823C166.636 78.7551 166.275 79.2701 166.033 79.927C165.79 80.584 165.669 81.3356 165.669 82.182C165.669 83.0343 165.79 83.7948 166.033 84.4636C166.281 85.1265 166.645 85.6503 167.125 86.035C167.61 86.4138 168.205 86.6032 168.909 86.6032Z" fill="#393939"/>
-<path d="M178.699 89.0002V75.3638H181.913V89.0002H178.699ZM180.315 73.4284C179.806 73.4284 179.368 73.2598 179.001 72.9224C178.634 72.5791 178.451 72.1678 178.451 71.6884C178.451 71.2031 178.634 70.7917 179.001 70.4544C179.368 70.1111 179.806 69.9395 180.315 69.9395C180.83 69.9395 181.268 70.1111 181.629 70.4544C181.996 70.7917 182.179 71.2031 182.179 71.6884C182.179 72.1678 181.996 72.5791 181.629 72.9224C181.268 73.2598 180.83 73.4284 180.315 73.4284Z" fill="#393939"/>
-<path d="M192.027 75.3638V77.8496H184.188V75.3638H192.027ZM186.123 72.0968H189.337V84.8986C189.337 85.3307 189.402 85.6621 189.532 85.8929C189.668 86.1178 189.846 86.2717 190.065 86.3546C190.284 86.4374 190.527 86.4789 190.793 86.4789C190.994 86.4789 191.178 86.4641 191.343 86.4345C191.515 86.4049 191.645 86.3783 191.734 86.3546L192.276 88.867C192.104 88.9262 191.858 88.9913 191.539 89.0623C191.225 89.1333 190.84 89.1748 190.385 89.1866C189.58 89.2103 188.855 89.089 188.209 88.8226C187.564 88.5504 187.052 88.1302 186.674 87.562C186.301 86.9938 186.117 86.2836 186.123 85.4313V72.0968Z" fill="#393939"/>
-<path d="M201.058 89.0002V70.8184H204.352V86.2392H212.359V89.0002H201.058Z" fill="#393939"/>
-<path d="M221.024 89.2665C219.693 89.2665 218.538 88.9735 217.562 88.3876C216.585 87.8017 215.828 86.9819 215.289 85.9284C214.756 84.8749 214.49 83.6439 214.49 82.2353C214.49 80.8266 214.756 79.5926 215.289 78.5332C215.828 77.4738 216.585 76.6511 217.562 76.0652C218.538 75.4792 219.693 75.1863 221.024 75.1863C222.356 75.1863 223.51 75.4792 224.487 76.0652C225.463 76.6511 226.218 77.4738 226.75 78.5332C227.289 79.5926 227.558 80.8266 227.558 82.2353C227.558 83.6439 227.289 84.8749 226.75 85.9284C226.218 86.9819 225.463 87.8017 224.487 88.3876C223.51 88.9735 222.356 89.2665 221.024 89.2665ZM221.042 86.6919C221.764 86.6919 222.368 86.4937 222.853 86.0971C223.338 85.6947 223.699 85.1561 223.936 84.4814C224.179 83.8066 224.3 83.055 224.3 82.2264C224.3 81.3919 224.179 80.6373 223.936 79.9625C223.699 79.2819 223.338 78.7404 222.853 78.3379C222.368 77.9354 221.764 77.7342 221.042 77.7342C220.302 77.7342 219.687 77.9354 219.195 78.3379C218.71 78.7404 218.346 79.2819 218.103 79.9625C217.867 80.6373 217.748 81.3919 217.748 82.2264C217.748 83.055 217.867 83.8066 218.103 84.4814C218.346 85.1561 218.71 85.6947 219.195 86.0971C219.687 86.4937 220.302 86.6919 221.042 86.6919Z" fill="#393939"/>
-<path d="M236.216 94.3979C235.062 94.3979 234.071 94.2411 233.242 93.9274C232.414 93.6196 231.748 93.2053 231.245 92.6845C230.742 92.1636 230.393 91.5866 230.197 90.9533L233.091 90.252C233.222 90.5183 233.411 90.7817 233.66 91.0421C233.908 91.3084 234.243 91.5274 234.663 91.699C235.089 91.8766 235.625 91.9654 236.27 91.9654C237.181 91.9654 237.936 91.7434 238.534 91.2995C239.131 90.8616 239.43 90.1395 239.43 89.1333V86.5499H239.27C239.105 86.8813 238.862 87.2217 238.542 87.5708C238.229 87.92 237.811 88.213 237.291 88.4498C236.776 88.6865 236.128 88.8049 235.346 88.8049C234.299 88.8049 233.349 88.5592 232.497 88.068C231.65 87.5708 230.976 86.831 230.472 85.8485C229.975 84.8601 229.727 83.6232 229.727 82.1376C229.727 80.6402 229.975 79.3766 230.472 78.3468C230.976 77.311 231.653 76.5268 232.505 75.9941C233.358 75.4556 234.308 75.1863 235.355 75.1863C236.154 75.1863 236.811 75.3224 237.326 75.5946C237.847 75.861 238.261 76.1835 238.569 76.5623C238.877 76.9352 239.111 77.2873 239.27 77.6188H239.448V75.3638H242.617V89.2221C242.617 90.3881 242.339 91.3528 241.783 92.1163C241.226 92.8798 240.466 93.4509 239.501 93.8297C238.536 94.2085 237.442 94.3979 236.216 94.3979ZM236.243 86.2836C236.924 86.2836 237.504 86.1178 237.983 85.7864C238.463 85.455 238.827 84.9785 239.075 84.3571C239.324 83.7356 239.448 82.9899 239.448 82.1199C239.448 81.2617 239.324 80.51 239.075 79.8649C238.832 79.2198 238.471 78.7196 237.992 78.3645C237.519 78.0035 236.936 77.823 236.243 77.823C235.527 77.823 234.929 78.0094 234.45 78.3823C233.97 78.7551 233.609 79.2671 233.367 79.9181C233.124 80.5633 233.003 81.2972 233.003 82.1199C233.003 82.9544 233.124 83.6853 233.367 84.3127C233.615 84.9341 233.979 85.4194 234.459 85.7686C234.944 86.1119 235.539 86.2836 236.243 86.2836Z" fill="#393939"/>
-<path d="M256.689 78.9682L253.759 79.2878C253.676 78.9919 253.531 78.7137 253.324 78.4533C253.123 78.1929 252.851 77.9828 252.507 77.823C252.164 77.6632 251.744 77.5833 251.247 77.5833C250.578 77.5833 250.016 77.7283 249.56 78.0183C249.11 78.3083 248.888 78.6841 248.894 79.1458C248.888 79.5423 249.033 79.8649 249.329 80.1135C249.631 80.362 250.128 80.5662 250.82 80.726L253.146 81.2232C254.437 81.5014 255.396 81.9423 256.023 82.546C256.656 83.1497 256.976 83.9398 256.982 84.9164C256.976 85.7746 256.724 86.5321 256.227 87.1891C255.736 87.8401 255.052 88.3491 254.176 88.7161C253.3 89.083 252.294 89.2665 251.158 89.2665C249.489 89.2665 248.145 88.9173 247.127 88.2189C246.109 87.5146 245.503 86.5351 245.307 85.2804L248.441 84.9785C248.583 85.594 248.885 86.0587 249.347 86.3723C249.808 86.686 250.409 86.8429 251.149 86.8429C251.912 86.8429 252.525 86.686 252.987 86.3723C253.454 86.0587 253.688 85.671 253.688 85.2093C253.688 84.8187 253.537 84.4962 253.235 84.2417C252.939 83.9872 252.478 83.7918 251.85 83.6557L249.524 83.1674C248.216 82.8952 247.249 82.4365 246.621 81.7914C245.994 81.1403 245.683 80.3176 245.689 79.3233C245.683 78.4829 245.911 77.7549 246.373 77.1394C246.84 76.5179 247.488 76.0385 248.317 75.7012C249.151 75.3579 250.113 75.1863 251.202 75.1863C252.8 75.1863 254.058 75.5266 254.975 76.2072C255.899 76.8878 256.47 77.8082 256.689 78.9682Z" fill="#393939"/>
-<g filter="url(#filter2_d_625_11711)">
-<path d="M41 221H774V273H41V221Z" fill="white"/>
+<rect x="188" y="473" width="151.334" height="8.29379" fill="#D9D9D9"/>
+<rect x="361.83" y="473" width="216.776" height="8.29379" fill="#D9D9D9"/>
+<rect width="55.8983" height="8.29379" transform="matrix(-1 0 0 1 657 473)" fill="#D9D9D9"/>
</g>
-<g filter="url(#filter3_d_625_11711)">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M773 222H42V272H773V222ZM41 221V273H774V221H41Z" fill="#E7E7E7"/>
+<path d="M144.128 96H140.613L147.013 77.8182H151.08L157.489 96H153.974L149.118 81.5469H148.975L144.128 96ZM144.244 88.8711H153.832V91.5167H144.244V88.8711ZM168.434 90.2649V82.3636H171.647V96H168.531V93.5763H168.389C168.081 94.3398 167.575 94.9643 166.871 95.4496C166.173 95.9349 165.311 96.1776 164.288 96.1776C163.394 96.1776 162.604 95.9793 161.917 95.5827C161.237 95.1803 160.704 94.5973 160.319 93.8338C159.934 93.0644 159.742 92.1352 159.742 91.0462V82.3636H162.956V90.549C162.956 91.4131 163.193 92.0997 163.666 92.6087C164.14 93.1177 164.761 93.3722 165.53 93.3722C166.004 93.3722 166.463 93.2567 166.907 93.0259C167.35 92.7951 167.714 92.4518 167.998 91.9961C168.289 91.5344 168.434 90.9574 168.434 90.2649ZM180.012 96.2397C178.941 96.2397 177.982 95.9645 177.136 95.4141C176.29 94.8636 175.621 94.0646 175.13 93.017C174.638 91.9695 174.393 90.697 174.393 89.1996C174.393 87.6844 174.641 86.406 175.138 85.3643C175.642 84.3168 176.319 83.5266 177.172 82.994C178.024 82.4554 178.974 82.1861 180.021 82.1861C180.82 82.1861 181.477 82.3222 181.992 82.5945C182.507 82.8608 182.915 83.1834 183.217 83.5621C183.519 83.935 183.753 84.2872 183.919 84.6186H184.052V77.8182H187.275V96H184.114V93.8516H183.919C183.753 94.183 183.513 94.5352 183.2 94.908C182.886 95.275 182.472 95.5887 181.957 95.8491C181.442 96.1095 180.794 96.2397 180.012 96.2397ZM180.909 93.603C181.59 93.603 182.17 93.4195 182.649 93.0526C183.129 92.6797 183.493 92.1618 183.741 91.4989C183.99 90.8361 184.114 90.0637 184.114 89.1818C184.114 88.3 183.99 87.5335 183.741 86.8825C183.498 86.2314 183.137 85.7254 182.658 85.3643C182.185 85.0033 181.602 84.8228 180.909 84.8228C180.193 84.8228 179.595 85.0092 179.116 85.3821C178.636 85.755 178.275 86.2699 178.033 86.9268C177.79 87.5838 177.669 88.3355 177.669 89.1818C177.669 90.0341 177.79 90.7946 178.033 91.4634C178.281 92.1263 178.645 92.6501 179.125 93.0348C179.61 93.4136 180.205 93.603 180.909 93.603ZM190.699 96V82.3636H193.913V96H190.699ZM192.315 80.4283C191.806 80.4283 191.368 80.2596 191.001 79.9222C190.634 79.579 190.451 79.1676 190.451 78.6882C190.451 78.2029 190.634 77.7915 191.001 77.4542C191.368 77.1109 191.806 76.9393 192.315 76.9393C192.83 76.9393 193.268 77.1109 193.629 77.4542C193.996 77.7915 194.179 78.2029 194.179 78.6882C194.179 79.1676 193.996 79.579 193.629 79.9222C193.268 80.2596 192.83 80.4283 192.315 80.4283ZM204.027 82.3636V84.8494H196.188V82.3636H204.027ZM198.123 79.0966H201.337V91.8984C201.337 92.3305 201.402 92.6619 201.532 92.8928C201.668 93.1177 201.846 93.2715 202.065 93.3544C202.284 93.4373 202.527 93.4787 202.793 93.4787C202.994 93.4787 203.178 93.4639 203.343 93.4343C203.515 93.4047 203.645 93.3781 203.734 93.3544L204.276 95.8668C204.104 95.926 203.858 95.9911 203.539 96.0621C203.225 96.1332 202.84 96.1746 202.385 96.1864C201.58 96.2101 200.855 96.0888 200.21 95.8224C199.564 95.5502 199.052 95.13 198.674 94.5618C198.301 93.9936 198.117 93.2834 198.123 92.4311V79.0966ZM213.058 96V77.8182H216.352V93.239H224.359V96H213.058ZM233.024 96.2663C231.693 96.2663 230.538 95.9734 229.562 95.3874C228.585 94.8015 227.828 93.9818 227.289 92.9283C226.756 91.8748 226.49 90.6437 226.49 89.2351C226.49 87.8265 226.756 86.5924 227.289 85.533C227.828 84.4736 228.585 83.6509 229.562 83.065C230.538 82.479 231.693 82.1861 233.024 82.1861C234.356 82.1861 235.51 82.479 236.487 83.065C237.463 83.6509 238.218 84.4736 238.75 85.533C239.289 86.5924 239.558 87.8265 239.558 89.2351C239.558 90.6437 239.289 91.8748 238.75 92.9283C238.218 93.9818 237.463 94.8015 236.487 95.3874C235.51 95.9734 234.356 96.2663 233.024 96.2663ZM233.042 93.6918C233.764 93.6918 234.368 93.4935 234.853 93.0969C235.338 92.6945 235.699 92.1559 235.936 91.4812C236.179 90.8065 236.3 90.0548 236.3 89.2262C236.3 88.3917 236.179 87.6371 235.936 86.9624C235.699 86.2817 235.338 85.7402 234.853 85.3377C234.368 84.9353 233.764 84.734 233.042 84.734C232.302 84.734 231.687 84.9353 231.195 85.3377C230.71 85.7402 230.346 86.2817 230.103 86.9624C229.867 87.6371 229.748 88.3917 229.748 89.2262C229.748 90.0548 229.867 90.8065 230.103 91.4812C230.346 92.1559 230.71 92.6945 231.195 93.0969C231.687 93.4935 232.302 93.6918 233.042 93.6918ZM248.216 101.398C247.062 101.398 246.071 101.241 245.242 100.927C244.414 100.619 243.748 100.205 243.245 99.6843C242.742 99.1635 242.393 98.5864 242.197 97.9531L245.091 97.2518C245.222 97.5181 245.411 97.7815 245.66 98.0419C245.908 98.3082 246.243 98.5272 246.663 98.6989C247.089 98.8764 247.625 98.9652 248.27 98.9652C249.181 98.9652 249.936 98.7433 250.534 98.2994C251.131 97.8614 251.43 97.1393 251.43 96.1332V93.5497H251.27C251.105 93.8812 250.862 94.2215 250.542 94.5707C250.229 94.9199 249.811 95.2128 249.291 95.4496C248.776 95.6863 248.128 95.8047 247.346 95.8047C246.299 95.8047 245.349 95.5591 244.497 95.0678C243.65 94.5707 242.976 93.8308 242.472 92.8484C241.975 91.86 241.727 90.623 241.727 89.1374C241.727 87.64 241.975 86.3764 242.472 85.3466C242.976 84.3108 243.653 83.5266 244.506 82.994C245.358 82.4554 246.308 82.1861 247.355 82.1861C248.154 82.1861 248.811 82.3222 249.326 82.5945C249.847 82.8608 250.261 83.1834 250.569 83.5621C250.877 83.935 251.111 84.2872 251.27 84.6186H251.448V82.3636H254.617V96.2219C254.617 97.3879 254.339 98.3526 253.783 99.1161C253.227 99.8796 252.466 100.451 251.501 100.83C250.537 101.208 249.442 101.398 248.216 101.398ZM248.243 93.2834C248.924 93.2834 249.504 93.1177 249.983 92.7862C250.463 92.4548 250.827 91.9783 251.075 91.3569C251.324 90.7354 251.448 89.9897 251.448 89.1197C251.448 88.2615 251.324 87.5098 251.075 86.8647C250.832 86.2196 250.471 85.7195 249.992 85.3643C249.519 85.0033 248.936 84.8228 248.243 84.8228C247.527 84.8228 246.929 85.0092 246.45 85.3821C245.97 85.755 245.609 86.2669 245.367 86.918C245.124 87.5631 245.003 88.297 245.003 89.1197C245.003 89.9542 245.124 90.6851 245.367 91.3125C245.615 91.9339 245.979 92.4193 246.459 92.7685C246.944 93.1117 247.539 93.2834 248.243 93.2834ZM268.689 85.968L265.759 86.2876C265.676 85.9917 265.531 85.7135 265.324 85.4531C265.123 85.1927 264.851 84.9826 264.507 84.8228C264.164 84.663 263.744 84.5831 263.247 84.5831C262.578 84.5831 262.016 84.7281 261.56 85.0181C261.11 85.3081 260.888 85.6839 260.894 86.1456C260.888 86.5421 261.033 86.8647 261.329 87.1133C261.631 87.3619 262.128 87.5661 262.82 87.7259L265.146 88.223C266.437 88.5012 267.396 88.9421 268.023 89.5458C268.656 90.1495 268.976 90.9396 268.982 91.9162C268.976 92.7744 268.724 93.532 268.227 94.1889C267.736 94.84 267.052 95.349 266.176 95.7159C265.3 96.0829 264.294 96.2663 263.158 96.2663C261.489 96.2663 260.145 95.9171 259.127 95.2188C258.109 94.5144 257.503 93.5349 257.307 92.2802L260.441 91.9783C260.583 92.5939 260.885 93.0585 261.347 93.3722C261.808 93.6858 262.409 93.8427 263.149 93.8427C263.912 93.8427 264.525 93.6858 264.987 93.3722C265.454 93.0585 265.688 92.6708 265.688 92.2092C265.688 91.8185 265.537 91.496 265.235 91.2415C264.939 90.987 264.478 90.7917 263.85 90.6555L261.524 90.1673C260.216 89.895 259.249 89.4363 258.621 88.7912C257.994 88.1402 257.683 87.3175 257.689 86.3232C257.683 85.4827 257.911 84.7547 258.373 84.1392C258.84 83.5178 259.488 83.0384 260.317 82.701C261.151 82.3577 262.113 82.1861 263.202 82.1861C264.8 82.1861 266.058 82.5264 266.975 83.207C267.899 83.8877 268.47 84.808 268.689 85.968Z" fill="#393939"/>
+<g filter="url(#filter1_d_625_11711)">
+<rect x="53" y="228" width="733" height="52" fill="white"/>
+<rect x="53.5" y="228.5" width="732" height="51" stroke="#E7E7E7"/>
</g>
+<path d="M79 254L74 259V249L79 254Z" fill="#939393"/>
<g clip-path="url(#clip1_625_11711)">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M75.485 237.1L76.9 238.516L67.708 247.708L66.296 247.711L66.294 246.294L75.485 237.1ZM74 254H60V240H69.757L71.757 238H59C58.7348 238 58.4804 238.105 58.2929 238.293C58.1054 238.48 58 238.734 58 239V255C58 255.265 58.1054 255.519 58.2929 255.707C58.4804 255.894 58.7348 256 59 256H75C75.2652 256 75.5196 255.894 75.7071 255.707C75.8946 255.519 76 255.265 76 255V242.243L74 244.243V254Z" fill="#F86A2B"/>
+<path d="M109.6 261V251.491L110.4 250.691V262C110.4 262.106 110.358 262.207 110.283 262.282C110.208 262.357 110.106 262.4 110 262.4H94C93.8939 262.4 93.7922 262.357 93.7172 262.282C93.6421 262.207 93.6 262.106 93.6 262V246C93.6 245.894 93.6421 245.792 93.7172 245.717C93.7922 245.642 93.8939 245.6 94 245.6H105.308L104.508 246.4H95H94.4V247V261V261.6H95H109H109.6V261ZM101.894 253.542L110.485 244.948L111.052 245.515L102.459 254.108L101.895 254.109L101.894 253.542Z" stroke="#F86A2B" stroke-width="1.2"/>
</g>
-<path d="M99.4414 252.239C102.292 252.239 104.042 250.229 104.042 247.071V247.058C104.042 243.893 102.278 241.896 99.4414 241.896C96.6113 241.896 94.834 243.886 94.834 247.058V247.071C94.834 250.236 96.5703 252.239 99.4414 252.239ZM99.4414 250.886C97.541 250.886 96.3994 249.382 96.3994 247.071V247.058C96.3994 244.727 97.5752 243.25 99.4414 243.25C101.308 243.25 102.477 244.727 102.477 247.058V247.071C102.477 249.382 101.314 250.886 99.4414 250.886Z" fill="#393939"/>
-<path d="M106.12 252H107.651V242.136H106.12V252Z" fill="#393939"/>
-<path d="M110.126 252H113.688C116.627 252 118.329 250.182 118.329 247.051V247.037C118.329 243.94 116.613 242.136 113.688 242.136H110.126V252ZM111.657 250.681V243.455H113.517C115.561 243.455 116.771 244.788 116.771 247.058V247.071C116.771 249.361 115.581 250.681 113.517 250.681H111.657Z" fill="#393939"/>
-<path d="M124.454 252.239C126.655 252.239 128.262 250.981 128.549 249.088V249.047H127.031L127.018 249.074C126.737 250.188 125.76 250.886 124.454 250.886C122.677 250.886 121.569 249.416 121.569 247.078V247.064C121.569 244.72 122.677 243.25 124.447 243.25C125.746 243.25 126.737 244.036 127.024 245.246V245.267H128.542L128.549 245.232C128.289 243.271 126.621 241.896 124.447 241.896C121.706 241.896 120.004 243.879 120.004 247.064V247.078C120.004 250.257 121.713 252.239 124.454 252.239Z" fill="#393939"/>
-<path d="M133.635 252H135.241L136.137 249.334H139.91L140.799 252H142.412L138.851 242.136H137.196L133.635 252ZM137.962 243.865H138.078L139.5 248.104H136.547L137.962 243.865Z" fill="#393939"/>
-<path d="M146.062 252.144C147.143 252.144 147.895 251.679 148.25 250.879H148.366V252H149.843V244.576H148.366V248.931C148.366 250.127 147.73 250.872 146.541 250.872C145.454 250.872 145.003 250.264 145.003 249.033V244.576H143.52V249.382C143.52 251.139 144.388 252.144 146.062 252.144Z" fill="#393939"/>
-<path d="M154.785 252.048C155.072 252.048 155.346 252.014 155.585 251.973V250.79C155.38 250.811 155.25 250.817 155.024 250.817C154.293 250.817 153.992 250.489 153.992 249.689V245.745H155.585V244.576H153.992V242.703H152.481V244.576H151.319V245.745H152.481V250.045C152.481 251.474 153.151 252.048 154.785 252.048Z" fill="#393939"/>
-<path d="M157.383 252H158.866V247.646C158.866 246.449 159.543 245.704 160.63 245.704C161.717 245.704 162.229 246.312 162.229 247.543V252H163.706V247.194C163.706 245.424 162.79 244.433 161.129 244.433C160.049 244.433 159.338 244.911 158.976 245.704H158.866V241.664H157.383V252Z" fill="#393939"/>
-<path d="M168.895 252.144C170.795 252.144 171.82 251.05 172.066 250.072L172.08 250.011L170.651 250.018L170.624 250.072C170.446 250.455 169.879 250.927 168.929 250.927C167.705 250.927 166.926 250.1 166.898 248.678H172.162V248.158C172.162 245.93 170.891 244.433 168.819 244.433C166.748 244.433 165.408 245.984 165.408 248.302V248.309C165.408 250.66 166.721 252.144 168.895 252.144ZM168.826 245.649C169.831 245.649 170.576 246.292 170.692 247.618H166.919C167.049 246.34 167.814 245.649 168.826 245.649Z" fill="#393939"/>
-<path d="M173.926 252H175.409V247.646C175.409 246.449 176.086 245.704 177.173 245.704C178.26 245.704 178.772 246.312 178.772 247.543V252H180.249V247.194C180.249 245.424 179.333 244.433 177.672 244.433C176.592 244.433 175.881 244.911 175.519 245.704H175.409V244.576H173.926V252Z" fill="#393939"/>
-<path d="M185.123 252.048C185.41 252.048 185.684 252.014 185.923 251.973V250.79C185.718 250.811 185.588 250.817 185.362 250.817C184.631 250.817 184.33 250.489 184.33 249.689V245.745H185.923V244.576H184.33V242.703H182.819V244.576H181.657V245.745H182.819V250.045C182.819 251.474 183.489 252.048 185.123 252.048Z" fill="#393939"/>
-<path d="M188.425 243.25C188.931 243.25 189.354 242.833 189.354 242.327C189.354 241.814 188.931 241.397 188.425 241.397C187.912 241.397 187.495 241.814 187.495 242.327C187.495 242.833 187.912 243.25 188.425 243.25ZM187.68 252H189.156V244.576H187.68V252Z" fill="#393939"/>
-<path d="M194.44 252.144C196.279 252.144 197.339 251.152 197.605 249.71L197.619 249.648H196.197L196.184 249.683C195.944 250.482 195.37 250.906 194.44 250.906C193.217 250.906 192.458 249.908 192.458 248.268V248.254C192.458 246.654 193.203 245.67 194.44 245.67C195.425 245.67 196.026 246.217 196.19 246.948L196.197 246.969L197.619 246.962V246.928C197.414 245.485 196.3 244.433 194.434 244.433C192.267 244.433 190.947 245.902 190.947 248.254V248.268C190.947 250.667 192.273 252.144 194.44 252.144Z" fill="#393939"/>
-<path d="M201.338 252.123C202.322 252.123 203.102 251.699 203.539 250.947H203.655V252H205.125V246.921C205.125 245.362 204.072 244.433 202.206 244.433C200.518 244.433 199.349 245.246 199.171 246.463L199.164 246.511H200.593L200.6 246.483C200.777 245.957 201.317 245.656 202.138 245.656C203.143 245.656 203.655 246.107 203.655 246.921V247.577L201.646 247.693C199.875 247.803 198.877 248.575 198.877 249.901V249.915C198.877 251.262 199.923 252.123 201.338 252.123ZM200.354 249.854V249.84C200.354 249.17 200.818 248.801 201.844 248.739L203.655 248.623V249.259C203.655 250.216 202.842 250.94 201.734 250.94C200.935 250.94 200.354 250.537 200.354 249.854Z" fill="#393939"/>
-<path d="M210.02 252.048C210.307 252.048 210.58 252.014 210.819 251.973V250.79C210.614 250.811 210.484 250.817 210.259 250.817C209.527 250.817 209.227 250.489 209.227 249.689V245.745H210.819V244.576H209.227V242.703H207.716V244.576H206.554V245.745H207.716V250.045C207.716 251.474 208.386 252.048 210.02 252.048Z" fill="#393939"/>
-<path d="M213.321 243.25C213.827 243.25 214.251 242.833 214.251 242.327C214.251 241.814 213.827 241.397 213.321 241.397C212.809 241.397 212.392 241.814 212.392 242.327C212.392 242.833 212.809 243.25 213.321 243.25ZM212.576 252H214.053V244.576H212.576V252Z" fill="#393939"/>
-<path d="M219.357 252.144C221.531 252.144 222.864 250.688 222.864 248.295V248.281C222.864 245.889 221.524 244.433 219.357 244.433C217.184 244.433 215.844 245.896 215.844 248.281V248.295C215.844 250.688 217.177 252.144 219.357 252.144ZM219.357 250.906C218.079 250.906 217.361 249.942 217.361 248.295V248.281C217.361 246.634 218.079 245.67 219.357 245.67C220.629 245.67 221.354 246.634 221.354 248.281V248.295C221.354 249.936 220.629 250.906 219.357 250.906Z" fill="#393939"/>
-<path d="M224.635 252H226.118V247.646C226.118 246.449 226.795 245.704 227.882 245.704C228.969 245.704 229.481 246.312 229.481 247.543V252H230.958V247.194C230.958 245.424 230.042 244.433 228.381 244.433C227.301 244.433 226.59 244.911 226.228 245.704H226.118V244.576H224.635V252Z" fill="#393939"/>
-<path d="M238.895 252.123C239.879 252.123 240.658 251.699 241.096 250.947H241.212V252H242.682V246.921C242.682 245.362 241.629 244.433 239.763 244.433C238.074 244.433 236.905 245.246 236.728 246.463L236.721 246.511H238.149L238.156 246.483C238.334 245.957 238.874 245.656 239.694 245.656C240.699 245.656 241.212 246.107 241.212 246.921V247.577L239.202 247.693C237.432 247.803 236.434 248.575 236.434 249.901V249.915C236.434 251.262 237.479 252.123 238.895 252.123ZM237.91 249.854V249.84C237.91 249.17 238.375 248.801 239.4 248.739L241.212 248.623V249.259C241.212 250.216 240.398 250.94 239.291 250.94C238.491 250.94 237.91 250.537 237.91 249.854Z" fill="#393939"/>
-<path d="M247.48 252.123C248.52 252.123 249.333 251.645 249.764 250.831H249.88V252H251.356V241.664H249.88V245.752H249.764C249.367 244.952 248.499 244.446 247.48 244.446C245.594 244.446 244.404 245.93 244.404 248.281V248.295C244.404 250.626 245.614 252.123 247.48 252.123ZM247.904 250.858C246.66 250.858 245.915 249.888 245.915 248.295V248.281C245.915 246.688 246.66 245.718 247.904 245.718C249.135 245.718 249.9 246.695 249.9 248.281V248.295C249.9 249.881 249.142 250.858 247.904 250.858Z" fill="#393939"/>
-<path d="M256.271 252.123C257.311 252.123 258.124 251.645 258.555 250.831H258.671V252H260.147V241.664H258.671V245.752H258.555C258.158 244.952 257.29 244.446 256.271 244.446C254.385 244.446 253.195 245.93 253.195 248.281V248.295C253.195 250.626 254.405 252.123 256.271 252.123ZM256.695 250.858C255.451 250.858 254.706 249.888 254.706 248.295V248.281C254.706 246.688 255.451 245.718 256.695 245.718C257.926 245.718 258.691 246.695 258.691 248.281V248.295C258.691 249.881 257.933 250.858 256.695 250.858Z" fill="#393939"/>
-<path d="M265.473 252.144C267.373 252.144 268.398 251.05 268.645 250.072L268.658 250.011L267.229 250.018L267.202 250.072C267.024 250.455 266.457 250.927 265.507 250.927C264.283 250.927 263.504 250.1 263.477 248.678H268.74V248.158C268.74 245.93 267.469 244.433 265.397 244.433C263.326 244.433 261.986 245.984 261.986 248.302V248.309C261.986 250.66 263.299 252.144 265.473 252.144ZM265.404 245.649C266.409 245.649 267.154 246.292 267.271 247.618H263.497C263.627 246.34 264.393 245.649 265.404 245.649Z" fill="#393939"/>
-<path d="M273.211 252.123C274.25 252.123 275.063 251.645 275.494 250.831H275.61V252H277.087V241.664H275.61V245.752H275.494C275.098 244.952 274.229 244.446 273.211 244.446C271.324 244.446 270.135 245.93 270.135 248.281V248.295C270.135 250.626 271.345 252.123 273.211 252.123ZM273.635 250.858C272.391 250.858 271.646 249.888 271.646 248.295V248.281C271.646 246.688 272.391 245.718 273.635 245.718C274.865 245.718 275.631 246.695 275.631 248.281V248.295C275.631 249.881 274.872 250.858 273.635 250.858Z" fill="#393939"/>
-<path d="M343.723 243.209C344.174 243.209 344.543 242.84 344.543 242.389C344.543 241.938 344.174 241.568 343.723 241.568C343.271 241.568 342.902 241.938 342.902 242.389C342.902 242.84 343.271 243.209 343.723 243.209ZM342.055 254.529C343.6 254.529 344.317 253.88 344.317 252.362V244.631H343.128V252.383C343.128 253.196 342.827 253.477 342.027 253.477H341.85V254.529H342.055Z" fill="#575757"/>
-<path d="M348.59 252.13C349.581 252.13 350.354 251.699 350.818 250.913H350.928V252H352.117V246.955C352.117 245.424 351.112 244.501 349.314 244.501C347.742 244.501 346.621 245.28 346.43 246.436L346.423 246.477H347.612L347.619 246.456C347.811 245.882 348.392 245.554 349.273 245.554C350.374 245.554 350.928 246.046 350.928 246.955V247.625L348.815 247.755C347.1 247.857 346.129 248.616 346.129 249.929V249.942C346.129 251.282 347.188 252.13 348.59 252.13ZM347.346 249.915V249.901C347.346 249.17 347.838 248.773 348.959 248.705L350.928 248.582V249.252C350.928 250.305 350.046 251.098 348.836 251.098C347.981 251.098 347.346 250.66 347.346 249.915Z" fill="#575757"/>
-<path d="M354.291 252H355.48V247.639C355.48 246.347 356.226 245.554 357.401 245.554C358.577 245.554 359.124 246.189 359.124 247.516V252H360.313V247.229C360.313 245.479 359.391 244.501 357.736 244.501C356.649 244.501 355.959 244.959 355.59 245.738H355.48V244.631H354.291V252Z" fill="#575757"/>
-<path d="M365.475 252.13C367.211 252.13 368.264 251.146 368.517 250.147L368.53 250.093H367.341L367.313 250.154C367.115 250.599 366.5 251.07 365.502 251.07C364.189 251.07 363.349 250.182 363.314 248.657H368.619V248.192C368.619 245.991 367.402 244.501 365.399 244.501C363.396 244.501 362.098 246.06 362.098 248.336V248.343C362.098 250.653 363.369 252.13 365.475 252.13ZM365.393 245.561C366.479 245.561 367.286 246.251 367.409 247.707H363.335C363.465 246.306 364.299 245.561 365.393 245.561Z" fill="#575757"/>
-<path d="M371.436 252.068C371.928 252.068 372.324 251.665 372.324 251.18C372.324 250.688 371.928 250.291 371.436 250.291C370.95 250.291 370.547 250.688 370.547 251.18C370.547 251.665 370.95 252.068 371.436 252.068Z" fill="#575757"/>
-<path d="M377.068 252.13C378.094 252.13 378.914 251.645 379.365 250.824H379.475V252H380.664V241.705H379.475V245.793H379.365C378.962 245.007 378.08 244.501 377.068 244.501C375.195 244.501 373.979 245.998 373.979 248.309V248.322C373.979 250.619 375.202 252.13 377.068 252.13ZM377.342 251.077C375.995 251.077 375.195 250.038 375.195 248.322V248.309C375.195 246.593 375.995 245.554 377.342 245.554C378.682 245.554 379.502 246.606 379.502 248.309V248.322C379.502 250.024 378.682 251.077 377.342 251.077Z" fill="#575757"/>
-<path d="M385.976 252.13C388.074 252.13 389.373 250.681 389.373 248.322V248.309C389.373 245.943 388.074 244.501 385.976 244.501C383.877 244.501 382.578 245.943 382.578 248.309V248.322C382.578 250.681 383.877 252.13 385.976 252.13ZM385.976 251.077C384.581 251.077 383.795 250.059 383.795 248.322V248.309C383.795 246.565 384.581 245.554 385.976 245.554C387.37 245.554 388.156 246.565 388.156 248.309V248.322C388.156 250.059 387.37 251.077 385.976 251.077Z" fill="#575757"/>
-<path d="M394.227 252.13C395.963 252.13 397.016 251.146 397.269 250.147L397.282 250.093H396.093L396.065 250.154C395.867 250.599 395.252 251.07 394.254 251.07C392.941 251.07 392.101 250.182 392.066 248.657H397.371V248.192C397.371 245.991 396.154 244.501 394.151 244.501C392.148 244.501 390.85 246.06 390.85 248.336V248.343C390.85 250.653 392.121 252.13 394.227 252.13ZM394.145 245.561C395.231 245.561 396.038 246.251 396.161 247.707H392.087C392.217 246.306 393.051 245.561 394.145 245.561Z" fill="#575757"/>
-<path d="M404.85 253.6C405.711 253.6 406.538 253.477 407.153 253.265V252.403C406.723 252.602 405.8 252.731 404.863 252.731C401.938 252.731 400.051 250.852 400.051 247.939V247.926C400.051 245.089 401.972 243.052 404.645 243.052C407.379 243.052 409.252 244.74 409.252 247.201V247.215C409.252 248.89 408.698 249.977 407.837 249.977C407.345 249.977 407.064 249.696 407.064 249.218V245.205H406.032V246.039H405.923C405.656 245.444 405.041 245.075 404.323 245.075C402.922 245.075 401.944 246.237 401.944 247.892V247.905C401.944 249.635 402.901 250.804 404.323 250.804C405.123 250.804 405.738 250.414 406.032 249.717H406.142L406.148 249.758C406.258 250.421 406.859 250.865 407.646 250.865C409.218 250.865 410.216 249.45 410.216 247.229V247.215C410.216 244.255 407.967 242.19 404.733 242.19C401.384 242.19 399.087 244.508 399.087 247.885V247.898C399.087 251.385 401.322 253.6 404.85 253.6ZM404.48 249.84C403.585 249.84 403.038 249.115 403.038 247.933V247.919C403.038 246.729 403.578 246.019 404.494 246.019C405.424 246.019 406.019 246.757 406.019 247.919V247.933C406.019 249.095 405.417 249.84 404.48 249.84Z" fill="#575757"/>
-<path d="M415.076 252.13C416.812 252.13 417.865 251.146 418.118 250.147L418.132 250.093H416.942L416.915 250.154C416.717 250.599 416.102 251.07 415.104 251.07C413.791 251.07 412.95 250.182 412.916 248.657H418.221V248.192C418.221 245.991 417.004 244.501 415.001 244.501C412.998 244.501 411.699 246.06 411.699 248.336V248.343C411.699 250.653 412.971 252.13 415.076 252.13ZM414.994 245.561C416.081 245.561 416.888 246.251 417.011 247.707H412.937C413.066 246.306 413.9 245.561 414.994 245.561Z" fill="#575757"/>
-<path d="M419.205 252H420.538L422.288 249.218H422.397L424.141 252H425.535L422.999 248.268L425.501 244.631H424.168L422.438 247.372H422.329L420.579 244.631H419.178L421.728 248.315L419.205 252Z" fill="#575757"/>
-<path d="M429.158 252.13C430.149 252.13 430.922 251.699 431.387 250.913H431.496V252H432.686V246.955C432.686 245.424 431.681 244.501 429.883 244.501C428.311 244.501 427.189 245.28 426.998 246.436L426.991 246.477H428.181L428.188 246.456C428.379 245.882 428.96 245.554 429.842 245.554C430.942 245.554 431.496 246.046 431.496 246.955V247.625L429.384 247.755C427.668 247.857 426.697 248.616 426.697 249.929V249.942C426.697 251.282 427.757 252.13 429.158 252.13ZM427.914 249.915V249.901C427.914 249.17 428.406 248.773 429.527 248.705L431.496 248.582V249.252C431.496 250.305 430.614 251.098 429.404 251.098C428.55 251.098 427.914 250.66 427.914 249.915Z" fill="#575757"/>
-<path d="M434.859 252H436.049V247.434C436.049 246.395 436.78 245.554 437.744 245.554C438.674 245.554 439.275 246.121 439.275 246.996V252H440.465V247.263C440.465 246.326 441.142 245.554 442.167 245.554C443.206 245.554 443.705 246.094 443.705 247.181V252H444.895V246.907C444.895 245.362 444.054 244.501 442.55 244.501C441.531 244.501 440.69 245.014 440.294 245.793H440.185C439.843 245.027 439.146 244.501 438.147 244.501C437.184 244.501 436.486 244.959 436.158 245.752H436.049V244.631H434.859V252Z" fill="#575757"/>
-<path d="M447.041 254.461H448.23V250.838H448.34C448.743 251.624 449.625 252.13 450.637 252.13C452.51 252.13 453.727 250.633 453.727 248.322V248.309C453.727 246.012 452.503 244.501 450.637 244.501C449.611 244.501 448.791 244.986 448.34 245.807H448.23V244.631H447.041V254.461ZM450.363 251.077C449.023 251.077 448.203 250.024 448.203 248.322V248.309C448.203 246.606 449.023 245.554 450.363 245.554C451.71 245.554 452.51 246.593 452.51 248.309V248.322C452.51 250.038 451.71 251.077 450.363 251.077Z" fill="#575757"/>
-<path d="M455.654 252H456.844V241.705H455.654V252Z" fill="#575757"/>
-<path d="M462.135 252.13C463.871 252.13 464.924 251.146 465.177 250.147L465.19 250.093H464.001L463.974 250.154C463.775 250.599 463.16 251.07 462.162 251.07C460.85 251.07 460.009 250.182 459.975 248.657H465.279V248.192C465.279 245.991 464.062 244.501 462.06 244.501C460.057 244.501 458.758 246.06 458.758 248.336V248.343C458.758 250.653 460.029 252.13 462.135 252.13ZM462.053 245.561C463.14 245.561 463.946 246.251 464.069 247.707H459.995C460.125 246.306 460.959 245.561 462.053 245.561Z" fill="#575757"/>
-<path d="M468.096 252.068C468.588 252.068 468.984 251.665 468.984 251.18C468.984 250.688 468.588 250.291 468.096 250.291C467.61 250.291 467.207 250.688 467.207 251.18C467.207 251.665 467.61 252.068 468.096 252.068Z" fill="#575757"/>
-<path d="M474.022 252.13C475.793 252.13 476.784 251.18 477.085 249.847L477.099 249.771L475.923 249.778L475.909 249.819C475.636 250.64 475.007 251.077 474.016 251.077C472.703 251.077 471.855 249.99 471.855 248.295V248.281C471.855 246.62 472.689 245.554 474.016 245.554C475.075 245.554 475.731 246.142 475.916 246.866L475.923 246.887H477.105L477.099 246.846C476.88 245.533 475.807 244.501 474.016 244.501C471.951 244.501 470.639 245.991 470.639 248.281V248.295C470.639 250.633 471.958 252.13 474.022 252.13Z" fill="#575757"/>
-<path d="M481.87 252.13C483.969 252.13 485.268 250.681 485.268 248.322V248.309C485.268 245.943 483.969 244.501 481.87 244.501C479.771 244.501 478.473 245.943 478.473 248.309V248.322C478.473 250.681 479.771 252.13 481.87 252.13ZM481.87 251.077C480.476 251.077 479.689 250.059 479.689 248.322V248.309C479.689 246.565 480.476 245.554 481.87 245.554C483.265 245.554 484.051 246.565 484.051 248.309V248.322C484.051 250.059 483.265 251.077 481.87 251.077Z" fill="#575757"/>
-<path d="M487.113 252H488.303V247.434C488.303 246.395 489.034 245.554 489.998 245.554C490.928 245.554 491.529 246.121 491.529 246.996V252H492.719V247.263C492.719 246.326 493.396 245.554 494.421 245.554C495.46 245.554 495.959 246.094 495.959 247.181V252H497.148V246.907C497.148 245.362 496.308 244.501 494.804 244.501C493.785 244.501 492.944 245.014 492.548 245.793H492.438C492.097 245.027 491.399 244.501 490.401 244.501C489.438 244.501 488.74 244.959 488.412 245.752H488.303V244.631H487.113V252Z" fill="#575757"/>
-<path d="M557.37 253.232C559.195 253.232 560.275 252.125 560.275 250.259V243.136H559.045V250.245C559.045 251.448 558.457 252.098 557.363 252.098C556.386 252.098 555.9 251.476 555.825 250.73L555.818 250.662H554.588L554.595 250.758C554.697 252.173 555.661 253.232 557.37 253.232Z" fill="#575757"/>
-<path d="M565.108 253.13C566.188 253.13 566.934 252.686 567.296 251.899H567.405V253H568.595V245.631H567.405V249.992C567.405 251.284 566.715 252.077 565.416 252.077C564.24 252.077 563.762 251.441 563.762 250.115V245.631H562.572V250.402C562.572 252.146 563.434 253.13 565.108 253.13Z" fill="#575757"/>
-<path d="M570.885 253H572.074V242.705H570.885V253Z" fill="#575757"/>
-<path d="M581.528 253.232C583.531 253.232 584.96 251.845 584.96 249.855V249.842C584.96 247.935 583.627 246.547 581.774 246.547C580.879 246.547 580.106 246.909 579.669 247.572H579.56L579.895 244.236H584.413V243.136H578.924L578.404 248.803H579.471C579.594 248.57 579.751 248.379 579.922 248.215C580.346 247.812 580.906 247.613 581.562 247.613C582.841 247.613 583.757 248.55 583.757 249.862V249.876C583.757 251.209 582.854 252.146 581.542 252.146C580.387 252.146 579.532 251.394 579.416 250.45L579.409 250.396H578.227L578.233 250.471C578.377 252.05 579.689 253.232 581.528 253.232Z" fill="#575757"/>
-<path d="M593.293 253H594.523V243.136H593.3L590.675 245.022V246.321L593.184 244.503H593.293V253Z" fill="#575757"/>
-<path d="M597.374 253H603.759V251.893H599.083V251.783L601.325 249.466C603.109 247.627 603.595 246.807 603.595 245.679V245.665C603.595 244.072 602.275 242.903 600.553 242.903C598.666 242.903 597.312 244.161 597.306 245.911L597.319 245.918L598.495 245.925L598.502 245.911C598.502 244.749 599.288 243.977 600.471 243.977C601.633 243.977 602.337 244.756 602.337 245.795V245.809C602.337 246.67 601.968 247.183 600.71 248.543L597.374 252.152V253Z" fill="#575757"/>
-<path d="M606.801 246.308C607.293 246.308 607.689 245.904 607.689 245.419C607.689 244.927 607.293 244.53 606.801 244.53C606.315 244.53 605.912 244.927 605.912 245.419C605.912 245.904 606.315 246.308 606.801 246.308ZM606.801 251.599C607.293 251.599 607.689 251.195 607.689 250.71C607.689 250.218 607.293 249.821 606.801 249.821C606.315 249.821 605.912 250.218 605.912 250.71C605.912 251.195 606.315 251.599 606.801 251.599Z" fill="#575757"/>
-<path d="M613.452 253.232C615.455 253.232 616.884 251.845 616.884 249.855V249.842C616.884 247.935 615.551 246.547 613.698 246.547C612.803 246.547 612.03 246.909 611.593 247.572H611.483L611.818 244.236H616.337V243.136H610.848L610.328 248.803H611.395C611.518 248.57 611.675 248.379 611.846 248.215C612.27 247.812 612.83 247.613 613.486 247.613C614.765 247.613 615.681 248.55 615.681 249.862V249.876C615.681 251.209 614.778 252.146 613.466 252.146C612.311 252.146 611.456 251.394 611.34 250.45L611.333 250.396H610.15L610.157 250.471C610.301 252.05 611.613 253.232 613.452 253.232Z" fill="#575757"/>
-<path d="M622.223 253.164C624.198 253.164 625.647 251.947 625.647 250.3V250.286C625.647 248.885 624.67 247.989 623.234 247.866V247.839C624.465 247.579 625.326 246.745 625.326 245.528V245.515C625.326 244.018 624.089 242.972 622.209 242.972C620.363 242.972 619.092 244.045 618.935 245.651L618.928 245.72H620.11L620.117 245.651C620.22 244.653 621.047 244.038 622.209 244.038C623.412 244.038 624.089 244.633 624.089 245.665V245.679C624.089 246.663 623.269 247.388 622.093 247.388H620.91V248.427H622.147C623.528 248.427 624.396 249.104 624.396 250.313V250.327C624.396 251.373 623.515 252.098 622.223 252.098C620.91 252.098 620.015 251.428 619.919 250.457L619.912 250.389H618.729L618.736 250.471C618.866 252.029 620.186 253.164 622.223 253.164Z" fill="#575757"/>
-<path d="M628.621 246.308C629.113 246.308 629.51 245.904 629.51 245.419C629.51 244.927 629.113 244.53 628.621 244.53C628.136 244.53 627.732 244.927 627.732 245.419C627.732 245.904 628.136 246.308 628.621 246.308ZM628.621 251.599C629.113 251.599 629.51 251.195 629.51 250.71C629.51 250.218 629.113 249.821 628.621 249.821C628.136 249.821 627.732 250.218 627.732 250.71C627.732 251.195 628.136 251.599 628.621 251.599Z" fill="#575757"/>
-<path d="M635.102 253.232C637.282 253.232 638.595 251.243 638.595 248.071V248.058C638.595 244.886 637.282 242.903 635.102 242.903C632.921 242.903 631.622 244.886 631.622 248.058V248.071C631.622 251.243 632.921 253.232 635.102 253.232ZM635.102 252.159C633.687 252.159 632.859 250.587 632.859 248.071V248.058C632.859 245.542 633.687 243.983 635.102 243.983C636.517 243.983 637.357 245.542 637.357 248.058V248.071C637.357 250.587 636.517 252.159 635.102 252.159Z" fill="#575757"/>
-<path d="M643.92 253.232C646.101 253.232 647.413 251.243 647.413 248.071V248.058C647.413 244.886 646.101 242.903 643.92 242.903C641.739 242.903 640.44 244.886 640.44 248.058V248.071C640.44 251.243 641.739 253.232 643.92 253.232ZM643.92 252.159C642.505 252.159 641.678 250.587 641.678 248.071V248.058C641.678 245.542 642.505 243.983 643.92 243.983C645.335 243.983 646.176 245.542 646.176 248.058V248.071C646.176 250.587 645.335 252.159 643.92 252.159Z" fill="#575757"/>
-<path d="M657.619 253.232C660.142 253.232 661.81 251.619 661.81 249.186V247.982H657.811V249.062H660.579V249.302C660.579 250.97 659.39 252.098 657.626 252.098C655.644 252.098 654.406 250.553 654.406 248.071V248.058C654.406 245.61 655.664 244.038 657.619 244.038C659.089 244.038 660.08 244.735 660.483 246.007L660.504 246.075H661.748L661.734 246.007C661.345 244.134 659.807 242.903 657.619 242.903C654.919 242.903 653.148 244.947 653.148 248.058V248.071C653.148 251.223 654.892 253.232 657.619 253.232Z" fill="#575757"/>
-<path d="M663.99 253H665.139V245.467H665.214L668.331 253H669.37L672.487 245.467H672.562V253H673.711V243.136H672.282L668.905 251.366H668.796L665.419 243.136H663.99V253Z" fill="#575757"/>
-<path d="M678.79 253H680.021V244.243H683.199V243.136H675.611V244.243H678.79V253Z" fill="#575757"/>
-<path d="M688.572 249.582H691.635V252.713H692.742V249.582H695.805V248.475H692.742V245.344H691.635V248.475H688.572V249.582Z" fill="#575757"/>
-<path d="M704.876 253.232C706.879 253.232 708.308 251.845 708.308 249.855V249.842C708.308 247.935 706.975 246.547 705.122 246.547C704.227 246.547 703.454 246.909 703.017 247.572H702.907L703.242 244.236H707.761V243.136H702.271L701.752 248.803H702.818C702.941 248.57 703.099 248.379 703.27 248.215C703.693 247.812 704.254 247.613 704.91 247.613C706.188 247.613 707.104 248.55 707.104 249.862V249.876C707.104 251.209 706.202 252.146 704.89 252.146C703.734 252.146 702.88 251.394 702.764 250.45L702.757 250.396H701.574L701.581 250.471C701.725 252.05 703.037 253.232 704.876 253.232Z" fill="#575757"/>
-<path d="M711.268 246.308C711.76 246.308 712.156 245.904 712.156 245.419C712.156 244.927 711.76 244.53 711.268 244.53C710.782 244.53 710.379 244.927 710.379 245.419C710.379 245.904 710.782 246.308 711.268 246.308ZM711.268 251.599C711.76 251.599 712.156 251.195 712.156 250.71C712.156 250.218 711.76 249.821 711.268 249.821C710.782 249.821 710.379 250.218 710.379 250.71C710.379 251.195 710.782 251.599 711.268 251.599Z" fill="#575757"/>
-<path d="M717.734 253.164C719.71 253.164 721.159 251.947 721.159 250.3V250.286C721.159 248.885 720.182 247.989 718.746 247.866V247.839C719.977 247.579 720.838 246.745 720.838 245.528V245.515C720.838 244.018 719.601 242.972 717.721 242.972C715.875 242.972 714.604 244.045 714.446 245.651L714.439 245.72H715.622L715.629 245.651C715.731 244.653 716.559 244.038 717.721 244.038C718.924 244.038 719.601 244.633 719.601 245.665V245.679C719.601 246.663 718.78 247.388 717.604 247.388H716.422V248.427H717.659C719.04 248.427 719.908 249.104 719.908 250.313V250.327C719.908 251.373 719.026 252.098 717.734 252.098C716.422 252.098 715.526 251.428 715.431 250.457L715.424 250.389H714.241L714.248 250.471C714.378 252.029 715.697 253.164 717.734 253.164Z" fill="#575757"/>
-<path d="M726.457 253.232C728.638 253.232 729.95 251.243 729.95 248.071V248.058C729.95 244.886 728.638 242.903 726.457 242.903C724.276 242.903 722.978 244.886 722.978 248.058V248.071C722.978 251.243 724.276 253.232 726.457 253.232ZM726.457 252.159C725.042 252.159 724.215 250.587 724.215 248.071V248.058C724.215 245.542 725.042 243.983 726.457 243.983C727.872 243.983 728.713 245.542 728.713 248.058V248.071C728.713 250.587 727.872 252.159 726.457 252.159Z" fill="#575757"/>
-<path d="M146 172C146 176.971 141.971 181 137 181C132.029 181 128 176.971 128 172C128 167.029 132.029 163 137 163C141.971 163 146 167.029 146 172Z" fill="#FFDEDE"/>
+<path d="M135.441 258.739C138.292 258.739 140.042 256.729 140.042 253.571V253.558C140.042 250.393 138.278 248.396 135.441 248.396C132.611 248.396 130.834 250.386 130.834 253.558V253.571C130.834 256.736 132.57 258.739 135.441 258.739ZM135.441 257.386C133.541 257.386 132.399 255.882 132.399 253.571V253.558C132.399 251.227 133.575 249.75 135.441 249.75C137.308 249.75 138.477 251.227 138.477 253.558V253.571C138.477 255.882 137.314 257.386 135.441 257.386ZM142.12 258.5H143.651V248.636H142.12V258.5ZM146.126 258.5H149.688C152.627 258.5 154.329 256.682 154.329 253.551V253.537C154.329 250.44 152.613 248.636 149.688 248.636H146.126V258.5ZM147.657 257.181V249.955H149.517C151.561 249.955 152.771 251.288 152.771 253.558V253.571C152.771 255.861 151.581 257.181 149.517 257.181H147.657ZM160.454 258.739C162.655 258.739 164.262 257.481 164.549 255.588V255.547H163.031L163.018 255.574C162.737 256.688 161.76 257.386 160.454 257.386C158.677 257.386 157.569 255.916 157.569 253.578V253.564C157.569 251.22 158.677 249.75 160.447 249.75C161.746 249.75 162.737 250.536 163.024 251.746V251.767H164.542L164.549 251.732C164.289 249.771 162.621 248.396 160.447 248.396C157.706 248.396 156.004 250.379 156.004 253.564V253.578C156.004 256.757 157.713 258.739 160.454 258.739ZM172.26 258.623C173.244 258.623 174.023 258.199 174.461 257.447H174.577V258.5H176.047V253.421C176.047 251.862 174.994 250.933 173.128 250.933C171.439 250.933 170.271 251.746 170.093 252.963L170.086 253.011H171.515L171.521 252.983C171.699 252.457 172.239 252.156 173.06 252.156C174.064 252.156 174.577 252.607 174.577 253.421V254.077L172.567 254.193C170.797 254.303 169.799 255.075 169.799 256.401V256.415C169.799 257.762 170.845 258.623 172.26 258.623ZM171.275 256.354V256.34C171.275 255.67 171.74 255.301 172.766 255.239L174.577 255.123V255.759C174.577 256.716 173.764 257.44 172.656 257.44C171.856 257.44 171.275 257.037 171.275 256.354ZM180.613 258.644C181.693 258.644 182.445 258.179 182.801 257.379H182.917V258.5H184.394V251.076H182.917V255.431C182.917 256.627 182.281 257.372 181.092 257.372C180.005 257.372 179.554 256.764 179.554 255.533V251.076H178.07V255.882C178.07 257.639 178.938 258.644 180.613 258.644ZM189.336 258.548C189.623 258.548 189.896 258.514 190.136 258.473V257.29C189.931 257.311 189.801 257.317 189.575 257.317C188.844 257.317 188.543 256.989 188.543 256.189V252.245H190.136V251.076H188.543V249.203H187.032V251.076H185.87V252.245H187.032V256.545C187.032 257.974 187.702 258.548 189.336 258.548ZM191.934 258.5H193.417V254.146C193.417 252.949 194.094 252.204 195.181 252.204C196.268 252.204 196.78 252.812 196.78 254.043V258.5H198.257V253.694C198.257 251.924 197.341 250.933 195.68 250.933C194.6 250.933 193.889 251.411 193.526 252.204H193.417V248.164H191.934V258.5ZM203.445 258.644C205.346 258.644 206.371 257.55 206.617 256.572L206.631 256.511L205.202 256.518L205.175 256.572C204.997 256.955 204.43 257.427 203.479 257.427C202.256 257.427 201.477 256.6 201.449 255.178H206.713V254.658C206.713 252.43 205.441 250.933 203.37 250.933C201.299 250.933 199.959 252.484 199.959 254.802V254.809C199.959 257.16 201.271 258.644 203.445 258.644ZM203.377 252.149C204.382 252.149 205.127 252.792 205.243 254.118H201.47C201.6 252.84 202.365 252.149 203.377 252.149ZM208.477 258.5H209.96V254.146C209.96 252.949 210.637 252.204 211.724 252.204C212.811 252.204 213.323 252.812 213.323 254.043V258.5H214.8V253.694C214.8 251.924 213.884 250.933 212.223 250.933C211.143 250.933 210.432 251.411 210.069 252.204H209.96V251.076H208.477V258.5ZM219.674 258.548C219.961 258.548 220.234 258.514 220.474 258.473V257.29C220.269 257.311 220.139 257.317 219.913 257.317C219.182 257.317 218.881 256.989 218.881 256.189V252.245H220.474V251.076H218.881V249.203H217.37V251.076H216.208V252.245H217.37V256.545C217.37 257.974 218.04 258.548 219.674 258.548ZM222.976 249.75C223.481 249.75 223.905 249.333 223.905 248.827C223.905 248.314 223.481 247.897 222.976 247.897C222.463 247.897 222.046 248.314 222.046 248.827C222.046 249.333 222.463 249.75 222.976 249.75ZM222.23 258.5H223.707V251.076H222.23V258.5ZM228.991 258.644C230.83 258.644 231.89 257.652 232.156 256.21L232.17 256.148H230.748L230.734 256.183C230.495 256.982 229.921 257.406 228.991 257.406C227.768 257.406 227.009 256.408 227.009 254.768V254.754C227.009 253.154 227.754 252.17 228.991 252.17C229.976 252.17 230.577 252.717 230.741 253.448L230.748 253.469L232.17 253.462V253.428C231.965 251.985 230.851 250.933 228.984 250.933C226.817 250.933 225.498 252.402 225.498 254.754V254.768C225.498 257.167 226.824 258.644 228.991 258.644ZM235.889 258.623C236.873 258.623 237.652 258.199 238.09 257.447H238.206V258.5H239.676V253.421C239.676 251.862 238.623 250.933 236.757 250.933C235.068 250.933 233.899 251.746 233.722 252.963L233.715 253.011H235.144L235.15 252.983C235.328 252.457 235.868 252.156 236.688 252.156C237.693 252.156 238.206 252.607 238.206 253.421V254.077L236.196 254.193C234.426 254.303 233.428 255.075 233.428 256.401V256.415C233.428 257.762 234.474 258.623 235.889 258.623ZM234.904 256.354V256.34C234.904 255.67 235.369 255.301 236.395 255.239L238.206 255.123V255.759C238.206 256.716 237.393 257.44 236.285 257.44C235.485 257.44 234.904 257.037 234.904 256.354ZM244.57 258.548C244.857 258.548 245.131 258.514 245.37 258.473V257.29C245.165 257.311 245.035 257.317 244.81 257.317C244.078 257.317 243.777 256.989 243.777 256.189V252.245H245.37V251.076H243.777V249.203H242.267V251.076H241.104V252.245H242.267V256.545C242.267 257.974 242.937 258.548 244.57 258.548ZM247.872 249.75C248.378 249.75 248.802 249.333 248.802 248.827C248.802 248.314 248.378 247.897 247.872 247.897C247.359 247.897 246.942 248.314 246.942 248.827C246.942 249.333 247.359 249.75 247.872 249.75ZM247.127 258.5H248.604V251.076H247.127V258.5ZM253.908 258.644C256.082 258.644 257.415 257.188 257.415 254.795V254.781C257.415 252.389 256.075 250.933 253.908 250.933C251.734 250.933 250.395 252.396 250.395 254.781V254.795C250.395 257.188 251.728 258.644 253.908 258.644ZM253.908 257.406C252.63 257.406 251.912 256.442 251.912 254.795V254.781C251.912 253.134 252.63 252.17 253.908 252.17C255.18 252.17 255.904 253.134 255.904 254.781V254.795C255.904 256.436 255.18 257.406 253.908 257.406ZM259.186 258.5H260.669V254.146C260.669 252.949 261.346 252.204 262.433 252.204C263.52 252.204 264.032 252.812 264.032 254.043V258.5H265.509V253.694C265.509 251.924 264.593 250.933 262.932 250.933C261.852 250.933 261.141 251.411 260.778 252.204H260.669V251.076H259.186V258.5ZM274.532 258.644C276.371 258.644 277.431 257.652 277.697 256.21L277.711 256.148H276.289L276.275 256.183C276.036 256.982 275.462 257.406 274.532 257.406C273.309 257.406 272.55 256.408 272.55 254.768V254.754C272.55 253.154 273.295 252.17 274.532 252.17C275.517 252.17 276.118 252.717 276.282 253.448L276.289 253.469L277.711 253.462V253.428C277.506 251.985 276.392 250.933 274.525 250.933C272.358 250.933 271.039 252.402 271.039 254.754V254.768C271.039 257.167 272.365 258.644 274.532 258.644ZM282.537 258.644C284.711 258.644 286.044 257.188 286.044 254.795V254.781C286.044 252.389 284.704 250.933 282.537 250.933C280.363 250.933 279.023 252.396 279.023 254.781V254.795C279.023 257.188 280.356 258.644 282.537 258.644ZM282.537 257.406C281.259 257.406 280.541 256.442 280.541 254.795V254.781C280.541 253.134 281.259 252.17 282.537 252.17C283.809 252.17 284.533 253.134 284.533 254.781V254.795C284.533 256.436 283.809 257.406 282.537 257.406ZM287.814 258.5H289.298V254.146C289.298 252.949 289.975 252.204 291.062 252.204C292.148 252.204 292.661 252.812 292.661 254.043V258.5H294.138V253.694C294.138 251.924 293.222 250.933 291.561 250.933C290.48 250.933 289.77 251.411 289.407 252.204H289.298V251.076H287.814V258.5ZM296.735 258.5H298.212V252.245H299.846V251.076H298.198V250.365C298.198 249.613 298.52 249.217 299.34 249.217C299.572 249.217 299.771 249.23 299.907 249.251V248.164C299.654 248.123 299.367 248.096 299.032 248.096C297.487 248.096 296.735 248.82 296.735 250.297V251.076H295.512V252.245H296.735V258.5ZM302.286 249.75C302.792 249.75 303.216 249.333 303.216 248.827C303.216 248.314 302.792 247.897 302.286 247.897C301.773 247.897 301.356 248.314 301.356 248.827C301.356 249.333 301.773 249.75 302.286 249.75ZM301.541 258.5H303.018V251.076H301.541V258.5ZM308.315 261.118C310.421 261.118 311.754 260.038 311.754 258.35V251.076H310.277V252.293H310.188C309.758 251.459 308.951 250.946 307.912 250.946C305.984 250.946 304.802 252.443 304.802 254.562V254.576C304.802 256.668 305.978 258.138 307.885 258.138C308.903 258.138 309.724 257.687 310.175 256.88H310.284V258.343C310.284 259.354 309.56 259.929 308.336 259.929C307.331 259.929 306.729 259.566 306.606 259.054L306.6 259.04H305.103L305.089 259.054C305.267 260.291 306.429 261.118 308.315 261.118ZM308.295 256.914C307.03 256.914 306.319 255.95 306.319 254.569V254.556C306.319 253.175 307.03 252.204 308.295 252.204C309.546 252.204 310.312 253.175 310.312 254.556V254.569C310.312 255.957 309.553 256.914 308.295 256.914ZM316.361 258.644C317.441 258.644 318.193 258.179 318.549 257.379H318.665V258.5H320.142V251.076H318.665V255.431C318.665 256.627 318.029 257.372 316.84 257.372C315.753 257.372 315.302 256.764 315.302 255.533V251.076H313.818V255.882C313.818 257.639 314.687 258.644 316.361 258.644ZM322.281 258.5H323.765V254.063C323.765 252.99 324.537 252.293 325.672 252.293C325.952 252.293 326.205 252.327 326.472 252.382V251.015C326.321 250.98 326.062 250.946 325.822 250.946C324.831 250.946 324.141 251.411 323.874 252.197H323.765V251.076H322.281V258.5ZM330.812 258.644C332.713 258.644 333.738 257.55 333.984 256.572L333.998 256.511L332.569 256.518L332.542 256.572C332.364 256.955 331.797 257.427 330.847 257.427C329.623 257.427 328.844 256.6 328.816 255.178H334.08V254.658C334.08 252.43 332.809 250.933 330.737 250.933C328.666 250.933 327.326 252.484 327.326 254.802V254.809C327.326 257.16 328.639 258.644 330.812 258.644ZM330.744 252.149C331.749 252.149 332.494 252.792 332.61 254.118H328.837C328.967 252.84 329.732 252.149 330.744 252.149ZM338.551 258.623C339.59 258.623 340.403 258.145 340.834 257.331H340.95V258.5H342.427V248.164H340.95V252.252H340.834C340.438 251.452 339.569 250.946 338.551 250.946C336.664 250.946 335.475 252.43 335.475 254.781V254.795C335.475 257.126 336.685 258.623 338.551 258.623ZM338.975 257.358C337.73 257.358 336.985 256.388 336.985 254.795V254.781C336.985 253.188 337.73 252.218 338.975 252.218C340.205 252.218 340.971 253.195 340.971 254.781V254.795C340.971 256.381 340.212 257.358 338.975 257.358Z" fill="#393939"/>
+<path d="M361.723 250.209C362.174 250.209 362.543 249.84 362.543 249.389C362.543 248.938 362.174 248.568 361.723 248.568C361.271 248.568 360.902 248.938 360.902 249.389C360.902 249.84 361.271 250.209 361.723 250.209ZM360.055 261.529C361.6 261.529 362.317 260.88 362.317 259.362V251.631H361.128V259.383C361.128 260.196 360.827 260.477 360.027 260.477H359.85V261.529H360.055ZM366.59 259.13C367.581 259.13 368.354 258.699 368.818 257.913H368.928V259H370.117V253.955C370.117 252.424 369.112 251.501 367.314 251.501C365.742 251.501 364.621 252.28 364.43 253.436L364.423 253.477H365.612L365.619 253.456C365.811 252.882 366.392 252.554 367.273 252.554C368.374 252.554 368.928 253.046 368.928 253.955V254.625L366.815 254.755C365.1 254.857 364.129 255.616 364.129 256.929V256.942C364.129 258.282 365.188 259.13 366.59 259.13ZM365.346 256.915V256.901C365.346 256.17 365.838 255.773 366.959 255.705L368.928 255.582V256.252C368.928 257.305 368.046 258.098 366.836 258.098C365.981 258.098 365.346 257.66 365.346 256.915ZM372.291 259H373.48V254.639C373.48 253.347 374.226 252.554 375.401 252.554C376.577 252.554 377.124 253.189 377.124 254.516V259H378.313V254.229C378.313 252.479 377.391 251.501 375.736 251.501C374.649 251.501 373.959 251.959 373.59 252.738H373.48V251.631H372.291V259ZM383.475 259.13C385.211 259.13 386.264 258.146 386.517 257.147L386.53 257.093H385.341L385.313 257.154C385.115 257.599 384.5 258.07 383.502 258.07C382.189 258.07 381.349 257.182 381.314 255.657H386.619V255.192C386.619 252.991 385.402 251.501 383.399 251.501C381.396 251.501 380.098 253.06 380.098 255.336V255.343C380.098 257.653 381.369 259.13 383.475 259.13ZM383.393 252.561C384.479 252.561 385.286 253.251 385.409 254.707H381.335C381.465 253.306 382.299 252.561 383.393 252.561ZM389.436 259.068C389.928 259.068 390.324 258.665 390.324 258.18C390.324 257.688 389.928 257.291 389.436 257.291C388.95 257.291 388.547 257.688 388.547 258.18C388.547 258.665 388.95 259.068 389.436 259.068ZM395.068 259.13C396.094 259.13 396.914 258.645 397.365 257.824H397.475V259H398.664V248.705H397.475V252.793H397.365C396.962 252.007 396.08 251.501 395.068 251.501C393.195 251.501 391.979 252.998 391.979 255.309V255.322C391.979 257.619 393.202 259.13 395.068 259.13ZM395.342 258.077C393.995 258.077 393.195 257.038 393.195 255.322V255.309C393.195 253.593 393.995 252.554 395.342 252.554C396.682 252.554 397.502 253.606 397.502 255.309V255.322C397.502 257.024 396.682 258.077 395.342 258.077ZM403.976 259.13C406.074 259.13 407.373 257.681 407.373 255.322V255.309C407.373 252.943 406.074 251.501 403.976 251.501C401.877 251.501 400.578 252.943 400.578 255.309V255.322C400.578 257.681 401.877 259.13 403.976 259.13ZM403.976 258.077C402.581 258.077 401.795 257.059 401.795 255.322V255.309C401.795 253.565 402.581 252.554 403.976 252.554C405.37 252.554 406.156 253.565 406.156 255.309V255.322C406.156 257.059 405.37 258.077 403.976 258.077ZM412.227 259.13C413.963 259.13 415.016 258.146 415.269 257.147L415.282 257.093H414.093L414.065 257.154C413.867 257.599 413.252 258.07 412.254 258.07C410.941 258.07 410.101 257.182 410.066 255.657H415.371V255.192C415.371 252.991 414.154 251.501 412.151 251.501C410.148 251.501 408.85 253.06 408.85 255.336V255.343C408.85 257.653 410.121 259.13 412.227 259.13ZM412.145 252.561C413.231 252.561 414.038 253.251 414.161 254.707H410.087C410.217 253.306 411.051 252.561 412.145 252.561ZM422.85 260.6C423.711 260.6 424.538 260.477 425.153 260.265V259.403C424.723 259.602 423.8 259.731 422.863 259.731C419.938 259.731 418.051 257.852 418.051 254.939V254.926C418.051 252.089 419.972 250.052 422.645 250.052C425.379 250.052 427.252 251.74 427.252 254.201V254.215C427.252 255.89 426.698 256.977 425.837 256.977C425.345 256.977 425.064 256.696 425.064 256.218V252.205H424.032V253.039H423.923C423.656 252.444 423.041 252.075 422.323 252.075C420.922 252.075 419.944 253.237 419.944 254.892V254.905C419.944 256.635 420.901 257.804 422.323 257.804C423.123 257.804 423.738 257.414 424.032 256.717H424.142L424.148 256.758C424.258 257.421 424.859 257.865 425.646 257.865C427.218 257.865 428.216 256.45 428.216 254.229V254.215C428.216 251.255 425.967 249.19 422.733 249.19C419.384 249.19 417.087 251.508 417.087 254.885V254.898C417.087 258.385 419.322 260.6 422.85 260.6ZM422.48 256.84C421.585 256.84 421.038 256.115 421.038 254.933V254.919C421.038 253.729 421.578 253.019 422.494 253.019C423.424 253.019 424.019 253.757 424.019 254.919V254.933C424.019 256.095 423.417 256.84 422.48 256.84ZM433.076 259.13C434.812 259.13 435.865 258.146 436.118 257.147L436.132 257.093H434.942L434.915 257.154C434.717 257.599 434.102 258.07 433.104 258.07C431.791 258.07 430.95 257.182 430.916 255.657H436.221V255.192C436.221 252.991 435.004 251.501 433.001 251.501C430.998 251.501 429.699 253.06 429.699 255.336V255.343C429.699 257.653 430.971 259.13 433.076 259.13ZM432.994 252.561C434.081 252.561 434.888 253.251 435.011 254.707H430.937C431.066 253.306 431.9 252.561 432.994 252.561ZM437.205 259H438.538L440.288 256.218H440.397L442.141 259H443.535L440.999 255.268L443.501 251.631H442.168L440.438 254.372H440.329L438.579 251.631H437.178L439.728 255.315L437.205 259ZM447.158 259.13C448.149 259.13 448.922 258.699 449.387 257.913H449.496V259H450.686V253.955C450.686 252.424 449.681 251.501 447.883 251.501C446.311 251.501 445.189 252.28 444.998 253.436L444.991 253.477H446.181L446.188 253.456C446.379 252.882 446.96 252.554 447.842 252.554C448.942 252.554 449.496 253.046 449.496 253.955V254.625L447.384 254.755C445.668 254.857 444.697 255.616 444.697 256.929V256.942C444.697 258.282 445.757 259.13 447.158 259.13ZM445.914 256.915V256.901C445.914 256.17 446.406 255.773 447.527 255.705L449.496 255.582V256.252C449.496 257.305 448.614 258.098 447.404 258.098C446.55 258.098 445.914 257.66 445.914 256.915ZM452.859 259H454.049V254.434C454.049 253.395 454.78 252.554 455.744 252.554C456.674 252.554 457.275 253.121 457.275 253.996V259H458.465V254.263C458.465 253.326 459.142 252.554 460.167 252.554C461.206 252.554 461.705 253.094 461.705 254.181V259H462.895V253.907C462.895 252.362 462.054 251.501 460.55 251.501C459.531 251.501 458.69 252.014 458.294 252.793H458.185C457.843 252.027 457.146 251.501 456.147 251.501C455.184 251.501 454.486 251.959 454.158 252.752H454.049V251.631H452.859V259ZM465.041 261.461H466.23V257.838H466.34C466.743 258.624 467.625 259.13 468.637 259.13C470.51 259.13 471.727 257.633 471.727 255.322V255.309C471.727 253.012 470.503 251.501 468.637 251.501C467.611 251.501 466.791 251.986 466.34 252.807H466.23V251.631H465.041V261.461ZM468.363 258.077C467.023 258.077 466.203 257.024 466.203 255.322V255.309C466.203 253.606 467.023 252.554 468.363 252.554C469.71 252.554 470.51 253.593 470.51 255.309V255.322C470.51 257.038 469.71 258.077 468.363 258.077ZM473.654 259H474.844V248.705H473.654V259ZM480.135 259.13C481.871 259.13 482.924 258.146 483.177 257.147L483.19 257.093H482.001L481.974 257.154C481.775 257.599 481.16 258.07 480.162 258.07C478.85 258.07 478.009 257.182 477.975 255.657H483.279V255.192C483.279 252.991 482.062 251.501 480.06 251.501C478.057 251.501 476.758 253.06 476.758 255.336V255.343C476.758 257.653 478.029 259.13 480.135 259.13ZM480.053 252.561C481.14 252.561 481.946 253.251 482.069 254.707H477.995C478.125 253.306 478.959 252.561 480.053 252.561ZM486.096 259.068C486.588 259.068 486.984 258.665 486.984 258.18C486.984 257.688 486.588 257.291 486.096 257.291C485.61 257.291 485.207 257.688 485.207 258.18C485.207 258.665 485.61 259.068 486.096 259.068ZM492.022 259.13C493.793 259.13 494.784 258.18 495.085 256.847L495.099 256.771L493.923 256.778L493.909 256.819C493.636 257.64 493.007 258.077 492.016 258.077C490.703 258.077 489.855 256.99 489.855 255.295V255.281C489.855 253.62 490.689 252.554 492.016 252.554C493.075 252.554 493.731 253.142 493.916 253.866L493.923 253.887H495.105L495.099 253.846C494.88 252.533 493.807 251.501 492.016 251.501C489.951 251.501 488.639 252.991 488.639 255.281V255.295C488.639 257.633 489.958 259.13 492.022 259.13ZM499.87 259.13C501.969 259.13 503.268 257.681 503.268 255.322V255.309C503.268 252.943 501.969 251.501 499.87 251.501C497.771 251.501 496.473 252.943 496.473 255.309V255.322C496.473 257.681 497.771 259.13 499.87 259.13ZM499.87 258.077C498.476 258.077 497.689 257.059 497.689 255.322V255.309C497.689 253.565 498.476 252.554 499.87 252.554C501.265 252.554 502.051 253.565 502.051 255.309V255.322C502.051 257.059 501.265 258.077 499.87 258.077ZM505.113 259H506.303V254.434C506.303 253.395 507.034 252.554 507.998 252.554C508.928 252.554 509.529 253.121 509.529 253.996V259H510.719V254.263C510.719 253.326 511.396 252.554 512.421 252.554C513.46 252.554 513.959 253.094 513.959 254.181V259H515.148V253.907C515.148 252.362 514.308 251.501 512.804 251.501C511.785 251.501 510.944 252.014 510.548 252.793H510.438C510.097 252.027 509.399 251.501 508.401 251.501C507.438 251.501 506.74 251.959 506.412 252.752H506.303V251.631H505.113V259Z" fill="#575757"/>
+<path d="M537.491 259.232C539.692 259.232 541.135 258.084 541.135 256.238V256.231C541.135 254.81 540.321 253.982 538.264 253.524L537.17 253.278C535.83 252.984 535.29 252.451 535.29 251.665V251.658C535.29 250.626 536.24 250.045 537.471 250.038C538.756 250.031 539.576 250.674 539.713 251.542L539.727 251.631H540.957L540.95 251.535C540.848 250.065 539.474 248.903 537.505 248.903C535.468 248.903 534.039 250.059 534.032 251.692V251.699C534.032 253.128 534.887 254.037 536.862 254.475L537.956 254.714C539.31 255.015 539.877 255.575 539.877 256.396V256.402C539.877 257.407 538.899 258.098 537.56 258.098C536.138 258.098 535.112 257.476 535.023 256.491L535.017 256.416H533.786L533.793 256.491C533.937 258.098 535.331 259.232 537.491 259.232ZM546.043 259.13C547.779 259.13 548.832 258.146 549.085 257.147L549.099 257.093H547.909L547.882 257.154C547.684 257.599 547.068 258.07 546.07 258.07C544.758 258.07 543.917 257.182 543.883 255.657H549.188V255.192C549.188 252.991 547.971 251.501 545.968 251.501C543.965 251.501 542.666 253.06 542.666 255.336V255.343C542.666 257.653 543.938 259.13 546.043 259.13ZM545.961 252.561C547.048 252.561 547.854 253.251 547.978 254.707H543.903C544.033 253.306 544.867 252.561 545.961 252.561ZM551.033 261.461H552.223V257.838H552.332C552.735 258.624 553.617 259.13 554.629 259.13C556.502 259.13 557.719 257.633 557.719 255.322V255.309C557.719 253.012 556.495 251.501 554.629 251.501C553.604 251.501 552.783 251.986 552.332 252.807H552.223V251.631H551.033V261.461ZM554.355 258.077C553.016 258.077 552.195 257.024 552.195 255.322V255.309C552.195 253.606 553.016 252.554 554.355 252.554C555.702 252.554 556.502 253.593 556.502 255.309V255.322C556.502 257.038 555.702 258.077 554.355 258.077ZM563.509 259H569.894V257.893H565.218V257.783L567.46 255.466C569.244 253.627 569.729 252.807 569.729 251.679V251.665C569.729 250.072 568.41 248.903 566.688 248.903C564.801 248.903 563.447 250.161 563.44 251.911L563.454 251.918L564.63 251.925L564.637 251.911C564.637 250.749 565.423 249.977 566.605 249.977C567.768 249.977 568.472 250.756 568.472 251.795V251.809C568.472 252.67 568.103 253.183 566.845 254.543L563.509 258.152V259ZM578.309 259H579.539V249.136H578.315L575.69 251.022V252.321L578.199 250.503H578.309V259ZM582.39 259H588.774V257.893H584.099V257.783L586.341 255.466C588.125 253.627 588.61 252.807 588.61 251.679V251.665C588.61 250.072 587.291 248.903 585.568 248.903C583.682 248.903 582.328 250.161 582.321 251.911L582.335 251.918L583.511 251.925L583.518 251.911C583.518 250.749 584.304 249.977 585.486 249.977C586.648 249.977 587.353 250.756 587.353 251.795V251.809C587.353 252.67 586.983 253.183 585.726 254.543L582.39 258.152V259ZM591.816 252.308C592.309 252.308 592.705 251.904 592.705 251.419C592.705 250.927 592.309 250.53 591.816 250.53C591.331 250.53 590.928 250.927 590.928 251.419C590.928 251.904 591.331 252.308 591.816 252.308ZM591.816 257.599C592.309 257.599 592.705 257.195 592.705 256.71C592.705 256.218 592.309 255.821 591.816 255.821C591.331 255.821 590.928 256.218 590.928 256.71C590.928 257.195 591.331 257.599 591.816 257.599ZM598.468 259.232C600.471 259.232 601.899 257.845 601.899 255.855V255.842C601.899 253.935 600.566 252.547 598.714 252.547C597.818 252.547 597.046 252.909 596.608 253.572H596.499L596.834 250.236H601.353V249.136H595.863L595.344 254.803H596.41C596.533 254.57 596.69 254.379 596.861 254.215C597.285 253.812 597.846 253.613 598.502 253.613C599.78 253.613 600.696 254.55 600.696 255.862V255.876C600.696 257.209 599.794 258.146 598.481 258.146C597.326 258.146 596.472 257.394 596.355 256.45L596.349 256.396H595.166L595.173 256.471C595.316 258.05 596.629 259.232 598.468 259.232ZM607.238 259.164C609.214 259.164 610.663 257.947 610.663 256.3V256.286C610.663 254.885 609.686 253.989 608.25 253.866V253.839C609.48 253.579 610.342 252.745 610.342 251.528V251.515C610.342 250.018 609.104 248.972 607.225 248.972C605.379 248.972 604.107 250.045 603.95 251.651L603.943 251.72H605.126L605.133 251.651C605.235 250.653 606.062 250.038 607.225 250.038C608.428 250.038 609.104 250.633 609.104 251.665V251.679C609.104 252.663 608.284 253.388 607.108 253.388H605.926V254.427H607.163C608.544 254.427 609.412 255.104 609.412 256.313V256.327C609.412 257.373 608.53 258.098 607.238 258.098C605.926 258.098 605.03 257.428 604.935 256.457L604.928 256.389H603.745L603.752 256.471C603.882 258.029 605.201 259.164 607.238 259.164ZM613.637 252.308C614.129 252.308 614.525 251.904 614.525 251.419C614.525 250.927 614.129 250.53 613.637 250.53C613.151 250.53 612.748 250.927 612.748 251.419C612.748 251.904 613.151 252.308 613.637 252.308ZM613.637 257.599C614.129 257.599 614.525 257.195 614.525 256.71C614.525 256.218 614.129 255.821 613.637 255.821C613.151 255.821 612.748 256.218 612.748 256.71C612.748 257.195 613.151 257.599 613.637 257.599ZM620.117 259.232C622.298 259.232 623.61 257.243 623.61 254.071V254.058C623.61 250.886 622.298 248.903 620.117 248.903C617.937 248.903 616.638 250.886 616.638 254.058V254.071C616.638 257.243 617.937 259.232 620.117 259.232ZM620.117 258.159C618.702 258.159 617.875 256.587 617.875 254.071V254.058C617.875 251.542 618.702 249.983 620.117 249.983C621.532 249.983 622.373 251.542 622.373 254.058V254.071C622.373 256.587 621.532 258.159 620.117 258.159ZM628.936 259.232C631.116 259.232 632.429 257.243 632.429 254.071V254.058C632.429 250.886 631.116 248.903 628.936 248.903C626.755 248.903 625.456 250.886 625.456 254.058V254.071C625.456 257.243 626.755 259.232 628.936 259.232ZM628.936 258.159C627.521 258.159 626.693 256.587 626.693 254.071V254.058C626.693 251.542 627.521 249.983 628.936 249.983C630.351 249.983 631.191 251.542 631.191 254.058V254.071C631.191 256.587 630.351 258.159 628.936 258.159ZM642.635 259.232C645.157 259.232 646.825 257.619 646.825 255.186V253.982H642.826V255.062H645.595V255.302C645.595 256.97 644.405 258.098 642.642 258.098C640.659 258.098 639.422 256.553 639.422 254.071V254.058C639.422 251.61 640.68 250.038 642.635 250.038C644.104 250.038 645.096 250.735 645.499 252.007L645.52 252.075H646.764L646.75 252.007C646.36 250.134 644.822 248.903 642.635 248.903C639.935 248.903 638.164 250.947 638.164 254.058V254.071C638.164 257.223 639.907 259.232 642.635 259.232ZM649.006 259H650.154V251.467H650.229L653.347 259H654.386L657.503 251.467H657.578V259H658.727V249.136H657.298L653.921 257.366H653.812L650.435 249.136H649.006V259ZM663.806 259H665.036V250.243H668.215V249.136H660.627V250.243H663.806V259ZM673.588 255.582H676.65V258.713H677.758V255.582H680.82V254.475H677.758V251.344H676.65V254.475H673.588V255.582ZM689.892 259.232C691.895 259.232 693.323 257.845 693.323 255.855V255.842C693.323 253.935 691.99 252.547 690.138 252.547C689.242 252.547 688.47 252.909 688.032 253.572H687.923L688.258 250.236H692.776V249.136H687.287L686.768 254.803H687.834C687.957 254.57 688.114 254.379 688.285 254.215C688.709 253.812 689.27 253.613 689.926 253.613C691.204 253.613 692.12 254.55 692.12 255.862V255.876C692.12 257.209 691.218 258.146 689.905 258.146C688.75 258.146 687.896 257.394 687.779 256.45L687.772 256.396H686.59L686.597 256.471C686.74 258.05 688.053 259.232 689.892 259.232ZM696.283 252.308C696.775 252.308 697.172 251.904 697.172 251.419C697.172 250.927 696.775 250.53 696.283 250.53C695.798 250.53 695.395 250.927 695.395 251.419C695.395 251.904 695.798 252.308 696.283 252.308ZM696.283 257.599C696.775 257.599 697.172 257.195 697.172 256.71C697.172 256.218 696.775 255.821 696.283 255.821C695.798 255.821 695.395 256.218 695.395 256.71C695.395 257.195 695.798 257.599 696.283 257.599ZM702.75 259.164C704.726 259.164 706.175 257.947 706.175 256.3V256.286C706.175 254.885 705.197 253.989 703.762 253.866V253.839C704.992 253.579 705.854 252.745 705.854 251.528V251.515C705.854 250.018 704.616 248.972 702.736 248.972C700.891 248.972 699.619 250.045 699.462 251.651L699.455 251.72H700.638L700.645 251.651C700.747 250.653 701.574 250.038 702.736 250.038C703.939 250.038 704.616 250.633 704.616 251.665V251.679C704.616 252.663 703.796 253.388 702.62 253.388H701.438V254.427H702.675C704.056 254.427 704.924 255.104 704.924 256.313V256.327C704.924 257.373 704.042 258.098 702.75 258.098C701.438 258.098 700.542 257.428 700.446 256.457L700.439 256.389H699.257L699.264 256.471C699.394 258.029 700.713 259.164 702.75 259.164ZM711.473 259.232C713.653 259.232 714.966 257.243 714.966 254.071V254.058C714.966 250.886 713.653 248.903 711.473 248.903C709.292 248.903 707.993 250.886 707.993 254.058V254.071C707.993 257.243 709.292 259.232 711.473 259.232ZM711.473 258.159C710.058 258.159 709.23 256.587 709.23 254.071V254.058C709.23 251.542 710.058 249.983 711.473 249.983C712.888 249.983 713.729 251.542 713.729 254.058V254.071C713.729 256.587 712.888 258.159 711.473 258.159Z" fill="#575757"/>
+<circle cx="149" cy="179" r="9" fill="#FFDEDE"/>
</g>
<defs>
-<filter id="filter0_d_625_11711" x="66" y="23" width="679" height="511" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
-<feFlood flood-opacity="0" result="BackgroundImageFix"/>
-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
-<feOffset dy="10"/>
-<feGaussianBlur stdDeviation="10"/>
-<feComposite in2="hardAlpha" operator="out"/>
-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.11 0"/>
-<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_625_11711"/>
-<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_625_11711" result="shape"/>
-</filter>
-<filter id="filter1_d_625_11711" x="66" y="23" width="679" height="511" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<filter id="filter0_d_625_11711" x="78" y="30" width="679" height="511" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="10"/>
@@ -163,17 +82,7 @@
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_625_11711"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_625_11711" result="shape"/>
</filter>
-<filter id="filter2_d_625_11711" x="-23" y="181" width="861" height="180" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
-<feFlood flood-opacity="0" result="BackgroundImageFix"/>
-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
-<feOffset dy="24"/>
-<feGaussianBlur stdDeviation="32"/>
-<feComposite in2="hardAlpha" operator="out"/>
-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13 0"/>
-<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_625_11711"/>
-<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_625_11711" result="shape"/>
-</filter>
-<filter id="filter3_d_625_11711" x="-23" y="181" width="861" height="180" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<filter id="filter1_d_625_11711" x="-11" y="188" width="861" height="180" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="24"/>
@@ -184,10 +93,10 @@
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_625_11711" result="shape"/>
</filter>
<clipPath id="clip0_625_11711">
-<rect width="725" height="537" fill="white"/>
+<rect width="734" height="537" fill="white"/>
</clipPath>
<clipPath id="clip1_625_11711">
-<rect width="24" height="24" fill="white" transform="translate(55 235)"/>
+<rect width="24" height="24" fill="white" transform="translate(90 242)"/>
</clipPath>
</defs>
</svg>
diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts
index d222a030545a..748fb21eef9c 100644
--- a/app/client/src/ce/constants/messages.ts
+++ b/app/client/src/ce/constants/messages.ts
@@ -1023,8 +1023,29 @@ export const DISCONNECT_AUTH_ERROR = () =>
export const MANDATORY_FIELDS_ERROR = () => "Mandatory fields cannot be empty";
// Audit logs begin
-export const AUDIT_LOGS = () => "Audit logs";
+export const AUDIT_LOGS = () => "Audit Logs";
export const TRY_AGAIN_WITH_YOUR_FILTER = () => "Try again with your filter";
+
+// Audit logs Upgrade page begin
+export const INTRODUCING = (featureName: string) =>
+ `Introducing ${featureName}`;
+export const AUDIT_LOGS_UPGRADE_PAGE_SUB_HEADING = () =>
+ "See a timestamped trail of events in your workspace. Filter by type of event, user, resource ID, and time. Drill down into each event to investigate further.";
+export const SECURITY_AND_COMPLIANCE = () => "Security & Compliance";
+export const SECURITY_AND_COMPLIANCE_DETAIL1 = () =>
+ "Proactively derisk misconfigured permissions, roll back changes from a critical security event, and keep checks against your compliance policies.";
+export const SECURITY_AND_COMPLIANCE_DETAIL2 = () =>
+ "Exports to popular compliance tools coming soon";
+export const DEBUGGING = () => "Debugging";
+export const DEBUGGING_DETAIL1 = () =>
+ "Debug with a timeline of events filtered by user and resource ID, correlate them with end-user and app developer actions, and investigate back to the last known good state of your app.";
+export const INCIDENT_MANAGEMENT = () => "Incident Management";
+export const INCIDENT_MANAGEMENT_DETAIL1 = () =>
+ "Go back in time from an incident to see who did what, correlate events with breaking changes, and run RCAs to remediate incidents for now and the future.";
+export const AVAILABLE_ON_BUSINESS = () => "Available on a business plan only";
+export const EXCLUSIVE_TO_BUSINESS = (featureName: string) =>
+ `The ${featureName} feature is exclusive to workspaces on the Enterprise Plan`;
+// Audit logs Upgrade page end
// Audit logs end
//
diff --git a/app/client/src/ce/pages/Upgrade/AuditLogsUpgradePage.tsx b/app/client/src/ce/pages/Upgrade/AuditLogsUpgradePage.tsx
index 4dc89ca9b33c..c9a0b277c95a 100644
--- a/app/client/src/ce/pages/Upgrade/AuditLogsUpgradePage.tsx
+++ b/app/client/src/ce/pages/Upgrade/AuditLogsUpgradePage.tsx
@@ -6,39 +6,48 @@ import IncidentManagementImage from "assets/svg/upgrade/audit-logs/incident-mana
import SecurityAndComplianceImage from "assets/svg/upgrade/audit-logs/security-and-compliance.svg";
import AnalyticsUtil from "../../../utils/AnalyticsUtil";
import { getAppsmithConfigs } from "../../configs";
-import { createMessage, UPGRADE } from "../../constants/messages";
+import { createMessage } from "design-system/build/constants/messages";
+import {
+ AUDIT_LOGS,
+ AUDIT_LOGS_UPGRADE_PAGE_SUB_HEADING,
+ DEBUGGING,
+ DEBUGGING_DETAIL1,
+ EXCLUSIVE_TO_BUSINESS,
+ INCIDENT_MANAGEMENT,
+ INCIDENT_MANAGEMENT_DETAIL1,
+ INTRODUCING,
+ SECURITY_AND_COMPLIANCE,
+ SECURITY_AND_COMPLIANCE_DETAIL1,
+ SECURITY_AND_COMPLIANCE_DETAIL2,
+ UPGRADE,
+} from "../../constants/messages";
const { intercomAppID } = getAppsmithConfigs();
export function AuditLogsUpgradePage() {
const header: Header = {
- heading: "Audit Logs",
- subHeadings: [
- "Your workspace audit log gives Workspace owners access to detailed information about security and safety-related activity.",
- ],
+ heading: createMessage(INTRODUCING, createMessage(AUDIT_LOGS)),
+ subHeadings: [createMessage(AUDIT_LOGS_UPGRADE_PAGE_SUB_HEADING)],
};
const carousel = {
triggers: [
{
icon: "lock-2-line",
- heading: "Security & Compliance",
+ heading: createMessage(SECURITY_AND_COMPLIANCE),
details: [
- "Debug with a timeline of events filtered by user and resource ID, correlate them with end-user and app developer actions, and investigate back to the last known good state of your app.",
+ createMessage(SECURITY_AND_COMPLIANCE_DETAIL1),
+ createMessage(SECURITY_AND_COMPLIANCE_DETAIL2),
],
},
{
icon: "search-eye-line",
- heading: "Debugging",
- details: [
- "Debug with a timeline of events filtered by user and resource ID, correlate them with end-user and app developer actions, and investigate back to the last known good state of your app.",
- ],
+ heading: createMessage(DEBUGGING),
+ details: [createMessage(DEBUGGING_DETAIL1)],
},
{
icon: "alert-line",
- heading: "Incident management",
- details: [
- "Debug with a timeline of events filtered by user and resource ID, correlate them with end-user and app developer actions, and investigate back to the last known good state of your app.",
- ],
+ heading: createMessage(INCIDENT_MANAGEMENT),
+ details: [createMessage(INCIDENT_MANAGEMENT_DETAIL1)],
},
],
targets: [
@@ -65,8 +74,7 @@ export function AuditLogsUpgradePage() {
window.Intercom("showNewMessage", createMessage(UPGRADE));
}
},
- message:
- "The audit log feature is exclusive to workspaces on the Enterprise Plan",
+ message: createMessage(EXCLUSIVE_TO_BUSINESS, ["audit logs"]),
};
const props = { header, carousel, footer };
return <UpgradePage {...props} />;
diff --git a/app/client/src/ce/pages/Upgrade/Footer.tsx b/app/client/src/ce/pages/Upgrade/Footer.tsx
index 47a50842c1b5..c52d58a05e23 100644
--- a/app/client/src/ce/pages/Upgrade/Footer.tsx
+++ b/app/client/src/ce/pages/Upgrade/Footer.tsx
@@ -3,6 +3,8 @@ import React from "react";
import { Button, Size, Text, TextType } from "design-system";
import { Variant } from "design-system/build/constants/variants";
import { FooterProps } from "./types";
+import { createMessage } from "design-system/build/constants/messages";
+import { AVAILABLE_ON_BUSINESS, UPGRADE } from "../../constants/messages";
const FooterContainer = styled.div`
position: fixed;
@@ -24,10 +26,6 @@ const FooterContainer = styled.div`
flex-grow: 9;
display: flex;
flex-direction: column;
-
- //& .text-container {
- // width: 288px;
- //}
}
& .right {
@@ -44,7 +42,7 @@ export function FooterComponent(props: FooterProps) {
>
<div className="left">
<div className="heading-container">
- <Text type={TextType.H1}>Available on a business plan only</Text>
+ <Text type={TextType.H1}>{createMessage(AVAILABLE_ON_BUSINESS)}</Text>
</div>
<div className="text-container">
<Text type={TextType.P1}>{message}</Text>
@@ -54,7 +52,7 @@ export function FooterComponent(props: FooterProps) {
<Button
onClick={onClick}
size={Size.large}
- text="UPGRADE"
+ text={createMessage(UPGRADE)}
type="button"
variant={Variant.info}
/>
diff --git a/app/client/src/ce/pages/Upgrade/UpgradePage.tsx b/app/client/src/ce/pages/Upgrade/UpgradePage.tsx
index a294e8d1f8be..6039668764b3 100644
--- a/app/client/src/ce/pages/Upgrade/UpgradePage.tsx
+++ b/app/client/src/ce/pages/Upgrade/UpgradePage.tsx
@@ -14,7 +14,6 @@ export const ExternalContainer = styled.div`
max-height: 100vh;
border-left: thin solid var(--appsmith-color-black-50);
background-color: var(--ads-color-black-50);
- //width: 1180px;
`;
export const InternalContainer = styled.div`
|
83db02032b7bb6b19216bbdb2249ba9077d3a6bc
|
2024-12-11 14:06:15
|
Rudraprasad Das
|
chore: git mod - git context & context aware comps (#38060)
| false
|
git mod - git context & context aware comps (#38060)
|
chore
|
diff --git a/app/client/packages/design-system/ads/src/Icon/Icon.provider.tsx b/app/client/packages/design-system/ads/src/Icon/Icon.provider.tsx
index 8a89050016db..d5eaf80dc941 100644
--- a/app/client/packages/design-system/ads/src/Icon/Icon.provider.tsx
+++ b/app/client/packages/design-system/ads/src/Icon/Icon.provider.tsx
@@ -572,6 +572,10 @@ const AppsLineIcon = importRemixIcon(
async () => import("remixicon-react/AppsLineIcon"),
);
+const ProtectedIcon = importRemixIcon(
+ async () => import("remixicon-react/ShieldKeyholeLineIcon"),
+);
+
const CornerDownLeftLineIcon = importSvg(
async () => import("../__assets__/icons/ads/corner-down-left-line.svg"),
);
@@ -1394,6 +1398,7 @@ const ICON_LOOKUP = {
"warning-triangle": WarningTriangleIcon,
"widgets-v3": WidgetsV3Icon,
"workflows-mono": WorkflowsMonochromeIcon,
+ "protected-icon": ProtectedIcon,
billing: BillingIcon,
binding: Binding,
book: BookIcon,
diff --git a/app/client/src/git/actions/checkoutBranchActions.ts b/app/client/src/git/actions/checkoutBranchActions.ts
deleted file mode 100644
index 65640d5859cd..000000000000
--- a/app/client/src/git/actions/checkoutBranchActions.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
-import type { GitArtifactErrorPayloadAction } from "../types";
-
-export const checkoutBranchInitAction = createSingleArtifactAction((state) => {
- state.apiResponses.checkoutBranch.loading = true;
- state.apiResponses.checkoutBranch.error = null;
-
- return state;
-});
-
-export const checkoutBranchSuccessAction = createSingleArtifactAction(
- (state) => {
- state.apiResponses.checkoutBranch.loading = false;
-
- return state;
- },
-);
-
-export const checkoutBranchErrorAction = createSingleArtifactAction(
- (state, action: GitArtifactErrorPayloadAction) => {
- const { error } = action.payload;
-
- state.apiResponses.checkoutBranch.loading = false;
- state.apiResponses.checkoutBranch.error = error;
-
- return state;
- },
-);
diff --git a/app/client/src/git/actions/createBranchActions.ts b/app/client/src/git/actions/createBranchActions.ts
deleted file mode 100644
index 82963f12d949..000000000000
--- a/app/client/src/git/actions/createBranchActions.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
-import type { GitArtifactErrorPayloadAction } from "../types";
-
-export const createBranchInitAction = createSingleArtifactAction((state) => {
- state.apiResponses.createBranch.loading = true;
- state.apiResponses.createBranch.error = null;
-
- return state;
-});
-
-export const createBranchSuccessAction = createSingleArtifactAction((state) => {
- state.apiResponses.createBranch.loading = false;
-
- return state;
-});
-
-export const createBranchErrorAction = createSingleArtifactAction(
- (state, action: GitArtifactErrorPayloadAction) => {
- const { error } = action.payload;
-
- state.apiResponses.createBranch.loading = false;
- state.apiResponses.createBranch.error = error;
-
- return state;
- },
-);
diff --git a/app/client/src/git/actions/deleteBranchActions.ts b/app/client/src/git/actions/deleteBranchActions.ts
deleted file mode 100644
index 5d3ae8293ae4..000000000000
--- a/app/client/src/git/actions/deleteBranchActions.ts
+++ /dev/null
@@ -1,26 +0,0 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
-import type { GitArtifactErrorPayloadAction } from "../types";
-
-export const deleteBranchInitAction = createSingleArtifactAction((state) => {
- state.apiResponses.deleteBranch.loading = true;
- state.apiResponses.deleteBranch.error = null;
-
- return state;
-});
-
-export const deleteBranchSuccessAction = createSingleArtifactAction((state) => {
- state.apiResponses.deleteBranch.loading = false;
-
- return state;
-});
-
-export const deleteBranchErrorAction = createSingleArtifactAction(
- (state, action: GitArtifactErrorPayloadAction) => {
- const { error } = action.payload;
-
- state.apiResponses.deleteBranch.loading = false;
- state.apiResponses.deleteBranch.error = error;
-
- return state;
- },
-);
diff --git a/app/client/src/git/actions/fetchMergeStatusActions.ts b/app/client/src/git/actions/fetchMergeStatusActions.ts
deleted file mode 100644
index e81a387fe675..000000000000
--- a/app/client/src/git/actions/fetchMergeStatusActions.ts
+++ /dev/null
@@ -1,38 +0,0 @@
-import type {
- GitArtifactPayloadAction,
- GitArtifactErrorPayloadAction,
- GitMergeStatus,
-} from "../types";
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
-
-export const fetchMergeStatusInitAction = createSingleArtifactAction(
- (state) => {
- state.apiResponses.mergeStatus.loading = true;
- state.apiResponses.mergeStatus.error = null;
-
- return state;
- },
-);
-
-export const fetchMergeStatusSuccessAction = createSingleArtifactAction(
- (
- state,
- action: GitArtifactPayloadAction<{ mergeStatus: GitMergeStatus }>,
- ) => {
- state.apiResponses.mergeStatus.loading = false;
- state.apiResponses.mergeStatus.value = action.payload.mergeStatus;
-
- return state;
- },
-);
-
-export const fetchMergeStatusErrorAction = createSingleArtifactAction(
- (state, action: GitArtifactErrorPayloadAction) => {
- const { error } = action.payload;
-
- state.apiResponses.mergeStatus.loading = false;
- state.apiResponses.mergeStatus.error = error;
-
- return state;
- },
-);
diff --git a/app/client/src/git/actions/fetchStatusActions.ts b/app/client/src/git/actions/fetchStatusActions.ts
deleted file mode 100644
index 21633eeb424e..000000000000
--- a/app/client/src/git/actions/fetchStatusActions.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-import type { FetchStatusRequestParams } from "git/requests/fetchStatusRequest.types";
-import type {
- GitArtifactPayloadAction,
- GitArtifactErrorPayloadAction,
- GitStatus,
-} from "../types";
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
-
-export interface FetchStatusInitPayload extends FetchStatusRequestParams {}
-
-export const fetchStatusInitAction =
- createSingleArtifactAction<FetchStatusInitPayload>((state) => {
- state.apiResponses.status.loading = true;
- state.apiResponses.status.error = null;
-
- return state;
- });
-
-export const fetchStatusSuccessAction = createSingleArtifactAction(
- (state, action: GitArtifactPayloadAction<{ status: GitStatus }>) => {
- state.apiResponses.status.loading = false;
- state.apiResponses.status.value = action.payload.status;
-
- return state;
- },
-);
-
-export const fetchStatusErrorAction = createSingleArtifactAction(
- (state, action: GitArtifactErrorPayloadAction) => {
- const { error } = action.payload;
-
- state.apiResponses.status.loading = false;
- state.apiResponses.status.error = error;
-
- return state;
- },
-);
diff --git a/app/client/src/git/components/CtxAwareGitQuickActions/hooks/useStatusChangeCount.ts b/app/client/src/git/components/CtxAwareGitQuickActions/hooks/useStatusChangeCount.ts
new file mode 100644
index 000000000000..bcc59083c7f3
--- /dev/null
+++ b/app/client/src/git/components/CtxAwareGitQuickActions/hooks/useStatusChangeCount.ts
@@ -0,0 +1,40 @@
+import type { FetchStatusResponseData } from "git/requests/fetchStatusRequest.types";
+import { useMemo } from "react";
+
+// does not include modules or moduleinstances
+export const calcStatusChangeCount = (status: FetchStatusResponseData) => {
+ const {
+ modified = [],
+ modifiedDatasources = 0,
+ modifiedJSLibs = 0,
+ modifiedJSObjects = 0,
+ modifiedModules = 0,
+ modifiedPages = 0,
+ modifiedQueries = 0,
+ } = status || {};
+ const themeCount = modified.includes("theme.json") ? 1 : 0;
+ const settingsCount = modified.includes("application.json") ? 1 : 0;
+
+ // does not include ahead and behind remote counts
+ return (
+ modifiedDatasources +
+ modifiedJSLibs +
+ modifiedJSObjects +
+ modifiedModules +
+ modifiedPages +
+ modifiedQueries +
+ themeCount +
+ settingsCount
+ );
+};
+
+export default function useStatusChangeCount(
+ status: FetchStatusResponseData | null,
+) {
+ const statusChangeCount = useMemo(
+ () => (status ? calcStatusChangeCount(status) : 0),
+ [status],
+ );
+
+ return statusChangeCount;
+}
diff --git a/app/client/src/git/components/CtxAwareGitQuickActions/index.tsx b/app/client/src/git/components/CtxAwareGitQuickActions/index.tsx
new file mode 100644
index 000000000000..9deb2f2d7a55
--- /dev/null
+++ b/app/client/src/git/components/CtxAwareGitQuickActions/index.tsx
@@ -0,0 +1,54 @@
+import React from "react";
+import GitQuickActions from "../GitQuickActions";
+import { useGitContext } from "../GitContextProvider";
+import useStatusChangeCount from "./hooks/useStatusChangeCount";
+
+function CtxAwareGitQuickActions() {
+ const {
+ discard,
+ discardLoading,
+ fetchStatusLoading,
+ pull,
+ pullError,
+ pullLoading,
+ status,
+ toggleGitConnectModal,
+ toggleGitOpsModal,
+ toggleGitSettingsModal,
+ } = useGitContext();
+
+ const isGitConnected = false;
+ const isAutocommitEnabled = true;
+ const isAutocommitPolling = false;
+ const isConnectPermitted = true;
+ const isProtectedMode = false;
+
+ const isPullFailing = !!pullError;
+ const isStatusClean = status?.isClean ?? false;
+ const statusBehindCount = status?.behindCount ?? 0;
+ const statusChangeCount = useStatusChangeCount(status);
+
+ return (
+ <GitQuickActions
+ discard={discard}
+ isAutocommitEnabled={isAutocommitEnabled}
+ isAutocommitPolling={isAutocommitPolling}
+ isConnectPermitted={isConnectPermitted}
+ isDiscardLoading={discardLoading}
+ isFetchStatusLoading={fetchStatusLoading}
+ isGitConnected={isGitConnected}
+ isProtectedMode={isProtectedMode}
+ isPullFailing={isPullFailing}
+ isPullLoading={pullLoading}
+ isStatusClean={isStatusClean}
+ pull={pull}
+ statusBehindCount={statusBehindCount}
+ statusChangeCount={statusChangeCount}
+ toggleGitConnectModal={toggleGitConnectModal}
+ toggleGitOpsModal={toggleGitOpsModal}
+ toggleGitSettingsModal={toggleGitSettingsModal}
+ />
+ );
+}
+
+export default CtxAwareGitQuickActions;
diff --git a/app/client/src/git/components/GitContextProvider/hooks/useGitBranches.ts b/app/client/src/git/components/GitContextProvider/hooks/useGitBranches.ts
new file mode 100644
index 000000000000..da20d0e19ca3
--- /dev/null
+++ b/app/client/src/git/components/GitContextProvider/hooks/useGitBranches.ts
@@ -0,0 +1,131 @@
+import type { GitArtifactType } from "git/constants/enums";
+import type { FetchBranchesResponseData } from "git/requests/fetchBranchesRequest.types";
+import { gitArtifactActions } from "git/store/gitArtifactSlice";
+import {
+ selectBranches,
+ selectCheckoutBranch,
+ selectCreateBranch,
+ selectDeleteBranch,
+} from "git/store/selectors/gitSingleArtifactSelectors";
+import type { GitRootState } from "git/store/types";
+import { useCallback, useMemo } from "react";
+import { useDispatch, useSelector } from "react-redux";
+
+interface UseGitBranchesParams {
+ artifactType: keyof typeof GitArtifactType;
+ baseArtifactId: string;
+}
+
+export interface UseGitBranchesReturnValue {
+ branches: FetchBranchesResponseData | null;
+ fetchBranchesLoading: boolean;
+ fetchBranchesError: string | null;
+ fetchBranches: () => void;
+ createBranchLoading: boolean;
+ createBranchError: string | null;
+ createBranch: (branchName: string) => void;
+ deleteBranchLoading: boolean;
+ deleteBranchError: string | null;
+ deleteBranch: (branchName: string) => void;
+ checkoutBranchLoading: boolean;
+ checkoutBranchError: string | null;
+ checkoutBranch: (branchName: string) => void;
+ toggleGitBranchListPopup: (open: boolean) => void;
+}
+
+export default function useGitBranches({
+ artifactType,
+ baseArtifactId,
+}: UseGitBranchesParams): UseGitBranchesReturnValue {
+ const basePayload = useMemo(
+ () => ({ artifactType, baseArtifactId }),
+ [artifactType, baseArtifactId],
+ );
+ const dispatch = useDispatch();
+
+ // fetch branches
+ const branchesState = useSelector((state: GitRootState) =>
+ selectBranches(state, basePayload),
+ );
+ const fetchBranches = useCallback(() => {
+ dispatch(
+ gitArtifactActions.fetchBranchesInit({
+ ...basePayload,
+ pruneBranches: true,
+ }),
+ );
+ }, [basePayload, dispatch]);
+
+ // create branch
+ const createBranchState = useSelector((state: GitRootState) =>
+ selectCreateBranch(state, basePayload),
+ );
+ const createBranch = useCallback(
+ (branchName: string) => {
+ dispatch(
+ gitArtifactActions.createBranchInit({
+ ...basePayload,
+ branchName,
+ }),
+ );
+ },
+ [basePayload, dispatch],
+ );
+ // delete branch
+ const deleteBranchState = useSelector((state: GitRootState) =>
+ selectDeleteBranch(state, basePayload),
+ );
+ const deleteBranch = useCallback(
+ (branchName: string) => {
+ dispatch(
+ gitArtifactActions.deleteBranchInit({
+ ...basePayload,
+ branchName,
+ }),
+ );
+ },
+ [basePayload, dispatch],
+ );
+ // checkout branch
+ const checkoutBranchState = useSelector((state: GitRootState) =>
+ selectCheckoutBranch(state, basePayload),
+ );
+ const checkoutBranch = useCallback(
+ (branchName: string) => {
+ dispatch(
+ gitArtifactActions.checkoutBranchInit({
+ ...basePayload,
+ branchName,
+ }),
+ );
+ },
+ [basePayload, dispatch],
+ );
+
+ // git branch list popup
+ const toggleGitBranchListPopup = (open: boolean) => {
+ dispatch(
+ gitArtifactActions.toggleGitBranchListPopup({
+ ...basePayload,
+ open,
+ }),
+ );
+ };
+
+ return {
+ branches: branchesState?.value ?? null,
+ fetchBranchesLoading: branchesState?.loading ?? false,
+ fetchBranchesError: branchesState?.error ?? null,
+ fetchBranches,
+ createBranchLoading: createBranchState?.loading ?? false,
+ createBranchError: createBranchState?.error ?? null,
+ createBranch,
+ deleteBranchLoading: deleteBranchState?.loading ?? false,
+ deleteBranchError: deleteBranchState?.error ?? null,
+ deleteBranch,
+ checkoutBranchLoading: checkoutBranchState?.loading ?? false,
+ checkoutBranchError: checkoutBranchState?.error ?? null,
+ checkoutBranch,
+ toggleGitBranchListPopup,
+ };
+}
diff --git a/app/client/src/git/components/GitContextProvider/hooks/useGitConnect.ts b/app/client/src/git/components/GitContextProvider/hooks/useGitConnect.ts
new file mode 100644
index 000000000000..900f1716c8c5
--- /dev/null
+++ b/app/client/src/git/components/GitContextProvider/hooks/useGitConnect.ts
@@ -0,0 +1,37 @@
+import type { GitArtifactType } from "git/constants/enums";
+import { gitArtifactActions } from "git/store/gitArtifactSlice";
+import { useMemo } from "react";
+import { useDispatch } from "react-redux";
+
+interface UseGitConnectParams {
+ artifactType: keyof typeof GitArtifactType;
+ baseArtifactId: string;
+}
+
+export interface UseGitConnectReturnValue {
+ toggleGitConnectModal: (open: boolean) => void;
+}
+
+export default function useGitConnect({
+ artifactType,
+ baseArtifactId,
+}: UseGitConnectParams): UseGitConnectReturnValue {
+ const dispatch = useDispatch();
+ const basePayload = useMemo(
+ () => ({ artifactType, baseArtifactId }),
+ [artifactType, baseArtifactId],
+ );
+
+ const toggleGitConnectModal = (open: boolean) => {
+ dispatch(
+ gitArtifactActions.toggleGitConnectModal({
+ ...basePayload,
+ open,
+ }),
+ );
+ };
+
+ return {
+ toggleGitConnectModal,
+ };
+}
diff --git a/app/client/src/git/components/GitContextProvider/hooks/useGitContextValue.ts b/app/client/src/git/components/GitContextProvider/hooks/useGitContextValue.ts
new file mode 100644
index 000000000000..36f1b2a988f2
--- /dev/null
+++ b/app/client/src/git/components/GitContextProvider/hooks/useGitContextValue.ts
@@ -0,0 +1,42 @@
+import type { GitArtifactType } from "git/constants/enums";
+import type { UseGitConnectReturnValue } from "./useGitConnect";
+import type { UseGitOpsReturnValue } from "./useGitOps";
+import type { UseGitSettingsReturnValue } from "./useGitSettings";
+import type { UseGitBranchesReturnValue } from "./useGitBranches";
+import useGitConnect from "./useGitConnect";
+import useGitOps from "./useGitOps";
+import useGitBranches from "./useGitBranches";
+import useGitSettings from "./useGitSettings";
+import { useMemo } from "react";
+
+interface UseGitContextValueParams {
+ artifactType: keyof typeof GitArtifactType;
+ baseArtifactId: string;
+}
+
+export interface GitContextValue
+ extends UseGitConnectReturnValue,
+ UseGitOpsReturnValue,
+ UseGitSettingsReturnValue,
+ UseGitBranchesReturnValue {}
+
+export default function useGitContextValue({
+ artifactType,
+ baseArtifactId,
+}: UseGitContextValueParams): GitContextValue {
+ const basePayload = useMemo(
+ () => ({ artifactType, baseArtifactId }),
+ [artifactType, baseArtifactId],
+ );
+ const useGitConnectReturnValue = useGitConnect(basePayload);
+ const useGitOpsReturnValue = useGitOps(basePayload);
+ const useGitBranchesReturnValue = useGitBranches(basePayload);
+ const useGitSettingsReturnValue = useGitSettings(basePayload);
+
+ return {
+ ...useGitOpsReturnValue,
+ ...useGitBranchesReturnValue,
+ ...useGitConnectReturnValue,
+ ...useGitSettingsReturnValue,
+ };
+}
diff --git a/app/client/src/git/components/GitContextProvider/hooks/useGitOps.ts b/app/client/src/git/components/GitContextProvider/hooks/useGitOps.ts
new file mode 100644
index 000000000000..3c9f3990d6e9
--- /dev/null
+++ b/app/client/src/git/components/GitContextProvider/hooks/useGitOps.ts
@@ -0,0 +1,157 @@
+import { GitOpsTab, type GitArtifactType } from "git/constants/enums";
+import type { FetchMergeStatusResponseData } from "git/requests/fetchMergeStatusRequest.types";
+import type { FetchStatusResponseData } from "git/requests/fetchStatusRequest.types";
+import { gitArtifactActions } from "git/store/gitArtifactSlice";
+import {
+ selectCommit,
+ selectDiscard,
+ selectMerge,
+ selectMergeStatus,
+ selectPull,
+ selectStatus,
+} from "git/store/selectors/gitSingleArtifactSelectors";
+import type { GitRootState } from "git/store/types";
+import { useCallback, useMemo } from "react";
+import { useDispatch, useSelector } from "react-redux";
+
+interface UseGitOpsParams {
+ artifactType: keyof typeof GitArtifactType;
+ baseArtifactId: string;
+}
+
+export interface UseGitOpsReturnValue {
+ commitLoading: boolean;
+ commitError: string | null;
+ commit: (commitMessage: string) => void;
+ discardLoading: boolean;
+ discardError: string | null;
+ discard: () => void;
+ status: FetchStatusResponseData | null;
+ fetchStatusLoading: boolean;
+ fetchStatusError: string | null;
+ fetchStatus: () => void;
+ mergeLoading: boolean;
+ mergeError: string | null;
+ merge: () => void;
+ mergeStatus: FetchMergeStatusResponseData | null;
+ fetchMergeStatusLoading: boolean;
+ fetchMergeStatusError: string | null;
+ fetchMergeStatus: () => void;
+ pullLoading: boolean;
+ pullError: string | null;
+ pull: () => void;
+ toggleGitOpsModal: (open: boolean, tab?: keyof typeof GitOpsTab) => void;
+}
+
+export default function useGitOps({
+ artifactType,
+ baseArtifactId,
+}: UseGitOpsParams): UseGitOpsReturnValue {
+ const dispatch = useDispatch();
+ const basePayload = useMemo(
+ () => ({ artifactType, baseArtifactId }),
+ [artifactType, baseArtifactId],
+ );
+
+ // commit
+ const commitState = useSelector((state: GitRootState) =>
+ selectCommit(state, basePayload),
+ );
+
+ const commit = useCallback(
+ (commitMessage: string) => {
+ dispatch(
+ gitArtifactActions.commitInit({
+ ...basePayload,
+ commitMessage,
+ doPush: true,
+ }),
+ );
+ },
+ [basePayload, dispatch],
+ );
+
+ // discard
+ const discardState = useSelector((state: GitRootState) =>
+ selectDiscard(state, basePayload),
+ );
+
+ const discard = useCallback(() => {
+ dispatch(gitArtifactActions.discardInit(basePayload));
+ }, [basePayload, dispatch]);
+
+ // status
+ const statusState = useSelector((state: GitRootState) =>
+ selectStatus(state, basePayload),
+ );
+
+ const fetchStatus = useCallback(() => {
+ dispatch(
+ gitArtifactActions.fetchStatusInit({
+ ...basePayload,
+ compareRemote: true,
+ }),
+ );
+ }, [basePayload, dispatch]);
+
+ // merge
+ const mergeState = useSelector((state: GitRootState) =>
+ selectMerge(state, basePayload),
+ );
+
+ const merge = useCallback(() => {
+ dispatch(gitArtifactActions.mergeInit(basePayload));
+ }, [basePayload, dispatch]);
+
+ // merge status
+ const mergeStatusState = useSelector((state: GitRootState) =>
+ selectMergeStatus(state, basePayload),
+ );
+
+ const fetchMergeStatus = useCallback(() => {
+ dispatch(gitArtifactActions.fetchMergeStatusInit(basePayload));
+ }, [basePayload, dispatch]);
+
+ // pull
+ const pullState = useSelector((state: GitRootState) =>
+ selectPull(state, basePayload),
+ );
+
+ const pull = useCallback(() => {
+ dispatch(gitArtifactActions.pullInit(basePayload));
+ }, [basePayload, dispatch]);
+
+ // git ops modal
+ const toggleGitOpsModal = useCallback(
+ (open: boolean, tab: keyof typeof GitOpsTab = GitOpsTab.Deploy) => {
+ dispatch(
+ gitArtifactActions.toggleGitOpsModal({ ...basePayload, open, tab }),
+ );
+ },
+ [basePayload, dispatch],
+ );
+
+ return {
+ commitLoading: commitState?.loading ?? false,
+ commitError: commitState?.error ?? null,
+ commit,
+ discardLoading: discardState?.loading ?? false,
+ discardError: discardState?.error ?? null,
+ discard,
+ status: statusState?.value ?? null,
+ fetchStatusLoading: statusState?.loading ?? false,
+ fetchStatusError: statusState?.error ?? null,
+ fetchStatus,
+ mergeLoading: mergeState?.loading ?? false,
+ mergeError: mergeState?.error ?? null,
+ merge,
+ mergeStatus: mergeStatusState?.value ?? null,
+ fetchMergeStatusLoading: mergeStatusState?.loading ?? false,
+ fetchMergeStatusError: mergeStatusState?.error ?? null,
+ fetchMergeStatus,
+ pullLoading: pullState?.loading ?? false,
+ pullError: pullState?.error ?? null,
+ pull,
+ toggleGitOpsModal,
+ };
+}
diff --git a/app/client/src/git/components/GitContextProvider/hooks/useGitSettings.ts b/app/client/src/git/components/GitContextProvider/hooks/useGitSettings.ts
new file mode 100644
index 000000000000..096e934d7d5e
--- /dev/null
+++ b/app/client/src/git/components/GitContextProvider/hooks/useGitSettings.ts
@@ -0,0 +1,44 @@
+import type { GitArtifactType, GitSettingsTab } from "git/constants/enums";
+import { gitArtifactActions } from "git/store/gitArtifactSlice";
+import { useMemo } from "react";
+import { useDispatch } from "react-redux";
+
+interface UseGitSettingsParams {
+ artifactType: keyof typeof GitArtifactType;
+ baseArtifactId: string;
+}
+
+export interface UseGitSettingsReturnValue {
+ toggleGitSettingsModal: (
+ open: boolean,
+ tab: keyof typeof GitSettingsTab,
+ ) => void;
+}
+
+export default function useGitSettings({
+ artifactType,
+ baseArtifactId,
+}: UseGitSettingsParams): UseGitSettingsReturnValue {
+ const dispatch = useDispatch();
+ const basePayload = useMemo(
+ () => ({ artifactType, baseArtifactId }),
+ [artifactType, baseArtifactId],
+ );
+
+ const toggleGitSettingsModal = (
+ open: boolean,
+ tab: keyof typeof GitSettingsTab,
+ ) => {
+ dispatch(
+ gitArtifactActions.toggleGitSettingsModal({
+ ...basePayload,
+ open,
+ tab,
+ }),
+ );
+ };
+
+ return {
+ toggleGitSettingsModal,
+ };
+}
diff --git a/app/client/src/git/components/GitContextProvider/index.tsx b/app/client/src/git/components/GitContextProvider/index.tsx
new file mode 100644
index 000000000000..2d057c30670b
--- /dev/null
+++ b/app/client/src/git/components/GitContextProvider/index.tsx
@@ -0,0 +1,39 @@
+import React, { createContext, useContext, useEffect } from "react";
+import type { GitArtifactType } from "git/constants/enums";
+import type { GitContextValue } from "./hooks/useGitContextValue";
+import useGitContextValue from "./hooks/useGitContextValue";
+
+const gitContextInitialValue = {} as GitContextValue;
+
+export const GitContext = createContext(gitContextInitialValue);
+
+export const useGitContext = () => {
+ return useContext(GitContext);
+};
+
+interface GitContextProviderProps {
+ artifactType: keyof typeof GitArtifactType;
+ baseArtifactId: string;
+ children: React.ReactNode;
+}
+
+export default function GitContextProvider({
+ artifactType,
+ baseArtifactId,
+ children,
+}: GitContextProviderProps) {
+ const contextValue = useGitContextValue({ artifactType, baseArtifactId });
+
+ const { fetchBranches } = contextValue;
+
+ useEffect(
+ function gitInitEffect() {
+ fetchBranches();
+ },
+ [fetchBranches],
+ );
+
+ return (
+ <GitContext.Provider value={contextValue}>{children}</GitContext.Provider>
+ );
+}
diff --git a/app/client/src/git/components/QuickActions/AutocommitStatusbar.test.tsx b/app/client/src/git/components/GitQuickActions/AutocommitStatusbar.test.tsx
similarity index 100%
rename from app/client/src/git/components/QuickActions/AutocommitStatusbar.test.tsx
rename to app/client/src/git/components/GitQuickActions/AutocommitStatusbar.test.tsx
diff --git a/app/client/src/git/components/QuickActions/AutocommitStatusbar.tsx b/app/client/src/git/components/GitQuickActions/AutocommitStatusbar.tsx
similarity index 100%
rename from app/client/src/git/components/QuickActions/AutocommitStatusbar.tsx
rename to app/client/src/git/components/GitQuickActions/AutocommitStatusbar.tsx
diff --git a/app/client/src/git/components/GitQuickActions/BranchButton/BranchList.tsx b/app/client/src/git/components/GitQuickActions/BranchButton/BranchList.tsx
new file mode 100644
index 000000000000..4a582fc0ed47
--- /dev/null
+++ b/app/client/src/git/components/GitQuickActions/BranchButton/BranchList.tsx
@@ -0,0 +1,5 @@
+import React from "react";
+
+export default function BranchList() {
+ return <div>Test</div>;
+}
diff --git a/app/client/src/git/components/GitQuickActions/BranchButton/index.tsx b/app/client/src/git/components/GitQuickActions/BranchButton/index.tsx
new file mode 100644
index 000000000000..d73cba35e40e
--- /dev/null
+++ b/app/client/src/git/components/GitQuickActions/BranchButton/index.tsx
@@ -0,0 +1,116 @@
+import { Button, Icon, Tooltip } from "@appsmith/ads";
+import React, { useCallback, useEffect, useState } from "react";
+import styled from "styled-components";
+import noop from "lodash/noop";
+import BranchList from "./BranchList";
+import { Popover2 } from "@blueprintjs/popover2";
+
+// internal dependencies
+import { isEllipsisActive } from "utils/helpers";
+import AnalyticsUtil from "ee/utils/AnalyticsUtil";
+
+interface BranchButtonProps {
+ currentBranch?: string;
+ isOpen?: boolean;
+ setIsOpen?: (isOpen: boolean) => void;
+ isDisabled?: boolean;
+ isProtectedMode?: boolean;
+ isStatusClean?: boolean;
+}
+
+const ButtonContainer = styled(Button)`
+ display: flex;
+ align-items: center;
+ margin: 0 ${(props) => props.theme.spaces[4]}px;
+ max-width: 122px;
+ min-width: unset !important;
+
+ :active {
+ border: 1px solid var(--ads-v2-color-border-muted);
+ }
+`;
+
+const BranchButtonIcon = styled(Icon)`
+ margin-right: 4px;
+`;
+
+const BranchButtonLabel = styled.span`
+ max-width: 82px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+`;
+
+const popoverModifiers: { offset: Record<string, unknown> } = {
+ offset: { enabled: true, options: { offset: [7, 10] } },
+};
+
+export default function BranchButton({
+ currentBranch = "",
+ isDisabled = false,
+ isOpen = false,
+ isProtectedMode = false,
+ isStatusClean = false,
+ setIsOpen = noop,
+}: BranchButtonProps) {
+ const [isEllipsis, setIsEllipsis] = useState<boolean>(false);
+ const labelTarget = React.useRef<HTMLSpanElement>(null);
+
+ const onPopoverInteraction = useCallback(
+ (nextState: boolean) => {
+ setIsOpen(nextState);
+
+ if (nextState) {
+ AnalyticsUtil.logEvent("GS_OPEN_BRANCH_LIST_POPUP", {
+ source: "BOTTOM_BAR_ACTIVE_BRANCH_NAME",
+ });
+ }
+ },
+ [setIsOpen],
+ );
+
+ useEffect(function ellipsisCheck() {
+ setIsEllipsis(isEllipsisActive(labelTarget.current) ?? false);
+ }, []);
+
+ const renderContent = useCallback(() => {
+ return <BranchList />;
+ }, []);
+
+ return (
+ <Popover2
+ content={renderContent()}
+ data-testid={"t--git-branch-button-popover"}
+ disabled={isDisabled}
+ hasBackdrop
+ isOpen={isOpen}
+ minimal
+ modifiers={popoverModifiers}
+ onInteraction={onPopoverInteraction}
+ placement="top-start"
+ >
+ <Tooltip
+ content={currentBranch}
+ isDisabled={!isEllipsis}
+ placement="topLeft"
+ >
+ <ButtonContainer
+ className="t--branch-button"
+ data-testid={"t--branch-button-currentBranch"}
+ isDisabled={isDisabled}
+ kind="secondary"
+ >
+ {isProtectedMode ? (
+ <BranchButtonIcon name="protected-icon" />
+ ) : (
+ <BranchButtonIcon name={"git-branch"} />
+ )}
+ <BranchButtonLabel ref={labelTarget}>
+ {currentBranch}
+ </BranchButtonLabel>
+ {!isStatusClean && !isProtectedMode && "*"}
+ </ButtonContainer>
+ </Tooltip>
+ </Popover2>
+ );
+}
diff --git a/app/client/src/git/components/QuickActions/ConnectButton.test.tsx b/app/client/src/git/components/GitQuickActions/ConnectButton.test.tsx
similarity index 77%
rename from app/client/src/git/components/QuickActions/ConnectButton.test.tsx
rename to app/client/src/git/components/GitQuickActions/ConnectButton.test.tsx
index 3b017c0c018f..ee01a5af95da 100644
--- a/app/client/src/git/components/QuickActions/ConnectButton.test.tsx
+++ b/app/client/src/git/components/GitQuickActions/ConnectButton.test.tsx
@@ -2,7 +2,6 @@ import React from "react";
import { render, screen, fireEvent } from "@testing-library/react";
import ConnectButton from "./ConnectButton";
import AnalyticsUtil from "ee/utils/AnalyticsUtil";
-import { GitSyncModalTab } from "entities/GitSync";
import "@testing-library/jest-dom";
import { theme } from "constants/DefaultTheme";
import { ThemeProvider } from "styled-components";
@@ -27,7 +26,7 @@ jest.mock("@appsmith/ads", () => ({
}));
describe("ConnectButton Component", () => {
- const openGitSyncModalMock = jest.fn();
+ const onClickMock = jest.fn();
afterEach(() => {
jest.clearAllMocks();
@@ -36,10 +35,7 @@ describe("ConnectButton Component", () => {
it("should render correctly when isConnectPermitted is true", () => {
render(
<ThemeProvider theme={theme}>
- <ConnectButton
- isConnectPermitted
- openGitSyncModal={openGitSyncModalMock}
- />
+ <ConnectButton isConnectPermitted onClick={onClickMock} />
</ThemeProvider>,
);
@@ -64,10 +60,7 @@ describe("ConnectButton Component", () => {
it("should handle click when isConnectPermitted is true", () => {
render(
<ThemeProvider theme={theme}>
- <ConnectButton
- isConnectPermitted
- openGitSyncModal={openGitSyncModalMock}
- />
+ <ConnectButton isConnectPermitted onClick={onClickMock} />
</ThemeProvider>,
);
@@ -75,25 +68,25 @@ describe("ConnectButton Component", () => {
fireEvent.click(button);
- expect(AnalyticsUtil.logEvent).toHaveBeenCalledWith(
- "GS_CONNECT_GIT_CLICK",
- {
- source: "BOTTOM_BAR_GIT_CONNECT_BUTTON",
- },
- );
+ expect(onClickMock).toHaveBeenCalled();
+
+ // ! might have to move this to Quick Actions instead
+ // expect(AnalyticsUtil.logEvent).toHaveBeenCalledWith(
+ // "GS_CONNECT_GIT_CLICK",
+ // {
+ // source: "BOTTOM_BAR_GIT_CONNECT_BUTTON",
+ // },
+ // );
- expect(openGitSyncModalMock).toHaveBeenCalledWith({
- tab: GitSyncModalTab.GIT_CONNECTION,
- });
+ // expect(onClickMock).toHaveBeenCalledWith({
+ // tab: GitSyncModalTab.GIT_CONNECTION,
+ // });
});
it("should render correctly when isConnectPermitted is false", () => {
render(
<ThemeProvider theme={theme}>
- <ConnectButton
- isConnectPermitted={false}
- openGitSyncModal={openGitSyncModalMock}
- />
+ <ConnectButton isConnectPermitted={false} onClick={onClickMock} />
</ThemeProvider>,
);
@@ -121,10 +114,7 @@ describe("ConnectButton Component", () => {
it("should not handle click when isConnectPermitted is false", () => {
render(
<ThemeProvider theme={theme}>
- <ConnectButton
- isConnectPermitted={false}
- openGitSyncModal={openGitSyncModalMock}
- />
+ <ConnectButton isConnectPermitted={false} onClick={onClickMock} />
</ThemeProvider>,
);
@@ -133,16 +123,13 @@ describe("ConnectButton Component", () => {
fireEvent.click(button);
expect(AnalyticsUtil.logEvent).not.toHaveBeenCalled();
- expect(openGitSyncModalMock).not.toHaveBeenCalled();
+ expect(onClickMock).not.toHaveBeenCalled();
});
it("should display correct tooltip content when isConnectPermitted is true", () => {
render(
<ThemeProvider theme={theme}>
- <ConnectButton
- isConnectPermitted
- openGitSyncModal={openGitSyncModalMock}
- />
+ <ConnectButton isConnectPermitted onClick={onClickMock} />
</ThemeProvider>,
);
diff --git a/app/client/src/git/components/QuickActions/ConnectButton.tsx b/app/client/src/git/components/GitQuickActions/ConnectButton.tsx
similarity index 72%
rename from app/client/src/git/components/QuickActions/ConnectButton.tsx
rename to app/client/src/git/components/GitQuickActions/ConnectButton.tsx
index 426b2a05ec85..4ea835d79a2e 100644
--- a/app/client/src/git/components/QuickActions/ConnectButton.tsx
+++ b/app/client/src/git/components/GitQuickActions/ConnectButton.tsx
@@ -1,5 +1,4 @@
-import React, { useCallback, useMemo } from "react";
-import { GitSyncModalTab } from "entities/GitSync";
+import React, { useMemo } from "react";
import styled from "styled-components";
import {
COMING_SOON,
@@ -8,13 +7,8 @@ import {
createMessage,
NOT_LIVE_FOR_YOU_YET,
} from "ee/constants/messages";
-import AnalyticsUtil from "ee/utils/AnalyticsUtil";
-import { Button, Icon, Tooltip } from "@appsmith/ads";
-interface ConnectButtonProps {
- isConnectPermitted: boolean;
- openGitSyncModal: (options: { tab: GitSyncModalTab }) => void;
-}
+import { Button, Icon, Tooltip } from "@appsmith/ads";
const CenterDiv = styled.div`
text-align: center;
@@ -38,10 +32,12 @@ const OuterContainer = styled.div`
height: 100%;
`;
-function ConnectButton({
- isConnectPermitted,
- openGitSyncModal,
-}: ConnectButtonProps) {
+interface ConnectButtonProps {
+ isConnectPermitted: boolean;
+ onClick: () => void;
+}
+
+function ConnectButton({ isConnectPermitted, onClick }: ConnectButtonProps) {
const isTooltipEnabled = !isConnectPermitted;
const tooltipContent = useMemo(() => {
if (!isConnectPermitted) {
@@ -56,16 +52,6 @@ function ConnectButton({
);
}, [isConnectPermitted]);
- const handleClickOnGitConnect = useCallback(() => {
- AnalyticsUtil.logEvent("GS_CONNECT_GIT_CLICK", {
- source: "BOTTOM_BAR_GIT_CONNECT_BUTTON",
- });
-
- openGitSyncModal({
- tab: GitSyncModalTab.GIT_CONNECTION,
- });
- }, [openGitSyncModal]);
-
return (
<OuterContainer>
<Tooltip content={tooltipContent} isDisabled={!isTooltipEnabled}>
@@ -79,7 +65,7 @@ function ConnectButton({
className="t--connect-git-bottom-bar"
isDisabled={!isConnectPermitted}
kind="secondary"
- onClick={handleClickOnGitConnect}
+ onClick={onClick}
size="sm"
>
{createMessage(CONNECT_GIT_BETA)}
diff --git a/app/client/src/git/components/QuickActions/QuickActionButton.test.tsx b/app/client/src/git/components/GitQuickActions/QuickActionButton.test.tsx
similarity index 100%
rename from app/client/src/git/components/QuickActions/QuickActionButton.test.tsx
rename to app/client/src/git/components/GitQuickActions/QuickActionButton.test.tsx
diff --git a/app/client/src/git/components/QuickActions/QuickActionButton.tsx b/app/client/src/git/components/GitQuickActions/QuickActionButton.tsx
similarity index 97%
rename from app/client/src/git/components/QuickActions/QuickActionButton.tsx
rename to app/client/src/git/components/GitQuickActions/QuickActionButton.tsx
index 42d7721ab297..c22306b748fa 100644
--- a/app/client/src/git/components/QuickActions/QuickActionButton.tsx
+++ b/app/client/src/git/components/GitQuickActions/QuickActionButton.tsx
@@ -1,9 +1,9 @@
import React from "react";
import styled from "styled-components";
-import { capitalizeFirstLetter } from "./helpers";
import SpinnerLoader from "pages/common/SpinnerLoader";
import { Button, Tooltip, Text } from "@appsmith/ads";
import { getTypographyByKey } from "@appsmith/ads-old";
+import { capitalizeFirstLetter } from "utils/helpers";
interface QuickActionButtonProps {
className?: string;
diff --git a/app/client/src/git/components/GitQuickActions/helpers/getPullButtonStatus.test.ts b/app/client/src/git/components/GitQuickActions/helpers/getPullButtonStatus.test.ts
new file mode 100644
index 000000000000..8f8d27562143
--- /dev/null
+++ b/app/client/src/git/components/GitQuickActions/helpers/getPullButtonStatus.test.ts
@@ -0,0 +1,140 @@
+import getPullBtnStatus from "./getPullButtonStatus";
+import type { GetPullButtonStatusParams } from "./getPullButtonStatus";
+
+describe("getPullBtnStatus", () => {
+ afterEach(() => {
+ jest.clearAllMocks();
+ });
+
+ it('should return disabled with message "No commits to pull" when behindCount is 0', () => {
+ const params: GetPullButtonStatusParams = {
+ isProtectedMode: false,
+ isPullFailing: false,
+ isStatusClean: true,
+ statusBehindCount: 0,
+ };
+
+ const result = getPullBtnStatus(params);
+
+ expect(result).toEqual({
+ isDisabled: true,
+ message:
+ "No commits to pull. This branch is in sync with the remote repository",
+ });
+ });
+
+ it('should return disabled with message "Cannot pull with local uncommitted changes" when isClean is false and isProtectedMode is false', () => {
+ const params: GetPullButtonStatusParams = {
+ isProtectedMode: false,
+ isPullFailing: false,
+ isStatusClean: false,
+ statusBehindCount: 5,
+ };
+
+ const result = getPullBtnStatus(params);
+
+ expect(result).toEqual({
+ isDisabled: true,
+ message:
+ "You have uncommitted changes. Please commit or discard before pulling the remote changes.",
+ });
+ });
+
+ it('should return enabled with message "Pull changes" when isClean is false, isProtectedMode is true, and behindCount > 0', () => {
+ const params: GetPullButtonStatusParams = {
+ isProtectedMode: true,
+ isPullFailing: false,
+ isStatusClean: false,
+ statusBehindCount: 3,
+ };
+
+ const result = getPullBtnStatus(params);
+
+ expect(result).toEqual({
+ isDisabled: false,
+ message: "Pull changes",
+ });
+ });
+
+ it('should return message "Conflicts found" when pullFailed is true', () => {
+ const params: GetPullButtonStatusParams = {
+ isProtectedMode: false,
+ isPullFailing: true,
+ isStatusClean: true,
+ statusBehindCount: 2,
+ };
+
+ const result = getPullBtnStatus(params);
+
+ expect(result).toEqual({
+ isDisabled: false,
+ message: "Conflicts found. Please resolve them and pull again.",
+ });
+ });
+
+ it('should return enabled with message "Pull changes" when behindCount > 0 and no other conditions met', () => {
+ const params: GetPullButtonStatusParams = {
+ isProtectedMode: false,
+ isPullFailing: false,
+ isStatusClean: true,
+ statusBehindCount: 1,
+ };
+
+ const result = getPullBtnStatus(params);
+
+ expect(result).toEqual({
+ isDisabled: false,
+ message: "Pull changes",
+ });
+ });
+
+ it('should return disabled with message "No commits to pull" when behindCount is 0 regardless of isClean and isProtectedMode', () => {
+ const params: GetPullButtonStatusParams = {
+ isProtectedMode: true,
+ isPullFailing: false,
+ isStatusClean: false,
+ statusBehindCount: 0,
+ };
+
+ const result = getPullBtnStatus(params);
+
+ expect(result).toEqual({
+ isDisabled: true,
+ message:
+ "No commits to pull. This branch is in sync with the remote repository",
+ });
+ });
+
+ it("should prioritize pullFailed over other conditions", () => {
+ const params: GetPullButtonStatusParams = {
+ isProtectedMode: false,
+ isPullFailing: true,
+ isStatusClean: true,
+ statusBehindCount: 0,
+ };
+
+ const result = getPullBtnStatus(params);
+
+ expect(result).toEqual({
+ isDisabled: true,
+ message: "Conflicts found. Please resolve them and pull again.",
+ });
+ });
+
+ it("should handle edge case when isClean is false, isProtectedMode is true, behindCount is 0", () => {
+ const params: GetPullButtonStatusParams = {
+ isProtectedMode: true,
+ isPullFailing: false,
+ isStatusClean: false,
+ statusBehindCount: 0,
+ };
+
+ const result = getPullBtnStatus(params);
+
+ expect(result).toEqual({
+ isDisabled: true,
+ message:
+ "No commits to pull. This branch is in sync with the remote repository",
+ });
+ });
+});
diff --git a/app/client/src/git/components/GitQuickActions/helpers/getPullButtonStatus.ts b/app/client/src/git/components/GitQuickActions/helpers/getPullButtonStatus.ts
new file mode 100644
index 000000000000..ad300d8f6685
--- /dev/null
+++ b/app/client/src/git/components/GitQuickActions/helpers/getPullButtonStatus.ts
@@ -0,0 +1,43 @@
+import {
+ CANNOT_PULL_WITH_LOCAL_UNCOMMITTED_CHANGES,
+ CONFLICTS_FOUND,
+ createMessage,
+ NO_COMMITS_TO_PULL,
+ PULL_CHANGES,
+} from "ee/constants/messages";
+
+export interface GetPullButtonStatusParams {
+ isProtectedMode: boolean;
+ isStatusClean: boolean;
+ isPullFailing: boolean;
+ statusBehindCount: number;
+}
+
+const getPullBtnStatus = ({
+ isProtectedMode = false,
+ isPullFailing = false,
+ isStatusClean = false,
+ statusBehindCount = 0,
+}: GetPullButtonStatusParams) => {
+ let message = createMessage(NO_COMMITS_TO_PULL);
+ let isDisabled = statusBehindCount === 0;
+
+ if (!isStatusClean && !isProtectedMode) {
+ isDisabled = true;
+ message = createMessage(CANNOT_PULL_WITH_LOCAL_UNCOMMITTED_CHANGES);
+ } else if (!isStatusClean && isProtectedMode && statusBehindCount > 0) {
+ isDisabled = false;
+ message = createMessage(PULL_CHANGES);
+ } else if (isPullFailing) {
+ message = createMessage(CONFLICTS_FOUND);
+ } else if (statusBehindCount > 0) {
+ message = createMessage(PULL_CHANGES);
+ }
+
+ return {
+ isDisabled,
+ message,
+ };
+};
+
+export default getPullBtnStatus;
diff --git a/app/client/src/git/components/QuickActions/index.test.tsx b/app/client/src/git/components/GitQuickActions/index.test.tsx
similarity index 84%
rename from app/client/src/git/components/QuickActions/index.test.tsx
rename to app/client/src/git/components/GitQuickActions/index.test.tsx
index 189b3ea67be9..72138f9b9b38 100644
--- a/app/client/src/git/components/QuickActions/index.test.tsx
+++ b/app/client/src/git/components/GitQuickActions/index.test.tsx
@@ -2,11 +2,10 @@ import React from "react";
import { render, screen, fireEvent } from "@testing-library/react";
import AnalyticsUtil from "ee/utils/AnalyticsUtil";
import QuickActions from ".";
-import { GitSettingsTab } from "../../constants/enums";
-import { GitSyncModalTab } from "entities/GitSync";
import { theme } from "constants/DefaultTheme";
import { ThemeProvider } from "styled-components";
import "@testing-library/jest-dom/extend-expect";
+import { GitOpsTab, GitSettingsTab } from "git/constants/enums";
jest.mock("ee/utils/AnalyticsUtil", () => ({
logEvent: jest.fn(),
@@ -22,25 +21,23 @@ jest.mock("./AutocommitStatusbar", () => () => (
describe("QuickActions Component", () => {
const defaultProps = {
- isGitConnected: false,
- gitStatus: {
- behindCount: 0,
- isClean: true,
- },
- pullFailed: false,
- isProtectedMode: false,
- isDiscardInProgress: false,
- isPollingAutocommit: false,
- isPullInProgress: false,
- isFetchingGitStatus: false,
- changesToCommit: 0,
- gitMetadata: {},
+ discard: jest.fn(),
isAutocommitEnabled: false,
+ isAutocommitPolling: false,
isConnectPermitted: true,
- openGitSyncModal: jest.fn(),
- openGitSettingsModal: jest.fn(),
- discardChanges: jest.fn(),
+ isDiscardLoading: false,
+ isFetchStatusLoading: false,
+ isGitConnected: false,
+ isProtectedMode: false,
+ isPullFailing: false,
+ isPullLoading: false,
+ isStatusClean: true,
pull: jest.fn(),
+ statusBehindCount: 0,
+ statusChangeCount: 0,
+ toggleGitConnectModal: jest.fn(),
+ toggleGitOpsModal: jest.fn(),
+ toggleGitSettingsModal: jest.fn(),
};
afterEach(() => {
@@ -86,12 +83,8 @@ describe("QuickActions Component", () => {
const props = {
...defaultProps,
isGitConnected: true,
- gitMetadata: {
- autoCommitConfig: {
- enabled: true,
- },
- },
- isPollingAutocommit: true,
+ isAutocommitEnabled: true,
+ isAutocommitPolling: true,
};
const { container } = render(
@@ -122,9 +115,10 @@ describe("QuickActions Component", () => {
)[0];
fireEvent.click(commitButton);
- expect(props.openGitSyncModal).toHaveBeenCalledWith({
- tab: GitSyncModalTab.DEPLOY,
- });
+ expect(props.toggleGitOpsModal).toHaveBeenCalledWith(
+ true,
+ GitOpsTab.Deploy,
+ );
expect(AnalyticsUtil.logEvent).toHaveBeenCalledWith(
"GS_DEPLOY_GIT_MODAL_TRIGGERED",
{
@@ -137,14 +131,12 @@ describe("QuickActions Component", () => {
const props = {
...defaultProps,
isGitConnected: true,
- isDiscardInProgress: false,
- isPullInProgress: false,
- isFetchingGitStatus: false,
- pullDisabled: false,
- gitStatus: {
- behindCount: 1,
- isClean: false,
- },
+ isDiscardLoading: false,
+ isPullLoading: false,
+ isFetchStatusLoading: false,
+ isPullDisabled: false,
+ statusBehindCount: 1,
+ statusIsClean: false,
isProtectedMode: true,
};
@@ -184,10 +176,7 @@ describe("QuickActions Component", () => {
source: "BOTTOM_BAR_GIT_MERGE_BUTTON",
},
);
- expect(props.openGitSyncModal).toHaveBeenCalledWith({
- tab: GitSyncModalTab.MERGE,
- isDeploying: true,
- });
+ expect(props.toggleGitOpsModal).toHaveBeenCalledWith(true, GitOpsTab.Merge);
});
it("should call onSettingsClick when settings button is clicked", () => {
@@ -209,9 +198,10 @@ describe("QuickActions Component", () => {
expect(AnalyticsUtil.logEvent).toHaveBeenCalledWith("GS_SETTING_CLICK", {
source: "BOTTOM_BAR_GIT_SETTING_BUTTON",
});
- expect(props.openGitSettingsModal).toHaveBeenCalledWith({
- tab: GitSettingsTab.General,
- });
+ expect(props.toggleGitSettingsModal).toHaveBeenCalledWith(
+ true,
+ GitSettingsTab.General,
+ );
});
it("should disable commit button when isProtectedMode is true", () => {
@@ -237,7 +227,7 @@ describe("QuickActions Component", () => {
const props = {
...defaultProps,
isGitConnected: true,
- isPullInProgress: true,
+ isPullLoading: true,
};
const { container } = render(
@@ -259,7 +249,7 @@ describe("QuickActions Component", () => {
const props = {
...defaultProps,
isGitConnected: true,
- changesToCommit: 5,
+ statusChangeCount: 5,
};
render(
@@ -277,7 +267,7 @@ describe("QuickActions Component", () => {
...defaultProps,
isGitConnected: true,
isProtectedMode: true,
- changesToCommit: 5,
+ statusChangeCount: 5,
};
render(
@@ -289,10 +279,12 @@ describe("QuickActions Component", () => {
});
it("should disable pull button when pullDisabled is true", () => {
- const mockGetPullBtnStatus = jest.requireMock("./helpers").getPullBtnStatus;
+ const mockGetPullBtnStatus = jest.requireMock(
+ "./helpers/getPullButtonStatus",
+ ).default;
mockGetPullBtnStatus.mockReturnValue({
- disabled: true,
+ isDisabled: true,
message: "Pull Disabled",
});
@@ -316,10 +308,8 @@ describe("QuickActions Component", () => {
const props = {
...defaultProps,
isGitConnected: true,
- gitStatus: {
- behindCount: 3,
- isClean: true,
- },
+ statusBehindCount: 3,
+ statusIsClean: true,
};
render(
diff --git a/app/client/src/git/components/GitQuickActions/index.tsx b/app/client/src/git/components/GitQuickActions/index.tsx
new file mode 100644
index 000000000000..e43bf2f0d3d1
--- /dev/null
+++ b/app/client/src/git/components/GitQuickActions/index.tsx
@@ -0,0 +1,179 @@
+import React, { useCallback } from "react";
+import styled from "styled-components";
+
+import {
+ COMMIT_CHANGES,
+ createMessage,
+ GIT_SETTINGS,
+ MERGE,
+} from "ee/constants/messages";
+
+import AnalyticsUtil from "ee/utils/AnalyticsUtil";
+import { GitOpsTab } from "../../constants/enums";
+import { GitSettingsTab } from "../../constants/enums";
+import ConnectButton from "./ConnectButton";
+import QuickActionButton from "./QuickActionButton";
+import AutocommitStatusbar from "./AutocommitStatusbar";
+import getPullBtnStatus from "./helpers/getPullButtonStatus";
+import noop from "lodash/noop";
+
+const Container = styled.div`
+ height: 100%;
+ display: flex;
+ align-items: center;
+`;
+
+interface GitQuickActionsProps {
+ discard: () => void;
+ isAutocommitEnabled: boolean;
+ isAutocommitPolling: boolean;
+ isConnectPermitted: boolean;
+ isDiscardLoading: boolean;
+ isFetchStatusLoading: boolean;
+ isGitConnected: boolean;
+ isProtectedMode: boolean;
+ isPullFailing: boolean;
+ isPullLoading: boolean;
+ isStatusClean: boolean;
+ pull: () => void;
+ statusBehindCount: number;
+ statusChangeCount: number;
+ toggleGitConnectModal: (open: boolean) => void;
+ toggleGitOpsModal: (open: boolean, tab: keyof typeof GitOpsTab) => void;
+ toggleGitSettingsModal: (
+ open: boolean,
+ tab: keyof typeof GitSettingsTab,
+ ) => void;
+}
+
+function GitQuickActions({
+ discard = noop,
+ isAutocommitEnabled = false,
+ isAutocommitPolling = false,
+ isConnectPermitted = false,
+ isDiscardLoading = false,
+ isFetchStatusLoading = false,
+ isGitConnected = false,
+ isProtectedMode = false,
+ isPullFailing = false,
+ isPullLoading = false,
+ isStatusClean = false,
+ pull = noop,
+ statusBehindCount = 0,
+ statusChangeCount = 0,
+ toggleGitConnectModal = noop,
+ toggleGitOpsModal = noop,
+ toggleGitSettingsModal = noop,
+}: GitQuickActionsProps) {
+ const { isDisabled: isPullDisabled, message: pullTooltipMessage } =
+ getPullBtnStatus({
+ isStatusClean,
+ isProtectedMode,
+ isPullFailing,
+ statusBehindCount,
+ });
+
+ const isPullButtonLoading =
+ isDiscardLoading || isPullLoading || isFetchStatusLoading;
+
+ const onCommitBtnClick = useCallback(() => {
+ if (!isFetchStatusLoading && !isProtectedMode) {
+ toggleGitOpsModal(true, GitOpsTab.Deploy);
+
+ AnalyticsUtil.logEvent("GS_DEPLOY_GIT_MODAL_TRIGGERED", {
+ source: "BOTTOM_BAR_GIT_COMMIT_BUTTON",
+ });
+ }
+ }, [isFetchStatusLoading, isProtectedMode, toggleGitOpsModal]);
+
+ const onPullBtnClick = useCallback(() => {
+ if (!isPullButtonLoading && !isPullDisabled) {
+ AnalyticsUtil.logEvent("GS_PULL_GIT_CLICK", {
+ source: "BOTTOM_BAR_GIT_PULL_BUTTON",
+ });
+
+ if (isProtectedMode) {
+ discard();
+ } else {
+ // pull({ triggeredFromBottomBar: true });
+ pull();
+ }
+ }
+ }, [discard, isProtectedMode, pull, isPullDisabled, isPullButtonLoading]);
+
+ const onMergeBtnClick = useCallback(() => {
+ AnalyticsUtil.logEvent("GS_MERGE_GIT_MODAL_TRIGGERED", {
+ source: "BOTTOM_BAR_GIT_MERGE_BUTTON",
+ });
+ toggleGitOpsModal(true, GitOpsTab.Merge);
+ }, [toggleGitOpsModal]);
+
+ const onSettingsClick = useCallback(() => {
+ toggleGitSettingsModal(true, GitSettingsTab.General);
+ AnalyticsUtil.logEvent("GS_SETTING_CLICK", {
+ source: "BOTTOM_BAR_GIT_SETTING_BUTTON",
+ });
+ }, [toggleGitSettingsModal]);
+
+ const onConnectBtnClick = useCallback(() => {
+ AnalyticsUtil.logEvent("GS_CONNECT_GIT_CLICK", {
+ source: "BOTTOM_BAR_GIT_CONNECT_BUTTON",
+ });
+
+ toggleGitConnectModal(true);
+ }, [toggleGitConnectModal]);
+
+ return isGitConnected ? (
+ <Container>
+ {/* <BranchButton /> */}
+ {isAutocommitEnabled && isAutocommitPolling ? (
+ <AutocommitStatusbar completed={!isAutocommitPolling} />
+ ) : (
+ <>
+ <QuickActionButton
+ className="t--bottom-bar-commit"
+ count={isProtectedMode ? undefined : statusChangeCount}
+ disabled={!isFetchStatusLoading && isProtectedMode}
+ icon="plus"
+ key="commit-action-btn"
+ loading={isFetchStatusLoading}
+ onClick={onCommitBtnClick}
+ tooltipText={createMessage(COMMIT_CHANGES)}
+ />
+ <QuickActionButton
+ className="t--bottom-bar-pull"
+ count={statusBehindCount}
+ disabled={!isPullButtonLoading && isPullDisabled}
+ icon="down-arrow-2"
+ key="pull-action-btn"
+ loading={isPullButtonLoading}
+ onClick={onPullBtnClick}
+ tooltipText={pullTooltipMessage}
+ />
+ <QuickActionButton
+ className="t--bottom-bar-merge"
+ disabled={isProtectedMode}
+ icon="fork"
+ key="merge-action-btn"
+ onClick={onMergeBtnClick}
+ tooltipText={createMessage(MERGE)}
+ />
+ <QuickActionButton
+ className="t--bottom-git-settings"
+ icon="settings-v3"
+ key="settings-action-btn"
+ onClick={onSettingsClick}
+ tooltipText={createMessage(GIT_SETTINGS)}
+ />
+ </>
+ )}
+ </Container>
+ ) : (
+ <ConnectButton
+ isConnectPermitted={isConnectPermitted}
+ onClick={onConnectBtnClick}
+ />
+ );
+}
+
+export default GitQuickActions;
diff --git a/app/client/src/git/components/QuickActions/helper.test.ts b/app/client/src/git/components/QuickActions/helper.test.ts
deleted file mode 100644
index a7b3a6d30204..000000000000
--- a/app/client/src/git/components/QuickActions/helper.test.ts
+++ /dev/null
@@ -1,191 +0,0 @@
-import { getPullBtnStatus, capitalizeFirstLetter } from "./helpers";
-
-describe("getPullBtnStatus", () => {
- afterEach(() => {
- jest.clearAllMocks();
- });
-
- it('should return disabled with message "No commits to pull" when behindCount is 0', () => {
- const gitStatus: Record<string, unknown> = {
- behindCount: 0,
- isClean: true,
- };
- const pullFailed = false;
- const isProtected = false;
-
- const result = getPullBtnStatus(gitStatus, pullFailed, isProtected);
-
- expect(result).toEqual({
- disabled: true,
- message:
- "No commits to pull. This branch is in sync with the remote repository",
- });
- });
-
- it('should return disabled with message "Cannot pull with local uncommitted changes" when isClean is false and isProtected is false', () => {
- const gitStatus: Record<string, unknown> = {
- behindCount: 5,
- isClean: false,
- };
- const pullFailed = false;
- const isProtected = false;
-
- const result = getPullBtnStatus(gitStatus, pullFailed, isProtected);
-
- expect(result).toEqual({
- disabled: true,
- message:
- "You have uncommitted changes. Please commit or discard before pulling the remote changes.",
- });
- });
-
- it('should return enabled with message "Pull changes" when isClean is false, isProtected is true, and behindCount > 0', () => {
- const gitStatus: Record<string, unknown> = {
- behindCount: 3,
- isClean: false,
- };
- const pullFailed = false;
- const isProtected = true;
-
- const result = getPullBtnStatus(gitStatus, pullFailed, isProtected);
-
- expect(result).toEqual({
- disabled: false,
- message: "Pull changes",
- });
- });
-
- it('should return message "Conflicts found" when pullFailed is true', () => {
- const gitStatus: Record<string, unknown> = {
- behindCount: 2,
- isClean: true,
- };
- const pullFailed = true;
- const isProtected = false;
-
- const result = getPullBtnStatus(gitStatus, pullFailed, isProtected);
-
- expect(result).toEqual({
- disabled: false,
- message: "Conflicts found. Please resolve them and pull again.",
- });
- });
-
- it('should return enabled with message "Pull changes" when behindCount > 0 and no other conditions met', () => {
- const gitStatus: Record<string, unknown> = {
- behindCount: 1,
- isClean: true,
- };
- const pullFailed = false;
- const isProtected = false;
-
- const result = getPullBtnStatus(gitStatus, pullFailed, isProtected);
-
- expect(result).toEqual({
- disabled: false,
- message: "Pull changes",
- });
- });
-
- it('should return disabled with message "No commits to pull" when behindCount is 0 regardless of isClean and isProtected', () => {
- const gitStatus: Record<string, unknown> = {
- behindCount: 0,
- isClean: false,
- };
- const pullFailed = false;
- const isProtected = true;
-
- const result = getPullBtnStatus(gitStatus, pullFailed, isProtected);
-
- expect(result).toEqual({
- disabled: true,
- message:
- "No commits to pull. This branch is in sync with the remote repository",
- });
- });
-
- it("should prioritize pullFailed over other conditions", () => {
- const gitStatus: Record<string, unknown> = {
- behindCount: 0,
- isClean: true,
- };
- const pullFailed = true;
- const isProtected = false;
-
- const result = getPullBtnStatus(gitStatus, pullFailed, isProtected);
-
- expect(result).toEqual({
- disabled: true,
- message: "Conflicts found. Please resolve them and pull again.",
- });
- });
-
- it("should handle edge case when isClean is false, isProtected is true, behindCount is 0", () => {
- const gitStatus: Record<string, unknown> = {
- behindCount: 0,
- isClean: false,
- };
- const pullFailed = false;
- const isProtected = true;
-
- const result = getPullBtnStatus(gitStatus, pullFailed, isProtected);
-
- expect(result).toEqual({
- disabled: true,
- message:
- "No commits to pull. This branch is in sync with the remote repository",
- });
- });
-});
-
-describe("capitalizeFirstLetter", () => {
- it("should capitalize the first letter of a lowercase word", () => {
- const result = capitalizeFirstLetter("hello");
-
- expect(result).toBe("Hello");
- });
-
- it("should capitalize the first letter of an uppercase word", () => {
- const result = capitalizeFirstLetter("WORLD");
-
- expect(result).toBe("World");
- });
-
- it("should handle empty string", () => {
- const result = capitalizeFirstLetter("");
-
- expect(result).toBe("");
- });
-
- it("should handle single character", () => {
- const result = capitalizeFirstLetter("a");
-
- expect(result).toBe("A");
- });
-
- it("should handle strings with spaces", () => {
- const result = capitalizeFirstLetter("multiple words here");
-
- expect(result).toBe("Multiple words here");
- });
-
- it("should handle undefined input", () => {
- // The function provides a default value of " " when input is undefined
- // So we expect the output to be a single space with capitalized first letter
- const result = capitalizeFirstLetter();
-
- expect(result).toBe(" ");
- });
-
- it("should handle strings with special characters", () => {
- const result = capitalizeFirstLetter("123abc");
-
- expect(result).toBe("123abc");
- });
-
- it("should not modify strings where the first character is not a letter", () => {
- const result = capitalizeFirstLetter("!test");
-
- expect(result).toBe("!test");
- });
-});
diff --git a/app/client/src/git/components/QuickActions/helpers.ts b/app/client/src/git/components/QuickActions/helpers.ts
deleted file mode 100644
index 109197264899..000000000000
--- a/app/client/src/git/components/QuickActions/helpers.ts
+++ /dev/null
@@ -1,45 +0,0 @@
-import {
- CANNOT_PULL_WITH_LOCAL_UNCOMMITTED_CHANGES,
- CONFLICTS_FOUND,
- createMessage,
- NO_COMMITS_TO_PULL,
- PULL_CHANGES,
-} from "ee/constants/messages";
-import type { GitStatus } from "../../types";
-
-export const getPullBtnStatus = (
- gitStatus: GitStatus,
- pullFailed: boolean,
- isProtected: boolean,
-) => {
- const { behindCount, isClean } = gitStatus;
- let message = createMessage(NO_COMMITS_TO_PULL);
- let disabled = behindCount === 0;
-
- if (!isClean && !isProtected) {
- disabled = true;
- message = createMessage(CANNOT_PULL_WITH_LOCAL_UNCOMMITTED_CHANGES);
- // TODO: Remove this when gitStatus typings are finalized
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
- //@ts-ignore
- } else if (!isClean && isProtected && behindCount > 0) {
- disabled = false;
- message = createMessage(PULL_CHANGES);
- } else if (pullFailed) {
- message = createMessage(CONFLICTS_FOUND);
- // TODO: Remove this when gitStatus typings are finalized
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
- //@ts-ignore
- } else if (behindCount > 0) {
- message = createMessage(PULL_CHANGES);
- }
-
- return {
- disabled,
- message,
- };
-};
-
-export const capitalizeFirstLetter = (string = " ") => {
- return string.charAt(0).toUpperCase() + string.toLowerCase().slice(1);
-};
diff --git a/app/client/src/git/components/QuickActions/index.tsx b/app/client/src/git/components/QuickActions/index.tsx
deleted file mode 100644
index 21483fb83ad4..000000000000
--- a/app/client/src/git/components/QuickActions/index.tsx
+++ /dev/null
@@ -1,183 +0,0 @@
-import React, { useCallback } from "react";
-import styled from "styled-components";
-
-import {
- COMMIT_CHANGES,
- createMessage,
- GIT_SETTINGS,
- MERGE,
-} from "ee/constants/messages";
-
-import { GitSyncModalTab } from "entities/GitSync";
-import AnalyticsUtil from "ee/utils/AnalyticsUtil";
-import type { GitMetadata, GitStatus } from "../../types";
-import { getPullBtnStatus } from "./helpers";
-import { GitSettingsTab } from "../../constants/enums";
-import ConnectButton from "./ConnectButton";
-import QuickActionButton from "./QuickActionButton";
-import AutocommitStatusbar from "./AutocommitStatusbar";
-
-interface QuickActionsProps {
- isGitConnected: boolean;
- gitStatus: GitStatus;
- pullFailed: boolean;
- isProtectedMode: boolean;
- isDiscardInProgress: boolean;
- isPollingAutocommit: boolean;
- isPullInProgress: boolean;
- isFetchingGitStatus: boolean;
- changesToCommit: number;
- gitMetadata: GitMetadata;
- isAutocommitEnabled: boolean;
- isConnectPermitted: boolean;
- openGitSyncModal: (options: {
- tab: GitSyncModalTab;
- isDeploying?: boolean;
- }) => void;
- openGitSettingsModal: (options: { tab: GitSettingsTab }) => void;
- discardChanges: () => void;
- pull: (options: { triggeredFromBottomBar: boolean }) => void;
-}
-
-const Container = styled.div`
- height: 100%;
- display: flex;
- align-items: center;
-`;
-
-function QuickActions({
- changesToCommit,
- discardChanges,
- gitMetadata,
- gitStatus,
- isConnectPermitted,
- isDiscardInProgress,
- isFetchingGitStatus,
- isGitConnected,
- isPollingAutocommit,
- isProtectedMode,
- isPullInProgress,
- openGitSettingsModal,
- openGitSyncModal,
- pull,
- pullFailed,
-}: QuickActionsProps) {
- const { disabled: pullDisabled, message: pullTooltipMessage } =
- getPullBtnStatus(gitStatus, !!pullFailed, isProtectedMode);
-
- const showPullLoadingState =
- isDiscardInProgress || isPullInProgress || isFetchingGitStatus;
-
- // TODO - Update once the gitMetadata typing is added
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
- // @ts-ignore
- const isAutocommitEnabled: boolean = gitMetadata?.autoCommitConfig?.enabled;
- const onCommitClick = useCallback(() => {
- if (!isFetchingGitStatus && !isProtectedMode) {
- openGitSyncModal({
- tab: GitSyncModalTab.DEPLOY,
- });
-
- AnalyticsUtil.logEvent("GS_DEPLOY_GIT_MODAL_TRIGGERED", {
- source: "BOTTOM_BAR_GIT_COMMIT_BUTTON",
- });
- }
- }, [isFetchingGitStatus, isProtectedMode, openGitSyncModal]);
-
- const onPullClick = useCallback(() => {
- if (!showPullLoadingState && !pullDisabled) {
- AnalyticsUtil.logEvent("GS_PULL_GIT_CLICK", {
- source: "BOTTOM_BAR_GIT_PULL_BUTTON",
- });
-
- if (isProtectedMode) {
- discardChanges();
- } else {
- pull({ triggeredFromBottomBar: true });
- }
- }
- }, [
- discardChanges,
- isProtectedMode,
- pull,
- pullDisabled,
- showPullLoadingState,
- ]);
-
- const onMerge = useCallback(() => {
- AnalyticsUtil.logEvent("GS_MERGE_GIT_MODAL_TRIGGERED", {
- source: "BOTTOM_BAR_GIT_MERGE_BUTTON",
- });
- openGitSyncModal({
- tab: GitSyncModalTab.MERGE,
- isDeploying: true,
- });
- }, [openGitSyncModal]);
-
- const onSettingsClick = useCallback(() => {
- openGitSettingsModal({
- tab: GitSettingsTab.General,
- });
- AnalyticsUtil.logEvent("GS_SETTING_CLICK", {
- source: "BOTTOM_BAR_GIT_SETTING_BUTTON",
- });
- }, [openGitSettingsModal]);
-
- return isGitConnected ? (
- <Container>
- {/* <BranchButton /> */}
- {isAutocommitEnabled && isPollingAutocommit ? (
- <AutocommitStatusbar completed={!isPollingAutocommit} />
- ) : (
- <>
- <QuickActionButton
- className="t--bottom-bar-commit"
- count={isProtectedMode ? undefined : changesToCommit}
- disabled={!isFetchingGitStatus && isProtectedMode}
- icon="plus"
- key="commit-action-btn"
- loading={isFetchingGitStatus}
- onClick={onCommitClick}
- tooltipText={createMessage(COMMIT_CHANGES)}
- />
- <QuickActionButton
- actionName="pull"
- className="t--bottom-bar-pull"
- // TODO: Remove this when gitStatus typings are finalized
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
- //@ts-ignore
- count={gitStatus?.behindCount}
- disabled={!showPullLoadingState && pullDisabled}
- icon="down-arrow-2"
- key="pull-action-btn"
- loading={showPullLoadingState}
- onClick={onPullClick}
- tooltipText={pullTooltipMessage}
- />
- <QuickActionButton
- className="t--bottom-bar-merge"
- disabled={isProtectedMode}
- icon="fork"
- key="merge-action-btn"
- onClick={onMerge}
- tooltipText={createMessage(MERGE)}
- />
- <QuickActionButton
- className="t--bottom-git-settings"
- icon="settings-v3"
- key="settings-action-btn"
- onClick={onSettingsClick}
- tooltipText={createMessage(GIT_SETTINGS)}
- />
- </>
- )}
- </Container>
- ) : (
- <ConnectButton
- isConnectPermitted={isConnectPermitted}
- openGitSyncModal={openGitSyncModal}
- />
- );
-}
-
-export default QuickActions;
diff --git a/app/client/src/git/requests/checkoutBranchRequest.types.ts b/app/client/src/git/requests/checkoutBranchRequest.types.ts
index 8c465fc624ee..38932b20de5f 100644
--- a/app/client/src/git/requests/checkoutBranchRequest.types.ts
+++ b/app/client/src/git/requests/checkoutBranchRequest.types.ts
@@ -1,8 +1,10 @@
+import type { ApiResponse } from "api/types";
+import type { ApplicationPayload } from "entities/Application";
+
export interface CheckoutBranchRequestParams {
branchName: string;
}
-export interface CheckoutBranchResponse {
- id: string; // applicationId
- baseId: string; // baseApplicationId
-}
+export interface CheckoutBranchResponseData extends ApplicationPayload {}
+
+export type CheckoutBranchResponse = ApiResponse<CheckoutBranchResponseData>;
diff --git a/app/client/src/git/requests/createBranchRequest.types.ts b/app/client/src/git/requests/createBranchRequest.types.ts
index 28735db75183..2366bd17b4cf 100644
--- a/app/client/src/git/requests/createBranchRequest.types.ts
+++ b/app/client/src/git/requests/createBranchRequest.types.ts
@@ -1,8 +1,12 @@
+import type { ApiResponse } from "api/types";
+
export interface CreateBranchRequestParams {
branchName: string;
}
-export interface CreateBranchResponse {
+export interface CreateBranchResponseData {
id: string; // applicationId
baseId: string; // baseApplicationId
}
+
+export type CreateBranchResponse = ApiResponse<CreateBranchResponseData>;
diff --git a/app/client/src/git/requests/deleteBranchRequest.types.ts b/app/client/src/git/requests/deleteBranchRequest.types.ts
index f7db6f834859..c3f168303e49 100644
--- a/app/client/src/git/requests/deleteBranchRequest.types.ts
+++ b/app/client/src/git/requests/deleteBranchRequest.types.ts
@@ -1,8 +1,12 @@
+import type { ApiResponse } from "api/types";
+
export interface DeleteBranchRequestParams {
branchName: string;
}
-export interface DeleteBranchResponse {
+export interface DeleteBranchResponseData {
id: string; // applicationId
baseId: string; // baseApplicationId
}
+
+export type DeleteBranchResponse = ApiResponse<DeleteBranchResponseData>;
diff --git a/app/client/src/git/requests/fetchMergeStatusRequest.types.ts b/app/client/src/git/requests/fetchMergeStatusRequest.types.ts
index 76965ee37ff5..b8c928af2630 100644
--- a/app/client/src/git/requests/fetchMergeStatusRequest.types.ts
+++ b/app/client/src/git/requests/fetchMergeStatusRequest.types.ts
@@ -1,10 +1,15 @@
+import type { ApiResponse } from "api/types";
+
export interface FetchMergeStatusRequestParams {
sourceBranch: string;
destinationBranch: string;
}
-export interface FetchMergeStatusResponse {
+export interface FetchMergeStatusResponseData {
isMergeAble: boolean;
status: string; // merge status
message: string;
}
+
+export type FetchMergeStatusResponse =
+ ApiResponse<FetchMergeStatusResponseData>;
diff --git a/app/client/src/git/requests/fetchStatusRequest.types.ts b/app/client/src/git/requests/fetchStatusRequest.types.ts
index 9a63fc879487..975f94b2b483 100644
--- a/app/client/src/git/requests/fetchStatusRequest.types.ts
+++ b/app/client/src/git/requests/fetchStatusRequest.types.ts
@@ -1,8 +1,9 @@
+import type { ApiResponse } from "api/types";
+
export interface FetchStatusRequestParams {
compareRemote: boolean;
}
-
-export interface FetchStatusResponse {
+export interface FetchStatusResponseData {
added: string[];
aheadCount: number;
behindCount: number;
@@ -36,3 +37,5 @@ export interface FetchStatusResponse {
remoteBranch: string;
removed: string[];
}
+
+export type FetchStatusResponse = ApiResponse<FetchStatusResponseData>;
diff --git a/app/client/src/git/sagas/checkoutBranchSaga.ts b/app/client/src/git/sagas/checkoutBranchSaga.ts
new file mode 100644
index 000000000000..506ecae653d3
--- /dev/null
+++ b/app/client/src/git/sagas/checkoutBranchSaga.ts
@@ -0,0 +1,121 @@
+import { call, put, select, take } from "redux-saga/effects";
+import type { CheckoutBranchInitPayload } from "../store/actions/checkoutBranchActions";
+import { GitArtifactType } from "../constants/enums";
+import checkoutBranchRequest from "../requests/checkoutBranchRequest";
+import type {
+ CheckoutBranchRequestParams,
+ CheckoutBranchResponse,
+} from "../requests/checkoutBranchRequest.types";
+import { gitArtifactActions } from "../store/gitArtifactSlice";
+import type { GitArtifactPayloadAction } from "../store/types";
+
+// internal dependencies
+import { builderURL } from "ee/RouteBuilder";
+import { ReduxActionTypes } from "ee/constants/ReduxActionConstants";
+import { getActions, getJSCollections } from "ee/selectors/entitiesSelector";
+import { addBranchParam } from "constants/routes";
+import type { Action } from "entities/Action";
+import { FocusEntity, identifyEntityFromPath } from "navigation/FocusEntity";
+import { validateResponse } from "sagas/ErrorSagas";
+import history from "utils/history";
+import type { JSCollectionDataState } from "ee/reducers/entityReducers/jsActionsReducer";
+
+export default function* checkoutBranchSaga(
+ action: GitArtifactPayloadAction<CheckoutBranchInitPayload>,
+) {
+ const { artifactType, baseArtifactId, branchName } = action.payload;
+ const basePayload = { artifactType, baseArtifactId };
+ let response: CheckoutBranchResponse | undefined;
+
+ try {
+ const params: CheckoutBranchRequestParams = {
+ branchName,
+ };
+
+ response = yield call(checkoutBranchRequest, baseArtifactId, params);
+ const isValidResponse: boolean = yield validateResponse(response);
+
+ if (response && isValidResponse) {
+ if (artifactType === GitArtifactType.Application) {
+ yield put(gitArtifactActions.checkoutBranchSuccess(basePayload));
+ const trimmedBranch = branchName.replace(/^origin\//, "");
+ const destinationHref = addBranchParam(trimmedBranch);
+
+ const entityInfo = identifyEntityFromPath(
+ destinationHref.slice(0, destinationHref.indexOf("?")),
+ );
+
+ yield put(
+ gitArtifactActions.toggleGitBranchListPopup({
+ ...basePayload,
+ open: false,
+ }),
+ );
+ // Check if page exists in the branch. If not, instead of 404, take them to
+ // the app home page
+ const existingPage = response.data.pages.find(
+ (page) => page.baseId === entityInfo.params.basePageId,
+ );
+ const defaultPage = response.data.pages.find((page) => page.isDefault);
+
+ if (!existingPage && defaultPage) {
+ history.push(
+ builderURL({
+ basePageId: defaultPage.baseId,
+ branch: trimmedBranch,
+ }),
+ );
+
+ return;
+ }
+
+ // Page exists, so we will try to go to the destination
+ history.push(destinationHref);
+
+ let shouldGoToHomePage = false;
+
+ // It is possible that the action does not exist in the incoming branch
+ // so here instead of showing the 404 page, we will navigate them to the
+ // home page
+ if ([FocusEntity.API, FocusEntity.QUERY].includes(entityInfo.entity)) {
+ // Wait for fetch actions success, check if action id in actions state
+ // or else navigate to home
+ yield take(ReduxActionTypes.FETCH_ACTIONS_SUCCESS);
+ const actions: Action[] = yield select(getActions);
+
+ if (!actions.find((action) => action.id === entityInfo.id)) {
+ shouldGoToHomePage = true;
+ }
+ }
+
+ // Same for JS Objects
+ if (entityInfo.entity === FocusEntity.JS_OBJECT) {
+ yield take(ReduxActionTypes.FETCH_JS_ACTIONS_SUCCESS);
+ const jsActions: JSCollectionDataState =
+ yield select(getJSCollections);
+
+ if (!jsActions.find((action) => action.config.id === entityInfo.id)) {
+ shouldGoToHomePage = true;
+ }
+ }
+
+ if (shouldGoToHomePage && defaultPage) {
+ // We will replace so that the user does not go back to the 404 url
+ history.replace(
+ builderURL({
+ basePageId: defaultPage.baseId,
+ persistExistingParams: true,
+ }),
+ );
+ }
+ }
+ }
+ } catch (error) {
+ yield put(
+ gitArtifactActions.checkoutBranchError({
+ ...basePayload,
+ error: error as string,
+ }),
+ );
+ }
+}
diff --git a/app/client/src/git/sagas/commitSaga.ts b/app/client/src/git/sagas/commitSaga.ts
index d1926f5b5412..e609a8f5145a 100644
--- a/app/client/src/git/sagas/commitSaga.ts
+++ b/app/client/src/git/sagas/commitSaga.ts
@@ -1,4 +1,4 @@
-import type { CommitInitPayload } from "../actions/commitActions";
+import type { CommitInitPayload } from "../store/actions/commitActions";
import { GitArtifactType, GitErrorCodes } from "../constants/enums";
import commitRequest from "../requests/commitRequest";
import type {
@@ -6,7 +6,7 @@ import type {
CommitResponse,
} from "../requests/commitRequest.types";
import { gitArtifactActions } from "../store/gitArtifactSlice";
-import type { GitArtifactPayloadAction } from "../types";
+import type { GitArtifactPayloadAction } from "../store/types";
import { call, put } from "redux-saga/effects";
// internal dependencies
diff --git a/app/client/src/git/sagas/connectSaga.ts b/app/client/src/git/sagas/connectSaga.ts
index a3964934253a..16d4ba1cbe0e 100644
--- a/app/client/src/git/sagas/connectSaga.ts
+++ b/app/client/src/git/sagas/connectSaga.ts
@@ -5,8 +5,8 @@ import type {
ConnectResponse,
} from "../requests/connectRequest.types";
import { GitArtifactType, GitErrorCodes } from "../constants/enums";
-import type { GitArtifactPayloadAction } from "../types";
-import type { ConnectInitPayload } from "../actions/connectActions";
+import type { GitArtifactPayloadAction } from "../store/types";
+import type { ConnectInitPayload } from "../store/actions/connectActions";
import { call, put } from "redux-saga/effects";
diff --git a/app/client/src/git/sagas/createBranchSaga.ts b/app/client/src/git/sagas/createBranchSaga.ts
new file mode 100644
index 000000000000..37ce2de1afaf
--- /dev/null
+++ b/app/client/src/git/sagas/createBranchSaga.ts
@@ -0,0 +1,48 @@
+import { call, put } from "redux-saga/effects";
+import type { CreateBranchInitPayload } from "../store/actions/createBranchActions";
+import createBranchRequest from "../requests/createBranchRequest";
+import type {
+ CreateBranchRequestParams,
+ CreateBranchResponse,
+} from "../requests/createBranchRequest.types";
+import { gitArtifactActions } from "../store/gitArtifactSlice";
+import type { GitArtifactPayloadAction } from "../store/types";
+
+// internal dependencies
+import { validateResponse } from "sagas/ErrorSagas";
+
+export default function* createBranchSaga(
+ action: GitArtifactPayloadAction<CreateBranchInitPayload>,
+) {
+ const { artifactType, baseArtifactId } = action.payload;
+ const basePayload = { artifactType, baseArtifactId };
+ let response: CreateBranchResponse | undefined;
+
+ try {
+ const params: CreateBranchRequestParams = {
+ branchName: action.payload.branchName,
+ };
+
+ response = yield call(createBranchRequest, baseArtifactId, params);
+ const isValidResponse: boolean = yield validateResponse(response);
+
+ if (isValidResponse) {
+ yield put(gitArtifactActions.createBranchSuccess(basePayload));
+ yield put(
+ gitArtifactActions.fetchBranchesInit({
+ ...basePayload,
+ pruneBranches: true,
+ }),
+ );
+
+ // ! case to switch to the new branch
+ }
+ } catch (error) {
+ yield put(
+ gitArtifactActions.createBranchError({
+ ...basePayload,
+ error: error as string,
+ }),
+ );
+ }
+}
diff --git a/app/client/src/git/sagas/deleteBranchSaga.ts b/app/client/src/git/sagas/deleteBranchSaga.ts
new file mode 100644
index 000000000000..7b138685e6a9
--- /dev/null
+++ b/app/client/src/git/sagas/deleteBranchSaga.ts
@@ -0,0 +1,46 @@
+import type { DeleteBranchInitPayload } from "../store/actions/deleteBranchActions";
+import deleteBranchRequest from "../requests/deleteBranchRequest";
+import type {
+ DeleteBranchRequestParams,
+ DeleteBranchResponse,
+} from "../requests/deleteBranchRequest.types";
+import { gitArtifactActions } from "../store/gitArtifactSlice";
+import type { GitArtifactPayloadAction } from "../store/types";
+import { call, put } from "redux-saga/effects";
+
+// internal dependencies
+import { validateResponse } from "sagas/ErrorSagas";
+
+export default function* deleteBranchSaga(
+ action: GitArtifactPayloadAction<DeleteBranchInitPayload>,
+) {
+ const { artifactType, baseArtifactId } = action.payload;
+ const basePayload = { artifactType, baseArtifactId };
+ let response: DeleteBranchResponse | undefined;
+
+ try {
+ const params: DeleteBranchRequestParams = {
+ branchName: action.payload.branchName,
+ };
+
+ response = yield call(deleteBranchRequest, baseArtifactId, params);
+ const isValidResponse: boolean = yield validateResponse(response);
+
+ if (isValidResponse) {
+ yield put(gitArtifactActions.deleteBranchSuccess(basePayload));
+ yield put(
+ gitArtifactActions.fetchBranchesInit({
+ ...basePayload,
+ pruneBranches: true,
+ }),
+ );
+ }
+ } catch (error) {
+ yield put(
+ gitArtifactActions.deleteBranchError({
+ ...basePayload,
+ error: error as string,
+ }),
+ );
+ }
+}
diff --git a/app/client/src/git/sagas/fetchBranchesSaga.ts b/app/client/src/git/sagas/fetchBranchesSaga.ts
index 0a10286f91df..5909b62e0c45 100644
--- a/app/client/src/git/sagas/fetchBranchesSaga.ts
+++ b/app/client/src/git/sagas/fetchBranchesSaga.ts
@@ -1,11 +1,11 @@
-import type { FetchBranchesInitPayload } from "git/actions/fetchBranchesActions";
+import type { FetchBranchesInitPayload } from "../store/actions/fetchBranchesActions";
import fetchBranchesRequest from "git/requests/fetchBranchesRequest";
import type {
FetchBranchesRequestParams,
FetchBranchesResponse,
} from "git/requests/fetchBranchesRequest.types";
import { gitArtifactActions } from "git/store/gitArtifactSlice";
-import type { GitArtifactPayloadAction } from "git/types";
+import type { GitArtifactPayloadAction } from "../store/types";
import { call, put } from "redux-saga/effects";
import { validateResponse } from "sagas/ErrorSagas";
diff --git a/app/client/src/git/sagas/fetchLocalProfileSaga.ts b/app/client/src/git/sagas/fetchLocalProfileSaga.ts
index f0fed2306b75..a284b7e21d57 100644
--- a/app/client/src/git/sagas/fetchLocalProfileSaga.ts
+++ b/app/client/src/git/sagas/fetchLocalProfileSaga.ts
@@ -1,7 +1,7 @@
import fetchLocalProfileRequest from "git/requests/fetchLocalProfileRequest";
import type { FetchLocalProfileResponse } from "git/requests/fetchLocalProfileRequest.types";
import { gitArtifactActions } from "git/store/gitArtifactSlice";
-import type { GitArtifactPayloadAction } from "git/types";
+import type { GitArtifactPayloadAction } from "../store/types";
import { call, put } from "redux-saga/effects";
import { validateResponse } from "sagas/ErrorSagas";
diff --git a/app/client/src/git/sagas/index.ts b/app/client/src/git/sagas/index.ts
index 50517d875efd..076853a8612a 100644
--- a/app/client/src/git/sagas/index.ts
+++ b/app/client/src/git/sagas/index.ts
@@ -12,8 +12,11 @@ import updateGlobalProfileSaga from "./updateGlobalProfileSaga";
export function* gitSagas() {
yield all([
takeLatest(gitArtifactActions.connectInit.type, connectSaga),
- takeLatest(gitArtifactActions.commitInit.type, commitSaga),
+
+ // branches
takeLatest(gitArtifactActions.fetchBranchesInit.type, fetchBranchesSaga),
+
+ takeLatest(gitArtifactActions.commitInit.type, commitSaga),
takeLatest(
gitArtifactActions.fetchLocalProfileInit.type,
fetchLocalProfileSaga,
diff --git a/app/client/src/git/sagas/updateGlobalProfileSaga.ts b/app/client/src/git/sagas/updateGlobalProfileSaga.ts
index 24d22cc144c9..967d6228a0a0 100644
--- a/app/client/src/git/sagas/updateGlobalProfileSaga.ts
+++ b/app/client/src/git/sagas/updateGlobalProfileSaga.ts
@@ -1,6 +1,6 @@
import type { PayloadAction } from "@reduxjs/toolkit";
import { call, put } from "redux-saga/effects";
-import type { UpdateGlobalProfileInitPayload } from "../actions/updateGlobalProfileActions";
+import type { UpdateGlobalProfileInitPayload } from "../store/actions/updateGlobalProfileActions";
import updateGlobalProfileRequest from "../requests/updateGlobalProfileRequest";
import type {
UpdateGlobalProfileRequestParams,
diff --git a/app/client/src/git/sagas/updateLocalProfileSaga.ts b/app/client/src/git/sagas/updateLocalProfileSaga.ts
index 21923693a322..d2a9c0243a15 100644
--- a/app/client/src/git/sagas/updateLocalProfileSaga.ts
+++ b/app/client/src/git/sagas/updateLocalProfileSaga.ts
@@ -1,11 +1,11 @@
-import type { UpdateLocalProfileInitPayload } from "git/actions/updateLocalProfileActions";
+import type { UpdateLocalProfileInitPayload } from "../store/actions/updateLocalProfileActions";
import updateLocalProfileRequest from "git/requests/updateLocalProfileRequest";
import type {
UpdateLocalProfileRequestParams,
UpdateLocalProfileResponse,
} from "git/requests/updateLocalProfileRequest.types";
-import { gitArtifactActions } from "git/store/gitArtifactSlice";
-import type { GitArtifactPayloadAction } from "git/types";
+import { gitArtifactActions } from "../store/gitArtifactSlice";
+import type { GitArtifactPayloadAction } from "../store/types";
import { call, put } from "redux-saga/effects";
import { validateResponse } from "sagas/ErrorSagas";
diff --git a/app/client/src/git/store/actions/checkoutBranchActions.ts b/app/client/src/git/store/actions/checkoutBranchActions.ts
new file mode 100644
index 000000000000..c46edf84baff
--- /dev/null
+++ b/app/client/src/git/store/actions/checkoutBranchActions.ts
@@ -0,0 +1,32 @@
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
+import type { GitAsyncErrorPayload } from "../types";
+import type { CheckoutBranchRequestParams } from "git/requests/checkoutBranchRequest.types";
+
+export interface CheckoutBranchInitPayload
+ extends CheckoutBranchRequestParams {}
+
+export const checkoutBranchInitAction =
+ createSingleArtifactAction<CheckoutBranchInitPayload>((state) => {
+ state.apiResponses.checkoutBranch.loading = true;
+ state.apiResponses.checkoutBranch.error = null;
+
+ return state;
+ });
+
+export const checkoutBranchSuccessAction = createSingleArtifactAction(
+ (state) => {
+ state.apiResponses.checkoutBranch.loading = false;
+
+ return state;
+ },
+);
+
+export const checkoutBranchErrorAction =
+ createSingleArtifactAction<GitAsyncErrorPayload>((state, action) => {
+ const { error } = action.payload;
+
+ state.apiResponses.checkoutBranch.loading = false;
+ state.apiResponses.checkoutBranch.error = error;
+
+ return state;
+ });
diff --git a/app/client/src/git/actions/commitActions.ts b/app/client/src/git/store/actions/commitActions.ts
similarity index 90%
rename from app/client/src/git/actions/commitActions.ts
rename to app/client/src/git/store/actions/commitActions.ts
index eeb80a18984c..24c5b17267f4 100644
--- a/app/client/src/git/actions/commitActions.ts
+++ b/app/client/src/git/store/actions/commitActions.ts
@@ -1,4 +1,4 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
import type { GitAsyncErrorPayload } from "../types";
import type { CommitRequestParams } from "git/requests/commitRequest.types";
diff --git a/app/client/src/git/actions/connectActions.ts b/app/client/src/git/store/actions/connectActions.ts
similarity index 91%
rename from app/client/src/git/actions/connectActions.ts
rename to app/client/src/git/store/actions/connectActions.ts
index 5a45872ed2a1..7fed98500000 100644
--- a/app/client/src/git/actions/connectActions.ts
+++ b/app/client/src/git/store/actions/connectActions.ts
@@ -1,4 +1,4 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
import type { GitAsyncErrorPayload } from "../types";
import type { ConnectRequestParams } from "git/requests/connectRequest.types";
diff --git a/app/client/src/git/store/actions/createBranchActions.ts b/app/client/src/git/store/actions/createBranchActions.ts
new file mode 100644
index 000000000000..be0e08445de2
--- /dev/null
+++ b/app/client/src/git/store/actions/createBranchActions.ts
@@ -0,0 +1,29 @@
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
+import type { GitAsyncErrorPayload } from "../types";
+import type { CreateBranchRequestParams } from "git/requests/createBranchRequest.types";
+
+export interface CreateBranchInitPayload extends CreateBranchRequestParams {}
+
+export const createBranchInitAction =
+ createSingleArtifactAction<CreateBranchInitPayload>((state) => {
+ state.apiResponses.createBranch.loading = true;
+ state.apiResponses.createBranch.error = null;
+
+ return state;
+ });
+
+export const createBranchSuccessAction = createSingleArtifactAction((state) => {
+ state.apiResponses.createBranch.loading = false;
+
+ return state;
+});
+
+export const createBranchErrorAction =
+ createSingleArtifactAction<GitAsyncErrorPayload>((state, action) => {
+ const { error } = action.payload;
+
+ state.apiResponses.createBranch.loading = false;
+ state.apiResponses.createBranch.error = error;
+
+ return state;
+ });
diff --git a/app/client/src/git/store/actions/deleteBranchActions.ts b/app/client/src/git/store/actions/deleteBranchActions.ts
new file mode 100644
index 000000000000..09296625f0d6
--- /dev/null
+++ b/app/client/src/git/store/actions/deleteBranchActions.ts
@@ -0,0 +1,29 @@
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
+import type { GitAsyncErrorPayload } from "../types";
+import type { DeleteBranchRequestParams } from "../../requests/deleteBranchRequest.types";
+
+export interface DeleteBranchInitPayload extends DeleteBranchRequestParams {}
+
+export const deleteBranchInitAction =
+ createSingleArtifactAction<DeleteBranchInitPayload>((state) => {
+ state.apiResponses.deleteBranch.loading = true;
+ state.apiResponses.deleteBranch.error = null;
+
+ return state;
+ });
+
+export const deleteBranchSuccessAction = createSingleArtifactAction((state) => {
+ state.apiResponses.deleteBranch.loading = false;
+
+ return state;
+});
+
+export const deleteBranchErrorAction =
+ createSingleArtifactAction<GitAsyncErrorPayload>((state, action) => {
+ const { error } = action.payload;
+
+ state.apiResponses.deleteBranch.loading = false;
+ state.apiResponses.deleteBranch.error = error;
+
+ return state;
+ });
diff --git a/app/client/src/git/actions/discardActions.ts b/app/client/src/git/store/actions/discardActions.ts
similarity index 88%
rename from app/client/src/git/actions/discardActions.ts
rename to app/client/src/git/store/actions/discardActions.ts
index a0863c79e638..c12b236f06ef 100644
--- a/app/client/src/git/actions/discardActions.ts
+++ b/app/client/src/git/store/actions/discardActions.ts
@@ -1,4 +1,4 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
import type { GitArtifactErrorPayloadAction } from "../types";
export const discardInitAction = createSingleArtifactAction((state) => {
diff --git a/app/client/src/git/actions/disconnectActions.ts b/app/client/src/git/store/actions/disconnectActions.ts
similarity index 89%
rename from app/client/src/git/actions/disconnectActions.ts
rename to app/client/src/git/store/actions/disconnectActions.ts
index f911eefec631..dba26c0de629 100644
--- a/app/client/src/git/actions/disconnectActions.ts
+++ b/app/client/src/git/store/actions/disconnectActions.ts
@@ -1,4 +1,4 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
import type { GitArtifactErrorPayloadAction } from "../types";
export const disconnectInitAction = createSingleArtifactAction((state) => {
diff --git a/app/client/src/git/actions/fetchAutocommitProgressActions.ts b/app/client/src/git/store/actions/fetchAutocommitProgressActions.ts
similarity index 92%
rename from app/client/src/git/actions/fetchAutocommitProgressActions.ts
rename to app/client/src/git/store/actions/fetchAutocommitProgressActions.ts
index caa054318f5f..2736b0c72cc4 100644
--- a/app/client/src/git/actions/fetchAutocommitProgressActions.ts
+++ b/app/client/src/git/store/actions/fetchAutocommitProgressActions.ts
@@ -3,7 +3,7 @@ import type {
GitArtifactErrorPayloadAction,
GitAutocommitProgress,
} from "../types";
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
export const fetchAutocommitProgressInitAction = createSingleArtifactAction(
(state) => {
diff --git a/app/client/src/git/actions/fetchBranchesActions.ts b/app/client/src/git/store/actions/fetchBranchesActions.ts
similarity index 88%
rename from app/client/src/git/actions/fetchBranchesActions.ts
rename to app/client/src/git/store/actions/fetchBranchesActions.ts
index 30f71574dc52..e83ce0325e59 100644
--- a/app/client/src/git/actions/fetchBranchesActions.ts
+++ b/app/client/src/git/store/actions/fetchBranchesActions.ts
@@ -1,9 +1,9 @@
import type {
FetchBranchesRequestParams,
FetchBranchesResponseData,
-} from "../requests/fetchBranchesRequest.types";
+} from "../../requests/fetchBranchesRequest.types";
import type { GitAsyncErrorPayload, GitAsyncSuccessPayload } from "../types";
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
export interface FetchBranchesInitPayload extends FetchBranchesRequestParams {}
diff --git a/app/client/src/git/actions/fetchGlobalProfileActions.ts b/app/client/src/git/store/actions/fetchGlobalProfileActions.ts
similarity index 100%
rename from app/client/src/git/actions/fetchGlobalProfileActions.ts
rename to app/client/src/git/store/actions/fetchGlobalProfileActions.ts
diff --git a/app/client/src/git/actions/fetchLocalProfileActions.ts b/app/client/src/git/store/actions/fetchLocalProfileActions.ts
similarity index 92%
rename from app/client/src/git/actions/fetchLocalProfileActions.ts
rename to app/client/src/git/store/actions/fetchLocalProfileActions.ts
index c4775f4ab7f5..3559a2814c35 100644
--- a/app/client/src/git/actions/fetchLocalProfileActions.ts
+++ b/app/client/src/git/store/actions/fetchLocalProfileActions.ts
@@ -3,7 +3,7 @@ import type {
GitArtifactErrorPayloadAction,
GitAsyncSuccessPayload,
} from "../types";
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
export const fetchLocalProfileInitAction = createSingleArtifactAction(
(state) => {
diff --git a/app/client/src/git/store/actions/fetchMergeStatusActions.ts b/app/client/src/git/store/actions/fetchMergeStatusActions.ts
new file mode 100644
index 000000000000..71ae8fccf107
--- /dev/null
+++ b/app/client/src/git/store/actions/fetchMergeStatusActions.ts
@@ -0,0 +1,31 @@
+import type { GitAsyncSuccessPayload, GitAsyncErrorPayload } from "../types";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
+import type { FetchMergeStatusResponseData } from "git/requests/fetchMergeStatusRequest.types";
+
+export const fetchMergeStatusInitAction = createSingleArtifactAction(
+ (state) => {
+ state.apiResponses.mergeStatus.loading = true;
+ state.apiResponses.mergeStatus.error = null;
+
+ return state;
+ },
+);
+
+export const fetchMergeStatusSuccessAction = createSingleArtifactAction<
+ GitAsyncSuccessPayload<FetchMergeStatusResponseData>
+>((state, action) => {
+ state.apiResponses.mergeStatus.loading = false;
+ state.apiResponses.mergeStatus.value = action.payload.responseData;
+
+ return state;
+});
+
+export const fetchMergeStatusErrorAction =
+ createSingleArtifactAction<GitAsyncErrorPayload>((state, action) => {
+ const { error } = action.payload;
+
+ state.apiResponses.mergeStatus.loading = false;
+ state.apiResponses.mergeStatus.error = error;
+
+ return state;
+ });
diff --git a/app/client/src/git/actions/fetchMetadataActions.ts b/app/client/src/git/store/actions/fetchMetadataActions.ts
similarity index 91%
rename from app/client/src/git/actions/fetchMetadataActions.ts
rename to app/client/src/git/store/actions/fetchMetadataActions.ts
index a11914c8200a..f4d1fd9da2cb 100644
--- a/app/client/src/git/actions/fetchMetadataActions.ts
+++ b/app/client/src/git/store/actions/fetchMetadataActions.ts
@@ -3,7 +3,7 @@ import type {
GitArtifactErrorPayloadAction,
GitMetadata,
} from "../types";
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
export const fetchMetadataInitAction = createSingleArtifactAction((state) => {
state.apiResponses.metadata.loading = true;
diff --git a/app/client/src/git/actions/fetchProtectedBranchesActions.ts b/app/client/src/git/store/actions/fetchProtectedBranchesActions.ts
similarity index 92%
rename from app/client/src/git/actions/fetchProtectedBranchesActions.ts
rename to app/client/src/git/store/actions/fetchProtectedBranchesActions.ts
index 32026a1ed285..223952a3962b 100644
--- a/app/client/src/git/actions/fetchProtectedBranchesActions.ts
+++ b/app/client/src/git/store/actions/fetchProtectedBranchesActions.ts
@@ -3,7 +3,7 @@ import type {
GitArtifactErrorPayloadAction,
GitProtectedBranches,
} from "../types";
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
export const fetchProtectedBranchesInitAction = createSingleArtifactAction(
(state) => {
diff --git a/app/client/src/git/actions/fetchSSHKeyActions.ts b/app/client/src/git/store/actions/fetchSSHKeyActions.ts
similarity index 90%
rename from app/client/src/git/actions/fetchSSHKeyActions.ts
rename to app/client/src/git/store/actions/fetchSSHKeyActions.ts
index 516adf758f44..b802160ce0af 100644
--- a/app/client/src/git/actions/fetchSSHKeyActions.ts
+++ b/app/client/src/git/store/actions/fetchSSHKeyActions.ts
@@ -3,7 +3,7 @@ import type {
GitArtifactErrorPayloadAction,
GitSSHKey,
} from "../types";
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
export const fetchSSHKeyInitAction = createSingleArtifactAction((state) => {
state.apiResponses.sshKey.loading = true;
diff --git a/app/client/src/git/store/actions/fetchStatusActions.ts b/app/client/src/git/store/actions/fetchStatusActions.ts
new file mode 100644
index 000000000000..1121e368d012
--- /dev/null
+++ b/app/client/src/git/store/actions/fetchStatusActions.ts
@@ -0,0 +1,35 @@
+import type {
+ FetchStatusRequestParams,
+ FetchStatusResponseData,
+} from "git/requests/fetchStatusRequest.types";
+import type { GitAsyncErrorPayload, GitAsyncSuccessPayload } from "../types";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
+
+export interface FetchStatusInitPayload extends FetchStatusRequestParams {}
+
+export const fetchStatusInitAction =
+ createSingleArtifactAction<FetchStatusInitPayload>((state) => {
+ state.apiResponses.status.loading = true;
+ state.apiResponses.status.error = null;
+
+ return state;
+ });
+
+export const fetchStatusSuccessAction = createSingleArtifactAction<
+ GitAsyncSuccessPayload<FetchStatusResponseData>
+>((state, action) => {
+ state.apiResponses.status.loading = false;
+ state.apiResponses.status.value = action.payload.responseData;
+
+ return state;
+});
+
+export const fetchStatusErrorAction =
+ createSingleArtifactAction<GitAsyncErrorPayload>((state, action) => {
+ const { error } = action.payload;
+
+ state.apiResponses.status.loading = false;
+ state.apiResponses.status.error = error;
+
+ return state;
+ });
diff --git a/app/client/src/git/actions/generateSSHKey.ts b/app/client/src/git/store/actions/generateSSHKey.ts
similarity index 89%
rename from app/client/src/git/actions/generateSSHKey.ts
rename to app/client/src/git/store/actions/generateSSHKey.ts
index c2a82f94e8f3..52698c65a8e1 100644
--- a/app/client/src/git/actions/generateSSHKey.ts
+++ b/app/client/src/git/store/actions/generateSSHKey.ts
@@ -1,4 +1,4 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
import type { GitArtifactErrorPayloadAction } from "../types";
export const generateSSHKeyInitAction = createSingleArtifactAction((state) => {
diff --git a/app/client/src/git/actions/mergeActions.ts b/app/client/src/git/store/actions/mergeActions.ts
similarity index 88%
rename from app/client/src/git/actions/mergeActions.ts
rename to app/client/src/git/store/actions/mergeActions.ts
index dab2d21ed4c3..5bb17a351ce6 100644
--- a/app/client/src/git/actions/mergeActions.ts
+++ b/app/client/src/git/store/actions/mergeActions.ts
@@ -1,4 +1,4 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
import type { GitArtifactErrorPayloadAction } from "../types";
export const mergeInitAction = createSingleArtifactAction((state) => {
diff --git a/app/client/src/git/actions/mountActions.ts b/app/client/src/git/store/actions/mountActions.ts
similarity index 88%
rename from app/client/src/git/actions/mountActions.ts
rename to app/client/src/git/store/actions/mountActions.ts
index 556aae44a483..07a08ee2b566 100644
--- a/app/client/src/git/actions/mountActions.ts
+++ b/app/client/src/git/store/actions/mountActions.ts
@@ -1,6 +1,6 @@
import type { PayloadAction } from "@reduxjs/toolkit";
import type { GitArtifactBasePayload, GitArtifactReduxState } from "../types";
-import { gitSingleArtifactInitialState } from "./helpers/singleArtifactInitialState";
+import { gitSingleArtifactInitialState } from "../helpers/gitSingleArtifactInitialState";
// ! This might be removed later
diff --git a/app/client/src/git/actions/pullActions.ts b/app/client/src/git/store/actions/pullActions.ts
similarity index 88%
rename from app/client/src/git/actions/pullActions.ts
rename to app/client/src/git/store/actions/pullActions.ts
index 04f2dfcd31fe..5acb7dc30f98 100644
--- a/app/client/src/git/actions/pullActions.ts
+++ b/app/client/src/git/store/actions/pullActions.ts
@@ -1,4 +1,4 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
import type { GitArtifactErrorPayloadAction } from "../types";
export const pullInitAction = createSingleArtifactAction((state) => {
diff --git a/app/client/src/git/actions/repoLimitErrorModalActions.ts b/app/client/src/git/store/actions/repoLimitErrorModalActions.ts
similarity index 79%
rename from app/client/src/git/actions/repoLimitErrorModalActions.ts
rename to app/client/src/git/store/actions/repoLimitErrorModalActions.ts
index 96061395e854..d79b29d61d15 100644
--- a/app/client/src/git/actions/repoLimitErrorModalActions.ts
+++ b/app/client/src/git/store/actions/repoLimitErrorModalActions.ts
@@ -1,4 +1,4 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
interface ToggleRepoLimitModalActionPayload {
open: boolean;
diff --git a/app/client/src/git/actions/toggleAutocommitActions.ts b/app/client/src/git/store/actions/toggleAutocommitActions.ts
similarity index 90%
rename from app/client/src/git/actions/toggleAutocommitActions.ts
rename to app/client/src/git/store/actions/toggleAutocommitActions.ts
index 129011c50143..96721698196f 100644
--- a/app/client/src/git/actions/toggleAutocommitActions.ts
+++ b/app/client/src/git/store/actions/toggleAutocommitActions.ts
@@ -1,4 +1,4 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
import type { GitArtifactErrorPayloadAction } from "../types";
export const toggleAutocommitInitAction = createSingleArtifactAction(
diff --git a/app/client/src/git/actions/triggerAutocommitActions.ts b/app/client/src/git/store/actions/triggerAutocommitActions.ts
similarity index 90%
rename from app/client/src/git/actions/triggerAutocommitActions.ts
rename to app/client/src/git/store/actions/triggerAutocommitActions.ts
index 1ea785bdaeb7..414de9ed68c8 100644
--- a/app/client/src/git/actions/triggerAutocommitActions.ts
+++ b/app/client/src/git/store/actions/triggerAutocommitActions.ts
@@ -1,4 +1,4 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
import type { GitArtifactErrorPayloadAction } from "../types";
export const triggerAutocommitInitAction = createSingleArtifactAction(
diff --git a/app/client/src/git/store/actions/uiActions.ts b/app/client/src/git/store/actions/uiActions.ts
new file mode 100644
index 000000000000..fe77a5684e51
--- /dev/null
+++ b/app/client/src/git/store/actions/uiActions.ts
@@ -0,0 +1,71 @@
+import type { GitOpsTab, GitSettingsTab } from "git/constants/enums";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
+
+interface ToggleRepoLimitModalPayload {
+ open: boolean;
+}
+
+export const toggleRepoLimitErrorModalAction =
+ createSingleArtifactAction<ToggleRepoLimitModalPayload>((state, action) => {
+ const { open } = action.payload;
+
+ state.ui.repoLimitErrorModal.open = open;
+
+ return state;
+ });
+
+interface BranchListPopupPayload {
+ open: boolean;
+}
+
+export const toggleGitBranchListPopupAction =
+ createSingleArtifactAction<BranchListPopupPayload>((state, action) => {
+ const { open } = action.payload;
+
+ state.ui.branchListPopup.open = open;
+
+ return state;
+ });
+
+export interface ToggleGitOpsModalPayload {
+ open: boolean;
+ tab: keyof typeof GitOpsTab;
+}
+
+export const toggleGitOpsModalAction =
+ createSingleArtifactAction<ToggleGitOpsModalPayload>((state, action) => {
+ const { open, tab } = action.payload;
+
+ state.ui.opsModal.open = open;
+ state.ui.opsModal.tab = tab;
+
+ return state;
+ });
+
+export interface ToggleGitSettingsModalPayload {
+ open: boolean;
+ tab: keyof typeof GitSettingsTab;
+}
+
+export const toggleGitSettingsModalAction =
+ createSingleArtifactAction<ToggleGitSettingsModalPayload>((state, action) => {
+ const { open, tab } = action.payload;
+
+ state.ui.settingsModal.open = open;
+ state.ui.settingsModal.tab = tab;
+
+ return state;
+ });
+
+export interface ToggleGitConnectModalPayload {
+ open: boolean;
+}
+
+export const toggleGitConnectModalAction =
+ createSingleArtifactAction<ToggleGitConnectModalPayload>((state, action) => {
+ const { open } = action.payload;
+
+ state.ui.connectModal.open = open;
+
+ return state;
+ });
diff --git a/app/client/src/git/actions/updateGlobalProfileActions.ts b/app/client/src/git/store/actions/updateGlobalProfileActions.ts
similarity index 100%
rename from app/client/src/git/actions/updateGlobalProfileActions.ts
rename to app/client/src/git/store/actions/updateGlobalProfileActions.ts
diff --git a/app/client/src/git/actions/updateLocalProfileActions.ts b/app/client/src/git/store/actions/updateLocalProfileActions.ts
similarity index 92%
rename from app/client/src/git/actions/updateLocalProfileActions.ts
rename to app/client/src/git/store/actions/updateLocalProfileActions.ts
index 839175016d2a..717bb388cb9b 100644
--- a/app/client/src/git/actions/updateLocalProfileActions.ts
+++ b/app/client/src/git/store/actions/updateLocalProfileActions.ts
@@ -1,4 +1,4 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
import type { GitAsyncErrorPayload } from "../types";
import type { UpdateLocalProfileRequestParams } from "git/requests/updateLocalProfileRequest.types";
diff --git a/app/client/src/git/actions/updateProtectedBranchesActions.ts b/app/client/src/git/store/actions/updateProtectedBranchesActions.ts
similarity index 90%
rename from app/client/src/git/actions/updateProtectedBranchesActions.ts
rename to app/client/src/git/store/actions/updateProtectedBranchesActions.ts
index d20fb52cd591..8a90e5889d8d 100644
--- a/app/client/src/git/actions/updateProtectedBranchesActions.ts
+++ b/app/client/src/git/store/actions/updateProtectedBranchesActions.ts
@@ -1,4 +1,4 @@
-import { createSingleArtifactAction } from "./helpers/createSingleArtifactAction";
+import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
import type { GitArtifactErrorPayloadAction } from "../types";
export const updateProtectedBranchesInitAction = createSingleArtifactAction(
diff --git a/app/client/src/git/store/gitArtifactSlice.ts b/app/client/src/git/store/gitArtifactSlice.ts
index 343661634d36..da29a9f54b4a 100644
--- a/app/client/src/git/store/gitArtifactSlice.ts
+++ b/app/client/src/git/store/gitArtifactSlice.ts
@@ -1,82 +1,151 @@
/* eslint-disable padding-line-between-statements */
import { createSlice } from "@reduxjs/toolkit";
-import type { GitArtifactReduxState } from "../types";
-import { mountAction, unmountAction } from "../actions/mountActions";
+import type { GitArtifactReduxState } from "./types";
+import { mountAction, unmountAction } from "./actions/mountActions";
import {
connectErrorAction,
connectInitAction,
connectSuccessAction,
-} from "../actions/connectActions";
+} from "./actions/connectActions";
import {
fetchMetadataErrorAction,
fetchMetadataInitAction,
fetchMetadataSuccessAction,
-} from "../actions/fetchMetadataActions";
+} from "./actions/fetchMetadataActions";
import {
fetchBranchesErrorAction,
fetchBranchesInitAction,
fetchBranchesSuccessAction,
-} from "../actions/fetchBranchesActions";
+} from "./actions/fetchBranchesActions";
import {
fetchStatusErrorAction,
fetchStatusInitAction,
fetchStatusSuccessAction,
-} from "../actions/fetchStatusActions";
+} from "./actions/fetchStatusActions";
import {
commitErrorAction,
commitInitAction,
commitSuccessAction,
-} from "../actions/commitActions";
+} from "./actions/commitActions";
import {
pullErrorAction,
pullInitAction,
pullSuccessAction,
-} from "../actions/pullActions";
-import { toggleRepoLimitErrorModalAction } from "../actions/repoLimitErrorModalActions";
+} from "./actions/pullActions";
import {
fetchLocalProfileErrorAction,
fetchLocalProfileInitAction,
fetchLocalProfileSuccessAction,
-} from "git/actions/fetchLocalProfileActions";
+} from "./actions/fetchLocalProfileActions";
import {
updateLocalProfileErrorAction,
updateLocalProfileInitAction,
updateLocalProfileSuccessAction,
-} from "git/actions/updateLocalProfileActions";
+} from "./actions/updateLocalProfileActions";
+import {
+ createBranchErrorAction,
+ createBranchInitAction,
+ createBranchSuccessAction,
+} from "./actions/createBranchActions";
+import {
+ deleteBranchErrorAction,
+ deleteBranchInitAction,
+ deleteBranchSuccessAction,
+} from "./actions/deleteBranchActions";
+import {
+ toggleGitBranchListPopupAction,
+ toggleGitConnectModalAction,
+ toggleGitOpsModalAction,
+ toggleGitSettingsModalAction,
+ toggleRepoLimitErrorModalAction,
+} from "./actions/uiActions";
+import {
+ checkoutBranchErrorAction,
+ checkoutBranchInitAction,
+ checkoutBranchSuccessAction,
+} from "./actions/checkoutBranchActions";
+import {
+ discardErrorAction,
+ discardInitAction,
+ discardSuccessAction,
+} from "./actions/discardActions";
+import {
+ fetchMergeStatusErrorAction,
+ fetchMergeStatusInitAction,
+ fetchMergeStatusSuccessAction,
+} from "./actions/fetchMergeStatusActions";
+import {
+ mergeErrorAction,
+ mergeInitAction,
+ mergeSuccessAction,
+} from "./actions/mergeActions";
const initialState: GitArtifactReduxState = {};
export const gitArtifactSlice = createSlice({
name: "git/artifact",
+ reducerPath: "git.artifact",
initialState,
reducers: {
mount: mountAction,
unmount: unmountAction,
+
+ // connect
connectInit: connectInitAction,
connectSuccess: connectSuccessAction,
connectError: connectErrorAction,
- fetchMetadataInit: fetchMetadataInitAction,
- fetchMetadataSuccess: fetchMetadataSuccessAction,
- fetchMetadataError: fetchMetadataErrorAction,
- fetchBranchesInit: fetchBranchesInitAction,
- fetchBranchesSuccess: fetchBranchesSuccessAction,
- fetchBranchesError: fetchBranchesErrorAction,
- fetchStatusInit: fetchStatusInitAction,
- fetchStatusSuccess: fetchStatusSuccessAction,
- fetchStatusError: fetchStatusErrorAction,
+ toggleGitConnectModal: toggleGitConnectModalAction,
+ toggleRepoLimitErrorModal: toggleRepoLimitErrorModalAction,
+
+ // git ops
commitInit: commitInitAction,
commitSuccess: commitSuccessAction,
commitError: commitErrorAction,
+ discardInit: discardInitAction,
+ discardSuccess: discardSuccessAction,
+ discardError: discardErrorAction,
+ fetchStatusInit: fetchStatusInitAction,
+ fetchStatusSuccess: fetchStatusSuccessAction,
+ fetchStatusError: fetchStatusErrorAction,
+ fetchMergeStatusInit: fetchMergeStatusInitAction,
+ fetchMergeStatusSuccess: fetchMergeStatusSuccessAction,
+ fetchMergeStatusError: fetchMergeStatusErrorAction,
+ mergeInit: mergeInitAction,
+ mergeSuccess: mergeSuccessAction,
+ mergeError: mergeErrorAction,
pullInit: pullInitAction,
pullSuccess: pullSuccessAction,
pullError: pullErrorAction,
+ toggleGitOpsModal: toggleGitOpsModalAction,
+
+ // branches
+ fetchBranchesInit: fetchBranchesInitAction,
+ fetchBranchesSuccess: fetchBranchesSuccessAction,
+ fetchBranchesError: fetchBranchesErrorAction,
+ createBranchInit: createBranchInitAction,
+ createBranchSuccess: createBranchSuccessAction,
+ createBranchError: createBranchErrorAction,
+ deleteBranchInit: deleteBranchInitAction,
+ deleteBranchSuccess: deleteBranchSuccessAction,
+ deleteBranchError: deleteBranchErrorAction,
+ checkoutBranchInit: checkoutBranchInitAction,
+ checkoutBranchSuccess: checkoutBranchSuccessAction,
+ checkoutBranchError: checkoutBranchErrorAction,
+ toggleGitBranchListPopup: toggleGitBranchListPopupAction,
+
+ // settings
+ toggleGitSettingsModal: toggleGitSettingsModalAction,
+
+ // metadata
+ fetchMetadataInit: fetchMetadataInitAction,
+ fetchMetadataSuccess: fetchMetadataSuccessAction,
+ fetchMetadataError: fetchMetadataErrorAction,
fetchLocalProfileInit: fetchLocalProfileInitAction,
fetchLocalProfileSuccess: fetchLocalProfileSuccessAction,
fetchLocalProfileError: fetchLocalProfileErrorAction,
updateLocalProfileInit: updateLocalProfileInitAction,
updateLocalProfileSuccess: updateLocalProfileSuccessAction,
updateLocalProfileError: updateLocalProfileErrorAction,
- toggleRepoLimitErrorModal: toggleRepoLimitErrorModalAction,
},
});
diff --git a/app/client/src/git/store/gitConfigSlice.ts b/app/client/src/git/store/gitConfigSlice.ts
index 14cf0971b643..a07a45d9730b 100644
--- a/app/client/src/git/store/gitConfigSlice.ts
+++ b/app/client/src/git/store/gitConfigSlice.ts
@@ -3,29 +3,17 @@ import {
fetchGlobalProfileErrorAction,
fetchGlobalProfileInitAction,
fetchGlobalProfileSuccessAction,
-} from "git/actions/fetchGlobalProfileActions";
+} from "./actions/fetchGlobalProfileActions";
import {
updateGlobalProfileErrorAction,
updateGlobalProfileInitAction,
updateGlobalProfileSuccessAction,
-} from "git/actions/updateGlobalProfileActions";
-import type { GitConfigReduxState } from "git/types";
-
-const initialState: GitConfigReduxState = {
- globalProfile: {
- value: null,
- loading: false,
- error: null,
- },
- updateGlobalProfile: {
- loading: false,
- error: null,
- },
-};
+} from "./actions/updateGlobalProfileActions";
+import { gitConfigInitialState } from "./helpers/gitConfigInitialState";
export const gitConfigSlice = createSlice({
name: "git/config",
- initialState,
+ initialState: gitConfigInitialState,
reducers: {
fetchGlobalProfileInit: fetchGlobalProfileInitAction,
fetchGlobalProfileSuccess: fetchGlobalProfileSuccessAction,
diff --git a/app/client/src/git/actions/helpers/createSingleArtifactAction.ts b/app/client/src/git/store/helpers/createSingleArtifactAction.ts
similarity index 89%
rename from app/client/src/git/actions/helpers/createSingleArtifactAction.ts
rename to app/client/src/git/store/helpers/createSingleArtifactAction.ts
index f983f1a27190..2e0642959be8 100644
--- a/app/client/src/git/actions/helpers/createSingleArtifactAction.ts
+++ b/app/client/src/git/store/helpers/createSingleArtifactAction.ts
@@ -3,8 +3,8 @@ import type {
GitArtifactPayloadAction,
GitArtifactReduxState,
GitSingleArtifactReduxState,
-} from "../../types";
-import { gitSingleArtifactInitialState } from "./singleArtifactInitialState";
+} from "../types";
+import { gitSingleArtifactInitialState } from "./gitSingleArtifactInitialState";
type SingleArtifactStateCb<T> = (
singleArtifactState: GitSingleArtifactReduxState,
diff --git a/app/client/src/git/store/helpers/gitConfigInitialState.ts b/app/client/src/git/store/helpers/gitConfigInitialState.ts
new file mode 100644
index 000000000000..7017399dfb16
--- /dev/null
+++ b/app/client/src/git/store/helpers/gitConfigInitialState.ts
@@ -0,0 +1,13 @@
+import type { GitConfigReduxState } from "../types";
+
+export const gitConfigInitialState: GitConfigReduxState = {
+ globalProfile: {
+ value: null,
+ loading: false,
+ error: null,
+ },
+ updateGlobalProfile: {
+ loading: false,
+ error: null,
+ },
+};
diff --git a/app/client/src/git/actions/helpers/singleArtifactInitialState.ts b/app/client/src/git/store/helpers/gitSingleArtifactInitialState.ts
similarity index 98%
rename from app/client/src/git/actions/helpers/singleArtifactInitialState.ts
rename to app/client/src/git/store/helpers/gitSingleArtifactInitialState.ts
index d4155ffe3fd6..a194106914a3 100644
--- a/app/client/src/git/actions/helpers/singleArtifactInitialState.ts
+++ b/app/client/src/git/store/helpers/gitSingleArtifactInitialState.ts
@@ -8,7 +8,7 @@ import type {
GitSingleArtifactAPIResponsesReduxState,
GitSingleArtifactUIReduxState,
GitSingleArtifactReduxState,
-} from "../../types";
+} from "../types";
const gitSingleArtifactInitialUIState: GitSingleArtifactUIReduxState = {
connectModal: {
@@ -19,7 +19,7 @@ const gitSingleArtifactInitialUIState: GitSingleArtifactUIReduxState = {
open: false,
step: GitImportStep.Provider,
},
- branchList: {
+ branchListPopup: {
open: false,
},
opsModal: {
diff --git a/app/client/src/git/store/selectors/gitSingleArtifactSelectors.ts b/app/client/src/git/store/selectors/gitSingleArtifactSelectors.ts
new file mode 100644
index 000000000000..e67bcdc99b4a
--- /dev/null
+++ b/app/client/src/git/store/selectors/gitSingleArtifactSelectors.ts
@@ -0,0 +1,64 @@
+import type { GitArtifactType } from "git/constants/enums";
+import type { GitRootState } from "../types";
+
+interface GitArtifactDef {
+ artifactType: keyof typeof GitArtifactType;
+ baseArtifactId: string;
+}
+
+export const selectSingleArtifact = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => {
+ return state.git.artifacts[artifactDef.artifactType]?.[
+ artifactDef.baseArtifactId
+ ];
+};
+
+// git ops
+export const selectCommit = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectSingleArtifact(state, artifactDef)?.apiResponses?.commit;
+
+export const selectDiscard = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectSingleArtifact(state, artifactDef)?.apiResponses?.discard;
+
+export const selectStatus = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectSingleArtifact(state, artifactDef)?.apiResponses?.status;
+
+export const selectMerge = (state: GitRootState, artifactDef: GitArtifactDef) =>
+ selectSingleArtifact(state, artifactDef)?.apiResponses?.merge;
+
+export const selectMergeStatus = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectSingleArtifact(state, artifactDef)?.apiResponses?.mergeStatus;
+
+export const selectPull = (state: GitRootState, artifactDef: GitArtifactDef) =>
+ selectSingleArtifact(state, artifactDef)?.apiResponses?.pull;
+
+// git branches
+export const selectBranches = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectSingleArtifact(state, artifactDef)?.apiResponses?.branches;
+
+export const selectCreateBranch = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectSingleArtifact(state, artifactDef)?.apiResponses?.createBranch;
+
+export const selectDeleteBranch = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectSingleArtifact(state, artifactDef)?.apiResponses?.deleteBranch;
+
+export const selectCheckoutBranch = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectSingleArtifact(state, artifactDef)?.apiResponses.checkoutBranch;
diff --git a/app/client/src/git/types.ts b/app/client/src/git/store/types.ts
similarity index 78%
rename from app/client/src/git/types.ts
rename to app/client/src/git/store/types.ts
index 78d9c69e8ab0..695572840d93 100644
--- a/app/client/src/git/types.ts
+++ b/app/client/src/git/store/types.ts
@@ -5,27 +5,23 @@ import type {
GitImportStep,
GitOpsTab,
GitSettingsTab,
-} from "./constants/enums";
-import type { FetchGlobalProfileResponseData } from "./requests/fetchGlobalProfileRequest.types";
-import type { FetchBranchesResponseData } from "./requests/fetchBranchesRequest.types";
-import type { FetchLocalProfileResponseData } from "./requests/fetchLocalProfileRequest.types";
+} from "../constants/enums";
+import type { FetchGlobalProfileResponseData } from "../requests/fetchGlobalProfileRequest.types";
+import type { FetchBranchesResponseData } from "../requests/fetchBranchesRequest.types";
+import type { FetchLocalProfileResponseData } from "../requests/fetchLocalProfileRequest.types";
+import type { FetchStatusResponseData } from "git/requests/fetchStatusRequest.types";
+import type { FetchMergeStatusResponseData } from "git/requests/fetchMergeStatusRequest.types";
// These will be updated when contracts are finalized
export type GitMetadata = Record<string, unknown>;
-export type GitStatus = Record<string, unknown>;
-
-export type GitMergeStatus = Record<string, unknown>;
-
-export type GitLocalProfile = Record<string, unknown>;
-
export type GitProtectedBranches = Record<string, unknown>;
export type GitAutocommitProgress = Record<string, unknown>;
export type GitSSHKey = Record<string, unknown>;
-interface AsyncState<T = unknown> {
+export interface AsyncState<T = unknown> {
value: T | null;
loading: boolean;
error: string | null;
@@ -38,11 +34,11 @@ interface AsyncStateWithoutValue {
export interface GitSingleArtifactAPIResponsesReduxState {
metadata: AsyncState<GitMetadata>;
connect: AsyncStateWithoutValue;
- status: AsyncState<GitStatus>;
+ status: AsyncState<FetchStatusResponseData>;
commit: AsyncStateWithoutValue;
pull: AsyncStateWithoutValue;
discard: AsyncStateWithoutValue;
- mergeStatus: AsyncState<GitMergeStatus>;
+ mergeStatus: AsyncState<FetchMergeStatusResponseData>;
merge: AsyncStateWithoutValue;
branches: AsyncState<FetchBranchesResponseData>;
checkoutBranch: AsyncStateWithoutValue;
@@ -69,7 +65,7 @@ export interface GitSingleArtifactUIReduxState {
open: boolean;
step: keyof typeof GitImportStep;
};
- branchList: {
+ branchListPopup: {
open: boolean;
};
opsModal: {
@@ -98,6 +94,13 @@ export interface GitConfigReduxState {
updateGlobalProfile: AsyncStateWithoutValue;
}
+export interface GitRootState {
+ git: {
+ artifacts: GitArtifactReduxState;
+ config: GitConfigReduxState;
+ };
+}
+
export interface GitArtifactBasePayload {
artifactType: keyof typeof GitArtifactType;
baseArtifactId: string;
|
028fe42dd2c4f48759221b50096aa847accee08d
|
2022-01-05 19:13:25
|
Pawan Kumar
|
fix: Select widget if set to required on initial state has red border (#9378)
| false
|
Select widget if set to required on initial state has red border (#9378)
|
fix
|
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/Widget_Popup_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/Widget_Popup_spec.js
index 84a31770a5a1..7b21bb607032 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/Widget_Popup_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/Widget_Popup_spec.js
@@ -20,7 +20,7 @@ describe("Dropdown Widget Functionality", function() {
});
cy.get(".select-popover-wrapper")
.invoke("outerWidth")
- .should("eq", 147.1875);
+ .should("eq", 180);
// Menu Button
cy.get(formWidgetsPage.menuButtonWidget)
diff --git a/app/client/src/widgets/DropdownWidget/component/index.tsx b/app/client/src/widgets/DropdownWidget/component/index.tsx
index d5730315390c..6dcc6a547eaa 100644
--- a/app/client/src/widgets/DropdownWidget/component/index.tsx
+++ b/app/client/src/widgets/DropdownWidget/component/index.tsx
@@ -29,6 +29,7 @@ const SingleDropDown = Select.ofType<DropdownOption>();
const StyledSingleDropDown = styled(SingleDropDown)<{
isSelected: boolean;
isValid: boolean;
+ hasError?: boolean;
}>`
div {
flex: 1 1 auto;
@@ -52,7 +53,7 @@ const StyledSingleDropDown = styled(SingleDropDown)<{
min-height: 36px;
padding-left: 12px;
border: 1.2px solid
- ${(props) => (props.isValid ? Colors.GREY_3 : Colors.DANGER_SOLID)};
+ ${(props) => (props.hasError ? Colors.DANGER_SOLID : Colors.GREY_3)};
${(props) =>
props.isValid
? `
@@ -70,7 +71,7 @@ const StyledSingleDropDown = styled(SingleDropDown)<{
&&&&& .${Classes.POPOVER_OPEN} .${Classes.BUTTON} {
outline: 0;
${(props) =>
- props.isValid
+ !props.hasError
? `
border: 1.2px solid ${Colors.GREEN_SOLID};
box-shadow: 0px 0px 0px 2px ${Colors.GREEN_SOLID_HOVER};
@@ -138,13 +139,14 @@ ${({ dropDownWidth, id, parentWidth }) => `
}
`}
.select-popover-wrapper {
- width: auto;
+ width: auto;
box-shadow: 0 6px 20px 0px rgba(0, 0, 0, 0.15) !important;
border-radius: 0;
background: white;
& .${Classes.INPUT_GROUP} {
padding: 12px 12px 8px 12px;
+ min-width: 180px;
& > .${Classes.ICON} {
&:first-child {
@@ -313,6 +315,7 @@ class DropDownComponent extends React.Component<
className={isLoading ? Classes.SKELETON : ""}
disabled={disabled}
filterable={this.props.isFilterable}
+ hasError={this.props.hasError}
isSelected={
!_.isEmpty(this.props.options) &&
this.props.selectedIndex !== undefined &&
@@ -423,6 +426,7 @@ export interface DropDownComponentProps extends ComponentProps {
dropDownWidth: number;
height: number;
serverSideFiltering: boolean;
+ hasError?: boolean;
onFilterChange: (text: string) => void;
}
diff --git a/app/client/src/widgets/DropdownWidget/widget/index.tsx b/app/client/src/widgets/DropdownWidget/widget/index.tsx
index 3bf138ae45ab..fc07d3746123 100644
--- a/app/client/src/widgets/DropdownWidget/widget/index.tsx
+++ b/app/client/src/widgets/DropdownWidget/widget/index.tsx
@@ -313,11 +313,14 @@ class DropdownWidget extends BaseWidget<DropdownWidgetProps, WidgetState> {
getPageView() {
const options = _.isArray(this.props.options) ? this.props.options : [];
+ const isInvalid =
+ "isValid" in this.props && !this.props.isValid && !!this.props.isDirty;
const dropDownWidth = MinimumPopupRows * this.props.parentColumnSpace;
const selectedIndex = _.findIndex(this.props.options, {
value: this.props.selectedOptionValue,
});
+
const { componentHeight, componentWidth } = this.getComponentDimensions();
return (
<DropDownComponent
@@ -330,6 +333,7 @@ class DropdownWidget extends BaseWidget<DropdownWidgetProps, WidgetState> {
}
disabled={this.props.isDisabled}
dropDownWidth={dropDownWidth}
+ hasError={isInvalid}
height={componentHeight}
isFilterable={this.props.isFilterable}
isLoading={this.props.isLoading}
@@ -353,6 +357,10 @@ class DropdownWidget extends BaseWidget<DropdownWidgetProps, WidgetState> {
onOptionSelected = (selectedOption: DropdownOption) => {
let isChanged = true;
+ if (!this.props.isDirty) {
+ this.props.updateWidgetMetaProperty("isDirty", true);
+ }
+
// Check if the value has changed. If no option
// selected till now, there is a change
if (this.props.selectedOptionValue) {
@@ -408,6 +416,7 @@ export interface DropdownWidgetProps extends WidgetProps {
selectedOptionLabel: string;
serverSideFiltering: boolean;
onFilterUpdate: string;
+ isDirty?: boolean;
}
export default DropdownWidget;
|
659e99f38c7f43d819512e446c1521dde1540c25
|
2024-05-31 12:53:04
|
Luís Correia
|
fix: Statbox widget min-height inconsistency (#28677) (#32386)
| false
|
Statbox widget min-height inconsistency (#28677) (#32386)
|
fix
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/DynamicHeight/Statbox_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/DynamicHeight/Statbox_spec.ts
new file mode 100644
index 000000000000..7a909f522f4e
--- /dev/null
+++ b/app/client/cypress/e2e/Regression/ClientSide/DynamicHeight/Statbox_spec.ts
@@ -0,0 +1,61 @@
+import {
+ agHelper,
+ assertHelper,
+ draggableWidgets,
+ locators,
+ entityExplorer,
+ propPane,
+} from "../../../../support/Objects/ObjectsCore";
+import EditorNavigation, {
+ EntityType,
+} from "../../../../support/Pages/EditorNavigation";
+
+describe(
+ "Dynamic Height Adjustment for Statbox Widget",
+ { tags: ["@tag.AutoHeight"] },
+ function () {
+ before(() => {
+ entityExplorer.DragDropWidgetNVerify(draggableWidgets.STATBOX);
+ });
+ it("Validate decreasing height of Statbox widget by removing its widgets", function () {
+ propPane.AssertPropertiesDropDownCurrentValue("Height", "Auto Height");
+
+ // Function to delete widget and verify height change
+ function deleteWidgetAndVerifyHeightChange(widgetName: string) {
+ agHelper
+ .GetWidgetCSSHeight(
+ locators._widgetInDeployed(draggableWidgets.STATBOX),
+ )
+ .then(($currentStatboxHeight) => {
+ EditorNavigation.SelectEntityByName(
+ widgetName,
+ EntityType.Widget,
+ {},
+ ["Statbox1"],
+ );
+ agHelper.PressDelete();
+ agHelper.WaitUntilAllToastsDisappear();
+ assertHelper.AssertNetworkStatus("updateLayout");
+ agHelper.Sleep(2000);
+
+ agHelper
+ .GetWidgetCSSHeight(
+ locators._widgetInDeployed(draggableWidgets.STATBOX),
+ )
+ .then(($updatedStatboxHeight) => {
+ // Verify that the height of the Statbox widget has decreased
+ expect($currentStatboxHeight).to.not.equal(
+ $updatedStatboxHeight,
+ );
+ });
+ });
+ }
+
+ // Delete bottom text widget from statbox and verify height change
+ deleteWidgetAndVerifyHeightChange("Text3");
+
+ // Delete icon button widget from statbox and verify height change
+ deleteWidgetAndVerifyHeightChange("IconButton1");
+ });
+ },
+);
diff --git a/app/client/src/widgets/StatboxWidget/widget/index.tsx b/app/client/src/widgets/StatboxWidget/widget/index.tsx
index 6c82745e6deb..911fdad943c9 100644
--- a/app/client/src/widgets/StatboxWidget/widget/index.tsx
+++ b/app/client/src/widgets/StatboxWidget/widget/index.tsx
@@ -82,7 +82,6 @@ class StatboxWidget extends ContainerWidget {
backgroundColor: "white",
borderWidth: "1",
borderColor: Colors.GREY_5,
- minDynamicHeight: 14,
children: [],
positioning: Positioning.Fixed,
responsiveBehavior: ResponsiveBehavior.Fill,
|
5762e69076058126ebe483be5a2e86531147cff3
|
2024-02-29 14:18:28
|
Pawan Kumar
|
fix: refocussing of input (#31376)
| false
|
refocussing of input (#31376)
|
fix
|
diff --git a/app/client/packages/design-system/widgets/src/styles/src/text-input.module.css b/app/client/packages/design-system/widgets/src/styles/src/text-input.module.css
index 031d6a124e91..5034277d26f7 100644
--- a/app/client/packages/design-system/widgets/src/styles/src/text-input.module.css
+++ b/app/client/packages/design-system/widgets/src/styles/src/text-input.module.css
@@ -60,6 +60,7 @@
position: absolute;
box-shadow: 0 0 0 2px var(--color-bd-focus);
border-radius: var(--border-radius-elevation-3);
+ z-index: -1;
}
& [data-readonly][data-field-input][data-focused]:before {
|
f02e5f13e19d6c1f6a5579fe392dadb3087b560a
|
2023-06-23 22:28:35
|
Nayan
|
fix: Remove not found error in get snapshot API (#24684)
| false
|
Remove not found error in get snapshot API (#24684)
|
fix
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ApplicationSnapshot.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ApplicationSnapshot.java
index cad0fab99eed..7847f1c9a5e7 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ApplicationSnapshot.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/ApplicationSnapshot.java
@@ -36,6 +36,7 @@ public class ApplicationSnapshot extends BaseDomain {
* @return Updated at timestamp in ISO format
*/
public String getUpdatedTime() {
+ if(this.getUpdatedAt() == null) return null;
return DateUtils.ISO_FORMATTER.format(this.getUpdatedAt());
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/dtos/ApplicationPagesDTO.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/dtos/ApplicationPagesDTO.java
index c8ce8b16bd53..7565a27b2d1c 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/dtos/ApplicationPagesDTO.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/dtos/ApplicationPagesDTO.java
@@ -15,6 +15,4 @@ public class ApplicationPagesDTO {
Application application;
List<PageNameIdDTO> pages;
-
- String latestSnapshotTime;
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationSnapshotServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationSnapshotServiceCEImpl.java
index 13d8aa1e5762..bb8e490ecd4b 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationSnapshotServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationSnapshotServiceCEImpl.java
@@ -67,13 +67,8 @@ private Flux<ApplicationSnapshot> createSnapshots(String applicationId, Applicat
public Mono<ApplicationSnapshot> getWithoutDataByApplicationId(String applicationId, String branchName) {
// get application first to check the permission and get child aka branched application ID
return applicationService.findBranchedApplicationId(branchName, applicationId, applicationPermission.getEditPermission())
- .switchIfEmpty(Mono.error(
- new AppsmithException(AppsmithError.NO_RESOURCE_FOUND, FieldName.APPLICATION, applicationId))
- )
.flatMap(applicationSnapshotRepository::findWithoutData)
- .switchIfEmpty(Mono.error(
- new AppsmithException(AppsmithError.NO_RESOURCE_FOUND, FieldName.APPLICATION, applicationId))
- );
+ .defaultIfEmpty(new ApplicationSnapshot());
}
@Override
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/NewPageServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/NewPageServiceCEImpl.java
index c53b70599351..8a98fff4c2f7 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/NewPageServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/NewPageServiceCEImpl.java
@@ -6,7 +6,6 @@
import com.appsmith.server.domains.Application;
import com.appsmith.server.domains.ApplicationMode;
import com.appsmith.server.domains.ApplicationPage;
-import com.appsmith.server.domains.ApplicationSnapshot;
import com.appsmith.server.domains.Layout;
import com.appsmith.server.domains.NewPage;
import com.appsmith.server.dtos.ApplicationPagesDTO;
@@ -236,9 +235,6 @@ public Mono<ApplicationPagesDTO> findApplicationPagesByApplicationIdViewMode(Str
permission = applicationPermission.getEditPermission();
}
- Mono<ApplicationSnapshot> applicationSnapshotMono = applicationSnapshotRepository.findWithoutData(applicationId)
- .defaultIfEmpty(new ApplicationSnapshot());
-
Mono<Application> applicationMono = applicationService.findById(applicationId, permission)
.switchIfEmpty(Mono.error(new AppsmithException(AppsmithError.ACL_NO_RESOURCE_FOUND, FieldName.APPLICATION, applicationId)))
// Throw a 404 error if the application has never been published
@@ -370,7 +366,7 @@ public Mono<ApplicationPagesDTO> findApplicationPagesByApplicationIdViewMode(Str
return Mono.just(pageNameIdDTOList);
});
- return Mono.zip(applicationMono, pagesListMono, applicationSnapshotMono)
+ return Mono.zip(applicationMono, pagesListMono)
.map(tuple -> {
log.debug("Populating applicationPagesDTO ...");
Application application = tuple.getT1();
@@ -382,12 +378,6 @@ public Mono<ApplicationPagesDTO> findApplicationPagesByApplicationIdViewMode(Str
applicationPagesDTO.setWorkspaceId(application.getWorkspaceId());
applicationPagesDTO.setPages(nameIdDTOList);
applicationPagesDTO.setApplication(application);
-
- // set the latest snapshot time if there is a snapshot for this application for edit mode
- ApplicationSnapshot applicationSnapshot = tuple.getT3();
- if(!view && StringUtils.hasLength(applicationSnapshot.getId())) {
- applicationPagesDTO.setLatestSnapshotTime(applicationSnapshot.getUpdatedTime());
- }
return applicationPagesDTO;
});
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationSnapshotServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationSnapshotServiceTest.java
index 133720701113..fa15dcb64825 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationSnapshotServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationSnapshotServiceTest.java
@@ -272,4 +272,29 @@ public void deleteSnapshot_WhenSnapshotExists_Deleted() {
StepVerifier.create(snapshotFlux)
.verifyComplete();
}
+
+ @WithUserDetails("api_user")
+ @Test
+ public void getWithoutDataByApplicationId_WhenSnanshotNotFound_ReturnsEmptySnapshot() {
+ String uniqueString = UUID.randomUUID().toString();
+ Workspace workspace = new Workspace();
+ workspace.setName("Test workspace " + uniqueString);
+
+ Mono<ApplicationSnapshot> applicationSnapshotMono = workspaceService.create(workspace)
+ .flatMap(createdWorkspace -> {
+ Application testApplication = new Application();
+ testApplication.setName("Test app for snapshot");
+ testApplication.setWorkspaceId(createdWorkspace.getId());
+ return applicationPageService.createApplication(testApplication);
+ })
+ .flatMap(application1 -> {
+ return applicationSnapshotService.getWithoutDataByApplicationId(application1.getId(), null);
+ });
+
+ StepVerifier.create(applicationSnapshotMono)
+ .assertNext(applicationSnapshot -> {
+ assertThat(applicationSnapshot.getId()).isNull();
+ })
+ .verifyComplete();
+ }
}
\ No newline at end of file
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/NewPageServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/NewPageServiceTest.java
index 9247a37ba2a3..10628e1f4408 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/NewPageServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/NewPageServiceTest.java
@@ -5,7 +5,6 @@
import com.appsmith.server.domains.Application;
import com.appsmith.server.domains.ApplicationMode;
import com.appsmith.server.domains.ApplicationPage;
-import com.appsmith.server.domains.ApplicationSnapshot;
import com.appsmith.server.domains.PermissionGroup;
import com.appsmith.server.domains.Workspace;
import com.appsmith.server.dtos.ApplicationPagesDTO;
@@ -237,29 +236,4 @@ public void findApplicationPage_CheckPageIcon_IsValid() {
.verifyComplete();
}
- @Test
- @WithUserDetails("api_user")
- public void findApplicationPagesByApplicationIdViewMode_WhenSnapshotExists_SnapshotTimeReturned() {
- String randomId = UUID.randomUUID().toString();
- Workspace workspace = new Workspace();
- workspace.setName("org_" + randomId);
- Mono<ApplicationPagesDTO> applicationPagesDTOMono = workspaceService.create(workspace)
- .flatMap(createdWorkspace -> {
- Application application = new Application();
- application.setName("app_" + randomId);
- return applicationPageService.createApplication(application, createdWorkspace.getId());
- })
- .flatMap(application -> {
- ApplicationSnapshot snapshot = new ApplicationSnapshot();
- snapshot.setApplicationId(application.getId());
- snapshot.setChunkOrder(1);
- return applicationSnapshotRepository.save(snapshot).thenReturn(application);
- })
- .flatMap(application -> newPageService.findApplicationPagesByApplicationIdViewMode(application.getId(), false, false));
-
- StepVerifier.create(applicationPagesDTOMono).assertNext(applicationPagesDTO -> {
- assertThat(applicationPagesDTO.getLatestSnapshotTime()).isNotNull();
- }).verifyComplete();
- }
-
}
\ No newline at end of file
|
99ec9e82e3c0ad0e48c7948e6c1aef16c0939079
|
2022-04-08 11:39:23
|
ashit-rath
|
fix: JSONForm select/multiselect filterText value synchronous update with onFilterUpdate action (#12578)
| false
|
JSONForm select/multiselect filterText value synchronous update with onFilterUpdate action (#12578)
|
fix
|
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/JSONFormWidget/JSONForm_FilterText_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/JSONFormWidget/JSONForm_FilterText_spec.js
new file mode 100644
index 000000000000..f9998f36a9cd
--- /dev/null
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/JSONFormWidget/JSONForm_FilterText_spec.js
@@ -0,0 +1,99 @@
+/**
+ * Spec to test the filterText update action trigger in Select and MultiSelect widget
+ */
+
+const dslWithoutSchema = require("../../../../../fixtures/jsonFormDslWithoutSchema.json");
+const commonlocators = require("../../../../../locators/commonlocators.json");
+
+const onFilterUpdateJSBtn = ".t--property-control-onfilterupdate .t--js-toggle";
+const fieldPrefix = ".t--jsonformfield";
+
+describe("JSONForm Select field - filterText update action trigger ", () => {
+ before(() => {
+ const schema = {
+ color: "GREEN",
+ };
+ cy.addDsl(dslWithoutSchema);
+ cy.openPropertyPane("jsonformwidget");
+ cy.testJsontext("sourcedata", JSON.stringify(schema));
+ cy.openFieldConfiguration("color");
+ cy.selectDropdownValue(commonlocators.jsonFormFieldType, /^Select$/);
+ cy.closePropertyPane();
+ });
+
+ it("shows alert on filter text change", () => {
+ const filterText = "Test string";
+
+ cy.openPropertyPane("jsonformwidget");
+ cy.openFieldConfiguration("color");
+
+ // Enable filterable
+ cy.togglebar(`.t--property-control-filterable input`);
+ // Enable server side filtering
+ cy.togglebar(`.t--property-control-serversidefiltering input`);
+
+ // Enable JS mode for onFilterUpdate
+ cy.get(onFilterUpdateJSBtn).click({ force: true });
+
+ // Add onFilterUpdate action
+ cy.testJsontext(
+ "onfilterupdate",
+ "{{showAlert('Filter update:'}}{{fieldState?.color?.filterText)}}",
+ );
+
+ // click select field and filter input should exist
+ cy.get(`${fieldPrefix}-color .bp3-control-group`).click({ force: true });
+ cy.get(`.bp3-select-popover .bp3-input-group`).should("exist");
+
+ // Type "Test string" in the filterable input.
+ cy.get(`.bp3-select-popover .bp3-input-group input`).type(filterText);
+
+ cy.get(commonlocators.toastmsg).contains(`Filter update:${filterText}`);
+ });
+});
+
+describe("JSONForm Multiselect field - filterText update action trigger ", () => {
+ before(() => {
+ const schema = {
+ colors: ["GREEN", "BLUE"],
+ };
+ cy.addDsl(dslWithoutSchema);
+ cy.openPropertyPane("jsonformwidget");
+ cy.testJsontext("sourcedata", JSON.stringify(schema));
+ cy.closePropertyPane();
+ });
+
+ it("shows alert on filter text change", () => {
+ const filterText = "Test string";
+
+ cy.openPropertyPane("jsonformwidget");
+ cy.openFieldConfiguration("colors");
+
+ // Enable filterable
+ cy.togglebar(`.t--property-control-filterable input`);
+ // Enable server side filtering
+ cy.togglebar(`.t--property-control-serversidefiltering input`);
+
+ // Enable JS mode for onFilterUpdate
+ cy.get(onFilterUpdateJSBtn).click({ force: true });
+
+ // Add onFilterUpdate action
+ cy.testJsontext(
+ "onfilterupdate",
+ "{{showAlert('Filter update:'}}{{fieldState?.colors?.filterText)}}",
+ );
+
+ // Open multiselect field and filter input should exist
+ cy.get(`${fieldPrefix}-colors`)
+ .find(".rc-select-selection-search-input")
+ .first()
+ .focus({ force: true })
+ .type("{uparrow}", { force: true });
+ cy.get(".multi-select-dropdown input.bp3-input").should("exist");
+
+ // Type "Test string" in the filterable input.
+ cy.get(".multi-select-dropdown input.bp3-input").type(filterText);
+
+ cy.get(commonlocators.toastmsg).contains(`Filter update:${filterText}`);
+ });
+});
diff --git a/app/client/src/widgets/JSONFormWidget/FormContext.tsx b/app/client/src/widgets/JSONFormWidget/FormContext.tsx
index d7860d940727..52d431908634 100644
--- a/app/client/src/widgets/JSONFormWidget/FormContext.tsx
+++ b/app/client/src/widgets/JSONFormWidget/FormContext.tsx
@@ -3,12 +3,14 @@ import React, { createContext, useMemo } from "react";
import { ExecuteTriggerPayload } from "constants/AppsmithActionConstants/ActionConstants";
import { RenderMode } from "constants/WidgetConstants";
import { JSONFormWidgetState } from "./widget";
+import { DebouncedExecuteActionPayload } from "widgets/MetaHOC";
type FormContextProps<TValues = any> = React.PropsWithChildren<{
executeAction: (actionPayload: ExecuteTriggerPayload) => void;
renderMode: RenderMode;
setMetaInternalFieldState: (
- cb: (prevState: JSONFormWidgetState) => JSONFormWidgetState,
+ updateCallback: (prevState: JSONFormWidgetState) => JSONFormWidgetState,
+ afterUpdateAction?: DebouncedExecuteActionPayload,
) => void;
updateWidgetMetaProperty: (propertyName: string, propertyValue: any) => void;
updateWidgetProperty: (propertyName: string, propertyValues: any) => void;
diff --git a/app/client/src/widgets/JSONFormWidget/fields/MultiSelectField.tsx b/app/client/src/widgets/JSONFormWidget/fields/MultiSelectField.tsx
index ad5bbcb69a67..33cc2da119bf 100644
--- a/app/client/src/widgets/JSONFormWidget/fields/MultiSelectField.tsx
+++ b/app/client/src/widgets/JSONFormWidget/fields/MultiSelectField.tsx
@@ -1,4 +1,4 @@
-import React, { useCallback, useContext, useMemo, useState } from "react";
+import React, { useCallback, useContext, useMemo } from "react";
import styled from "styled-components";
import {
DefaultValueType,
@@ -93,8 +93,7 @@ function MultiSelectField({
onBlur: onBlurDynamicString,
onFocus: onFocusDynamicString,
} = schemaItem;
- const { executeAction, updateWidgetMetaProperty } = useContext(FormContext);
- const [filterText, setFilterText] = useState<string>();
+ const { executeAction } = useContext(FormContext);
const {
field: { onBlur, onChange, value },
@@ -120,9 +119,8 @@ function MultiSelectField({
fieldType,
});
- useUpdateInternalMetaState({
+ const [updateFilterText] = useUpdateInternalMetaState({
propertyName: `${name}.filterText`,
- propertyValue: filterText,
});
const fieldDefaultValue = useMemo(() => {
@@ -155,10 +153,10 @@ function MultiSelectField({
const onFilterChange = useCallback(
(value: string) => {
- setFilterText(value);
-
- if (schemaItem.onFilterUpdate) {
- executeAction({
+ if (!schemaItem.onFilterUpdate) {
+ updateFilterText(value);
+ } else {
+ updateFilterText(value, {
triggerPropertyName: "onFilterUpdate",
dynamicString: schemaItem.onFilterUpdate,
event: {
@@ -167,7 +165,7 @@ function MultiSelectField({
});
}
},
- [updateWidgetMetaProperty, executeAction, schemaItem.onFilterUpdate],
+ [executeAction, schemaItem.onFilterUpdate],
);
const onOptionChange = useCallback(
@@ -196,7 +194,6 @@ function MultiSelectField({
disabled={schemaItem.isDisabled}
dropDownWidth={90}
dropdownStyle={DEFAULT_DROPDOWN_STYLES}
- filterText={filterText}
isFilterable={schemaItem.isFilterable}
isValid={isDirty ? isValueValid : true}
loading={false}
@@ -215,7 +212,6 @@ function MultiSelectField({
);
}, [
componentValues,
- filterText,
isDirty,
isValueValid,
name,
diff --git a/app/client/src/widgets/JSONFormWidget/fields/SelectField.tsx b/app/client/src/widgets/JSONFormWidget/fields/SelectField.tsx
index 2768c139d2b0..44c110661bcc 100644
--- a/app/client/src/widgets/JSONFormWidget/fields/SelectField.tsx
+++ b/app/client/src/widgets/JSONFormWidget/fields/SelectField.tsx
@@ -1,10 +1,4 @@
-import React, {
- useCallback,
- useContext,
- useMemo,
- useRef,
- useState,
-} from "react";
+import React, { useCallback, useContext, useMemo, useRef } from "react";
import styled from "styled-components";
import { useController } from "react-hook-form";
@@ -77,7 +71,6 @@ function SelectField({
const wrapperRef = useRef<HTMLDivElement>(null);
const isDirtyRef = useRef<boolean>(false);
const { executeAction } = useContext(FormContext);
- const [filterText, setFilterText] = useState<string>();
const {
field: { onChange, value },
} = useController({
@@ -98,17 +91,16 @@ function SelectField({
fieldType: schemaItem.fieldType,
});
- useUpdateInternalMetaState({
+ const [updateFilterText] = useUpdateInternalMetaState({
propertyName: `${name}.filterText`,
- propertyValue: filterText,
});
const onFilterChange = useCallback(
(value: string) => {
- setFilterText(value);
-
- if (schemaItem.onFilterUpdate) {
- executeAction({
+ if (!schemaItem.onFilterUpdate) {
+ updateFilterText(value);
+ } else {
+ updateFilterText(value, {
triggerPropertyName: "onFilterUpdate",
dynamicString: schemaItem.onFilterUpdate,
event: {
@@ -155,7 +147,6 @@ function SelectField({
compactMode={false}
disabled={schemaItem.isDisabled}
dropDownWidth={dropdownWidth || 100}
- filterText={filterText}
hasError={isDirtyRef.current ? !isValueValid : false}
height={10}
isFilterable={schemaItem.isFilterable}
@@ -183,7 +174,6 @@ function SelectField({
schemaItem.isFilterable,
schemaItem.isDisabled,
isDirtyRef,
- filterText,
wrapperRef,
isValueValid,
onOptionSelected,
diff --git a/app/client/src/widgets/JSONFormWidget/fields/useUpdateInternalMetaState.ts b/app/client/src/widgets/JSONFormWidget/fields/useUpdateInternalMetaState.ts
index c8d8fcaa9ee2..37e52ae01482 100644
--- a/app/client/src/widgets/JSONFormWidget/fields/useUpdateInternalMetaState.ts
+++ b/app/client/src/widgets/JSONFormWidget/fields/useUpdateInternalMetaState.ts
@@ -1,34 +1,50 @@
-import { set } from "lodash";
-import { useContext, useEffect } from "react";
+import { debounce, set } from "lodash";
+import { useMemo, useContext, useCallback } from "react";
+import { DebouncedExecuteActionPayload } from "widgets/MetaHOC";
import FormContext from "../FormContext";
const clone = require("rfdc/default");
export type UseUpdateInternalMetaStateProps = {
propertyName?: string;
- propertyValue?: string | number;
};
+const DEBOUNCE_TIMEOUT = 100;
+
function useUpdateInternalMetaState({
propertyName,
- propertyValue,
}: UseUpdateInternalMetaStateProps) {
const { setMetaInternalFieldState } = useContext(FormContext);
- useEffect(() => {
- if (propertyName) {
- setMetaInternalFieldState((prevState) => {
- const metaInternalFieldState = clone(prevState.metaInternalFieldState);
- set(metaInternalFieldState, propertyName, propertyValue);
-
- return {
- ...prevState,
- metaInternalFieldState,
- };
- });
- }
- }, [propertyName, propertyValue, setMetaInternalFieldState]);
+ const updateProperty = useCallback(
+ (
+ propertyValue: unknown,
+ afterUpdateAction?: DebouncedExecuteActionPayload,
+ ) => {
+ if (propertyName) {
+ setMetaInternalFieldState((prevState) => {
+ const metaInternalFieldState = clone(
+ prevState.metaInternalFieldState,
+ );
+ set(metaInternalFieldState, propertyName, propertyValue);
+
+ return {
+ ...prevState,
+ metaInternalFieldState,
+ };
+ }, afterUpdateAction);
+ }
+ },
+ [setMetaInternalFieldState, propertyName],
+ );
+
+ const debouncedUpdateProperty = useMemo(
+ () => debounce(updateProperty, DEBOUNCE_TIMEOUT),
+ [updateProperty],
+ );
+
+ return [debouncedUpdateProperty];
}
export default useUpdateInternalMetaState;
diff --git a/app/client/src/widgets/JSONFormWidget/widget/helper.test.ts b/app/client/src/widgets/JSONFormWidget/widget/helper.test.ts
index 0d342c0bea66..9442cb0f285b 100644
--- a/app/client/src/widgets/JSONFormWidget/widget/helper.test.ts
+++ b/app/client/src/widgets/JSONFormWidget/widget/helper.test.ts
@@ -544,7 +544,7 @@ describe(".computeSchema", () => {
expect(response.status).toEqual(ComputedSchemaStatus.LIMIT_EXCEEDED);
expect(response.dynamicPropertyPathList).toBeUndefined();
- expect(response.schema).toBeUndefined();
+ expect(response.schema).toEqual({});
});
it("returns UNCHANGED status no source data is passed", () => {
@@ -558,7 +558,7 @@ describe(".computeSchema", () => {
expect(response.status).toEqual(ComputedSchemaStatus.UNCHANGED);
expect(response.dynamicPropertyPathList).toBeUndefined();
- expect(response.schema).toBeUndefined();
+ expect(response.schema).toEqual({});
});
});
@@ -587,7 +587,7 @@ describe(".computeSchema", () => {
expect(response.status).toEqual(ComputedSchemaStatus.UNCHANGED);
expect(response.dynamicPropertyPathList).toBeUndefined();
- expect(response.schema).toBeUndefined();
+ expect(response.schema).toEqual({});
});
it("returns new schema when prevSchema is not provided", () => {
diff --git a/app/client/src/widgets/JSONFormWidget/widget/helper.ts b/app/client/src/widgets/JSONFormWidget/widget/helper.ts
index 52de9d14643f..1db26611496b 100644
--- a/app/client/src/widgets/JSONFormWidget/widget/helper.ts
+++ b/app/client/src/widgets/JSONFormWidget/widget/helper.ts
@@ -30,7 +30,7 @@ type MetaFieldState = FieldState<FieldStateItem>;
type PathList = Array<{ key: string }>;
type ComputedSchema = {
status: ComputedSchemaStatus;
- schema?: Schema;
+ schema: Schema;
dynamicPropertyPathList?: PathList;
};
@@ -250,7 +250,7 @@ const computeDynamicPropertyPathList = (
export const computeSchema = ({
currentDynamicPropertyPathList,
currSourceData,
- prevSchema,
+ prevSchema = {},
prevSourceData,
widgetName,
}: ComputeSchemaProps): ComputedSchema => {
@@ -258,6 +258,7 @@ export const computeSchema = ({
if (isEmpty(currSourceData) || equal(prevSourceData, currSourceData)) {
return {
status: ComputedSchemaStatus.UNCHANGED,
+ schema: prevSchema,
};
}
@@ -265,6 +266,7 @@ export const computeSchema = ({
if (count > MAX_ALLOWED_FIELDS) {
return {
status: ComputedSchemaStatus.LIMIT_EXCEEDED,
+ schema: prevSchema,
};
}
diff --git a/app/client/src/widgets/JSONFormWidget/widget/index.tsx b/app/client/src/widgets/JSONFormWidget/widget/index.tsx
index f6051f5a0a3b..b1b4ee44ed51 100644
--- a/app/client/src/widgets/JSONFormWidget/widget/index.tsx
+++ b/app/client/src/widgets/JSONFormWidget/widget/index.tsx
@@ -22,6 +22,7 @@ import {
import { ButtonStyleProps } from "widgets/ButtonWidget/component";
import { BoxShadow } from "components/designSystems/appsmith/WidgetStyleContainer";
import { convertSchemaItemToFormData } from "../helper";
+import { DebouncedExecuteActionPayload } from "widgets/MetaHOC";
export interface JSONFormWidgetProps extends WidgetProps {
autoGenerateForm?: boolean;
@@ -114,8 +115,11 @@ class JSONFormWidget extends BaseWidget<
this.state.resetObserverCallback(this.props.schema);
}
- this.constructAndSaveSchemaIfRequired(prevProps);
- this.debouncedParseAndSaveFieldState();
+ const { schema } = this.constructAndSaveSchemaIfRequired(prevProps);
+ this.debouncedParseAndSaveFieldState(
+ this.state.metaInternalFieldState,
+ schema,
+ );
}
computeDynamicPropertyPathList = (schema: Schema) => {
@@ -151,7 +155,11 @@ class JSONFormWidget extends BaseWidget<
* So it will always stay 1 step behind the actual value.
*/
constructAndSaveSchemaIfRequired = (prevProps?: JSONFormWidgetProps) => {
- if (!this.props.autoGenerateForm) return;
+ if (!this.props.autoGenerateForm)
+ return {
+ status: ComputedSchemaStatus.UNCHANGED,
+ schema: prevProps?.schema || {},
+ };
const widget = this.props.canvasWidgets[
this.props.widgetId
@@ -159,29 +167,27 @@ class JSONFormWidget extends BaseWidget<
const prevSourceData = this.getPreviousSourceData(prevProps);
const currSourceData = this.props?.sourceData;
- const { dynamicPropertyPathList, schema, status } = computeSchema({
+ const computedSchema = computeSchema({
currentDynamicPropertyPathList: this.props.dynamicPropertyPathList,
currSourceData,
prevSchema: widget.schema,
prevSourceData,
widgetName: widget.widgetName,
});
-
- if (status === ComputedSchemaStatus.UNCHANGED) return;
+ const { dynamicPropertyPathList, schema, status } = computedSchema;
if (
status === ComputedSchemaStatus.LIMIT_EXCEEDED &&
!this.props.fieldLimitExceeded
) {
this.updateWidgetProperty("fieldLimitExceeded", true);
- return;
- }
-
- if (status === ComputedSchemaStatus.UPDATED) {
+ } else if (status === ComputedSchemaStatus.UPDATED) {
this.batchUpdateWidgetProperty({
modify: { schema, dynamicPropertyPathList, fieldLimitExceeded: false },
});
}
+
+ return computedSchema;
};
updateFormData = (values: any, skipConversion = false) => {
@@ -198,14 +204,19 @@ class JSONFormWidget extends BaseWidget<
this.props.updateWidgetMetaProperty("formData", formData);
};
- parseAndSaveFieldState = () => {
- const fieldState = generateFieldState(
- this.props.schema,
- this.state.metaInternalFieldState,
- );
+ parseAndSaveFieldState = (
+ metaInternalFieldState: MetaInternalFieldState,
+ schema: Schema,
+ afterUpdateAction?: DebouncedExecuteActionPayload,
+ ) => {
+ const fieldState = generateFieldState(schema, metaInternalFieldState);
if (!equal(fieldState, this.props.fieldState)) {
- this.props.updateWidgetMetaProperty("fieldState", fieldState);
+ this.props.updateWidgetMetaProperty(
+ "fieldState",
+ fieldState,
+ afterUpdateAction,
+ );
}
};
@@ -248,9 +259,20 @@ class JSONFormWidget extends BaseWidget<
};
setMetaInternalFieldState = (
- cb: (prevState: JSONFormWidgetState) => JSONFormWidgetState,
+ updateCallback: (prevState: JSONFormWidgetState) => JSONFormWidgetState,
+ afterUpdateAction?: DebouncedExecuteActionPayload,
) => {
- this.setState(cb);
+ this.setState((prevState) => {
+ const newState = updateCallback(prevState);
+
+ this.parseAndSaveFieldState(
+ newState.metaInternalFieldState,
+ this.props.schema,
+ afterUpdateAction,
+ );
+
+ return newState;
+ });
};
registerResetObserver = (callback: () => void) => {
diff --git a/app/client/src/widgets/MetaHOC.tsx b/app/client/src/widgets/MetaHOC.tsx
index 20cb67db8ec1..634117beaf73 100644
--- a/app/client/src/widgets/MetaHOC.tsx
+++ b/app/client/src/widgets/MetaHOC.tsx
@@ -7,7 +7,7 @@ import { ENTITY_TYPE } from "entities/AppsmithConsole";
import LOG_TYPE from "entities/AppsmithConsole/logtype";
import { ExecuteTriggerPayload } from "constants/AppsmithActionConstants/ActionConstants";
-type DebouncedExecuteActionPayload = Omit<
+export type DebouncedExecuteActionPayload = Omit<
ExecuteTriggerPayload,
"dynamicString"
> & {
@@ -62,8 +62,8 @@ const withMeta = (WrappedWidget: typeof BaseWidget) => {
controlled by itself and the platform will not interfere except:
When we reset the meta property value.
- Property which has default value is set to default value and
- other meta property are set to initial value.
+ Property which has default value is set to default value and
+ other meta property are set to initial value.
For eg:- In Input widget, after reset text = "" and isDirty = false
*/
@@ -81,7 +81,7 @@ const withMeta = (WrappedWidget: typeof BaseWidget) => {
const defaultProperties = WrappedWidget.getDefaultPropertiesMap();
Object.keys(metaProperties).forEach((metaProperty) => {
const defaultProperty = defaultProperties[metaProperty];
- /*
+ /*
Reset operation happens by the platform and is outside the widget logic
so to identify this change, we want to see if the meta value has
changed to the current default value. If this has happened, we should
|
82a9d720ae3ca8b0cc3daa4e68307da8c5849f10
|
2022-08-04 09:50:54
|
Anagh Hegde
|
feat: Added unconfigured datasources to the template API response (#15606)
| false
|
Added unconfigured datasources to the template API response (#15606)
|
feat
|
diff --git a/app/client/src/api/TemplatesApi.ts b/app/client/src/api/TemplatesApi.ts
index b146888d30c1..69f6d7019f4e 100644
--- a/app/client/src/api/TemplatesApi.ts
+++ b/app/client/src/api/TemplatesApi.ts
@@ -3,6 +3,7 @@ import Api from "api/Api";
import { ApiResponse } from "./ApiResponses";
import { WidgetType } from "constants/WidgetConstants";
import { ApplicationResponsePayload } from "./ApplicationApi";
+import { Datasource } from "entities/Datasource";
export interface Template {
id: string;
@@ -23,7 +24,11 @@ export type FilterKeys = "widgets" | "datasources";
export type FetchTemplateResponse = ApiResponse<Template>;
-export type ImportTemplateResponse = ApiResponse<ApplicationResponsePayload>;
+export type ImportTemplateResponse = ApiResponse<{
+ isPartialImport: boolean;
+ unConfiguredDatasourceList: Datasource[];
+ application: ApplicationResponsePayload;
+}>;
class TemplatesAPI extends Api {
static baseUrl = "v1";
diff --git a/app/client/src/pages/Templates/TemplateView.tsx b/app/client/src/pages/Templates/TemplateView.tsx
index f7792a355ccc..b82e560d830e 100644
--- a/app/client/src/pages/Templates/TemplateView.tsx
+++ b/app/client/src/pages/Templates/TemplateView.tsx
@@ -41,6 +41,7 @@ import {
VIEW_ALL_TEMPLATES,
} from "@appsmith/constants/messages";
import AnalyticsUtil from "utils/AnalyticsUtil";
+import ReconnectDatasourceModal from "pages/Editor/gitSync/ReconnectDatasourceModal";
const breakpointColumnsObject = {
default: 4,
@@ -289,6 +290,7 @@ function TemplateView() {
<TemplateNotFound />
) : (
<Wrapper ref={containerRef}>
+ <ReconnectDatasourceModal />
<TemplateViewWrapper>
<HeaderWrapper>
<div className="left">
diff --git a/app/client/src/pages/Templates/index.tsx b/app/client/src/pages/Templates/index.tsx
index 0dd5d959d193..1dfefa825a89 100644
--- a/app/client/src/pages/Templates/index.tsx
+++ b/app/client/src/pages/Templates/index.tsx
@@ -31,6 +31,7 @@ import { getAllApplications } from "actions/applicationActions";
import { getTypographyByKey } from "constants/DefaultTheme";
import { Colors } from "constants/Colors";
import { createMessage, SEARCH_TEMPLATES } from "@appsmith/constants/messages";
+import ReconnectDatasourceModal from "pages/Editor/gitSync/ReconnectDatasourceModal";
const SentryRoute = Sentry.withSentryRouting(Route);
const PageWrapper = styled.div`
@@ -162,6 +163,7 @@ function Templates() {
return (
<PageWrapper>
+ <ReconnectDatasourceModal />
<Filters />
<TemplateListWrapper>
{isLoading ? (
diff --git a/app/client/src/sagas/TemplatesSagas.ts b/app/client/src/sagas/TemplatesSagas.ts
index 491a82a48732..65c915c37c94 100644
--- a/app/client/src/sagas/TemplatesSagas.ts
+++ b/app/client/src/sagas/TemplatesSagas.ts
@@ -18,6 +18,7 @@ import {
} from "utils/storage";
import { validateResponse } from "./ErrorSagas";
import { builderURL } from "RouteBuilder";
+import { showReconnectDatasourceModal } from "actions/applicationActions";
function* getAllTemplatesSaga() {
try {
@@ -53,17 +54,31 @@ function* importTemplateToWorkspaceSaga(
const isValid: boolean = yield validateResponse(response);
if (isValid) {
const application: ApplicationPayload = {
- ...response.data,
- defaultPageId: getDefaultPageId(response.data.pages) as string,
+ ...response.data.application,
+ defaultPageId: getDefaultPageId(
+ response.data.application.pages,
+ ) as string,
};
yield put({
type: ReduxActionTypes.IMPORT_TEMPLATE_TO_WORKSPACE_SUCCESS,
- payload: response.data,
- });
- const pageURL = builderURL({
- pageId: application.defaultPageId,
+ payload: response.data.application,
});
- history.push(pageURL);
+
+ if (response.data.isPartialImport) {
+ yield put(
+ showReconnectDatasourceModal({
+ application: response.data.application,
+ unConfiguredDatasourceList:
+ response.data.unConfiguredDatasourceList,
+ workspaceId: action.payload.workspaceId,
+ }),
+ );
+ } else {
+ const pageURL = builderURL({
+ pageId: application.defaultPageId,
+ });
+ history.push(pageURL);
+ }
}
} catch (error) {
yield put({
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/ApplicationTemplateControllerCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/ApplicationTemplateControllerCE.java
index bd266f29524b..105e54adfced 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/ApplicationTemplateControllerCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/ApplicationTemplateControllerCE.java
@@ -2,6 +2,7 @@
import com.appsmith.server.constants.FieldName;
import com.appsmith.server.domains.Application;
+import com.appsmith.server.dtos.ApplicationImportDTO;
import com.appsmith.server.dtos.ApplicationTemplate;
import com.appsmith.server.dtos.ResponseDTO;
import com.appsmith.server.services.ApplicationTemplateService;
@@ -52,8 +53,8 @@ public Mono<ResponseDTO<ApplicationTemplate>> getFilters() {
}
@PostMapping("{templateId}/import/{workspaceId}")
- public Mono<ResponseDTO<Application>> importApplicationFromTemplate(@PathVariable String templateId,
- @PathVariable String workspaceId) {
+ public Mono<ResponseDTO<ApplicationImportDTO>> importApplicationFromTemplate(@PathVariable String templateId,
+ @PathVariable String workspaceId) {
return applicationTemplateService.importApplicationFromTemplate(templateId, workspaceId)
.map(importedApp -> new ResponseDTO<>(HttpStatus.OK.value(), importedApp, null));
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCE.java
index e9a927709c80..f1e76f7147f9 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCE.java
@@ -1,6 +1,7 @@
package com.appsmith.server.services.ce;
import com.appsmith.server.domains.Application;
+import com.appsmith.server.dtos.ApplicationImportDTO;
import com.appsmith.server.dtos.ApplicationTemplate;
import org.springframework.util.MultiValueMap;
import reactor.core.publisher.Flux;
@@ -9,11 +10,18 @@
import java.util.List;
public interface ApplicationTemplateServiceCE {
+
Mono<List<ApplicationTemplate>> getActiveTemplates(List<String> templateIds);
+
Flux<ApplicationTemplate> getSimilarTemplates(String templateId, MultiValueMap<String, String> params);
+
Mono<List<ApplicationTemplate>> getRecentlyUsedTemplates();
+
Mono<ApplicationTemplate> getTemplateDetails(String templateId);
- Mono<Application> importApplicationFromTemplate(String templateId, String workspaceId);
+
+ Mono<ApplicationImportDTO> importApplicationFromTemplate(String templateId, String workspaceId);
+
Mono<Application> mergeTemplateWithApplication(String templateId, String applicationId, String workspaceId, String branchName, List<String> pagesToImport);
+
Mono<ApplicationTemplate> getFilters();
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCEImpl.java
index 47efb6f1cfdd..9899d7101651 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationTemplateServiceCEImpl.java
@@ -5,6 +5,7 @@
import com.appsmith.server.configurations.CloudServicesConfig;
import com.appsmith.server.domains.Application;
import com.appsmith.server.domains.UserData;
+import com.appsmith.server.dtos.ApplicationImportDTO;
import com.appsmith.server.dtos.ApplicationJson;
import com.appsmith.server.dtos.ApplicationTemplate;
import com.appsmith.server.exceptions.AppsmithError;
@@ -181,18 +182,20 @@ private Mono<ApplicationJson> getApplicationJsonFromTemplate(String templateId)
}
@Override
- public Mono<Application> importApplicationFromTemplate(String templateId, String workspaceId) {
- return getApplicationJsonFromTemplate(templateId).flatMap(applicationJson ->
- importExportApplicationService.importApplicationInWorkspace(workspaceId, applicationJson)
- ).flatMap(application -> {
- ApplicationTemplate applicationTemplate = new ApplicationTemplate();
- applicationTemplate.setId(templateId);
- Map<String, Object> extraProperties = new HashMap<>();
- extraProperties.put("templateAppName", application.getName());
- return userDataService.addTemplateIdToLastUsedList(templateId).then(
+ public Mono<ApplicationImportDTO> importApplicationFromTemplate(String templateId, String workspaceId) {
+ return getApplicationJsonFromTemplate(templateId)
+ .flatMap(applicationJson -> importExportApplicationService.importApplicationInWorkspace(workspaceId, applicationJson))
+ .flatMap(application -> importExportApplicationService.getApplicationImportDTO(application.getId(), application.getWorkspaceId(), application))
+ .flatMap(applicationImportDTO -> {
+ Application application = applicationImportDTO.getApplication();
+ ApplicationTemplate applicationTemplate = new ApplicationTemplate();
+ applicationTemplate.setId(templateId);
+ Map<String, Object> extraProperties = new HashMap<>();
+ extraProperties.put("templateAppName", application.getName());
+ return userDataService.addTemplateIdToLastUsedList(templateId).then(
analyticsService.sendObjectEvent(AnalyticsEvents.FORK, applicationTemplate, extraProperties)
- ).thenReturn(application);
- });
+ ).thenReturn(applicationImportDTO);
+ });
}
@Override
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/GitServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/GitServiceCEImpl.java
index f41a9aa0f197..f5a672a16ee9 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/GitServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/GitServiceCEImpl.java
@@ -1999,19 +1999,7 @@ public Mono<ApplicationImportDTO> importApplicationFromGit(String workspaceId, G
});
})
// Add un-configured datasource to the list to response
- .flatMap(application -> importExportApplicationService.findDatasourceByApplicationId(application.getId(), application.getWorkspaceId())
- .map(datasources -> {
- ApplicationImportDTO applicationImportDTO = new ApplicationImportDTO();
- applicationImportDTO.setApplication(application);
- long unConfiguredDatasource = datasources.stream().filter(datasource -> Boolean.FALSE.equals(datasource.getIsConfigured())).count();
- if (unConfiguredDatasource != 0) {
- applicationImportDTO.setIsPartialImport(true);
- applicationImportDTO.setUnConfiguredDatasourceList(datasources);
- } else {
- applicationImportDTO.setIsPartialImport(false);
- }
- return applicationImportDTO;
- }))
+ .flatMap(application -> importExportApplicationService.getApplicationImportDTO(application.getId(), application.getWorkspaceId(), application))
// Add analytics event
.flatMap(applicationImportDTO -> {
Application application = applicationImportDTO.getApplication();
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ImportExportApplicationServiceCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ImportExportApplicationServiceCE.java
index e3b044ef6233..85adcb17dd31 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ImportExportApplicationServiceCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ImportExportApplicationServiceCE.java
@@ -61,4 +61,6 @@ Mono<Application> importApplicationInWorkspace(String workspaceId,
Mono<List<Datasource>> findDatasourceByApplicationId(String applicationId, String orgId);
+ Mono<ApplicationImportDTO> getApplicationImportDTO(String applicationId, String workspaceId, Application application);
+
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ImportExportApplicationServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ImportExportApplicationServiceCEImpl.java
index 814ab76628f0..d2802975ac48 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ImportExportApplicationServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ImportExportApplicationServiceCEImpl.java
@@ -577,19 +577,7 @@ public Mono<ApplicationImportDTO> extractFileAndSaveApplication(String workspace
});
})
// Add un-configured datasource to the list to response
- .flatMap(application -> findDatasourceByApplicationId(application.getId(), workspaceId)
- .map(datasources -> {
- ApplicationImportDTO applicationImportDTO = new ApplicationImportDTO();
- applicationImportDTO.setApplication(application);
- Long unConfiguredDatasource = datasources.stream().filter(datasource -> Boolean.FALSE.equals(datasource.getIsConfigured())).count();
- if (unConfiguredDatasource != 0) {
- applicationImportDTO.setIsPartialImport(true);
- applicationImportDTO.setUnConfiguredDatasourceList(datasources);
- } else {
- applicationImportDTO.setIsPartialImport(false);
- }
- return applicationImportDTO;
- }));
+ .flatMap(application -> getApplicationImportDTO(application.getId(), application.getWorkspaceId(), application));
return Mono.create(sink -> importedApplicationMono
.subscribe(sink::success, sink::error, null, sink.currentContext())
@@ -1990,6 +1978,23 @@ public Mono<List<Datasource>> findDatasourceByApplicationId(String applicationId
});
}
+ @Override
+ public Mono<ApplicationImportDTO> getApplicationImportDTO(String applicationId, String workspaceId, Application application) {
+ return findDatasourceByApplicationId(applicationId, workspaceId)
+ .map(datasources -> {
+ ApplicationImportDTO applicationImportDTO = new ApplicationImportDTO();
+ applicationImportDTO.setApplication(application);
+ Boolean isUnConfiguredDatasource = datasources.stream().anyMatch(datasource -> Boolean.FALSE.equals(datasource.getIsConfigured()));
+ if (Boolean.TRUE.equals(isUnConfiguredDatasource)) {
+ applicationImportDTO.setIsPartialImport(true);
+ applicationImportDTO.setUnConfiguredDatasourceList(datasources);
+ } else {
+ applicationImportDTO.setIsPartialImport(false);
+ }
+ return applicationImportDTO;
+ });
+ }
+
/**
*
* @param applicationId default ID of the application where this ApplicationJSON is going to get merged with
|
a033cd3a1969b3d00cada5b4ed8fbddb682dd617
|
2022-01-15 12:41:36
|
dependabot[bot]
|
chore: bump postcss from 7.0.35 to 8.2.13 in /app/client (#10246)
| false
|
bump postcss from 7.0.35 to 8.2.13 in /app/client (#10246)
|
chore
|
diff --git a/app/client/package.json b/app/client/package.json
index 508ce6d17d99..4adf9de5854a 100644
--- a/app/client/package.json
+++ b/app/client/package.json
@@ -280,7 +280,7 @@
"msw": "^0.28.0",
"patch-package": "^6.4.7",
"plop": "^2.7.4",
- "postcss": "^7",
+ "postcss": "^8",
"postinstall-postinstall": "^2.1.0",
"raw-loader": "^4.0.2",
"react-docgen-typescript-loader": "^3.6.0",
diff --git a/app/client/yarn.lock b/app/client/yarn.lock
index d4b553666491..803b111f2749 100644
--- a/app/client/yarn.lock
+++ b/app/client/yarn.lock
@@ -5210,14 +5210,7 @@ chalk@^3.0.0:
ansi-styles "^4.1.0"
supports-color "^7.1.0"
-chalk@^4.0.0, chalk@^4.1.0:
- version "4.1.0"
- resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz"
- dependencies:
- ansi-styles "^4.1.0"
- supports-color "^7.1.0"
-
-chalk@^4.1.2:
+chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01"
dependencies:
@@ -5616,11 +5609,7 @@ color@^4.0.1:
color-convert "^2.0.1"
color-string "^1.6.0"
-colorette@^1.2.1:
- version "1.2.1"
- resolved "https://registry.npmjs.org/colorette/-/colorette-1.2.1.tgz"
-
-colorette@^1.2.2:
+colorette@^1.2.1, colorette@^1.2.2:
version "1.3.0"
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.3.0.tgz#ff45d2f0edb244069d3b772adeb04fed38d0a0af"
@@ -10565,13 +10554,6 @@ lilconfig@^2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.0.3.tgz#68f3005e921dafbd2a2afb48379986aa6d2579fd"
-line-column@^1.0.2:
- version "1.0.2"
- resolved "https://registry.npmjs.org/line-column/-/line-column-1.0.2.tgz"
- dependencies:
- isarray "^1.0.0"
- isobject "^2.0.0"
-
lines-and-columns@^1.1.6:
version "1.1.6"
resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz"
@@ -11588,13 +11570,10 @@ nanoid@^2.0.4:
version "2.1.11"
resolved "https://registry.npmjs.org/nanoid/-/nanoid-2.1.11.tgz"
-nanoid@^3.1.15:
- version "3.1.16"
- resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.1.16.tgz"
-
-nanoid@^3.1.23:
- version "3.1.25"
- resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.25.tgz#09ca32747c0e543f0e1814b7d3793477f9c8e152"
+nanoid@^3.1.22, nanoid@^3.1.23:
+ version "3.1.30"
+ resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.30.tgz#63f93cc548d2a113dc5dfbc63bfa09e2b9b64362"
+ integrity sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ==
nanomatch@^1.2.9:
version "1.2.13"
@@ -13252,15 +13231,7 @@ postcss@^6.0.9:
source-map "^0.6.1"
supports-color "^5.4.0"
-postcss@^7, postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.2, postcss@^7.0.26, postcss@^7.0.27, postcss@^7.0.32, postcss@^7.0.5, postcss@^7.0.6:
- version "7.0.35"
- resolved "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz"
- dependencies:
- chalk "^2.4.2"
- source-map "^0.6.1"
- supports-color "^6.1.0"
-
-postcss@^7.0.18:
+postcss@^7, postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.18, postcss@^7.0.2, postcss@^7.0.26, postcss@^7.0.27, postcss@^7.0.32, postcss@^7.0.5, postcss@^7.0.6:
version "7.0.36"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.36.tgz#056f8cffa939662a8f5905950c07d5285644dfcb"
dependencies:
@@ -13268,16 +13239,16 @@ postcss@^7.0.18:
source-map "^0.6.1"
supports-color "^6.1.0"
-postcss@^8.1.0:
- version "8.1.4"
- resolved "https://registry.npmjs.org/postcss/-/postcss-8.1.4.tgz"
+postcss@^8:
+ version "8.2.13"
+ resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.2.13.tgz#dbe043e26e3c068e45113b1ed6375d2d37e2129f"
+ integrity sha512-FCE5xLH+hjbzRdpbRb1IMCvPv9yZx2QnDarBEYSN0N0HYk+TcXsEhwdFcFb+SRWOKzKGErhIEbBK2ogyLdTtfQ==
dependencies:
- colorette "^1.2.1"
- line-column "^1.0.2"
- nanoid "^3.1.15"
+ colorette "^1.2.2"
+ nanoid "^3.1.22"
source-map "^0.6.1"
-postcss@^8.2.1:
+postcss@^8.1.0, postcss@^8.2.1:
version "8.3.6"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.6.tgz#2730dd76a97969f37f53b9a6096197be311cc4ea"
dependencies:
|
5b0ffb84a9a4f9f88e39f26c3c2c5579e6f35c9e
|
2023-10-27 18:43:28
|
Aishwarya-U-R
|
test: Cypress | CI Stabilize (#28403)
| false
|
Cypress | CI Stabilize (#28403)
|
test
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/BugTests/Bug28287_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/BugTests/Bug28287_Spec.ts
index ec9a9544e2ed..8d443d7879db 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/BugTests/Bug28287_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/BugTests/Bug28287_Spec.ts
@@ -4,17 +4,18 @@ import {
entityExplorer,
propPane,
debuggerHelper,
+ draggableWidgets,
} from "../../../../support/Objects/ObjectsCore";
let dsName: any;
let queryName: string;
describe("Bug 28287: Binding query to widget, check query response in query editor on page load", function () {
- before("adds a text widget", () => {
- agHelper.AddDsl("textDsl");
+ before("Drag drop a text widget", () => {
+ entityExplorer.DragDropWidgetNVerify(draggableWidgets.TEXT);
});
- it("1. Create datasources", () => {
+ it("1. Check query response in query editor on page load", () => {
agHelper.GenerateUUID();
cy.get("@guid").then((uuid) => {
dataSources.CreateDataSource("Postgres");
diff --git a/app/client/cypress/e2e/Regression/ClientSide/DynamicHeight/List_TextWidget_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/DynamicHeight/List_TextWidget_Spec.ts
index b0062cff254a..047380b19c62 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/DynamicHeight/List_TextWidget_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/DynamicHeight/List_TextWidget_Spec.ts
@@ -9,7 +9,6 @@ import {
describe("Dynamic Height Width validation list widget", function () {
it("1. Validate change with auto height width for list widgets", function () {
- const modifierKey = Cypress.platform === "darwin" ? "meta" : "ctrl";
const textMsg = "Dynamic panel validation for text widget wrt height";
agHelper.AddDsl("DynamicHeightListTextDsl");
@@ -17,16 +16,12 @@ describe("Dynamic Height Width validation list widget", function () {
entityExplorer.SelectEntityByName("List1", "Widgets");
//Widgets which were not possible to be added to list widget cannot be pasted/moved into the list widget with multitreeselect
entityExplorer.SelectEntityByName("MultiTreeSelect1", "List1");
- agHelper.TypeText(locators._body, `{${modifierKey}}c`, {
- parseSpecialCharSeq: true,
- });
+ agHelper.SimulateCopyPaste("copy");
agHelper.WaitUntilAllToastsDisappear();
agHelper.Sleep(2000);
entityExplorer.SelectEntityByName("List1", "Widgets");
propPane.MoveToTab("Style");
- agHelper.TypeText(locators._body, `{${modifierKey}}v`, {
- parseSpecialCharSeq: true,
- });
+ agHelper.SimulateCopyPaste("paste");
agHelper.ValidateToastMessage(
"This widget cannot be used inside the list widget.",
0,
@@ -58,30 +53,25 @@ describe("Dynamic Height Width validation list widget", function () {
//Widgets when moved into the list widget have no dynamic height
entityExplorer.SelectEntityByName("Text3", "Widgets");
propPane.MoveToTab("Style");
- agHelper.TypeText(locators._body, `{${modifierKey}}c`, {
- parseSpecialCharSeq: true,
- });
+ agHelper.SimulateCopyPaste("copy");
+
entityExplorer.SelectEntityByName("List1", "Widgets");
propPane.MoveToTab("Style");
- agHelper.TypeText(locators._body, `{${modifierKey}}v`, {
- parseSpecialCharSeq: true,
- });
+ agHelper.SimulateCopyPaste("paste");
assertHelper.AssertNetworkStatus("@updateLayout", 200);
- entityExplorer.NavigateToSwitcher("Explorer");
+
entityExplorer.SelectEntityByName("Text3Copy");
agHelper.AssertElementAbsence(propPane._propertyPaneHeightLabel);
- agHelper.TypeText(locators._body, `{${modifierKey}}c`, {
- parseSpecialCharSeq: true,
- });
- //agHelper.GetElement(locators._body).click({ force: true });
- agHelper.GetElement(locators._canvasBody).click({ force: true });
- agHelper.TypeText(locators._body, `{${modifierKey}}v`, {
- parseSpecialCharSeq: true,
- });
+ agHelper.SimulateCopyPaste("copy");
+ agHelper.WaitUntilAllToastsDisappear();
+ agHelper.Sleep(2000);
+ agHelper.GetNClick(locators._canvasBody);
+ agHelper.SimulateCopyPaste("paste");
assertHelper.AssertNetworkStatus("@updateLayout");
//Widgets when moved out of the list widget have dynamic height in property pane
entityExplorer.SelectEntityByName("Text3CopyCopy", "Widgets");
agHelper.AssertElementVisibility(propPane._propertyPaneHeightLabel);
+
agHelper.GetNClick(locators._widgetInDeployed(draggableWidgets.TEXT));
agHelper
.GetWidgetCSSHeight(locators._widgetInDeployed(draggableWidgets.TEXT))
@@ -101,28 +91,24 @@ describe("Dynamic Height Width validation list widget", function () {
});
});
entityExplorer.SelectEntityByName("Text3CopyCopy", "Widgets");
- agHelper.TypeText(locators._body, `{${modifierKey}}c`, {
- parseSpecialCharSeq: true,
- });
+ agHelper.SimulateCopyPaste("copy");
+
entityExplorer.SelectEntityByName("List1", "Widgets");
propPane.MoveToTab("Style");
- agHelper.TypeText(locators._body, `{${modifierKey}}v`, {
- parseSpecialCharSeq: true,
- });
+ agHelper.SimulateCopyPaste("paste");
assertHelper.AssertNetworkStatus("@updateLayout", 200);
//Widgets when copied and pasted into the list widget no longer have dynamic height
entityExplorer.SelectEntityByName("Text3CopyCopyCopy", "Container1");
agHelper.AssertElementAbsence(propPane._propertyPaneHeightLabel);
+ agHelper.Sleep(2000); //wait a bit to ensure that the 'Text3CopyCopy' is selected for cut
+
entityExplorer.SelectEntityByName("Text3CopyCopy");
- agHelper.TypeText(locators._body, `{${modifierKey}}x`, {
- parseSpecialCharSeq: true,
- });
+ agHelper.SimulateCopyPaste("cut");
entityExplorer.SelectEntityByName("List1");
propPane.MoveToTab("Style");
agHelper.Sleep(500);
- agHelper.TypeText(locators._body, `{${modifierKey}}v`, {
- parseSpecialCharSeq: true,
- });
+ agHelper.SimulateCopyPaste("paste");
+
assertHelper.AssertNetworkStatus("@updateLayout", 200);
entityExplorer.SelectEntityByName("Text3CopyCopy", "Widgets");
agHelper.AssertElementAbsence(propPane._propertyPaneHeightLabel);
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Git/ExistingApps/v1.9.24/DSCrudAndBindings_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Git/ExistingApps/v1.9.24/DSCrudAndBindings_Spec.ts
index 18a68b3056b7..96588134f4c3 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Git/ExistingApps/v1.9.24/DSCrudAndBindings_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/Git/ExistingApps/v1.9.24/DSCrudAndBindings_Spec.ts
@@ -155,6 +155,7 @@ describe("Import and validate older app (app created in older versions of Appsmi
agHelper.Sleep(500);
agHelper.ClickButton("Update");
agHelper.Sleep(2000); //for CI update to be successful
+ table.WaitUntilTableLoad(0, 0, "v1");
//Validate updated values in table
table.ReadTableRowColumnData(0, 3).then(($cellData) => {
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 26fc13a5c401..1773164809a1 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
@@ -19,12 +19,13 @@ import {
describe("Git import flow ", function () {
before(() => {
homePage.NavigateToHome();
- cy.createWorkspace();
- cy.wait("@createWorkspace").then((interception) => {
- newWorkspaceName = interception.response.body.data.name;
- cy.CreateAppForWorkspace(newWorkspaceName, newWorkspaceName);
+ homePage.CreateNewWorkspace();
+ cy.get("@workspaceName").then((workspaceName) => {
+ newWorkspaceName = workspaceName;
+ homePage.CreateAppInWorkspace(workspaceName);
});
});
+
it("1. Import an app from JSON with Postgres, MySQL, Mongo db & then connect it to Git", () => {
homePage.NavigateToHome();
cy.get(homePageLocators.optionsIcon).first().click();
@@ -147,6 +148,7 @@ describe("Git import flow ", function () {
// verify js object binded to input widget
cy.xpath("//input[@value='Success']").should("be.visible");
});
+
it("4. Create a new branch, clone page and validate data on that branch in view and edit mode", () => {
//cy.createGitBranch(newBranch);
gitSync.CreateGitBranch(newBranch, true);
diff --git a/app/client/cypress/e2e/Regression/ClientSide/OtherUIFeatures/ApplicationURL_spec.js b/app/client/cypress/e2e/Regression/ClientSide/OtherUIFeatures/ApplicationURL_spec.js
index fbc0c5813633..d3e1b982e388 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/OtherUIFeatures/ApplicationURL_spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/OtherUIFeatures/ApplicationURL_spec.js
@@ -46,13 +46,11 @@ describe("Slug URLs", () => {
entityNameinLeftSidebar: "Page1",
action: "Edit name",
});
- cy.get(explorer.editEntity).last().type("Renamed", { force: true });
- cy.get("body").click(0, 0, { force: true });
- cy.wait("@updatePage").should(
- "have.nested.property",
- "response.body.responseMeta.status",
- 200,
- );
+ cy.get(explorer.editEntity)
+ .last()
+ .type("Renamed" + "{enter}", { force: true });
+ agHelper.Sleep(2000); //for new name to settle & url to update
+ assertHelper.AssertNetworkStatus("updatePage");
// cy.location("pathname").then((pathname) => {
cy.url().then((url) => {
const urlObject = new URL(url);
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Others/IconButton_2_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Others/IconButton_2_spec.ts
index a6dfb78e5b66..e5c1c5c1f930 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Others/IconButton_2_spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Others/IconButton_2_spec.ts
@@ -69,6 +69,7 @@ describe("Icon Button widget Tests", function () {
// Select from dropdown
agHelper.GetNClick(`${locators._propertyControl}icon`);
agHelper.GetElement(propPane._iconDropdown).scrollTo("top");
+ agHelper.Sleep();
agHelper.GetNClick(propPane._dataIcon("airplane"));
agHelper.AssertElementVisibility(
`${locators._widgetInDeployed("iconbuttonwidget")} ${propPane._dataIcon(
diff --git a/app/client/cypress/e2e/Regression/ServerSide/QueryPane/S3_2_spec.ts b/app/client/cypress/e2e/Regression/ServerSide/QueryPane/S3_2_spec.ts
index a774147452a8..30ad1019c390 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/QueryPane/S3_2_spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/QueryPane/S3_2_spec.ts
@@ -442,11 +442,11 @@ describe("Validate CRUD queries for Amazon S3 along with UI flow verifications",
dataSources.ValidateNSelectDropdown("Commands", "List files in bucket");
agHelper.UpdateCodeInput(formControls.s3BucketName, bucketName);
dataSources.RunQuery();
+ agHelper.ScrollIntoView("." + dataSources._addSuggestedExisting);
dataSources.AddSuggestedWidget(
Widgets.Table,
dataSources._addSuggestedExisting,
);
-
propPane.DeleteWidgetDirectlyFromPropertyPane();
entityExplorer.SelectEntityByName($queryName, "Queries/JS");
agHelper.ActionContextMenuWithInPane({
diff --git a/app/client/cypress/support/Pages/AggregateHelper.ts b/app/client/cypress/support/Pages/AggregateHelper.ts
index 25a893d3dd31..f13eccf4d6f8 100644
--- a/app/client/cypress/support/Pages/AggregateHelper.ts
+++ b/app/client/cypress/support/Pages/AggregateHelper.ts
@@ -37,7 +37,6 @@ const DEFAULT_ENTERVALUE_OPTIONS = {
export class AggregateHelper extends ReusableHelper {
private locator = ObjectsRegistry.CommonLocators;
- public _modifierKey = Cypress.platform === "darwin" ? "meta" : "ctrl";
private assertHelper = ObjectsRegistry.AssertHelper;
public get isMac() {
@@ -49,6 +48,7 @@ export class AggregateHelper extends ReusableHelper {
public get removeLine() {
return "{backspace}";
}
+ public _modifierKey = `${this.isMac ? "meta" : "ctrl"}`;
private selectAll = `${this.isMac ? "{cmd}{a}" : "{ctrl}{a}"}`;
private lazyCodeEditorFallback = ".t--lazyCodeEditor-fallback";
private lazyCodeEditorRendered = ".t--lazyCodeEditor-editor";
@@ -100,6 +100,28 @@ export class AggregateHelper extends ReusableHelper {
});
}
+ public SimulateCopyPaste(action: "copy" | "paste" | "cut") {
+ const actionToKey = {
+ copy: "c",
+ paste: "v",
+ cut: "x",
+ };
+ const keyToSimulate = actionToKey[action];
+
+ // Simulate Ctrl keypress (Ctrl down)
+ this.GetElement(this.locator._body).type(`{${this._modifierKey}}`, {
+ release: false,
+ });
+
+ // Simulate 'C' keypress while Ctrl is held (Ctrl + C)
+ this.GetElement(this.locator._body).type(keyToSimulate, { release: false });
+
+ // Release the Ctrl key
+ this.GetElement(this.locator._body).type(`{${this._modifierKey}}`, {
+ release: true,
+ });
+ }
+
public AddDsl(
dslFile: string,
elementToCheckPresenceaftDslLoad: string | "" = "", // reloadWithoutCache = true,
@@ -917,7 +939,7 @@ export class AggregateHelper extends ReusableHelper {
) {
return cy
.get(selector)
- .contains(containsText)
+ .contains(containsText, { matchCase: false })
.eq(index)
.click({ force: force })
.wait(waitTimeInterval);
@@ -1222,9 +1244,9 @@ export class AggregateHelper extends ReusableHelper {
setTimeout(() => {
// Move cursor to the end of the line
input.execCommand("goLineEnd");
- }, 300);
- }, 300);
- }, 300);
+ }, 500);
+ }, 500);
+ }, 500);
} else {
input.focus();
this.Sleep(200);
diff --git a/app/client/cypress/support/Pages/DeployModeHelper.ts b/app/client/cypress/support/Pages/DeployModeHelper.ts
index 2122ca36a0b0..53c3e5f8378a 100644
--- a/app/client/cypress/support/Pages/DeployModeHelper.ts
+++ b/app/client/cypress/support/Pages/DeployModeHelper.ts
@@ -162,6 +162,9 @@ export class DeployMode {
"Internal server error while processing request",
),
);
+ this.agHelper.AssertElementAbsence(
+ this.locator._specificToast("Cannot read properties of undefined"),
+ );
this.assertHelper.AssertNetworkResponseData("@getPluginForm"); //for auth rest api
this.assertHelper.AssertNetworkResponseData("@getPluginForm"); //for graphql
this.assertHelper.AssertNetworkStatus("@getWorkspace");
diff --git a/app/client/cypress/support/Pages/GitSync.ts b/app/client/cypress/support/Pages/GitSync.ts
index 21be73550fc1..93333061de46 100644
--- a/app/client/cypress/support/Pages/GitSync.ts
+++ b/app/client/cypress/support/Pages/GitSync.ts
@@ -157,6 +157,7 @@ export class GitSync {
this.assertHelper.AssertNetworkStatus("@connectGitLocalRepo");
this.agHelper.AssertElementExist(this._bottomBarCommit, 0, 30000);
this.CloseGitSyncModal();
+ this.agHelper.Sleep(2000); //for generatedKey to be available in CI runs
this.assertHelper.AssertNetworkStatus("@generatedKey", 201);
} else {
this.assertHelper.AssertContains(
diff --git a/app/client/cypress/support/e2e.js b/app/client/cypress/support/e2e.js
index 2822d2422c58..9fc7c64986d6 100644
--- a/app/client/cypress/support/e2e.js
+++ b/app/client/cypress/support/e2e.js
@@ -29,6 +29,7 @@ import { initLocalstorageRegistry } from "./Objects/Registry";
import RapidMode from "./RapidMode.ts";
import "cypress-mochawesome-reporter/register";
import installLogsCollector from "cypress-terminal-report/src/installLogsCollector";
+import { CURRENT_REPO, REPO } from "../fixtures/REPO";
import "./WorkspaceCommands";
import "./queryCommands";
@@ -118,6 +119,14 @@ before(function () {
} else if (url.indexOf("user/login") > -1) {
//Cypress.Cookies.preserveOnce("SESSION", "remember_token");
cy.LoginFromAPI(username, password);
+ if (CURRENT_REPO === REPO.EE) {
+ cy.wait(2000);
+ cy.url().then((url) => {
+ if (url.indexOf("/license") > -1) {
+ cy.validateLicense();
+ }
+ });
+ }
cy.wait(3000);
}
});
|
ace2d3b1048738f16cb31bd2b3bd2d23a87dda95
|
2023-09-29 18:00:23
|
Favour Ohanekwu
|
feat: show lint error for imperative store update (#27708)
| false
|
show lint error for imperative store update (#27708)
|
feat
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/ImperativeStoreUpdate_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/ImperativeStoreUpdate_spec.ts
new file mode 100644
index 000000000000..b8570da4fc3c
--- /dev/null
+++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/ImperativeStoreUpdate_spec.ts
@@ -0,0 +1,50 @@
+import {
+ PROPERTY_SELECTOR,
+ WIDGET,
+ getWidgetSelector,
+} from "../../../../locators/WidgetLocators";
+
+import {
+ entityExplorer,
+ jsEditor,
+ agHelper,
+ locators,
+ propPane,
+} from "../../../../support/Objects/ObjectsCore";
+
+describe("Linting warning for imperative store update", function () {
+ it("Shows lint error for imperative store update", function () {
+ entityExplorer.DragDropWidgetNVerify(WIDGET.BUTTON, 200, 200);
+ entityExplorer.DragDropWidgetNVerify(WIDGET.TEXT, 400, 400);
+
+ agHelper.GetNClick(getWidgetSelector(WIDGET.BUTTON));
+ propPane.TypeTextIntoField("Label", "{{appsmith.store.name = 6}}");
+
+ //Mouse hover to exact warning message
+ agHelper.AssertElementVisibility(locators._lintErrorElement);
+ agHelper.HoverElement(locators._lintErrorElement);
+ agHelper.AssertContains("Use storeValue() method to modify the store");
+ agHelper.Sleep();
+
+ //Create a JS object
+ jsEditor.CreateJSObject(
+ `export default {
+ myFun1: () => {
+ appsmith.store.name.text = 6
+ },
+ }`,
+ {
+ paste: true,
+ completeReplace: true,
+ toRun: false,
+ shouldCreateNewJSObj: true,
+ prettify: false,
+ },
+ );
+
+ agHelper.AssertElementVisibility(locators._lintErrorElement);
+ agHelper.HoverElement(locators._lintErrorElement);
+ agHelper.AssertContains("Use storeValue() method to modify the store");
+ agHelper.Sleep();
+ });
+});
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/WidgetPropertySetters_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Widgets/WidgetPropertySetters_spec.ts
index 460c460787a1..dfeb14d87c89 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/WidgetPropertySetters_spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/WidgetPropertySetters_spec.ts
@@ -180,7 +180,7 @@ describe("Linting warning for setter methods", function () {
agHelper.AssertElementVisibility(locators._lintErrorElement);
agHelper.HoverElement(locators._lintErrorElement);
agHelper.AssertContains(
- "Direct mutation of widget properties aren't supported. Use Button1.setVisibility(value) instead.",
+ "Direct mutation of widget properties is not supported. Use Button1.setVisibility(value) instead.",
);
agHelper.Sleep();
diff --git a/app/client/packages/ast/src/index.ts b/app/client/packages/ast/src/index.ts
index 27ac5c5e9a77..78e19623d708 100644
--- a/app/client/packages/ast/src/index.ts
+++ b/app/client/packages/ast/src/index.ts
@@ -584,9 +584,8 @@ export interface MemberExpressionData {
export interface AssignmentExpressionData {
property: NodeWithLocation<IdentifierNode | LiteralNode>;
- object: NodeWithLocation<IdentifierNode>;
- start: number;
- end: number;
+ object: NodeWithLocation<IdentifierNode | MemberExpressionNode>;
+ parentNode: NodeWithLocation<AssignmentExpressionNode>;
}
export interface AssignmentExpressionNode extends Node {
@@ -706,15 +705,12 @@ export const extractExpressionsFromCode = (
)
return;
- const { object, property } = node.left as MemberExpressionNode;
- if (!isIdentifierNode(object)) return;
- if (!(object.name in data)) return;
+ const { object, property } = node.left;
assignmentExpressionsData.add({
object,
property,
- start: node.start,
- end: node.end,
+ parentNode: node,
} as AssignmentExpressionData);
},
});
diff --git a/app/client/src/plugins/Linting/constants.ts b/app/client/src/plugins/Linting/constants.ts
index 25d75990fa60..c985f1a90bae 100644
--- a/app/client/src/plugins/Linting/constants.ts
+++ b/app/client/src/plugins/Linting/constants.ts
@@ -62,6 +62,10 @@ export const SUPPORTED_WEB_APIS = {
export enum CustomLintErrorCode {
INVALID_ENTITY_PROPERTY = "INVALID_ENTITY_PROPERTY",
ASYNC_FUNCTION_BOUND_TO_SYNC_FIELD = "ASYNC_FUNCTION_BOUND_TO_SYNC_FIELD",
+ // ButtonWidget.text = "test"
+ INVALID_WIDGET_PROPERTY_SETTER = "INVALID_WIDGET_PROPERTY_SETTER",
+ // appsmith.store.value = "test"
+ INVALID_APPSMITH_STORE_PROPERTY_SETTER = "INVALID_APPSMITH_STORE_PROPERTY_SETTER",
}
export const CUSTOM_LINT_ERRORS: Record<
@@ -93,4 +97,22 @@ export const CUSTOM_LINT_ERRORS: Record<
hasMultipleBindings ? "fields" : "field"
}: ${bindings}`;
},
+ [CustomLintErrorCode.INVALID_WIDGET_PROPERTY_SETTER]: (
+ methodName: string,
+ objectName: string,
+ propertyName: string,
+ isValidProperty: boolean,
+ ) => {
+ const suggestionSentence = methodName
+ ? `Use ${methodName}(value) instead.`
+ : `Use ${objectName} setter method instead.`;
+
+ const lintErrorMessage = !isValidProperty
+ ? `${objectName} doesn't have a property named ${propertyName}`
+ : `Direct mutation of widget properties is not supported. ${suggestionSentence}`;
+ return lintErrorMessage;
+ },
+ [CustomLintErrorCode.INVALID_APPSMITH_STORE_PROPERTY_SETTER]: () => {
+ return "Use storeValue() method to modify the store";
+ },
};
diff --git a/app/client/src/plugins/Linting/utils/getLintingErrors.ts b/app/client/src/plugins/Linting/utils/getLintingErrors.ts
index b62d26188e9b..abc7adfb0c56 100644
--- a/app/client/src/plugins/Linting/utils/getLintingErrors.ts
+++ b/app/client/src/plugins/Linting/utils/getLintingErrors.ts
@@ -7,7 +7,11 @@ import type {
MemberExpressionData,
AssignmentExpressionData,
} from "@shared/ast";
-import { extractExpressionsFromCode, isLiteralNode } from "@shared/ast";
+import {
+ extractExpressionsFromCode,
+ isIdentifierNode,
+ isLiteralNode,
+} from "@shared/ast";
import { PropertyEvaluationErrorType } from "utils/DynamicBindingUtils";
import type { EvaluationScriptType } from "workers/Evaluation/evaluate";
import { EvaluationScripts, ScriptTemplate } from "workers/Evaluation/evaluate";
@@ -27,6 +31,8 @@ import { APPSMITH_GLOBAL_FUNCTIONS } from "components/editorComponents/ActionCre
import { last } from "lodash";
import { isWidget } from "@appsmith/workers/Evaluation/evaluationUtils";
import setters from "workers/Evaluation/setters";
+import { isMemberExpressionNode } from "@shared/ast/src";
+import { generate } from "astring";
const EvaluationScriptPositions: Record<string, Position> = {};
@@ -197,7 +203,7 @@ export default function getLintingErrors({
return jshintErrors.concat(customLintErrors);
}
-function getAssignmentExpressionErrors({
+function getInvalidWidgetPropertySetterErrors({
assignmentExpressions,
data,
originalBinding,
@@ -210,10 +216,12 @@ function getAssignmentExpressionErrors({
originalBinding: string;
script: string;
}) {
- const assignmentExpressionErrors: LintError[] = [];
+ const invalidWidgetPropertySetterErrors: LintError[] = [];
const setterAccessorMap = setters.getSetterAccessorMap();
- for (const { end, object, property, start } of assignmentExpressions) {
+ for (const { object, parentNode, property } of assignmentExpressions) {
+ if (!isIdentifierNode(object)) continue;
+ const assignmentExpressionString = generate(parentNode);
const objectName = object.name;
const propertyName = isLiteralNode(property)
? (property.value as string)
@@ -226,13 +234,9 @@ function getAssignmentExpressionErrors({
const methodName = get(setterAccessorMap, `${objectName}.${propertyName}`);
- const suggestionSentence = methodName
- ? `Use ${methodName}(value) instead.`
- : `Use ${objectName} setter method instead.`;
-
- const lintErrorMessage = !isValidProperty
- ? `${objectName} doesn't have a property named ${propertyName}`
- : `Direct mutation of widget properties aren't supported. ${suggestionSentence}`;
+ const lintErrorMessage = CUSTOM_LINT_ERRORS[
+ CustomLintErrorCode.INVALID_WIDGET_PROPERTY_SETTER
+ ](methodName, objectName, propertyName, isValidProperty);
// line position received after AST parsing is 1 more than the actual line of code, hence we subtract 1 to get the actual line number
const objectStartLine = object.loc.start.line - 1;
@@ -240,32 +244,76 @@ function getAssignmentExpressionErrors({
// AST parsing start column position from index 0 whereas codemirror start ch position from index 1, hence we add 1 to get the actual ch position
const objectStartCol = object.loc.start.column + 1;
- let variable = isLiteralNode(property)
- ? `${object.name}["${propertyName}"]`
- : `${object.name}.${propertyName}`;
+ invalidWidgetPropertySetterErrors.push({
+ errorType: PropertyEvaluationErrorType.LINT,
+ raw: script,
+ severity: getLintSeverity(
+ CustomLintErrorCode.INVALID_WIDGET_PROPERTY_SETTER,
+ lintErrorMessage,
+ ),
+ errorMessage: {
+ name: "LintingError",
+ message: lintErrorMessage,
+ },
+ errorSegment: assignmentExpressionString,
+ originalBinding,
+ variables: [assignmentExpressionString, null, null],
+ code: CustomLintErrorCode.INVALID_ENTITY_PROPERTY,
+ line: objectStartLine - scriptPos.line,
+ ch:
+ objectStartLine === scriptPos.line
+ ? objectStartCol - scriptPos.ch
+ : objectStartCol,
+ });
+ }
+ return invalidWidgetPropertySetterErrors;
+}
+
+function getInvalidAppsmithStoreSetterErrors({
+ assignmentExpressions,
+ originalBinding,
+ script,
+ scriptPos,
+}: {
+ data: Record<string, unknown>;
+ assignmentExpressions: AssignmentExpressionData[];
+ scriptPos: Position;
+ originalBinding: string;
+ script: string;
+}) {
+ const assignmentExpressionErrors: LintError[] = [];
+
+ for (const { object, parentNode } of assignmentExpressions) {
+ if (!isMemberExpressionNode(object)) continue;
+ const assignmentExpressionString = generate(parentNode);
+ if (!assignmentExpressionString.startsWith("appsmith.store")) continue;
- const messageLength = end - start;
+ const lintErrorMessage =
+ CUSTOM_LINT_ERRORS[
+ CustomLintErrorCode.INVALID_APPSMITH_STORE_PROPERTY_SETTER
+ ]();
- variable = variable.concat(
- variable,
- " ".repeat(messageLength - variable.length),
- );
+ // line position received after AST parsing is 1 more than the actual line of code, hence we subtract 1 to get the actual line number
+ const objectStartLine = object.loc.start.line - 1;
+
+ // AST parsing start column position from index 0 whereas codemirror start ch position from index 1, hence we add 1 to get the actual ch position
+ const objectStartCol = object.loc.start.column + 1;
assignmentExpressionErrors.push({
errorType: PropertyEvaluationErrorType.LINT,
raw: script,
severity: getLintSeverity(
- CustomLintErrorCode.INVALID_ENTITY_PROPERTY,
+ CustomLintErrorCode.INVALID_APPSMITH_STORE_PROPERTY_SETTER,
lintErrorMessage,
),
errorMessage: {
name: "LintingError",
message: lintErrorMessage,
},
- errorSegment: variable,
+ errorSegment: assignmentExpressionString,
originalBinding,
- variables: [variable, null, null],
- code: CustomLintErrorCode.INVALID_ENTITY_PROPERTY,
+ variables: [assignmentExpressionString, null, null],
+ code: CustomLintErrorCode.INVALID_APPSMITH_STORE_PROPERTY_SETTER,
line: objectStartLine - scriptPos.line,
ch:
objectStartLine === scriptPos.line
@@ -276,40 +324,15 @@ function getAssignmentExpressionErrors({
return assignmentExpressionErrors;
}
-// returns lint errors caused by
-// 1. accessing invalid properties. Eg. jsObject.unknownProperty
-// 2. direct mutation of widget properties. Eg. widget1.left = 10
-function getCustomErrorsFromScript(
+function getInvalidEntityPropertyErrors(
+ invalidTopLevelMemberExpressions: MemberExpressionData[],
script: string,
data: Record<string, unknown>,
scriptPos: Position,
originalBinding: string,
- isJSObject = false,
-): LintError[] {
- let invalidTopLevelMemberExpressions: MemberExpressionData[] = [];
- let assignmentExpressions: AssignmentExpressionData[] = [];
- try {
- const value = extractExpressionsFromCode(
- script,
- data,
- self.evaluationVersion,
- );
- invalidTopLevelMemberExpressions =
- value.invalidTopLevelMemberExpressionsArray;
- assignmentExpressions =
- value.assignmentExpressionsData as AssignmentExpressionData[];
- // eslint-disable-next-line no-console
- } catch (e) {}
-
- const assignmentExpressionErrors = getAssignmentExpressionErrors({
- assignmentExpressions,
- script,
- scriptPos,
- originalBinding,
- data,
- });
-
- const invalidPropertyErrors = invalidTopLevelMemberExpressions.map(
+ isJSObject: boolean,
+) {
+ return invalidTopLevelMemberExpressions.map(
({ object, property }): LintError => {
const propertyName = isLiteralNode(property)
? (property.value as string)
@@ -346,8 +369,64 @@ function getCustomErrorsFromScript(
};
},
);
+}
+
+// returns custom lint errors caused by
+// 1. accessing invalid properties. Eg. jsObject.unknownProperty
+// 2. direct mutation of widget properties. Eg. widget1.left = 10
+// 3. imperative update of appsmith store object. Eg. appsmith.store.val = 10
+function getCustomErrorsFromScript(
+ script: string,
+ data: Record<string, unknown>,
+ scriptPos: Position,
+ originalBinding: string,
+ isJSObject = false,
+): LintError[] {
+ let invalidTopLevelMemberExpressions: MemberExpressionData[] = [];
+ let assignmentExpressions: AssignmentExpressionData[] = [];
+ try {
+ const value = extractExpressionsFromCode(
+ script,
+ data,
+ self.evaluationVersion,
+ );
+ invalidTopLevelMemberExpressions =
+ value.invalidTopLevelMemberExpressionsArray;
+ assignmentExpressions = value.assignmentExpressionsData;
+ } catch (e) {}
+
+ const invalidWidgetPropertySetterErrors =
+ getInvalidWidgetPropertySetterErrors({
+ assignmentExpressions,
+ script,
+ scriptPos,
+ originalBinding,
+ data,
+ });
+
+ const invalidPropertyErrors = getInvalidEntityPropertyErrors(
+ invalidTopLevelMemberExpressions,
+ script,
+ data,
+ scriptPos,
+ originalBinding,
+ isJSObject,
+ );
+
+ const invalidAppsmithStorePropertyErrors =
+ getInvalidAppsmithStoreSetterErrors({
+ assignmentExpressions,
+ script,
+ scriptPos,
+ originalBinding,
+ data,
+ });
- return [...invalidPropertyErrors, ...assignmentExpressionErrors];
+ return [
+ ...invalidPropertyErrors,
+ ...invalidWidgetPropertySetterErrors,
+ ...invalidAppsmithStorePropertyErrors,
+ ];
}
function getRefinedW117Error(
|
a39fe9bd1b90630285c2b930df196e9dfe25f14b
|
2025-01-31 12:36:42
|
Ayush Pahwa
|
feat: select widget grouping (#38686)
| false
|
select widget grouping (#38686)
|
feat
|
diff --git a/app/client/packages/design-system/ads/src/Select/Select.tsx b/app/client/packages/design-system/ads/src/Select/Select.tsx
index 76626197a8e6..e591525d9adb 100644
--- a/app/client/packages/design-system/ads/src/Select/Select.tsx
+++ b/app/client/packages/design-system/ads/src/Select/Select.tsx
@@ -1,5 +1,8 @@
import React from "react";
-import RCSelect, { Option as RCOption } from "rc-select";
+import RCSelect, {
+ Option as RCOption,
+ OptGroup as RCOptGroup,
+} from "rc-select";
import clsx from "classnames";
import "./rc-styles.css";
import "./styles.css";
@@ -91,5 +94,6 @@ Select.displayName = "Select";
Select.defaultProps = {};
const Option = RCOption;
+const OptGroup = RCOptGroup;
-export { Select, Option };
+export { Select, Option, OptGroup };
diff --git a/app/client/packages/design-system/ads/src/Select/Select.types.ts b/app/client/packages/design-system/ads/src/Select/Select.types.ts
index f76e4914b2dc..22befed2bcbe 100644
--- a/app/client/packages/design-system/ads/src/Select/Select.types.ts
+++ b/app/client/packages/design-system/ads/src/Select/Select.types.ts
@@ -1,6 +1,7 @@
import type { SelectProps as RCSelectProps } from "rc-select";
import type { Sizes } from "../__config__/types";
import type { OptionProps } from "rc-select/lib/Option";
+import type { OptGroupProps } from "rc-select/lib/OptGroup";
export type SelectSizes = Extract<Sizes, "sm" | "md">;
@@ -12,4 +13,8 @@ export type SelectProps = RCSelectProps & {
isLoading?: boolean;
};
-export type SelectOptionProps = OptionProps;
+export type SelectOptionProps = OptionProps & {
+ // used for grouping the options
+ optionGroupType?: string;
+};
+export type SelectOptionGroupProps = OptGroupProps;
diff --git a/app/client/packages/design-system/ads/src/Select/styles.css b/app/client/packages/design-system/ads/src/Select/styles.css
index cc67992917a6..44ceccaffa0c 100644
--- a/app/client/packages/design-system/ads/src/Select/styles.css
+++ b/app/client/packages/design-system/ads/src/Select/styles.css
@@ -231,6 +231,48 @@
box-sizing: border-box;
}
+/* Option group */
+.ads-v2-select__dropdown .rc-select-item.rc-select-item-group {
+ --select-option-padding: var(--ads-v2-spaces-3);
+ --select-option-gap: var(--ads-v2-spaces-3);
+ --select-option-color-bg: var(--ads-v2-colors-content-surface-default-bg);
+ --select-option-font-size: var(--ads-v2-font-size-4);
+ --select-option-height: 36px;
+
+ padding: var(--select-option-padding) 0 0 var(--select-option-padding);
+ border-radius: var(--ads-v2-border-radius);
+ font-weight: 500;
+ font-size: var(--ads-v2-font-size-4);
+ /* TODO: remove !important after WDS fix their issue in tree select */
+ background-color: var(--select-option-color-bg) !important;
+ position: relative;
+ color: var(--ads-v2-colors-content-label-default-fg);
+ min-height: var(--select-option-height);
+ box-sizing: border-box;
+}
+
+/* Option when it is grouped */
+.ads-v2-select__dropdown
+ .rc-select-item.rc-select-item-option.rc-select-item-option-grouped {
+ --select-option-padding: var(--ads-v2-spaces-3);
+ --select-option-gap: var(--ads-v2-spaces-3);
+ --select-option-color-bg: var(--ads-v2-colors-content-surface-default-bg);
+ --select-option-font-size: var(--ads-v2-font-size-4);
+ --select-option-height: 36px;
+
+ padding: var(--select-option-padding);
+ padding-left: var(--ads-v2-spaces-5);
+ margin-bottom: var(--ads-v2-spaces-1);
+ border-radius: var(--ads-v2-border-radius);
+ cursor: pointer;
+ /* TODO: remove !important after WDS fix their issue in tree select */
+ background-color: var(--select-option-color-bg) !important;
+ position: relative;
+ color: var(--ads-v2-colors-content-label-default-fg);
+ min-height: var(--select-option-height);
+ box-sizing: border-box;
+}
+
/* size sm */
.ads-v2-select__dropdown.ads-v2-select__dropdown--sm .rc-select-item {
--select-option-padding: var(--ads-v2-spaces-2);
diff --git a/app/client/src/components/formControls/DropDownControl.test.tsx b/app/client/src/components/formControls/DropDownControl.test.tsx
index d5e5ae849de5..4326f737fc31 100644
--- a/app/client/src/components/formControls/DropDownControl.test.tsx
+++ b/app/client/src/components/formControls/DropDownControl.test.tsx
@@ -118,3 +118,104 @@ describe("DropDownControl", () => {
});
});
});
+
+describe("DropDownControl grouping tests", () => {
+ // TODO: Fix this the next time the file is edited
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ let store: any;
+
+ beforeEach(() => {
+ store = mockStore({
+ form: {
+ GroupingTestForm: {
+ values: {
+ actionConfiguration: { testPath: [] },
+ },
+ },
+ },
+ });
+ });
+
+ it("should render grouped options correctly when optionGroupConfig is provided", async () => {
+ // These config & options demonstrate grouping
+ const mockOptionGroupConfig = {
+ testGrp1: {
+ label: "Group 1",
+ children: [],
+ },
+ testGrp2: {
+ label: "Group 2",
+ children: [],
+ },
+ };
+
+ const mockGroupedOptions = [
+ {
+ label: "Option 1",
+ value: "option1",
+ children: "Option 1",
+ optionGroupType: "testGrp1",
+ },
+ {
+ label: "Option 2",
+ value: "option2",
+ children: "Option 2",
+ // Intentionally no optionGroupType => Should fall under default "Others" group
+ },
+ {
+ label: "Option 3",
+ value: "option3",
+ children: "Option 3",
+ optionGroupType: "testGrp2",
+ },
+ ];
+
+ const props = {
+ ...dropDownProps,
+ controlType: "DROP_DOWN",
+ options: mockGroupedOptions,
+ optionGroupConfig: mockOptionGroupConfig,
+ };
+
+ render(
+ <Provider store={store}>
+ <ReduxFormDecorator>
+ <DropDownControl {...props} />
+ </ReduxFormDecorator>
+ </Provider>,
+ );
+
+ // 1. Grab the dropdown container
+ const dropdownSelect = await waitFor(async () =>
+ screen.findByTestId("t--dropdown-actionConfiguration.testPath"),
+ );
+
+ expect(dropdownSelect).toBeInTheDocument();
+
+ // 2. Click to open the dropdown
+ // @ts-expect-error: the test will fail if component doesn't exist
+ fireEvent.mouseDown(dropdownSelect.querySelector(".rc-select-selector"));
+
+ // 3. We expect to see group labels from the config
+ // 'Group 1' & 'Group 2' come from the mockOptionGroupConfig
+ const group1Label = await screen.findByText("Group 1");
+ const group2Label = await screen.findByText("Group 2");
+
+ expect(group1Label).toBeInTheDocument();
+ expect(group2Label).toBeInTheDocument();
+
+ // 4. Check that the 'Others' group also exists because at least one option did not have optionGroupType
+ // The default group label is 'Others' (in your code)
+ const othersGroupLabel = await screen.findByText("Others");
+
+ expect(othersGroupLabel).toBeInTheDocument();
+
+ // 5. Confirm the correct distribution of options
+ // For group1 -> "Option 1"
+ expect(screen.getByText("Option 1")).toBeInTheDocument();
+ // For group2 -> "Option 3"
+ expect(screen.getByText("Option 3")).toBeInTheDocument();
+ // For default "Others" -> "Option 2"
+ expect(screen.getByText("Option 2")).toBeInTheDocument();
+ });
+});
diff --git a/app/client/src/components/formControls/DropDownControl.tsx b/app/client/src/components/formControls/DropDownControl.tsx
index cf4796e2cedd..6112788e24ee 100644
--- a/app/client/src/components/formControls/DropDownControl.tsx
+++ b/app/client/src/components/formControls/DropDownControl.tsx
@@ -16,7 +16,8 @@ import {
} from "workers/Evaluation/formEval";
import type { Action } from "entities/Action";
import type { SelectOptionProps } from "@appsmith/ads";
-import { Icon, Option, Select } from "@appsmith/ads";
+import { Icon, Option, OptGroup, Select } from "@appsmith/ads";
+import { objectKeys } from "@appsmith/utils";
class DropDownControl extends BaseControl<Props> {
componentDidUpdate(prevProps: Props) {
@@ -140,6 +141,8 @@ function renderDropdown(
}
let options: SelectOptionProps[] = [];
+ let optionGroupConfig: Record<string, DropDownGroupedOptionsInterface> = {};
+ let groupedOptions: DropDownGroupedOptionsInterface[] = [];
let selectedOptions: SelectOptionProps[] = [];
if (typeof props.options === "object" && Array.isArray(props.options)) {
@@ -152,6 +155,54 @@ function renderDropdown(
}) || [];
}
+ const defaultOptionGroupType = "others";
+ const defaultOptionGroupConfig: DropDownGroupedOptionsInterface = {
+ label: "Others",
+ children: [],
+ };
+
+ // For grouping, 2 components are needed
+ // 1) optionGroupConfig: used to render the label text and allows for future expansions
+ // related to UI of the group label
+ // 2) each option should mention a optionGroupType which will help to group the option inside
+ // the group. If not present or the type is not defined in the optionGroupConfig then it will be
+ // added to the default group mentioned above.
+ if (
+ !!props.optionGroupConfig &&
+ typeof props.optionGroupConfig === "object"
+ ) {
+ optionGroupConfig = props.optionGroupConfig;
+ options.forEach((opt) => {
+ let optionGroupType = defaultOptionGroupType;
+ let groupConfig: DropDownGroupedOptionsInterface;
+
+ if (Object.hasOwn(opt, "optionGroupType") && !!opt.optionGroupType) {
+ optionGroupType = opt.optionGroupType;
+ }
+
+ if (Object.hasOwn(optionGroupConfig, optionGroupType)) {
+ groupConfig = optionGroupConfig[optionGroupType];
+ } else {
+ // if optionGroupType is not defined in optionGroupConfig
+ // use the default group config
+ groupConfig = defaultOptionGroupConfig;
+ }
+
+ const groupChildren = groupConfig?.children || [];
+
+ groupChildren.push(opt);
+ groupConfig["children"] = groupChildren;
+ optionGroupConfig[optionGroupType] = groupConfig;
+ });
+
+ groupedOptions = [];
+ objectKeys(optionGroupConfig).forEach(
+ (key) =>
+ optionGroupConfig[key].children.length > 0 &&
+ groupedOptions.push(optionGroupConfig[key]),
+ );
+ }
+
// Function to handle selection of options
const onSelectOptions = (value: string | undefined) => {
if (!isNil(value)) {
@@ -201,7 +252,7 @@ function renderDropdown(
}
};
- if (props.options.length > 0) {
+ if (options.length > 0) {
if (props.isMultiSelect) {
const tempSelectedValues: string[] = [];
@@ -240,9 +291,7 @@ function renderDropdown(
);
if (!tempSelectedValues || isCurrentOptionDisabled) {
- const firstEnabledOption = props?.options.find(
- (opt) => !opt?.disabled,
- );
+ const firstEnabledOption = options.find((opt) => !opt?.disabled);
if (firstEnabledOption) {
selectedValue = firstEnabledOption?.value as string;
@@ -268,26 +317,41 @@ function renderDropdown(
showSearch={props.isSearchable}
value={props.isMultiSelect ? selectedOptions : selectedOptions[0]}
>
- {options.map((option) => {
- return (
- <Option
- aria-label={option.label}
- disabled={option.disabled}
- isDisabled={option.isDisabled}
- key={option.value}
- value={option.value}
- >
- {option.icon && <Icon color={option.color} name={option.icon} />}
- {option.label}
- </Option>
- );
- })}
+ {groupedOptions.length === 0
+ ? options.map(renderOptionWithIcon)
+ : groupedOptions.map(({ children, label }) => {
+ return (
+ <OptGroup aria-label={label} key={label}>
+ {children.map(renderOptionWithIcon)}
+ </OptGroup>
+ );
+ })}
</Select>
);
}
+function renderOptionWithIcon(option: SelectOptionProps) {
+ return (
+ <Option
+ aria-label={option.label}
+ disabled={option.disabled}
+ isDisabled={option.isDisabled}
+ value={option.value}
+ >
+ {option.icon && <Icon color={option.color} name={option.icon} />}
+ {option.label}
+ </Option>
+ );
+}
+
+export interface DropDownGroupedOptionsInterface {
+ label: string;
+ children: SelectOptionProps[];
+}
+
export interface DropDownControlProps extends ControlProps {
options: SelectOptionProps[];
+ optionGroupConfig?: Record<string, DropDownGroupedOptionsInterface>;
optionWidth?: string;
placeholderText: string;
propertyValue: string;
|
bc646ab9b2745db320f6c4fc1e5506697f9c49de
|
2021-03-11 09:48:46
|
Hetu Nandu
|
fix: Delete tabs from the entity explorer (#3405)
| false
|
Delete tabs from the entity explorer (#3405)
|
fix
|
diff --git a/app/client/src/pages/Editor/Explorer/Widgets/WidgetContextMenu.tsx b/app/client/src/pages/Editor/Explorer/Widgets/WidgetContextMenu.tsx
index 628e4ac5c944..e3adc976a1db 100644
--- a/app/client/src/pages/Editor/Explorer/Widgets/WidgetContextMenu.tsx
+++ b/app/client/src/pages/Editor/Explorer/Widgets/WidgetContextMenu.tsx
@@ -7,6 +7,8 @@ import { ReduxActionTypes } from "constants/ReduxActionConstants";
import { noop } from "lodash";
import { initExplorerEntityNameEdit } from "actions/explorerActions";
import { AppState } from "reducers";
+import { updateWidgetPropertyRequest } from "actions/controlActions";
+import { RenderModes, WidgetTypes } from "constants/WidgetConstants";
export const WidgetContextMenu = (props: {
widgetId: string;
@@ -18,8 +20,37 @@ export const WidgetContextMenu = (props: {
// console.log(state.ui.pageWidgets[props.pageId], props.widgetId);
return state.ui.pageWidgets[props.pageId][props.widgetId].parentId;
});
+ const widget = useSelector((state: AppState) => {
+ return state.ui.pageWidgets[props.pageId][props.widgetId];
+ });
+
+ const parentWidget: any = useSelector((state: AppState) => {
+ if (parentId) return state.ui.pageWidgets[props.pageId][parentId];
+ return {};
+ });
const dispatch = useDispatch();
const dispatchDelete = useCallback(() => {
+ // If the widget is a tab we are updating the `tabs` of the property of the widget
+ // This is similar to deleting a tab from the property pane
+ if (widget.tabName && parentWidget.type === WidgetTypes.TABS_WIDGET) {
+ const filteredTabs = parentWidget.tabs.filter(
+ (tab: any) => tab.widgetId !== widgetId,
+ );
+
+ if (widget.parentId && !!filteredTabs.length) {
+ dispatch(
+ updateWidgetPropertyRequest(
+ widget.parentId,
+ "tabs",
+ filteredTabs,
+ RenderModes.CANVAS,
+ ),
+ );
+ }
+
+ return;
+ }
+
dispatch({
type: ReduxActionTypes.WIDGET_DELETE,
payload: {
@@ -27,7 +58,7 @@ export const WidgetContextMenu = (props: {
parentId,
},
});
- }, [dispatch, widgetId, parentId]);
+ }, [dispatch, widgetId, parentId, widget, parentWidget]);
const editWidgetName = useCallback(
() => dispatch(initExplorerEntityNameEdit(widgetId)),
|
54484c81a500007359c0836b6b0163ccc33072c6
|
2023-06-08 14:58:29
|
sneha122
|
fix: gsheet file picker background issue fixed (#24049)
| false
|
gsheet file picker background issue fixed (#24049)
|
fix
|
diff --git a/app/client/src/index.css b/app/client/src/index.css
index 69c8e530328e..140be2ca9ef5 100755
--- a/app/client/src/index.css
+++ b/app/client/src/index.css
@@ -44,7 +44,7 @@ body.dragging * {
outline-offset: 0 !important;
}
-body.overlay {
+#root.overlay {
opacity: 0;
pointer-events: none;
}
diff --git a/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx b/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx
index 8719c800b878..94d23556f50f 100644
--- a/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx
+++ b/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx
@@ -1,4 +1,4 @@
-import { removeClassFromDocumentBody } from "pages/utils";
+import { removeClassFromDocumentRoot } from "pages/utils";
import React, { useState, useEffect } from "react";
import { FilePickerActionStatus } from "entities/Datasource";
import { useDispatch } from "react-redux";
@@ -58,7 +58,6 @@ function GoogleSheetFilePicker({
// When the reconnect modal the ads modal disables pointer events everywhere else.
// To enable selection from the google sheets picker we set pointer events auto to it.
if (!!element) {
- element.style.opacity = "1";
element.style.pointerEvents = "auto";
}
elements.forEach((element) => {
@@ -101,8 +100,6 @@ function GoogleSheetFilePicker({
// Ref: https://github.com/appsmithorg/appsmith/issues/22753
useEffect(() => {
if (!!pickerVisible) {
- removeClassFromDocumentBody(GOOGLE_SHEET_FILE_PICKER_OVERLAY_CLASS);
-
// Event would be emitted when file picker initialisation is done,
// but its either showing cookies permission page or the files to select
AnalyticsUtil.logEvent("GOOGLE_SHEET_FILE_PICKER_INITIATED");
@@ -153,6 +150,7 @@ function GoogleSheetFilePicker({
data.action === FilePickerActionStatus.CANCEL ||
data.action === FilePickerActionStatus.PICKED
) {
+ removeClassFromDocumentRoot(GOOGLE_SHEET_FILE_PICKER_OVERLAY_CLASS);
setPickerVisible(false);
const fileIds = data?.docs?.map((element: any) => element.id) || [];
dispatch(
diff --git a/app/client/src/pages/utils.ts b/app/client/src/pages/utils.ts
index 42091e0ca2dd..468b775a06de 100644
--- a/app/client/src/pages/utils.ts
+++ b/app/client/src/pages/utils.ts
@@ -14,10 +14,16 @@ export const getIsBranchUpdated = (
return branch1 !== branch2;
};
-export const addClassToDocumentBody = (className: string) => {
- document.body.classList.add(className);
+export const addClassToDocumentRoot = (className: string) => {
+ const element: HTMLElement | null = document.querySelector("#root");
+ if (!!element) {
+ element.classList.add(className);
+ }
};
-export const removeClassFromDocumentBody = (className: string) => {
- document.body.classList.remove(className);
+export const removeClassFromDocumentRoot = (className: string) => {
+ const element: HTMLElement | null = document.querySelector("#root");
+ if (!!element) {
+ element.classList.remove(className);
+ }
};
diff --git a/app/client/src/sagas/DatasourcesSagas.ts b/app/client/src/sagas/DatasourcesSagas.ts
index c0dccd4b1a39..01a2d0be4787 100644
--- a/app/client/src/sagas/DatasourcesSagas.ts
+++ b/app/client/src/sagas/DatasourcesSagas.ts
@@ -137,7 +137,7 @@ import {
import { getUntitledDatasourceSequence } from "utils/DatasourceSagaUtils";
import { toast } from "design-system";
import { fetchPluginFormConfig } from "actions/pluginActions";
-import { addClassToDocumentBody } from "pages/utils";
+import { addClassToDocumentRoot } from "pages/utils";
import { AuthorizationStatus } from "pages/common/datasourceAuth";
import {
getFormDiffPaths,
@@ -1648,7 +1648,7 @@ function* loadFilePickerSaga() {
!!appsmithToken &&
!!gapiScriptLoaded
) {
- addClassToDocumentBody(GOOGLE_SHEET_FILE_PICKER_OVERLAY_CLASS);
+ addClassToDocumentRoot(GOOGLE_SHEET_FILE_PICKER_OVERLAY_CLASS);
}
}
|
271fe95d9422f7b0af7a2c3a53d9f7a7936f8100
|
2023-06-06 02:57:40
|
Ankita Kinger
|
chore: Add analytics event to track telemetry is disabled & update properties for INVITE_USER event (#24042)
| false
|
Add analytics event to track telemetry is disabled & update properties for INVITE_USER event (#24042)
|
chore
|
diff --git a/app/client/src/actions/actionSelectorActions.ts b/app/client/src/actions/actionSelectorActions.ts
index b41ca4ee2148..39f9206f7eb9 100644
--- a/app/client/src/actions/actionSelectorActions.ts
+++ b/app/client/src/actions/actionSelectorActions.ts
@@ -1,4 +1,4 @@
-import { ReduxActionTypes } from "ce/constants/ReduxActionConstants";
+import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
export const evaluateActionSelectorField = (payload: {
id: string;
diff --git a/app/client/src/actions/oneClickBindingActions.ts b/app/client/src/actions/oneClickBindingActions.ts
index 345e471d47eb..38ac12591483 100644
--- a/app/client/src/actions/oneClickBindingActions.ts
+++ b/app/client/src/actions/oneClickBindingActions.ts
@@ -1,4 +1,4 @@
-import { ReduxActionTypes } from "ce/constants/ReduxActionConstants";
+import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
export const updateOneClickBindingOptionsVisibility = (
visibility: boolean,
diff --git a/app/client/src/ce/pages/workspace/WorkspaceInviteUsersForm.tsx b/app/client/src/ce/pages/workspace/WorkspaceInviteUsersForm.tsx
index 48d78c1dfa76..ed5c91e5a8fe 100644
--- a/app/client/src/ce/pages/workspace/WorkspaceInviteUsersForm.tsx
+++ b/app/client/src/ce/pages/workspace/WorkspaceInviteUsersForm.tsx
@@ -62,6 +62,7 @@ import { importSvg } from "design-system-old";
import type { WorkspaceUserRoles } from "@appsmith/constants/workspaceConstants";
import { getRampLink, showProductRamps } from "utils/ProductRamps";
import { RAMP_NAME } from "utils/ProductRamps/RampsControlList";
+import { getInstanceId } from "@appsmith/selectors/tenantSelectors";
const NoEmailConfigImage = importSvg(
() => import("assets/images/email-not-configured.svg"),
@@ -366,6 +367,7 @@ function WorkspaceInviteUsersForm(props: any) {
// set state for checking number of users invited
const [numberOfUsersInvited, updateNumberOfUsersInvited] = useState(0);
const currentWorkspace = useSelector(getCurrentAppWorkspace);
+ const instanceId = useSelector(getInstanceId);
const userWorkspacePermissions = currentWorkspace?.userPermissions ?? [];
const canManage = isPermitted(
@@ -469,6 +471,8 @@ function WorkspaceInviteUsersForm(props: any) {
...(cloudHosting ? { users: usersAsStringsArray } : {}),
role: roles,
numberOfUsersInvited: usersAsStringsArray.length,
+ orgId: props.workspaceId,
+ instanceId,
});
return inviteUsersToWorkspace(
{
diff --git a/app/client/src/ce/sagas/SuperUserSagas.tsx b/app/client/src/ce/sagas/SuperUserSagas.tsx
index 4d8bb83f0321..ebabd52cf123 100644
--- a/app/client/src/ce/sagas/SuperUserSagas.tsx
+++ b/app/client/src/ce/sagas/SuperUserSagas.tsx
@@ -22,8 +22,10 @@ import {
} from "@appsmith/constants/messages";
import { getCurrentUser } from "selectors/usersSelectors";
import { EMAIL_SETUP_DOC } from "constants/ThirdPartyConstants";
-import { getCurrentTenant } from "ce/actions/tenantActions";
+import { getCurrentTenant } from "@appsmith/actions/tenantActions";
import { toast } from "design-system";
+import AnalyticsUtil from "utils/AnalyticsUtil";
+import { getInstanceId } from "@appsmith/selectors/tenantSelectors";
export function* FetchAdminSettingsSaga() {
const response: ApiResponse = yield call(UserApi.fetchAdminSettings);
@@ -74,6 +76,8 @@ export function* SaveAdminSettingsSaga(
const { needsRestart = true, settings } = action.payload;
try {
+ const { appVersion } = getAppsmithConfigs();
+ const instanceId: string = yield select(getInstanceId);
const response: ApiResponse = yield call(
UserApi.saveAdminSettings,
settings,
@@ -84,6 +88,14 @@ export function* SaveAdminSettingsSaga(
toast.show("Successfully saved", {
kind: "success",
});
+
+ if (settings["APPSMITH_DISABLE_TELEMETRY"]) {
+ AnalyticsUtil.logEvent("TELEMETRY_DISABLED", {
+ instanceId,
+ version: appVersion.id,
+ });
+ }
+
yield put({
type: ReduxActionTypes.SAVE_ADMIN_SETTINGS_SUCCESS,
});
diff --git a/app/client/src/ce/sagas/tenantSagas.tsx b/app/client/src/ce/sagas/tenantSagas.tsx
index 4d8b74b2ad05..95ba2c73a78e 100644
--- a/app/client/src/ce/sagas/tenantSagas.tsx
+++ b/app/client/src/ce/sagas/tenantSagas.tsx
@@ -10,7 +10,7 @@ import { TenantApi } from "@appsmith/api/TenantApi";
import { validateResponse } from "sagas/ErrorSagas";
import { safeCrashAppRequest } from "actions/errorActions";
import { ERROR_CODES } from "@appsmith/constants/ApiConstants";
-import { defaultBrandingConfig as CE_defaultBrandingConfig } from "ce/reducers/tenantReducer";
+import { defaultBrandingConfig as CE_defaultBrandingConfig } from "@appsmith/reducers/tenantReducer";
import { toast } from "design-system";
// On CE we don't expose tenant config so this shouldn't make any API calls and should just return necessary permissions for the user
diff --git a/app/client/src/ce/sagas/userSagas.tsx b/app/client/src/ce/sagas/userSagas.tsx
index 268fe5cab23a..a60fd8c79529 100644
--- a/app/client/src/ce/sagas/userSagas.tsx
+++ b/app/client/src/ce/sagas/userSagas.tsx
@@ -73,8 +73,10 @@ import type FeatureFlags from "entities/FeatureFlags";
import UsagePulse from "usagePulse";
import { toast } from "design-system";
import { isAirgapped } from "@appsmith/utils/airgapHelpers";
-import { USER_PROFILE_PICTURE_UPLOAD_FAILED } from "ce/constants/messages";
-import { UPDATE_USER_DETAILS_FAILED } from "ce/constants/messages";
+import {
+ USER_PROFILE_PICTURE_UPLOAD_FAILED,
+ UPDATE_USER_DETAILS_FAILED,
+} from "@appsmith/constants/messages";
import { createMessage } from "design-system-old/build/constants/messages";
export function* createUserSaga(
diff --git a/app/client/src/components/editorComponents/ActionCreator/viewComponents/TextView/index.tsx b/app/client/src/components/editorComponents/ActionCreator/viewComponents/TextView/index.tsx
index 59bd30d9da05..f69a56f45e7f 100644
--- a/app/client/src/components/editorComponents/ActionCreator/viewComponents/TextView/index.tsx
+++ b/app/client/src/components/editorComponents/ActionCreator/viewComponents/TextView/index.tsx
@@ -8,7 +8,7 @@ import { AutocompleteDataType } from "utils/autocomplete/AutocompleteDataType";
import React, { useEffect, useMemo } from "react";
import { getCodeFromMoustache } from "../../utils";
import { useDispatch, useSelector } from "react-redux";
-import { EVAL_WORKER_ACTIONS } from "ce/workers/Evaluation/evalWorkerActions";
+import { EVAL_WORKER_ACTIONS } from "@appsmith/workers/Evaluation/evalWorkerActions";
import { generateReactKey } from "utils/generators";
import {
clearEvaluatedActionSelectorField,
diff --git a/app/client/src/components/editorComponents/LazyCodeEditor/index.tsx b/app/client/src/components/editorComponents/LazyCodeEditor/index.tsx
index 6a8247a9b3c1..12d8105714a4 100644
--- a/app/client/src/components/editorComponents/LazyCodeEditor/index.tsx
+++ b/app/client/src/components/editorComponents/LazyCodeEditor/index.tsx
@@ -4,7 +4,7 @@ import { REQUEST_IDLE_CALLBACK_TIMEOUT } from "constants/AppConstants";
import type { EditorProps } from "components/editorComponents/CodeEditor";
import type CodeEditor from "components/editorComponents/CodeEditor";
import CodeEditorFallback from "./CodeEditorFallback";
-import { CODE_EDITOR_LOADING_ERROR } from "ce/constants/messages";
+import { CODE_EDITOR_LOADING_ERROR } from "@appsmith/constants/messages";
import assertNever from "assert-never/index";
import log from "loglevel";
import { toast } from "design-system";
diff --git a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useDatasource.tsx b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useDatasource.tsx
index 968792b8ad74..0d4b184c8cf3 100644
--- a/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useDatasource.tsx
+++ b/app/client/src/components/editorComponents/WidgetQueryGeneratorForm/CommonControls/DatasourceDropdown/useDatasource.tsx
@@ -34,7 +34,7 @@ import AnalyticsUtil from "utils/AnalyticsUtil";
import { getWidget } from "sagas/selectors";
import type { AppState } from "@appsmith/reducers";
import { DatasourceCreateEntryPoints } from "constants/Datasource";
-import { getCurrentWorkspaceId } from "ce/selectors/workspaceSelectors";
+import { getCurrentWorkspaceId } from "@appsmith/selectors/workspaceSelectors";
export function useDatasource() {
const {
diff --git a/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionButton.tsx b/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionButton.tsx
index 23f5d6ddc817..3c7fde3ec050 100644
--- a/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionButton.tsx
+++ b/app/client/src/pages/Editor/CanvasLayoutConversion/ConversionButton.tsx
@@ -25,7 +25,7 @@ import {
} from "actions/autoLayoutActions";
import { CONVERSION_STATES } from "reducers/uiReducers/layoutConversionReducer";
import { useConversionForm } from "./hooks/useConversionForm";
-import type { AppState } from "ce/reducers";
+import type { AppState } from "@appsmith/reducers";
function ConversionButton() {
const [showModal, setShowModal] = React.useState(false);
diff --git a/app/client/src/pages/Editor/DataSourceEditor/DSFormHeader.tsx b/app/client/src/pages/Editor/DataSourceEditor/DSFormHeader.tsx
index 06496745e1db..83f55b79f7d4 100644
--- a/app/client/src/pages/Editor/DataSourceEditor/DSFormHeader.tsx
+++ b/app/client/src/pages/Editor/DataSourceEditor/DSFormHeader.tsx
@@ -7,6 +7,7 @@ import {
CONFIRM_CONTEXT_DELETING,
CONFIRM_CONTEXT_DELETE,
CONTEXT_DELETE,
+ EDIT,
createMessage,
} from "@appsmith/constants/messages";
import AnalyticsUtil from "utils/AnalyticsUtil";
@@ -17,7 +18,6 @@ import type { ApiDatasourceForm } from "entities/Datasource/RestAPIForm";
import { MenuWrapper, StyledMenu } from "components/utils/formComponents";
import styled from "styled-components";
import { Button, MenuContent, MenuItem, MenuTrigger } from "design-system";
-import { EDIT } from "ce/constants/messages";
import { DatasourceEditEntryPoints } from "constants/Datasource";
export const ActionWrapper = styled.div`
diff --git a/app/client/src/pages/Editor/Explorer/Datasources/DatasourceStructure.tsx b/app/client/src/pages/Editor/Explorer/Datasources/DatasourceStructure.tsx
index 28ccaf820c2c..de73e3de48b3 100644
--- a/app/client/src/pages/Editor/Explorer/Datasources/DatasourceStructure.tsx
+++ b/app/client/src/pages/Editor/Explorer/Datasources/DatasourceStructure.tsx
@@ -12,7 +12,7 @@ import type { AppState } from "@appsmith/reducers";
import { getDatasource } from "selectors/entitiesSelector";
import { getPagePermissions } from "selectors/editorSelectors";
import { Menu, MenuTrigger, Button, Tooltip, MenuContent } from "design-system";
-import { SHOW_TEMPLATES, createMessage } from "ce/constants/messages";
+import { SHOW_TEMPLATES, createMessage } from "@appsmith/constants/messages";
import styled from "styled-components";
type DatasourceStructureProps = {
diff --git a/app/client/src/pages/Editor/JSEditor/JSObjectNameEditor.tsx b/app/client/src/pages/Editor/JSEditor/JSObjectNameEditor.tsx
index 532c3ee25410..169a9364fdeb 100644
--- a/app/client/src/pages/Editor/JSEditor/JSObjectNameEditor.tsx
+++ b/app/client/src/pages/Editor/JSEditor/JSObjectNameEditor.tsx
@@ -20,7 +20,7 @@ import EditableText, {
EditInteractionKind,
} from "components/editorComponents/EditableText";
import { Spinner } from "design-system";
-import { getAssetUrl } from "../../../ce/utils/airgapHelpers";
+import { getAssetUrl } from "@appsmith/utils/airgapHelpers";
const JSObjectNameWrapper = styled.div<{ page?: string }>`
min-width: 50%;
diff --git a/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx b/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx
index d1639ab75394..8719c800b878 100644
--- a/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx
+++ b/app/client/src/pages/Editor/SaaSEditor/GoogleSheetFilePicker.tsx
@@ -8,7 +8,7 @@ import AnalyticsUtil from "utils/AnalyticsUtil";
import {
createMessage,
GOOGLE_SHEETS_FILE_PICKER_TITLE,
-} from "ce/constants/messages";
+} from "@appsmith/constants/messages";
interface Props {
datasourceId: string;
diff --git a/app/client/src/pages/Editor/WidgetsEditor/CanvasContainer.tsx b/app/client/src/pages/Editor/WidgetsEditor/CanvasContainer.tsx
index 32d8cd64809e..468741933bb9 100644
--- a/app/client/src/pages/Editor/WidgetsEditor/CanvasContainer.tsx
+++ b/app/client/src/pages/Editor/WidgetsEditor/CanvasContainer.tsx
@@ -33,7 +33,7 @@ import {
} from "utils/hooks/useDynamicAppLayout";
import Canvas from "../Canvas";
import { CanvasResizer } from "widgets/CanvasResizer";
-import type { AppState } from "ce/reducers";
+import type { AppState } from "@appsmith/reducers";
type CanvasContainerProps = {
isPreviewMode: boolean;
diff --git a/app/client/src/pages/UserProfile/UserProfileImagePicker.tsx b/app/client/src/pages/UserProfile/UserProfileImagePicker.tsx
index 01cacb306568..d6ea9a3e2811 100644
--- a/app/client/src/pages/UserProfile/UserProfileImagePicker.tsx
+++ b/app/client/src/pages/UserProfile/UserProfileImagePicker.tsx
@@ -7,9 +7,9 @@ import { USER_PHOTO_ASSET_URL } from "constants/userConstants";
import { DisplayImageUpload } from "design-system-old";
import type Uppy from "@uppy/core";
-import { ReduxActionErrorTypes } from "ce/constants/ReduxActionConstants";
+import { ReduxActionErrorTypes } from "@appsmith/constants/ReduxActionConstants";
import type { ErrorActionPayload } from "sagas/ErrorSagas";
-import { USER_DISPLAY_PICTURE_FILE_INVALID } from "ce/constants/messages";
+import { USER_DISPLAY_PICTURE_FILE_INVALID } from "@appsmith/constants/messages";
function FormDisplayImage() {
const [file, setFile] = useState<any>();
diff --git a/app/client/src/pages/common/datasourceAuth/AuthMessage.tsx b/app/client/src/pages/common/datasourceAuth/AuthMessage.tsx
index a9671c443834..1b5315aa313b 100644
--- a/app/client/src/pages/common/datasourceAuth/AuthMessage.tsx
+++ b/app/client/src/pages/common/datasourceAuth/AuthMessage.tsx
@@ -20,7 +20,7 @@ import {
GOOGLE_SHEETS_ASK_FOR_SUPPORT,
DATASOURCE_INTERCOM_TEXT,
} from "@appsmith/constants/messages";
-import { getAppsmithConfigs } from "ce/configs";
+import { getAppsmithConfigs } from "@appsmith/configs";
const { intercomAppID } = getAppsmithConfigs();
const StyledAuthMessage = styled.div<{ isInViewMode: boolean }>`
diff --git a/app/client/src/sagas/SaaSPaneSagas.ts b/app/client/src/sagas/SaaSPaneSagas.ts
index 7a5a39b3327c..57d99f226c2b 100644
--- a/app/client/src/sagas/SaaSPaneSagas.ts
+++ b/app/client/src/sagas/SaaSPaneSagas.ts
@@ -18,7 +18,7 @@ import { getCurrentPageId } from "selectors/editorSelectors";
import type { CreateDatasourceSuccessAction } from "actions/datasourceActions";
import { getQueryParams } from "utils/URLUtils";
import { getIsGeneratePageInitiator } from "utils/GenerateCrudUtil";
-import { DATASOURCE_SAAS_FORM } from "ce/constants/forms";
+import { DATASOURCE_SAAS_FORM } from "@appsmith/constants/forms";
import { initialize } from "redux-form";
import { omit } from "lodash";
diff --git a/app/client/src/selectors/oneClickBindingSelectors.tsx b/app/client/src/selectors/oneClickBindingSelectors.tsx
index c31b000f55a1..1124857e10bc 100644
--- a/app/client/src/selectors/oneClickBindingSelectors.tsx
+++ b/app/client/src/selectors/oneClickBindingSelectors.tsx
@@ -1,4 +1,4 @@
-import type { AppState } from "ce/reducers";
+import type { AppState } from "@appsmith/reducers";
export const getOneClickBindingConfigForWidget =
(widgetId: string) => (state: AppState) =>
diff --git a/app/client/src/usagePulse/index.ts b/app/client/src/usagePulse/index.ts
index 06b1f65dfb11..ed96819741e4 100644
--- a/app/client/src/usagePulse/index.ts
+++ b/app/client/src/usagePulse/index.ts
@@ -14,7 +14,7 @@ import {
} from "@appsmith/constants/UsagePulse";
import PageApi from "api/PageApi";
import { APP_MODE } from "entities/App";
-import type { FetchApplicationResponse } from "ce/api/ApplicationApi";
+import type { FetchApplicationResponse } from "@appsmith/api/ApplicationApi";
import type { AxiosResponse } from "axios";
import { getFirstTimeUserOnboardingIntroModalVisibility } from "utils/storage";
diff --git a/app/client/src/utils/AnalyticsUtil.tsx b/app/client/src/utils/AnalyticsUtil.tsx
index dd3ff7e5ec7b..3998bb8a0efe 100644
--- a/app/client/src/utils/AnalyticsUtil.tsx
+++ b/app/client/src/utils/AnalyticsUtil.tsx
@@ -319,6 +319,7 @@ export type EventName =
| "GOOGLE_SHEET_FILE_PICKER_FILES_LISTED"
| "GOOGLE_SHEET_FILE_PICKER_CANCEL"
| "GOOGLE_SHEET_FILE_PICKER_PICKED"
+ | "TELEMETRY_DISABLED"
| AI_EVENTS
| ONE_CLICK_BINDING_EVENT_NAMES;
diff --git a/app/client/src/utils/FilterInternalProperties/Widget.ts b/app/client/src/utils/FilterInternalProperties/Widget.ts
index f08fb159fc6a..4c67bd24fb66 100644
--- a/app/client/src/utils/FilterInternalProperties/Widget.ts
+++ b/app/client/src/utils/FilterInternalProperties/Widget.ts
@@ -1,4 +1,4 @@
-import type { EntityDefinitionsOptions } from "ce/utils/autocomplete/EntityDefinitions";
+import type { EntityDefinitionsOptions } from "@appsmith/utils/autocomplete/EntityDefinitions";
import type { DataTree, WidgetEntity } from "entities/DataTree/dataTreeFactory";
import { isFunction } from "lodash";
import WidgetFactory from "utils/WidgetFactory";
diff --git a/app/client/src/utils/FilterInternalProperties/index.ts b/app/client/src/utils/FilterInternalProperties/index.ts
index 1b9f9adbd254..b070131df459 100644
--- a/app/client/src/utils/FilterInternalProperties/index.ts
+++ b/app/client/src/utils/FilterInternalProperties/index.ts
@@ -14,7 +14,7 @@ import {
import {
isAppsmithEntity,
isJSAction,
-} from "ce/workers/Evaluation/evaluationUtils";
+} from "@appsmith/workers/Evaluation/evaluationUtils";
export const filterInternalProperties = (
objectName: string,
diff --git a/app/client/src/utils/editorContextUtils.ts b/app/client/src/utils/editorContextUtils.ts
index 71ce0caa2c09..cfda50e4a2ca 100644
--- a/app/client/src/utils/editorContextUtils.ts
+++ b/app/client/src/utils/editorContextUtils.ts
@@ -3,7 +3,7 @@ import {
DATASOURCE_DB_FORM,
DATASOURCE_REST_API_FORM,
DATASOURCE_SAAS_FORM,
-} from "ce/constants/forms";
+} from "@appsmith/constants/forms";
import { diff } from "deep-diff";
import { PluginPackageName, PluginType } from "entities/Action";
import type { Datasource } from "entities/Datasource";
diff --git a/app/client/src/workers/Evaluation/__tests__/evaluate.test.ts b/app/client/src/workers/Evaluation/__tests__/evaluate.test.ts
index 19cf8a5568c3..af60ea121b9b 100644
--- a/app/client/src/workers/Evaluation/__tests__/evaluate.test.ts
+++ b/app/client/src/workers/Evaluation/__tests__/evaluate.test.ts
@@ -8,7 +8,7 @@ import { RenderModes } from "constants/WidgetConstants";
import setupEvalEnv from "../handlers/setupEvalEnv";
import { functionDeterminer } from "../functionDeterminer";
import { resetJSLibraries } from "workers/common/JSLibrary/resetJSLibraries";
-import { EVAL_WORKER_ACTIONS } from "ce/workers/Evaluation/evalWorkerActions";
+import { EVAL_WORKER_ACTIONS } from "@appsmith/workers/Evaluation/evalWorkerActions";
describe("evaluateSync", () => {
const widget: WidgetEntity = {
|
e7209f06fd8b47c84511f73079284b349f38d698
|
2022-09-08 16:35:59
|
Keyur Paralkar
|
feat: Table widget checkbox column type (#15933)
| false
|
Table widget checkbox column type (#15933)
|
feat
|
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/TableV2_Property_ToggleJs_With_Binding_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/TableV2_Property_ToggleJs_With_Binding_spec.js
index 5daea7007512..69dd114b66cd 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/TableV2_Property_ToggleJs_With_Binding_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Binding/TableV2_Property_ToggleJs_With_Binding_spec.js
@@ -55,7 +55,7 @@ describe("Table Widget V2 property pane feature validation", function() {
.click({ force: true });
// eslint-disable-next-line cypress/no-unnecessary-waiting
cy.wait(1000);
- cy.toggleJsAndUpdateWithIndex("tabledata", testdata.bindingNewSize,0);
+ cy.toggleJsAndUpdateWithIndex("tabledata", testdata.bindingNewSize, 0);
cy.readTableV2dataValidateCSS("0", "0", "font-size", "14px");
cy.readTableV2dataValidateCSS("1", "0", "font-size", "24px");
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Button/ButtonGroup_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Button/ButtonGroup_spec.js
index 33c1f4b5972b..47215225f385 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Button/ButtonGroup_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Button/ButtonGroup_spec.js
@@ -80,13 +80,17 @@ describe("Button Group Widget Functionality", function() {
"Between",
);
// 1st btn
- cy.get(firstButton).last().should("have.css", "justify-content", "space-between");
+ cy.get(firstButton)
+ .last()
+ .should("have.css", "justify-content", "space-between");
// update dropdown value
cy.selectDropdownValue(
".t--property-control-placement .bp3-popover-target",
"Start",
);
- cy.get(firstButton).last().should("have.css", "justify-content", "start");
+ cy.get(firstButton)
+ .last()
+ .should("have.css", "justify-content", "start");
// other button style stay same
cy.get(menuButton).should("have.css", "justify-content", "center");
});
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Chart/Chart_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Chart/Chart_spec.js
index 7cef982788cc..97c21e55b1ac 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Chart/Chart_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Chart/Chart_spec.js
@@ -31,7 +31,7 @@ describe("Chart Widget Functionality", function() {
/**
* @param{Text} Random Input Value
*/
- cy.testJsontext("title",this.data.chartIndata);
+ cy.testJsontext("title", this.data.chartIndata);
cy.get(viewWidgetsPage.chartInnerText)
.click()
.contains("App Sign Up")
@@ -355,5 +355,4 @@ describe("Chart Widget Functionality", function() {
afterEach(() => {
cy.goToEditFromPublish();
});
-
});
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/CurrencyInput/CurrencyInput_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/CurrencyInput/CurrencyInput_spec.js
index fb0c1c53114e..2c8c22a2a61a 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/CurrencyInput/CurrencyInput_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/CurrencyInput/CurrencyInput_spec.js
@@ -98,7 +98,10 @@ describe("Currency widget - ", () => {
cy.closePropertyPane();
cy.wait(500);
cy.openPropertyPane(widgetName);
- cy.get(".t--property-control-decimalsallowed .cs-text").should("have.text", "0");
+ cy.get(".t--property-control-decimalsallowed .cs-text").should(
+ "have.text",
+ "0",
+ );
});
it("should check that widget input resets on submit", () => {
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Dropdown/Dropdown_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Dropdown/Dropdown_spec.js
index 55138bdc4403..b2ad33091197 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Dropdown/Dropdown_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Dropdown/Dropdown_spec.js
@@ -84,9 +84,9 @@ describe("Dropdown Widget Functionality", function() {
cy.get(".t--property-control-options .t--codemirror-has-error").should(
"not.exist",
);
- cy.get(".t--property-control-defaultselectedvalue .t--codemirror-has-error").should(
- "not.exist",
- );
+ cy.get(
+ ".t--property-control-defaultselectedvalue .t--codemirror-has-error",
+ ).should("not.exist");
cy.get(formWidgetsPage.dropdownDefaultButton).should("contain", "Blue");
});
@@ -108,30 +108,36 @@ describe("Dropdown Widget Functionality", function() {
}]`,
);
cy.updateCodeInput(".t--property-control-defaultselectedvalue", "null");
- cy.get(".t--property-control-defaultselectedvalue .t--codemirror-has-error").should(
- "not.exist",
- );
+ cy.get(
+ ".t--property-control-defaultselectedvalue .t--codemirror-has-error",
+ ).should("not.exist");
cy.get(formWidgetsPage.dropdownDefaultButton).should("contain", "Blue");
cy.openPropertyPane("selectwidget");
cy.updateCodeInput(".t--property-control-defaultselectedvalue", "120");
- cy.get(".t--property-control-defaultselectedvalue .t--codemirror-has-error").should(
- "not.exist",
- );
+ cy.get(
+ ".t--property-control-defaultselectedvalue .t--codemirror-has-error",
+ ).should("not.exist");
cy.get(formWidgetsPage.dropdownDefaultButton).should("contain", "Red");
cy.openPropertyPane("selectwidget");
- cy.updateCodeInput(".t--property-control-defaultselectedvalue", "{{ 100 }}");
- cy.get(".t--property-control-defaultselectedvalue .t--codemirror-has-error").should(
- "not.exist",
+ cy.updateCodeInput(
+ ".t--property-control-defaultselectedvalue",
+ "{{ 100 }}",
);
+ cy.get(
+ ".t--property-control-defaultselectedvalue .t--codemirror-has-error",
+ ).should("not.exist");
cy.get(formWidgetsPage.dropdownDefaultButton).should("contain", "Green");
cy.openPropertyPane("selectwidget");
- cy.updateCodeInput(".t--property-control-defaultselectedvalue", "{{ null }}");
- cy.get(".t--property-control-defaultselectedvalue .t--codemirror-has-error").should(
- "exist",
+ cy.updateCodeInput(
+ ".t--property-control-defaultselectedvalue",
+ "{{ null }}",
);
+ cy.get(
+ ".t--property-control-defaultselectedvalue .t--codemirror-has-error",
+ ).should("exist");
});
it("Dropdown Functionality To Check disabled Widget", function() {
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Form/Form_With_CheckBox_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Form/Form_With_CheckBox_spec.js
index 6c7f8a1b3774..68c0898231a2 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Form/Form_With_CheckBox_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Form/Form_With_CheckBox_spec.js
@@ -83,7 +83,7 @@ describe("Checkbox Widget Functionality", function() {
it("Checkbox Functionality To change label size of checkbox", function() {
cy.openPropertyPane("checkboxwidget");
- cy.moveToStyleTab()
+ cy.moveToStyleTab();
cy.get(widgetsPage.textSizeNew)
.last()
.click({ force: true });
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Input/Input_MaxChar_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Input/Input_MaxChar_spec.js
index ed3f68134824..a01b13eea2cc 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Input/Input_MaxChar_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Input/Input_MaxChar_spec.js
@@ -25,7 +25,7 @@ describe("Input Widget Max Char Functionality", function() {
.type("1234567");
cy.openPropertyPane("inputwidgetv2");
-
+
cy.testJsontext("maxcharacters", "3");
cy.closePropertyPane("inputwidgetv2");
cy.get(widgetsPage.innertext).click();
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Input/Input_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Input/Input_spec.js
index 856a97a264ed..67c2bfda949e 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Input/Input_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Input/Input_spec.js
@@ -178,7 +178,7 @@ describe("Input Widget Functionality", function() {
it("Input icon shows on icon select", () => {
cy.selectDropdownValue(commonlocators.dataType, "Text");
cy.wait(1000);
- cy.moveToStyleTab()
+ cy.moveToStyleTab();
cy.get(".t--property-control-icon .bp3-icon-caret-down").click({
force: true,
});
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/JSONForm/JSONForm_ArrayField_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/JSONForm/JSONForm_ArrayField_spec.js
index 125a72221e6d..f0b6839ca7b4 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/JSONForm/JSONForm_ArrayField_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/JSONForm/JSONForm_ArrayField_spec.js
@@ -241,8 +241,9 @@ describe("JSON Form Widget Array Field", () => {
cy.openFieldConfiguration("__array_item__");
// Add new custom field
- cy.get(".t--property-control-fieldconfiguration .t--add-column-btn")
- .click({ force: true });
+ cy.get(".t--property-control-fieldconfiguration .t--add-column-btn").click({
+ force: true,
+ });
cy.openFieldConfiguration("customField1");
cy.selectDropdownValue(
@@ -278,8 +279,9 @@ describe("JSON Form Widget Array Field", () => {
cy.openFieldConfiguration("__array_item__");
// Add new custom field
- cy.get(".t--property-control-fieldconfiguration .t--add-column-btn")
- .click({ force: true });
+ cy.get(".t--property-control-fieldconfiguration .t--add-column-btn").click({
+ force: true,
+ });
cy.openFieldConfiguration("customField1");
cy.selectDropdownValue(commonlocators.jsonFormFieldType, /^Currency Input/);
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Multiselect/MultiSelect1_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Multiselect/MultiSelect1_spec.js
index 25d6a525e8e3..b99d9fd5131f 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Multiselect/MultiSelect1_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Multiselect/MultiSelect1_spec.js
@@ -93,9 +93,9 @@ describe("MultiSelect Widget Functionality", function() {
cy.get(".t--property-control-options .t--codemirror-has-error").should(
"not.exist",
);
- cy.get(".t--property-control-defaultselectedvalues .t--codemirror-has-error").should(
- "not.exist",
- );
+ cy.get(
+ ".t--property-control-defaultselectedvalues .t--codemirror-has-error",
+ ).should("not.exist");
cy.wait(100);
cy.get(formWidgetsPage.multiselectwidgetv2)
.find(".rc-select-selection-item-content")
@@ -131,9 +131,9 @@ describe("MultiSelect Widget Functionality", function() {
cy.get(".t--property-control-options .t--codemirror-has-error").should(
"not.exist",
);
- cy.get(".t--property-control-defaultselectedvalues .t--codemirror-has-error").should(
- "not.exist",
- );
+ cy.get(
+ ".t--property-control-defaultselectedvalues .t--codemirror-has-error",
+ ).should("not.exist");
cy.wait(100);
cy.get(formWidgetsPage.multiselectwidgetv2)
.find(".rc-select-selection-item-content")
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Multiselect/MultiSelect4_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Multiselect/MultiSelect4_spec.js
index 124265680205..22dd14f9d47b 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Multiselect/MultiSelect4_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Multiselect/MultiSelect4_spec.js
@@ -37,7 +37,10 @@ describe("MultiSelect Widget Functionality", function() {
}
]`,
);
- cy.updateCodeInput(".t--property-control-defaultselectedvalues", defaultValue);
+ cy.updateCodeInput(
+ ".t--property-control-defaultselectedvalues",
+ defaultValue,
+ );
});
it("Copy and paste multiselect widget", () => {
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Others/MenuButton_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Others/MenuButton_spec.js
index 99f1ae766e1c..3d51cf53bf5f 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Others/MenuButton_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Others/MenuButton_spec.js
@@ -8,7 +8,7 @@ describe("Menu Button Widget Functionality", () => {
it("1. Icon alignment should not change when changing the icon", () => {
cy.openPropertyPane("menubuttonwidget");
- cy.moveToStyleTab()
+ cy.moveToStyleTab();
// Add an icon
cy.get(".t--property-control-icon .bp3-icon-caret-down").click({
force: true,
@@ -52,7 +52,7 @@ describe("Menu Button Widget Functionality", () => {
it("2. MenuButton widget functionality on undo after delete", function() {
cy.openPropertyPane("menubuttonwidget");
- cy.moveToContentTab()
+ cy.moveToContentTab();
// Delete Second Menu Item
cy.get(".t--property-control-menuitems .t--delete-column-btn")
.eq(1)
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Select/Select_widget1_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Select/Select_widget1_spec.js
index 27d47246971e..3ab65669044a 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Select/Select_widget1_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Select/Select_widget1_spec.js
@@ -37,7 +37,10 @@ describe("Select Widget Functionality", function() {
}
]`,
);
- cy.updateCodeInput(".t--property-control-defaultselectedvalue", defaultValue);
+ cy.updateCodeInput(
+ ".t--property-control-defaultselectedvalue",
+ defaultValue,
+ );
});
it("Copy and paste select widget", () => {
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/Inline_editing_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/Inline_editing_spec.js
index 58925d4ebe3c..69ec162bdb2a 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/Inline_editing_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/Inline_editing_spec.js
@@ -582,13 +582,15 @@ describe("Table widget inline editing functionality", () => {
cy.makeColumnEditable("step");
cy.editColumn("EditActions1");
//cy.get(".t--property-pane-section-collapse-savebutton").click({force:true});
- cy.get(".t--property-pane-section-collapse-discardbutton").click({force:true});
+ cy.get(".t--property-pane-section-collapse-discardbutton").click({
+ force: true,
+ });
cy.get(".t--property-control-onsave .t--open-dropdown-Select-Action")
.last()
- .click({force:true});
+ .click({ force: true });
cy.selectShowMsg();
//cy.addSuccessMessage("Saved!!", ".t--property-control-onsave");
- cy.toggleJsAndUpdateWithIndex("onsave","Saved!!",1);
+ cy.toggleJsAndUpdateWithIndex("onsave", "Saved!!", 1);
cy.editTableCell(0, 0);
cy.enterTableCellValue(0, 0, "NewValue");
cy.openPropertyPane("tablewidgetv2");
@@ -607,12 +609,14 @@ describe("Table widget inline editing functionality", () => {
cy.makeColumnEditable("step");
cy.editColumn("EditActions1");
//cy.get(".t--property-pane-section-collapse-savebutton").click({force:true});
- cy.get(".t--property-pane-section-collapse-discardbutton").click({force:true});
+ cy.get(".t--property-pane-section-collapse-discardbutton").click({
+ force: true,
+ });
cy.get(".t--property-control-onsave .t--open-dropdown-Select-Action")
.last()
- .click({force:true});
+ .click({ force: true });
cy.selectShowMsg();
- cy.toggleJsAndUpdateWithIndex("onsave","{{Table1.triggeredRow.step}}",1);
+ cy.toggleJsAndUpdateWithIndex("onsave", "{{Table1.triggeredRow.step}}", 1);
/*
cy.addSuccessMessage(
@@ -641,9 +645,9 @@ describe("Table widget inline editing functionality", () => {
//cy.get(".t--property-pane-section-collapse-discardbutton").click();
cy.get(".t--property-control-ondiscard .t--open-dropdown-Select-Action")
.last()
- .click({force:true});
+ .click({ force: true });
cy.selectShowMsg();
- cy.toggleJsAndUpdateWithIndex("ondiscard","discarded!!",3);
+ cy.toggleJsAndUpdateWithIndex("ondiscard", "discarded!!", 3);
//cy.addSuccessMessage("discarded!!", ".t--property-control-ondiscard");
cy.editTableCell(0, 0);
cy.enterTableCellValue(0, 0, "NewValue");
@@ -679,7 +683,7 @@ describe("Table widget inline editing functionality with Text wrapping functiona
cy.editColumn("step");
cy.get(".t--property-control-cellwrapping .bp3-control-indicator")
.first()
- .click({force:true});
+ .click({ force: true });
cy.editTableCell(0, 0);
cy.get(
"[data-colindex=0][data-rowindex=0] .t--inlined-cell-editor input.bp3-input",
@@ -705,7 +709,7 @@ describe("Table widget inline editing functionality with Text wrapping functiona
cy.editColumn("step");
cy.get(".t--property-control-cellwrapping .bp3-control-indicator")
.first()
- .click({force:true});
+ .click({ force: true });
cy.editTableCell(0, 0);
cy.get(
"[data-colindex='0'][data-rowindex='0'] .t--inlined-cell-editor",
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_PropertyPane_IconName_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_PropertyPane_IconName_spec.js
index eeee986a0795..d623c974a137 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_PropertyPane_IconName_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_PropertyPane_IconName_spec.js
@@ -13,12 +13,12 @@ describe("Table Widget property pane feature validation", function() {
cy.changeColumnType("Menu Button");
cy.wait(400);
- cy.moveToStyleTab()
+ cy.moveToStyleTab();
cy.get(commonlocators.selectedIcon).should("have.text", "(none)");
cy.getTableV2DataSelector("1", "5").then((selector) => {
cy.get(selector + " button span.bp3-icon").should("not.exist");
});
- cy.moveToContentTab()
+ cy.moveToContentTab();
cy.changeColumnType("Icon Button");
cy.wait(400);
cy.get(commonlocators.selectedIcon).should("have.text", "add");
@@ -30,7 +30,7 @@ describe("Table Widget property pane feature validation", function() {
});
cy.changeColumnType("Menu Button");
cy.wait(500);
- cy.moveToStyleTab()
+ cy.moveToStyleTab();
cy.get(commonlocators.selectedIcon).should("have.text", "(none)");
cy.getTableV2DataSelector("1", "5").then((selector) => {
cy.get(selector + " button span.bp3-icon").should("not.exist");
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_PropertyPane_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_PropertyPane_spec.js
index 82ea8c855116..be2b3d822910 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_PropertyPane_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_PropertyPane_spec.js
@@ -89,7 +89,9 @@ describe("Table Widget V2 property pane feature validation", function() {
it("5. Check On Page Change Action", function() {
// Open property pane
cy.openPropertyPane("tablewidgetv2");
- cy.get(".t--property-control-serversidepagination input").click({force:true})
+ cy.get(".t--property-control-serversidepagination input").click({
+ force: true,
+ });
// Select show message in the "on selected row" dropdown
cy.onTableAction(0, "onpagechange", "Page Changed");
cy.PublishtheApp();
@@ -101,7 +103,6 @@ describe("Table Widget V2 property pane feature validation", function() {
cy.get(publish.backToEditor).click();
});
-
it("6. Check open section and column data in property pane", function() {
cy.openPropertyPane("tablewidgetv2");
@@ -348,5 +349,4 @@ describe("Table Widget V2 property pane feature validation", function() {
cy.get(widgetsPage.searchField).should("have.value", "data");
cy.get(publish.backToEditor).click();
});
-
});
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/columnTypes/checkboxCell_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/columnTypes/checkboxCell_spec.js
new file mode 100644
index 000000000000..048a8d1adbd3
--- /dev/null
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/columnTypes/checkboxCell_spec.js
@@ -0,0 +1,187 @@
+import { ObjectsRegistry } from "../../../../../../support/Objects/Registry";
+const publishPage = require("../../../../../../locators/publishWidgetspage.json");
+const commonLocators = require("../../../../../../locators/commonlocators.json");
+import widgetsJson from "../../../../../../locators/Widgets.json";
+
+const propPane = ObjectsRegistry.PropertyPane;
+const agHelper = ObjectsRegistry.AggregateHelper;
+
+const tableData = `[
+ {
+ "step": "#1",
+ "task": "Drop a table",
+ "status": "✅",
+ "action": "",
+ "completed": true
+ },
+ {
+ "step": "#2",
+ "task": "Create a query fetch_users with the Mock DB",
+ "status": "--",
+ "action": "",
+ "completed": true
+ },
+ {
+ "step": "#3",
+ "task": "Bind the query using => fetch_users.data",
+ "status": "--",
+ "action": "",
+ "completed": false
+ }
+ ]`;
+
+const checkboxSelector = " .bp3-checkbox input[type='checkbox']";
+describe("Checkbox column type funtionality test", () => {
+ before(() => {
+ cy.dragAndDropToCanvas("tablewidgetv2", {
+ x: 150,
+ y: 300,
+ });
+ cy.openPropertyPane("tablewidgetv2");
+ propPane.RemoveText("tabledata");
+ propPane.UpdatePropertyFieldValue("Table Data", tableData);
+ cy.editColumn("completed");
+ cy.changeColumnType("Checkbox");
+ });
+
+ it("1. Check if the column type checkbox appears", () => {
+ cy.getTableV2DataSelector("0", "4").then((selector) => {
+ cy.get(selector + checkboxSelector).should("exist");
+ });
+ });
+
+ it("2. Toggle visiblity", () => {
+ propPane.ToggleOnOrOff("Visible", "off");
+ cy.PublishtheApp();
+ cy.getTableV2DataSelector("0", "4").then((selector) => {
+ cy.get(selector).should("not.exist");
+ });
+ cy.get(publishPage.backToEditor).click();
+
+ cy.openPropertyPane("tablewidgetv2");
+ cy.editColumn("completed");
+ propPane.ToggleOnOrOff("Visible");
+ cy.getTableV2DataSelector("0", "4").then((selector) => {
+ cy.get(selector + checkboxSelector).should("exist");
+ });
+ });
+
+ it("3. Check the horizontal, vertical alignment of checkbox, and the cell background color", () => {
+ cy.get(".t--propertypane")
+ .contains("STYLE")
+ .click({ force: true });
+ // Check horizontal alignment
+ cy.get(".t--property-control-horizontalalignment .t--button-tab-CENTER")
+ .first()
+ .click();
+
+ cy.getTableV2DataSelector("0", "4").then((selector) => {
+ cy.get(selector + " div").should("have.css", "justify-content", "center");
+ });
+
+ // Check vertical alignment
+ cy.get(".t--property-control-verticalalignment .t--button-tab-BOTTOM")
+ .first()
+ .click();
+
+ cy.getTableV2DataSelector("0", "4").then((selector) => {
+ cy.get(selector + " div").should("have.css", "align-items", "flex-end");
+ // Set and check the cell background color
+ cy.get(widgetsJson.toggleJsBcgColor).click();
+ cy.updateCodeInput(".t--property-control-cellbackground", "purple");
+ cy.wait("@updateLayout");
+ cy.get(selector + " div").should(
+ "have.css",
+ "background-color",
+ "rgb(128, 0, 128)",
+ );
+ });
+ });
+
+ it("4. Verify disabled(editable off), enabled states and interactions on checkbox", () => {
+ cy.get(".t--propertypane")
+ .contains("CONTENT")
+ .click({ force: true });
+ cy.getTableV2DataSelector("0", "4").then(($elemClass) => {
+ const selector = $elemClass + checkboxSelector;
+
+ // Verify if checkbox is disabled when Editable is off
+ propPane.ToggleOnOrOff("Editable", "off");
+ cy.get(selector).should("be.disabled");
+
+ // Verify if checkbox is enabled when Editable is on
+ propPane.ToggleOnOrOff("Editable");
+ cy.get(selector).should("be.enabled");
+
+ // Verify checked and unchecked
+ cy.get(selector).click({ force: true });
+ cy.get(selector).should("not.be.checked");
+
+ cy.get(selector).click({ force: true });
+ cy.get(selector).should("be.checked");
+
+ // Check if onCheckChange is availabe when Editable is true and hidden on false
+ cy.get(".t--property-control-oncheckchange").should("be.visible");
+ propPane.ToggleOnOrOff("Editable", "off");
+ cy.get(".t--property-control-oncheckchange").should("not.exist");
+
+ // Verify on check change handler
+ propPane.ToggleOnOrOff("Editable");
+ propPane.SelectPropertiesDropDown("oncheckchange", "Show message");
+ agHelper.EnterActionValue("Message", "This is a test message");
+ cy.get(selector).click({ force: true }); // unChecked
+ cy.wait(100);
+ cy.get(".t--toast-action")
+ .contains("This is a test message")
+ .should("be.visible");
+ });
+ });
+
+ it("5. Verify filter condition", () => {
+ cy.get(widgetsJson.tableFilterPaneToggle).click();
+ cy.get(publishPage.attributeDropdown).click();
+ cy.get(".t--dropdown-option")
+ .contains("completed")
+ .click();
+ cy.get(widgetsJson.tableFilterRow)
+ .find(publishPage.conditionDropdown)
+ .click();
+ cy.get(".t--dropdown-option")
+ .contains("is checked")
+ .click();
+ cy.get(publishPage.applyFiltersBtn).click();
+
+ // filter and verify checked rows
+ cy.getTableV2DataSelector("0", "4").then((selector) => {
+ cy.get(selector + checkboxSelector).should("be.checked");
+ });
+
+ // Filter and verify unchecked rows
+ cy.get(widgetsJson.tableFilterRow)
+ .find(publishPage.conditionDropdown)
+ .click();
+ cy.get(".t--dropdown-option")
+ .contains("is unchecked")
+ .click();
+ cy.get(publishPage.applyFiltersBtn).click();
+
+ cy.getTableV2DataSelector("0", "4").then((selector) => {
+ cy.get(selector + checkboxSelector).should("not.be.checked");
+ });
+ cy.getTableV2DataSelector("1", "4").then((selector) => {
+ cy.get(selector + checkboxSelector).should("not.be.checked");
+ });
+ });
+
+ it("6. Verify if onCheckChange is hidden on custom columns", () => {
+ cy.get(commonLocators.editPropBackButton).click();
+ cy.get(widgetsJson.addColumn).click();
+ cy.editColumn("customColumn1");
+ cy.changeColumnType("Checkbox");
+ propPane.UpdatePropertyFieldValue(
+ "Computed Value",
+ '{{currentRow["completed"]}}',
+ );
+ cy.get(".t--property-control-oncheckchange").should("not.exist");
+ });
+});
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Text/Text_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Text/Text_spec.js
index f2561ed5d7e1..229dc17eab6d 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Text/Text_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/Text/Text_spec.js
@@ -88,5 +88,4 @@ describe("Text Widget Functionality", function() {
afterEach(() => {
cy.get(publishPage.backToEditor).click({ force: true });
});
-
});
diff --git a/app/client/src/components/propertyControls/BaseControl.tsx b/app/client/src/components/propertyControls/BaseControl.tsx
index 6aa0dc8470eb..3ed76f829291 100644
--- a/app/client/src/components/propertyControls/BaseControl.tsx
+++ b/app/client/src/components/propertyControls/BaseControl.tsx
@@ -58,7 +58,7 @@ export interface ControlProps extends ControlData, ControlFunctions {
additionalAutoComplete?: Record<string, Record<string, unknown>>;
}
export interface ControlData
- extends Omit<PropertyPaneControlConfig, "additionalAutoComplete"> {
+ extends Omit<PropertyPaneControlConfig, "additionalAutoComplete" | "label"> {
propertyValue?: any;
errorMessage?: string;
expected?: CodeEditorExpected;
@@ -68,6 +68,7 @@ export interface ControlData
parentPropertyName: string;
parentPropertyValue: unknown;
additionalDynamicData: Record<string, Record<string, unknown>>;
+ label: string;
}
export interface ControlFunctions {
onPropertyChange?: (
diff --git a/app/client/src/constants/PropertyControlConstants.tsx b/app/client/src/constants/PropertyControlConstants.tsx
index 6b5dcebde68d..9cc3f3c741ba 100644
--- a/app/client/src/constants/PropertyControlConstants.tsx
+++ b/app/client/src/constants/PropertyControlConstants.tsx
@@ -13,7 +13,7 @@ const ControlTypes = getPropertyControlTypes();
export type ControlType = typeof ControlTypes[keyof typeof ControlTypes];
export type PropertyPaneSectionConfig = {
- sectionName: string;
+ sectionName: string | ((props: WidgetProps, propertyPath: string) => string);
id?: string;
children: PropertyPaneConfig[];
collapsible?: boolean;
@@ -45,7 +45,7 @@ export type PanelConfig = {
export type PropertyPaneControlConfig = {
id?: string;
- label: string;
+ label: string | ((props: WidgetProps, propertyPath: string) => string);
propertyName: string;
helpText?: string;
isJSConvertible?: boolean;
diff --git a/app/client/src/pages/Editor/PropertyPane/Generator.tsx b/app/client/src/pages/Editor/PropertyPane/Generator.tsx
index 14d850d20575..0fbbd914ad7d 100644
--- a/app/client/src/pages/Editor/PropertyPane/Generator.tsx
+++ b/app/client/src/pages/Editor/PropertyPane/Generator.tsx
@@ -13,6 +13,9 @@ import Boxed from "../GuidedTour/Boxed";
import { GUIDED_TOUR_STEPS } from "../GuidedTour/constants";
import { searchProperty } from "./helpers";
import { EmptySearchResult } from "./EmptySearchResult";
+import { useSelector } from "react-redux";
+import { getWidgetPropsForPropertyPane } from "selectors/propertyPaneSelectors";
+import { isFunction } from "lodash";
export enum PropertyPaneGroup {
CONTENT,
@@ -37,8 +40,19 @@ type SectionProps = {
function Section(props: SectionProps) {
const { config, generatorProps, sectionConfig } = props;
const sectionRef = useRef<HTMLDivElement>(null);
+ const widgetProps: any = useSelector(getWidgetPropsForPropertyPane);
const [hidden, setHidden] = useState(false);
+ const isSectionHidden =
+ sectionConfig.hidden &&
+ sectionConfig.hidden(widgetProps, sectionConfig.propertySectionPath || "");
+ const sectionName = isFunction(sectionConfig.sectionName)
+ ? sectionConfig.sectionName(
+ widgetProps,
+ sectionConfig.propertySectionPath || "",
+ )
+ : sectionConfig.sectionName;
+
useEffect(() => {
if (sectionRef.current?.childElementCount === 0) {
// Fix issue where the section is not hidden when it has no children
@@ -51,20 +65,17 @@ function Section(props: SectionProps) {
return hidden ? null : (
<Boxed
key={config.id + generatorProps.id}
- show={
- sectionConfig.sectionName !== "General" &&
- generatorProps.type === "TABLE_WIDGET"
- }
+ show={sectionName !== "General" && generatorProps.type === "TABLE_WIDGET"}
step={GUIDED_TOUR_STEPS.TABLE_WIDGET_BINDING}
>
<PropertySection
childrenWrapperRef={sectionRef}
collapsible={sectionConfig.collapsible ?? true}
- hidden={sectionConfig.hidden}
- id={config.id || sectionConfig.sectionName}
+ hidden={isSectionHidden}
+ id={config.id || sectionName}
isDefaultOpen={sectionConfig.isDefaultOpen}
key={config.id + generatorProps.id + generatorProps.searchQuery}
- name={sectionConfig.sectionName}
+ name={sectionName}
propertyPath={sectionConfig.propertySectionPath}
>
{config.children &&
diff --git a/app/client/src/pages/Editor/PropertyPane/PropertyControl.tsx b/app/client/src/pages/Editor/PropertyPane/PropertyControl.tsx
index 4b8d4f135be8..20580bb16a56 100644
--- a/app/client/src/pages/Editor/PropertyPane/PropertyControl.tsx
+++ b/app/client/src/pages/Editor/PropertyPane/PropertyControl.tsx
@@ -1,5 +1,5 @@
import React, { memo, useCallback } from "react";
-import _, { get } from "lodash";
+import _, { get, isFunction } from "lodash";
import equal from "fast-deep-equal/es6";
import * as log from "loglevel";
@@ -414,7 +414,11 @@ const PropertyControl = memo((props: Props) => {
return null;
}
- const { label, propertyName } = props;
+ const { propertyName } = props;
+ const label = isFunction(props.label)
+ ? props.label(widgetProperties, propertyName)
+ : props.label;
+
if (widgetProperties) {
// get the dataTreePath and apply enhancement if exists
let dataTreePath: string =
@@ -443,6 +447,7 @@ const PropertyControl = memo((props: Props) => {
parentPropertyName: propertyName,
parentPropertyValue: propertyValue,
additionalDynamicData: {},
+ label,
};
config.expected = getExpectedValue(props.validation);
if (isPathADynamicTrigger(widgetProperties, propertyName)) {
@@ -460,7 +465,7 @@ const PropertyControl = memo((props: Props) => {
propertyName,
);
const isConvertible = !!props.isJSConvertible;
- const className = props.label
+ const className = label
.split(" ")
.join("")
.toLowerCase();
diff --git a/app/client/src/pages/Editor/PropertyPane/PropertySection.tsx b/app/client/src/pages/Editor/PropertyPane/PropertySection.tsx
index 4171b58c2e07..e6a7f67be5a1 100644
--- a/app/client/src/pages/Editor/PropertyPane/PropertySection.tsx
+++ b/app/client/src/pages/Editor/PropertyPane/PropertySection.tsx
@@ -8,8 +8,6 @@ import React, {
useCallback,
} from "react";
import { Collapse } from "@blueprintjs/core";
-import { useSelector } from "react-redux";
-import { getWidgetPropsForPropertyPane } from "selectors/propertyPaneSelectors";
import styled from "constants/DefaultTheme";
import { Colors } from "constants/Colors";
import { AppIcon as Icon, Size } from "design-system";
@@ -78,13 +76,13 @@ type PropertySectionProps = {
collapsible?: boolean;
children?: ReactNode;
childrenWrapperRef?: React.RefObject<HTMLDivElement>;
- hidden?: (props: any, propertyPath: string) => boolean;
+ hidden?: boolean;
isDefaultOpen?: boolean;
propertyPath?: string;
};
const areEqual = (prev: PropertySectionProps, next: PropertySectionProps) => {
- return prev.id === next.id;
+ return prev.id === next.id && prev.hidden === next.hidden;
};
//Context is being provided to re-render anything that subscribes to this context on open and close
@@ -93,15 +91,12 @@ export const CollapseContext: Context<boolean> = createContext<boolean>(false);
export const PropertySection = memo((props: PropertySectionProps) => {
const { isDefaultOpen = true } = props;
const [isOpen, setIsOpen] = useState(!!isDefaultOpen);
- const widgetProps: any = useSelector(getWidgetPropsForPropertyPane);
const handleSectionTitleClick = useCallback(() => {
if (props.collapsible) setIsOpen((x) => !x);
}, []);
if (props.hidden) {
- if (props.hidden(widgetProps, props.propertyPath || "")) {
- return null;
- }
+ return null;
}
const className = props.name
diff --git a/app/client/src/widgets/CheckboxWidget/component/index.tsx b/app/client/src/widgets/CheckboxWidget/component/index.tsx
index b66a71aab8c0..466e17e7a516 100644
--- a/app/client/src/widgets/CheckboxWidget/component/index.tsx
+++ b/app/client/src/widgets/CheckboxWidget/component/index.tsx
@@ -116,7 +116,6 @@ export interface CheckboxComponentProps extends ComponentProps {
isValid?: boolean;
label: string;
onCheckChange: (isChecked: boolean) => void;
- rowSpace: number;
inputRef?: (el: HTMLInputElement | null) => any;
accentColor: string;
borderRadius: string;
diff --git a/app/client/src/widgets/CheckboxWidget/widget/index.tsx b/app/client/src/widgets/CheckboxWidget/widget/index.tsx
index 694a0524fbc3..6c3a368cd89a 100644
--- a/app/client/src/widgets/CheckboxWidget/widget/index.tsx
+++ b/app/client/src/widgets/CheckboxWidget/widget/index.tsx
@@ -526,7 +526,6 @@ class CheckboxWidget extends BaseWidget<CheckboxWidgetProps, WidgetState> {
labelTextColor={this.props.labelTextColor}
labelTextSize={this.props.labelTextSize}
onCheckChange={this.onCheckChange}
- rowSpace={this.props.parentRowSpace}
widgetId={this.props.widgetId}
/>
);
diff --git a/app/client/src/widgets/JSONFormWidget/fields/CheckboxField.tsx b/app/client/src/widgets/JSONFormWidget/fields/CheckboxField.tsx
index 9cd15e8352cd..fc93d84bfe99 100644
--- a/app/client/src/widgets/JSONFormWidget/fields/CheckboxField.tsx
+++ b/app/client/src/widgets/JSONFormWidget/fields/CheckboxField.tsx
@@ -119,7 +119,6 @@ function CheckboxField({
labelPosition={LabelPosition.Left}
noContainerPadding
onCheckChange={onCheckChange}
- rowSpace={20}
widgetId=""
/>
</StyledCheckboxWrapper>
diff --git a/app/client/src/widgets/TableWidgetV2/component/CascadeFields.tsx b/app/client/src/widgets/TableWidgetV2/component/CascadeFields.tsx
index 4f59fb30659e..5b46a45ba425 100644
--- a/app/client/src/widgets/TableWidgetV2/component/CascadeFields.tsx
+++ b/app/client/src/widgets/TableWidgetV2/component/CascadeFields.tsx
@@ -155,6 +155,10 @@ const typeOperatorsMap: Record<ReadOnlyColumnTypes, DropdownOption[]> = {
{ label: "empty", value: "empty", type: "" },
{ label: "not empty", value: "notEmpty", type: "" },
],
+ [ColumnTypes.CHECKBOX]: [
+ { label: "is checked", value: "isChecked", type: "" },
+ { label: "is unchecked", value: "isUnChecked", type: "" },
+ ],
};
const operatorOptions: DropdownOption[] = [
@@ -169,6 +173,7 @@ const columnTypeNameMap: Record<ReadOnlyColumnTypes, string> = {
[ReadOnlyColumnTypes.NUMBER]: "Num",
[ReadOnlyColumnTypes.DATE]: "Date",
[ReadOnlyColumnTypes.URL]: "Url",
+ [ReadOnlyColumnTypes.CHECKBOX]: "Check",
};
function RenderOption(props: { type: string; title: string; active: boolean }) {
diff --git a/app/client/src/widgets/TableWidgetV2/component/Table.tsx b/app/client/src/widgets/TableWidgetV2/component/Table.tsx
index d246f755f727..cc820c67774a 100644
--- a/app/client/src/widgets/TableWidgetV2/component/Table.tsx
+++ b/app/client/src/widgets/TableWidgetV2/component/Table.tsx
@@ -31,7 +31,7 @@ import { renderEmptyRows } from "./cellComponents/EmptyCell";
import {
renderBodyCheckBoxCell,
renderHeaderCheckBoxCell,
-} from "./cellComponents/CheckboxCell";
+} from "./cellComponents/SelectionCheckboxCell";
import { HeaderCell } from "./cellComponents/HeaderCell";
import { EditableCell } from "../constants";
diff --git a/app/client/src/widgets/TableWidgetV2/component/cellComponents/CheckboxCell.tsx b/app/client/src/widgets/TableWidgetV2/component/cellComponents/CheckboxCell.tsx
index ae0f72423518..e813a2514679 100644
--- a/app/client/src/widgets/TableWidgetV2/component/cellComponents/CheckboxCell.tsx
+++ b/app/client/src/widgets/TableWidgetV2/component/cellComponents/CheckboxCell.tsx
@@ -1,53 +1,124 @@
import React from "react";
+import {
+ ALIGN_ITEMS,
+ BaseCellComponentProps,
+ CellAlignment,
+ JUSTIFY_CONTENT,
+} from "../Constants";
+import { CellWrapper, TooltipContentWrapper } from "../TableStyledWrappers";
+import CheckboxComponent from "widgets/CheckboxWidget/component/index";
+import { LabelPosition } from "components/constants";
+import styled from "styled-components";
+import { Tooltip } from "@blueprintjs/core";
-import { CellCheckboxWrapper, CellCheckbox } from "../TableStyledWrappers";
-import { ReactComponent as CheckBoxCheckIcon } from "assets/icons/widget/table/checkbox-check.svg";
-import { ReactComponent as CheckBoxLineIcon } from "assets/icons/widget/table/checkbox-line.svg";
-import { CheckboxState } from "../Constants";
-
-export const renderBodyCheckBoxCell = (
- isChecked: boolean,
- accentColor: string,
- borderRadius: string,
-) => (
- <CellCheckboxWrapper
- accentColor={accentColor}
- borderRadius={borderRadius}
- className="td t--table-multiselect"
- isCellVisible
- isChecked={isChecked}
- >
- <CellCheckbox>
- {isChecked && <CheckBoxCheckIcon className="th-svg" />}
- </CellCheckbox>
- </CellCheckboxWrapper>
-);
-
-const STYLE = { padding: "0px", justifyContent: "center" };
-
-export const renderHeaderCheckBoxCell = (
- onClick: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void,
- checkState: number | null,
- accentColor: string,
- borderRadius: string,
-) => (
- <CellCheckboxWrapper
- accentColor={accentColor}
- borderRadius={borderRadius}
- className="th header-reorder t--table-multiselect-header"
- isChecked={!!checkState}
- onClick={onClick}
- role="columnheader"
- style={STYLE}
- >
- <CellCheckbox>
- {/*1 - all row selected | 2 - some rows selected */}
- {checkState === CheckboxState.CHECKED && (
- <CheckBoxCheckIcon className="th-svg" />
- )}
- {checkState === CheckboxState.PARTIAL && (
- <CheckBoxLineIcon className="th-svg t--table-multiselect-header-half-check-svg" />
+const UnsavedChangesMarker = styled.div<{ accentColor: string }>`
+ position: absolute;
+ top: -1px;
+ right: -3px;
+ width: 0;
+ height: 0;
+ border-left: 5px solid transparent;
+ border-right: 5px solid transparent;
+ border-bottom: 5px solid ${(props) => props.accentColor};
+ transform: rotateZ(45deg);
+`;
+
+const CheckboxCellWrapper = styled(CellWrapper)<{
+ horizontalAlignment?: CellAlignment;
+}>`
+ & div {
+ justify-content: ${(props) =>
+ props.horizontalAlignment &&
+ JUSTIFY_CONTENT[props.horizontalAlignment]} !important;
+
+ align-items: ${(props) =>
+ props.verticalAlignment &&
+ ALIGN_ITEMS[props.verticalAlignment]} !important;
+
+ & .bp3-checkbox {
+ gap: 0px;
+ }
+ }
+ & .bp3-disabled {
+ cursor: grab !important;
+ & .bp3-control-indicator::before {
+ cursor: grab !important;
+ }
+ }
+
+ & > .bp3-popover-wrapper {
+ overflow: unset;
+ }
+`;
+
+type CheckboxCellProps = BaseCellComponentProps & {
+ value: boolean;
+ accentColor: string;
+ isDisabled?: boolean;
+ onChange: () => void;
+ borderRadius: string;
+ hasUnSavedChanges?: boolean;
+ disabledCheckbox: boolean;
+ isCellEditable: boolean;
+};
+
+export const CheckboxCell = (props: CheckboxCellProps) => {
+ const {
+ accentColor,
+ borderRadius,
+ cellBackground,
+ compactMode,
+ disabledCheckbox,
+ hasUnSavedChanges,
+ horizontalAlignment,
+ isCellEditable,
+ isCellVisible,
+ isHidden,
+ onChange,
+ value,
+ verticalAlignment,
+ } = props;
+
+ const checkbox = (
+ <CheckboxComponent
+ accentColor={accentColor}
+ borderRadius={borderRadius}
+ isChecked={value}
+ isDisabled={!!disabledCheckbox || !isCellEditable}
+ isLoading={false}
+ isRequired={false}
+ label=""
+ labelPosition={LabelPosition.Auto}
+ onCheckChange={() => onChange()}
+ widgetId={""}
+ />
+ );
+ return (
+ <CheckboxCellWrapper
+ cellBackground={cellBackground}
+ compactMode={compactMode}
+ horizontalAlignment={horizontalAlignment}
+ isCellVisible={isCellVisible}
+ isHidden={isHidden}
+ verticalAlignment={verticalAlignment}
+ >
+ {hasUnSavedChanges && <UnsavedChangesMarker accentColor={accentColor} />}
+ {isCellEditable && !!disabledCheckbox ? (
+ <Tooltip
+ autoFocus={false}
+ content={
+ <TooltipContentWrapper>
+ Save or discard the unsaved row to start editing here
+ </TooltipContentWrapper>
+ }
+ hoverOpenDelay={200}
+ position="top"
+ >
+ {checkbox}
+ </Tooltip>
+ ) : (
+ checkbox
)}
- </CellCheckbox>
- </CellCheckboxWrapper>
-);
+ </CheckboxCellWrapper>
+ );
+};
diff --git a/app/client/src/widgets/TableWidgetV2/component/cellComponents/EmptyCell.tsx b/app/client/src/widgets/TableWidgetV2/component/cellComponents/EmptyCell.tsx
index 3aa30829235f..4754a1f393ee 100644
--- a/app/client/src/widgets/TableWidgetV2/component/cellComponents/EmptyCell.tsx
+++ b/app/client/src/widgets/TableWidgetV2/component/cellComponents/EmptyCell.tsx
@@ -2,7 +2,7 @@ import React from "react";
import { Cell, Row } from "react-table";
import { ReactTableColumnProps } from "../Constants";
import { EmptyCell, EmptyRow } from "../TableStyledWrappers";
-import { renderBodyCheckBoxCell } from "./CheckboxCell";
+import { renderBodyCheckBoxCell } from "./SelectionCheckboxCell";
export const renderEmptyRows = (
rowCount: number,
diff --git a/app/client/src/widgets/TableWidgetV2/component/cellComponents/SelectionCheckboxCell.tsx b/app/client/src/widgets/TableWidgetV2/component/cellComponents/SelectionCheckboxCell.tsx
new file mode 100644
index 000000000000..ae0f72423518
--- /dev/null
+++ b/app/client/src/widgets/TableWidgetV2/component/cellComponents/SelectionCheckboxCell.tsx
@@ -0,0 +1,53 @@
+import React from "react";
+
+import { CellCheckboxWrapper, CellCheckbox } from "../TableStyledWrappers";
+import { ReactComponent as CheckBoxCheckIcon } from "assets/icons/widget/table/checkbox-check.svg";
+import { ReactComponent as CheckBoxLineIcon } from "assets/icons/widget/table/checkbox-line.svg";
+import { CheckboxState } from "../Constants";
+
+export const renderBodyCheckBoxCell = (
+ isChecked: boolean,
+ accentColor: string,
+ borderRadius: string,
+) => (
+ <CellCheckboxWrapper
+ accentColor={accentColor}
+ borderRadius={borderRadius}
+ className="td t--table-multiselect"
+ isCellVisible
+ isChecked={isChecked}
+ >
+ <CellCheckbox>
+ {isChecked && <CheckBoxCheckIcon className="th-svg" />}
+ </CellCheckbox>
+ </CellCheckboxWrapper>
+);
+
+const STYLE = { padding: "0px", justifyContent: "center" };
+
+export const renderHeaderCheckBoxCell = (
+ onClick: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void,
+ checkState: number | null,
+ accentColor: string,
+ borderRadius: string,
+) => (
+ <CellCheckboxWrapper
+ accentColor={accentColor}
+ borderRadius={borderRadius}
+ className="th header-reorder t--table-multiselect-header"
+ isChecked={!!checkState}
+ onClick={onClick}
+ role="columnheader"
+ style={STYLE}
+ >
+ <CellCheckbox>
+ {/*1 - all row selected | 2 - some rows selected */}
+ {checkState === CheckboxState.CHECKED && (
+ <CheckBoxCheckIcon className="th-svg" />
+ )}
+ {checkState === CheckboxState.PARTIAL && (
+ <CheckBoxLineIcon className="th-svg t--table-multiselect-header-half-check-svg" />
+ )}
+ </CellCheckbox>
+ </CellCheckboxWrapper>
+);
diff --git a/app/client/src/widgets/TableWidgetV2/constants.ts b/app/client/src/widgets/TableWidgetV2/constants.ts
index b2bd315152fe..a17191ed50d4 100644
--- a/app/client/src/widgets/TableWidgetV2/constants.ts
+++ b/app/client/src/widgets/TableWidgetV2/constants.ts
@@ -110,6 +110,7 @@ export enum ColumnTypes {
MENU_BUTTON = "menuButton",
SELECT = "select",
EDIT_ACTIONS = "editActions",
+ CHECKBOX = "checkbox",
}
export enum ReadOnlyColumnTypes {
@@ -119,6 +120,7 @@ export enum ReadOnlyColumnTypes {
IMAGE = "image",
VIDEO = "video",
DATE = "date",
+ CHECKBOX = "checkbox",
}
export const DEFAULT_BUTTON_COLOR = "rgb(3, 179, 101)";
@@ -130,7 +132,7 @@ export const DEFAULT_MENU_VARIANT = "PRIMARY";
export const DEFAULT_MENU_BUTTON_LABEL = "Open menu";
export type TransientDataPayload = {
- [key: string]: string | number;
+ [key: string]: string | number | boolean;
__original_index__: number;
};
diff --git a/app/client/src/widgets/TableWidgetV2/widget/derived.js b/app/client/src/widgets/TableWidgetV2/widget/derived.js
index b2e932020a36..150716b46944 100644
--- a/app/client/src/widgets/TableWidgetV2/widget/derived.js
+++ b/app/client/src/widgets/TableWidgetV2/widget/derived.js
@@ -421,6 +421,12 @@ export default {
isBefore: (a, b) => {
return moment(a).isBefore(moment(b), "minute");
},
+ isChecked: (a) => {
+ return a === true;
+ },
+ isUnChecked: (a) => {
+ return a === false;
+ },
};
let searchKey;
diff --git a/app/client/src/widgets/TableWidgetV2/widget/index.tsx b/app/client/src/widgets/TableWidgetV2/widget/index.tsx
index ce65c1b31c45..e7d42e2ff6d1 100644
--- a/app/client/src/widgets/TableWidgetV2/widget/index.tsx
+++ b/app/client/src/widgets/TableWidgetV2/widget/index.tsx
@@ -69,6 +69,7 @@ import { VideoCell } from "../component/cellComponents/VideoCell";
import { IconButtonCell } from "../component/cellComponents/IconButtonCell";
import { EditActionCell } from "../component/cellComponents/EditActionsCell";
import { klona as clone } from "klona";
+import { CheckboxCell } from "../component/cellComponents/CheckboxCell";
const ReactTableComponent = lazy(() =>
retryPromise(() => import("../component")),
@@ -291,7 +292,11 @@ class TableWidgetV2 extends BaseWidget<TableWidgetProps, WidgetState> {
default:
let data;
- if (_.isString(value) || _.isNumber(value)) {
+ if (
+ _.isString(value) ||
+ _.isNumber(value) ||
+ _.isBoolean(value)
+ ) {
data = value;
} else if (isNil(value)) {
data = "";
@@ -1218,6 +1223,9 @@ class TableWidgetV2 extends BaseWidget<TableWidgetProps, WidgetState> {
const isColumnEditable =
column.isEditable && isColumnTypeEditable(column.columnType);
+ const isCellEditMode =
+ props.cell.column.alias === this.props.editableCell.column &&
+ rowIndex === this.props.editableCell.index;
switch (column.columnType) {
case ColumnTypes.BUTTON:
@@ -1506,10 +1514,55 @@ class TableWidgetV2 extends BaseWidget<TableWidgetProps, WidgetState> {
/>
);
+ case ColumnTypes.CHECKBOX:
+ const alias = props.cell.column.columnProperties.alias;
+ return (
+ <CheckboxCell
+ accentColor={this.props.accentColor}
+ borderRadius={
+ cellProperties.borderRadius || this.props.borderRadius
+ }
+ cellBackground={cellProperties.cellBackground}
+ compactMode={compactMode}
+ disabledCheckbox={
+ this.props.inlineEditingSaveOption ===
+ InlineEditingSaveOptions.ROW_LEVEL &&
+ this.props.updatedRowIndices.length &&
+ this.props.updatedRowIndices.indexOf(originalIndex) === -1
+ }
+ hasUnSavedChanges={cellProperties.hasUnsavedChanged}
+ horizontalAlignment={cellProperties.horizontalAlignment}
+ isCellEditable={
+ (isColumnEditable && cellProperties.isCellEditable) ?? false
+ }
+ isCellVisible={cellProperties.isCellVisible ?? true}
+ isHidden={isHidden}
+ onChange={() => {
+ const row = filteredTableData[rowIndex];
+ const cellValue = !props.cell.value;
+
+ this.updateTransientTableData({
+ __original_index__: originalIndex,
+ [alias]: cellValue,
+ });
+
+ this.onColumnEvent({
+ rowIndex,
+ action: column.onCheckChange,
+ triggerPropertyName: "onCheckChange",
+ eventType: EventType.ON_CHECK_CHANGE,
+ row: {
+ ...row,
+ [alias]: cellValue,
+ },
+ });
+ }}
+ value={props.cell.value}
+ verticalAlignment={cellProperties.verticalAlignment}
+ />
+ );
+
default:
- const isCellEditMode =
- props.cell.column.alias === this.props.editableCell.column &&
- rowIndex === this.props.editableCell.index;
return (
<DefaultCell
accentColor={this.props.accentColor}
diff --git a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/ColumnControl.ts b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/ColumnControl.ts
index d0b03676bdaa..88e1f41ea9ab 100644
--- a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/ColumnControl.ts
+++ b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/ColumnControl.ts
@@ -29,40 +29,44 @@ export default {
controlType: "DROP_DOWN",
options: [
{
- label: "Plain Text",
- value: "text",
+ label: "Button",
+ value: ColumnTypes.BUTTON,
},
{
- label: "URL",
- value: "url",
+ label: "Checkbox",
+ value: ColumnTypes.CHECKBOX,
},
{
- label: "Number",
- value: "number",
+ label: "Date",
+ value: ColumnTypes.DATE,
+ },
+ {
+ label: "Icon Button",
+ value: ColumnTypes.ICON_BUTTON,
},
{
label: "Image",
- value: "image",
+ value: ColumnTypes.IMAGE,
},
{
- label: "Video",
- value: "video",
+ label: "Menu Button",
+ value: ColumnTypes.MENU_BUTTON,
},
{
- label: "Date",
- value: "date",
+ label: "Number",
+ value: ColumnTypes.NUMBER,
},
{
- label: "Button",
- value: "button",
+ label: "Plain Text",
+ value: ColumnTypes.TEXT,
},
{
- label: "Menu Button",
- value: "menuButton",
+ label: "URL",
+ value: ColumnTypes.URL,
},
{
- label: "Icon Button",
- value: "iconButton",
+ label: "Video",
+ value: ColumnTypes.VIDEO,
},
],
updateHook: composePropertyUpdateHook([
@@ -145,6 +149,7 @@ export default {
ColumnTypes.TEXT,
ColumnTypes.VIDEO,
ColumnTypes.URL,
+ ColumnTypes.CHECKBOX,
]);
},
dependencies: ["primaryColumns", "columnOrder"],
diff --git a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Data.ts b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Data.ts
index 403bb8495780..19343a9ca248 100644
--- a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Data.ts
+++ b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Data.ts
@@ -25,40 +25,44 @@ export default {
controlType: "DROP_DOWN",
options: [
{
- label: "Plain Text",
- value: "text",
+ label: "Button",
+ value: ColumnTypes.BUTTON,
},
{
- label: "URL",
- value: "url",
+ label: "Checkbox",
+ value: ColumnTypes.CHECKBOX,
},
{
- label: "Number",
- value: "number",
+ label: "Date",
+ value: ColumnTypes.DATE,
+ },
+ {
+ label: "Icon Button",
+ value: ColumnTypes.ICON_BUTTON,
},
{
label: "Image",
- value: "image",
+ value: ColumnTypes.IMAGE,
},
{
- label: "Video",
- value: "video",
+ label: "Menu Button",
+ value: ColumnTypes.MENU_BUTTON,
},
{
- label: "Date",
- value: "date",
+ label: "Number",
+ value: ColumnTypes.NUMBER,
},
{
- label: "Button",
- value: "button",
+ label: "Plain Text",
+ value: ColumnTypes.TEXT,
},
{
- label: "Menu Button",
- value: "menuButton",
+ label: "URL",
+ value: ColumnTypes.URL,
},
{
- label: "Icon Button",
- value: "iconButton",
+ label: "Video",
+ value: ColumnTypes.VIDEO,
},
],
updateHook: composePropertyUpdateHook([
@@ -141,6 +145,7 @@ export default {
ColumnTypes.TEXT,
ColumnTypes.VIDEO,
ColumnTypes.URL,
+ ColumnTypes.CHECKBOX,
]);
},
dependencies: ["primaryColumns", "columnOrder"],
diff --git a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Events.ts b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Events.ts
index 64da70f99eea..2395691aed0e 100644
--- a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Events.ts
+++ b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Events.ts
@@ -24,7 +24,9 @@ export default {
const isEditable = get(props, `${propertyPath}.isEditable`, "");
return (
!(
- columnType === ColumnTypes.TEXT || columnType === ColumnTypes.NUMBER
+ columnType === ColumnTypes.TEXT ||
+ columnType === ColumnTypes.NUMBER ||
+ columnType === ColumnTypes.CHECKBOX
) || !isEditable
);
}
@@ -104,6 +106,18 @@ export default {
isBindProperty: true,
isTriggerProperty: true,
},
+ {
+ propertyName: "onCheckChange",
+ label: "onCheckChange",
+ controlType: "ACTION_SELECTOR",
+ hidden: (props: TableWidgetProps, propertyPath: string) => {
+ return hideByColumnType(props, propertyPath, [ColumnTypes.CHECKBOX]);
+ },
+ dependencies: ["primaryColumns"],
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: true,
+ },
{
propertyName: "onSave",
label: "onSave",
diff --git a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Styles.ts b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Styles.ts
index 47f163317c51..6aa6091aae9d 100644
--- a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Styles.ts
+++ b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/Styles.ts
@@ -1,6 +1,7 @@
import { ValidationTypes } from "constants/WidgetValidation";
+import { get } from "lodash";
import { ColumnTypes, TableWidgetProps } from "widgets/TableWidgetV2/constants";
-import { hideByColumnType } from "../../propertyUtils";
+import { getBasePropertyPath, hideByColumnType } from "../../propertyUtils";
export default {
sectionName: "Styles",
@@ -8,7 +9,13 @@ export default {
return hideByColumnType(
props,
propertyPath,
- [ColumnTypes.TEXT, ColumnTypes.DATE, ColumnTypes.NUMBER, ColumnTypes.URL],
+ [
+ ColumnTypes.TEXT,
+ ColumnTypes.DATE,
+ ColumnTypes.NUMBER,
+ ColumnTypes.URL,
+ ColumnTypes.CHECKBOX,
+ ],
true,
);
},
@@ -16,7 +23,13 @@ export default {
children: [
{
propertyName: "horizontalAlignment",
- label: "Text Align",
+ label: (props: TableWidgetProps, propertyPath: string) => {
+ const basePropertyPath = getBasePropertyPath(propertyPath);
+ const columnType = get(props, `${basePropertyPath}.columnType`);
+ return columnType === "checkbox"
+ ? "Horizontal Alignment"
+ : "Text Align";
+ },
controlType: "ICON_TABS",
options: [
{
@@ -53,6 +66,7 @@ export default {
ColumnTypes.DATE,
ColumnTypes.NUMBER,
ColumnTypes.URL,
+ ColumnTypes.CHECKBOX,
]);
},
},
@@ -180,6 +194,7 @@ export default {
ColumnTypes.NUMBER,
ColumnTypes.URL,
ColumnTypes.EDIT_ACTIONS,
+ ColumnTypes.CHECKBOX,
]);
},
},
@@ -235,6 +250,7 @@ export default {
ColumnTypes.NUMBER,
ColumnTypes.URL,
ColumnTypes.EDIT_ACTIONS,
+ ColumnTypes.CHECKBOX,
]);
},
},
diff --git a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/index.ts b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/index.ts
index ae0ff7b58f96..a3ad5e7cbb70 100644
--- a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/index.ts
+++ b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/index.ts
@@ -220,7 +220,8 @@ export default {
return (
!(
columnType === ColumnTypes.TEXT ||
- columnType === ColumnTypes.NUMBER
+ columnType === ColumnTypes.NUMBER ||
+ columnType === ColumnTypes.CHECKBOX
) || !isEditable
);
}
@@ -276,6 +277,20 @@ export default {
isBindProperty: true,
isTriggerProperty: true,
},
+ {
+ propertyName: "onCheckChange",
+ label: "onCheckChange",
+ controlType: "ACTION_SELECTOR",
+ hidden: (props: TableWidgetProps, propertyPath: string) => {
+ return hideByColumnType(props, propertyPath, [
+ ColumnTypes.CHECKBOX,
+ ]);
+ },
+ dependencies: ["primaryColumns"],
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: true,
+ },
],
},
],
@@ -438,7 +453,12 @@ export default {
],
},
{
- sectionName: "Text Formatting",
+ sectionName: (props: TableWidgetProps, propertyPath: string) => {
+ const columnType = get(props, `${propertyPath}.columnType`);
+ return columnType === ColumnTypes.CHECKBOX
+ ? "Alignment"
+ : "Text Formatting";
+ },
children: [
{
propertyName: "textSize",
@@ -526,7 +546,13 @@ export default {
},
{
propertyName: "horizontalAlignment",
- label: "Text Align",
+ label: (props: TableWidgetProps, propertyPath: string) => {
+ const basePropertyPath = getBasePropertyPath(propertyPath);
+ const columnType = get(props, `${basePropertyPath}.columnType`);
+ return columnType === ColumnTypes.CHECKBOX
+ ? "Horizontal Alignment"
+ : "Text Align";
+ },
controlType: "ICON_TABS",
options: [
{
@@ -563,6 +589,7 @@ export default {
ColumnTypes.DATE,
ColumnTypes.NUMBER,
ColumnTypes.URL,
+ ColumnTypes.CHECKBOX,
]);
},
},
@@ -605,6 +632,7 @@ export default {
ColumnTypes.DATE,
ColumnTypes.NUMBER,
ColumnTypes.URL,
+ ColumnTypes.CHECKBOX,
]);
},
},
diff --git a/app/client/src/widgets/TableWidgetV2/widget/utilities.ts b/app/client/src/widgets/TableWidgetV2/widget/utilities.ts
index d35854f8f0da..b9433e786855 100644
--- a/app/client/src/widgets/TableWidgetV2/widget/utilities.ts
+++ b/app/client/src/widgets/TableWidgetV2/widget/utilities.ts
@@ -425,6 +425,7 @@ const EdtiableColumnTypes: string[] = [
ColumnTypes.TEXT,
ColumnTypes.NUMBER,
ColumnTypes.SELECT,
+ ColumnTypes.CHECKBOX,
];
export function isColumnTypeEditable(columnType: string) {
|
d845394a3ccc07c8d27a6883eb0d6c6e8a83d26b
|
2021-12-31 15:29:45
|
Danieldare
|
fix: add condition and styles to check for active tab
| false
|
add condition and styles to check for active tab
|
fix
|
diff --git a/app/client/src/pages/Editor/IntegrationEditor/IntegrationsHomeScreen.tsx b/app/client/src/pages/Editor/IntegrationEditor/IntegrationsHomeScreen.tsx
index c355811e1112..f4a09eb6f05e 100644
--- a/app/client/src/pages/Editor/IntegrationEditor/IntegrationsHomeScreen.tsx
+++ b/app/client/src/pages/Editor/IntegrationEditor/IntegrationsHomeScreen.tsx
@@ -66,10 +66,11 @@ const MainTabsContainer = styled.div`
height: 100%;
`;
-const SectionGrid = styled.div`
+const SectionGrid = styled.div<{ isActiveTab?: boolean }>`
margin-top: 16px;
display: grid;
- grid-template-columns: 1fr;
+ grid-template-columns: 1fr ${({ isActiveTab }) => isActiveTab && "180px"};
+ grid-template-rows: auto minmax(0, 1fr);
gap: 10px 16px;
flex: 1;
min-height: 0;
@@ -486,7 +487,11 @@ class IntegrationsHomeScreen extends React.Component<
<HeaderFlex>
<p className="sectionHeadings">Datasources</p>
</HeaderFlex>
- <SectionGrid>
+ <SectionGrid
+ isActiveTab={
+ this.state.activePrimaryMenuId !== PRIMARY_MENU_IDS.ACTIVE
+ }
+ >
<MainTabsContainer>
{showTabs && (
<TabComponent
|
210a5a9eb84163b35e7f7d17c76aa8a6d8183bd8
|
2023-03-29 23:26:24
|
Nilansh Bansal
|
fix: Login Redirection fixed for Authentication failure (#21495)
| false
|
Login Redirection fixed for Authentication failure (#21495)
|
fix
|
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/LoginTests/LoginFailure_spec.js b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/LoginTests/LoginFailure_spec.js
new file mode 100644
index 000000000000..aaab72f8dcda
--- /dev/null
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/LoginTests/LoginFailure_spec.js
@@ -0,0 +1,31 @@
+import * as _ from "../../../../support/Objects/ObjectsCore";
+const loginPage = require("../../../../locators/LoginPage.json");
+
+describe("Login failure", function () {
+ it("preserves redirectUrl param on login failure", function () {
+ let appUrl;
+ _.deployMode.DeployApp();
+ cy.location()
+ .then((location) => {
+ cy.LogOutUser();
+ appUrl = location.href.split("?")[0];
+ cy.visit(appUrl);
+ cy.get(loginPage.username).should("be.visible");
+ })
+ .then(() => cy.GetUrlQueryParams())
+ .then((queryParams) => {
+ expect(decodeURIComponent(queryParams.redirectUrl)).to.eq(appUrl);
+ cy.LoginUser("[email protected]", "pwd_error", false);
+ })
+ .then(() => cy.GetUrlQueryParams())
+ .then((queryParams) => {
+ expect(decodeURIComponent(queryParams.error)).to.eq("true");
+ expect(decodeURIComponent(queryParams.redirectUrl)).to.eq(appUrl);
+ cy.LoginUser(Cypress.env("USERNAME"), Cypress.env("PASSWORD"), false);
+ })
+ .then(() => cy.location())
+ .then((location) => {
+ expect(location.href.split("?")[0]).to.eq(appUrl);
+ });
+ });
+});
diff --git a/app/client/cypress/support/commands.js b/app/client/cypress/support/commands.js
index 526cab75097c..ada56c88ac50 100644
--- a/app/client/cypress/support/commands.js
+++ b/app/client/cypress/support/commands.js
@@ -198,23 +198,49 @@ Cypress.Commands.add("DeleteApp", (appName) => {
cy.get(homePage.deleteApp).should("be.visible").click({ force: true });
});
-Cypress.Commands.add("LogintoApp", (uname, pword) => {
+Cypress.Commands.add("GetUrlQueryParams", () => {
+ return cy.url().then((url) => {
+ const arr = url.split("?")[1]?.split("&");
+ const paramObj = {};
+ arr &&
+ arr.forEach((param) => {
+ const [key, value] = param.split("=");
+ paramObj[key] = value;
+ });
+ return cy.wrap(paramObj);
+ });
+});
+
+Cypress.Commands.add("LogOutUser", () => {
cy.wait(1000); //waiting for window to load
cy.window().its("store").invoke("dispatch", { type: "LOGOUT_USER_INIT" });
cy.wait("@postLogout");
+});
- cy.visit("/user/login");
+Cypress.Commands.add("LoginUser", (uname, pword, goToLoginPage = true) => {
+ goToLoginPage && cy.visit("/user/login");
cy.get(loginPage.username).should("be.visible");
cy.get(loginPage.username).type(uname);
cy.get(loginPage.password).type(pword, { log: false });
cy.get(loginPage.submitBtn).click();
cy.wait("@getMe");
cy.wait(3000);
+});
+
+Cypress.Commands.add("LogintoApp", (uname, pword) => {
+ cy.LogOutUser();
+ cy.LoginUser(uname, pword);
cy.get(".t--applications-container .createnew").should("be.visible");
cy.get(".t--applications-container .createnew").should("be.enabled");
initLocalstorage();
});
+Cypress.Commands.add("LogintoAppTestUser", (uname, pword) => {
+ cy.LogOutUser();
+ cy.LoginUser(uname, pword);
+ initLocalstorage();
+});
+
Cypress.Commands.add("Signup", (uname, pword) => {
cy.window().its("store").invoke("dispatch", { type: "LOGOUT_USER_INIT" });
cy.wait("@postLogout");
@@ -1950,21 +1976,6 @@ Cypress.Commands.add(`verifyCallCount`, (alias, expectedNumberOfCalls) => {
cy.get(`${alias}.all`).should("have.length", expectedNumberOfCalls);
});
-Cypress.Commands.add("LogintoAppTestUser", (uname, pword) => {
- cy.wait(1000); //waiting for window to load
- cy.window().its("store").invoke("dispatch", { type: "LOGOUT_USER_INIT" });
- cy.wait("@postLogout");
-
- cy.visit("/user/login");
- cy.get(loginPage.username).should("be.visible");
- cy.get(loginPage.username).type(uname);
- cy.get(loginPage.password).type(pword, { log: false });
- cy.get(loginPage.submitBtn).click();
- cy.wait("@getMe");
- cy.wait(3000);
- initLocalstorage();
-});
-
Cypress.Commands.add(
"RenameWidgetFromPropertyPane",
(widgetType, oldName, newName) => {
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/ce/AuthenticationFailureHandlerCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/ce/AuthenticationFailureHandlerCE.java
index 727dca9347a0..f779cff70c30 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/ce/AuthenticationFailureHandlerCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/authentication/handlers/ce/AuthenticationFailureHandlerCE.java
@@ -11,6 +11,7 @@
import org.springframework.security.web.server.ServerRedirectStrategy;
import org.springframework.security.web.server.WebFilterExchange;
import org.springframework.security.web.server.authentication.ServerAuthenticationFailureHandler;
+import org.springframework.util.MultiValueMap;
import org.springframework.web.server.ServerWebExchange;
import reactor.core.publisher.Mono;
@@ -19,6 +20,8 @@
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
+import static com.appsmith.server.helpers.RedirectHelper.REDIRECT_URL_QUERY_PARAM;
+
@Slf4j
@RequiredArgsConstructor
public class AuthenticationFailureHandlerCE implements ServerAuthenticationFailureHandler {
@@ -32,8 +35,11 @@ public Mono<Void> onAuthenticationFailure(WebFilterExchange webFilterExchange, A
// On authentication failure, we send a redirect to the client's login error page. The browser will re-load the
// login page again with an error message shown to the user.
- String state = exchange.getRequest().getQueryParams().getFirst(Security.QUERY_PARAMETER_STATE);
+ MultiValueMap<String, String> queryParams = exchange.getRequest().getQueryParams();
+ String state = queryParams.getFirst(Security.QUERY_PARAMETER_STATE);
String originHeader = "/";
+ String redirectUrl = queryParams.getFirst(REDIRECT_URL_QUERY_PARAM);
+
if (state != null && !state.isEmpty()) {
// This is valid for OAuth2 login failures. We derive the client login URL from the state query parameter
// that would have been set when we initiated the OAuth2 request.
@@ -68,18 +74,21 @@ public Mono<Void> onAuthenticationFailure(WebFilterExchange webFilterExchange, A
// Authentication failure message can hold sensitive information, directly or indirectly. So we don't show all
// possible error messages. Only the ones we know are okay to be read by the user. Like a whitelist.
URI defaultRedirectLocation;
+ String url = "";
if (exception instanceof OAuth2AuthenticationException
&& AppsmithError.SIGNUP_DISABLED.getAppErrorCode().toString().equals(((OAuth2AuthenticationException) exception).getError().getErrorCode())) {
- defaultRedirectLocation = URI.create("/user/signup?error=" + URLEncoder.encode(exception.getMessage(), StandardCharsets.UTF_8));
+ url = "/user/signup?error=" + URLEncoder.encode(exception.getMessage(), StandardCharsets.UTF_8);
} else {
if (exception instanceof InternalAuthenticationServiceException) {
- defaultRedirectLocation = URI.create(originHeader + "/user/login?error=true&message=" +
- URLEncoder.encode(exception.getMessage(), StandardCharsets.UTF_8));
+ url = originHeader + "/user/login?error=true&message=" + URLEncoder.encode(exception.getMessage(), StandardCharsets.UTF_8);
} else {
- defaultRedirectLocation = URI.create(originHeader + "/user/login?error=true");
+ url = originHeader + "/user/login?error=true";
}
}
-
+ if (redirectUrl != null && !redirectUrl.trim().isEmpty()){
+ url = url + "&" + REDIRECT_URL_QUERY_PARAM + "=" + redirectUrl;
+ }
+ defaultRedirectLocation = URI.create(url);
return this.redirectStrategy.sendRedirect(exchange, defaultRedirectLocation);
}
|
cb0276aa551739630c33e0a2d9ce71bd99ed9bfa
|
2023-01-06 18:00:47
|
Nidhi
|
fix: Corrupted encryption cannot be re-encrypted (#19548)
| false
|
Corrupted encryption cannot be re-encrypted (#19548)
|
fix
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java
index 230683606257..0c3adf966d81 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/migrations/DatabaseChangelog2.java
@@ -2944,6 +2944,12 @@ private void reapplyNewEncryptionToPathValueIfExists(Document document, BasicDBO
if ("Hex-encoded string must have an even number of characters".equals(e.getMessage())) {
decryptedValue = String.valueOf(oldEncryptedValue);
}
+ } catch (IllegalStateException e) {
+ // This means that the value in DB was already in a malformed state,
+ // we'll ignore these values under the assumption that the user is not using this workspace
+ log.debug("Encountered unexpected encrypted value at {} for document with id: {}", path, document.getObjectId("_id"));
+ log.debug("Permanently ignoring the value.");
+ return;
}
String newEncryptedValue = encryptionService.encryptString(decryptedValue);
((BasicDBObject) update.get("$set")).put(path, newEncryptedValue);
|
eabb046eb195f78f6583cc601bdadfa984999fe6
|
2024-03-13 11:06:54
|
Vinay Chilukuri
|
fix: Copy change in side-by-side announcement modal (#31703)
| false
|
Copy change in side-by-side announcement modal (#31703)
|
fix
|
diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts
index 3867df4500cb..9a8ea0143d25 100644
--- a/app/client/src/ce/constants/messages.ts
+++ b/app/client/src/ce/constants/messages.ts
@@ -2460,7 +2460,7 @@ export const MAXIMIZE_BUTTON_TOOLTIP = () =>
`Expand code editor to full-screen`;
export const MINIMIZE_BUTTON_TOOLTIP = () => `Open code editor next to the UI`;
export const SPLITPANE_ANNOUNCEMENT = {
- TITLE: () => "Code and UI side-by-side",
+ TITLE: () => "Code and UI, side-by-side",
DESCRIPTION: () =>
- "You can now write queries & JS functions as you refer to your UI on the side. This is a beta version that we will continue to improve with your feedback.",
+ "Write queries and JS functions while you refer to the UI on the side! This is a beta version that we will continue to improve with your feedback.",
};
|
54dfd18de61465ff9ba07f3f61a417f9139dc2ae
|
2023-04-11 22:49:03
|
Nilansh Bansal
|
fix: Revert PR 22157 (#22280)
| false
|
Revert PR 22157 (#22280)
|
fix
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/Application.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/Application.java
index 37e20cb49d30..01a49f764d7f 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/Application.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/Application.java
@@ -192,9 +192,6 @@ public String getLastDeployedAt() {
@JsonView(Views.Public.class)
Boolean exportWithConfiguration;
- //forkWithConfiguration represents whether credentials are shared or not while forking an app
- @JsonView(Views.Public.class)
- Boolean forkWithConfiguration;
@JsonView(Views.Internal.class)
@Deprecated
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ExamplesWorkspaceClonerCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ExamplesWorkspaceClonerCE.java
index 3715bffa31c5..fda25fdad9ad 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ExamplesWorkspaceClonerCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ExamplesWorkspaceClonerCE.java
@@ -30,6 +30,8 @@ Mono<List<String>> cloneApplications(
Flux<Datasource> datasourceFlux
);
+ Mono<Datasource> cloneDatasource(String datasourceId, String toWorkspaceId);
+
void makePristine(BaseDomain domain);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ExamplesWorkspaceClonerCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ExamplesWorkspaceClonerCEImpl.java
index 255987943d23..1b24bf2cc6d0 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ExamplesWorkspaceClonerCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ExamplesWorkspaceClonerCEImpl.java
@@ -5,7 +5,6 @@
import com.appsmith.external.models.AuthenticationDTO;
import com.appsmith.external.models.BaseDomain;
import com.appsmith.external.models.Datasource;
-import com.appsmith.external.models.DatasourceConfiguration;
import com.appsmith.external.models.DefaultResources;
import com.appsmith.server.constants.FieldName;
import com.appsmith.server.domains.ActionCollection;
@@ -191,10 +190,8 @@ public Mono<List<String>> cloneApplications(
return datasourceFlux
.flatMap(datasource -> {
final String datasourceId = datasource.getId();
- // forkWithConfiguration is dependent on application, here we are calling cloneDatasource
- // for the workspace hence Boolean.TRUE is passed as the third parameter because by default
- // user should have access to the datasource credentials already present in the workspace
- final Mono<Datasource> clonerMono = cloneDatasource(datasourceId, toWorkspaceId, Boolean.TRUE);
+ final Mono<Datasource> clonerMono = cloneDatasource(datasourceId, toWorkspaceId);
+ cloneDatasourceMonos.put(datasourceId, clonerMono.cache());
return clonerMono;
})
.thenMany(applicationFlux)
@@ -211,8 +208,7 @@ public Mono<List<String>> cloneApplications(
.flatMap(page ->
Mono.zip(
Mono.just(page),
- Mono.just(defaultPageId.equals(page.getId())),
- Mono.just(application)
+ Mono.just(defaultPageId.equals(page.getId()))
)
);
})
@@ -220,7 +216,6 @@ public Mono<List<String>> cloneApplications(
final NewPage newPage = tuple.getT1();
final boolean isDefault = tuple.getT2();
final String templatePageId = newPage.getId();
- Application application = tuple.getT3();
DefaultResources defaults = new DefaultResources();
defaults.setApplicationId(newPage.getApplicationId());
newPage.setDefaultResources(defaults);
@@ -267,12 +262,7 @@ public Mono<List<String>> cloneApplications(
if (datasourceInsideAction.getId() != null) {
final String datasourceId = datasourceInsideAction.getId();
if (!cloneDatasourceMonos.containsKey(datasourceId)) {
- //exportWithConfig by default remains FALSE for datasources used in an application
- Boolean forkWithConfig = Boolean.FALSE;
- if (Boolean.TRUE.equals(application.getForkWithConfiguration())){
- forkWithConfig = Boolean.TRUE;
- }
- cloneDatasourceMonos.put(datasourceId, cloneDatasource(datasourceId, toWorkspaceId, forkWithConfig).cache());
+ cloneDatasourceMonos.put(datasourceId, cloneDatasource(datasourceId, toWorkspaceId).cache());
}
actionMono = cloneDatasourceMonos.get(datasourceId)
.map(newDatasource -> {
@@ -506,8 +496,7 @@ private Mono<Application> cloneApplicationDocument(Application application) {
);
}
- // forkWithConfiguration parameter if TRUE, returns the datasource with credentials else returns datasources without credentials
- public Mono<Datasource> cloneDatasource(String datasourceId, String toWorkspaceId, Boolean forkWithConfiguration) {
+ public Mono<Datasource> cloneDatasource(String datasourceId, String toWorkspaceId) {
final Mono<List<Datasource>> existingDatasourcesMono = datasourceRepository.findAllByWorkspaceId(toWorkspaceId)
.collectList();
@@ -539,13 +528,6 @@ public Mono<Datasource> cloneDatasource(String datasourceId, String toWorkspaceI
// No matching existing datasource found, so create a new one.
makePristine(templateDatasource);
templateDatasource.setWorkspaceId(toWorkspaceId);
- if (!Boolean.TRUE.equals(forkWithConfiguration)){
- DatasourceConfiguration dsConfig = new DatasourceConfiguration();
- if (templateDatasource.getDatasourceConfiguration() != null){
- dsConfig.setConnection(templateDatasource.getDatasourceConfiguration().getConnection());
- }
- templateDatasource.setDatasourceConfiguration(dsConfig);
- }
return createSuffixedDatasource(templateDatasource);
}));
});
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ExamplesWorkspaceClonerTests.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ExamplesWorkspaceClonerTests.java
index ae8a5be69ee8..8d4f07413b0c 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ExamplesWorkspaceClonerTests.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ExamplesWorkspaceClonerTests.java
@@ -798,7 +798,7 @@ public void cloneWorkspaceWithDatasourcesAndApplicationsAndActionsAndCollections
@Test
@WithUserDetails(value = "api_user")
- public void cloneApplicationForkWithConfigurationTrueWithActionsThrice() {
+ public void cloneApplicationWithActionsThrice() {
Workspace sourceOrg = new Workspace();
sourceOrg.setName("Source Org 2");
@@ -815,7 +815,6 @@ public void cloneApplicationForkWithConfigurationTrueWithActionsThrice() {
final Application app1 = new Application();
app1.setName("that great app");
- app1.setForkWithConfiguration(Boolean.TRUE);
app1.setWorkspaceId(sourceOrg1.getId());
app1.setIsPublic(true);
@@ -1029,241 +1028,6 @@ public void cloneApplicationForkWithConfigurationTrueWithActionsThrice() {
.verifyComplete();
}
- @Test
- @WithUserDetails(value = "api_user")
- public void cloneApplicationForkWithConfigurationFalseWithActionsThrice() {
- Workspace sourceOrg = new Workspace();
- sourceOrg.setName("Source Org 2");
-
- Workspace targetOrg = new Workspace();
- targetOrg.setName("Target Org 2");
-
- final Mono<WorkspaceData> resultMono = Mono
- .zip(
- workspaceService.create(sourceOrg),
- sessionUserService.getCurrentUser()
- )
- .flatMap(tuple -> {
- final Workspace sourceOrg1 = tuple.getT1();
-
- final Application app1 = new Application();
- app1.setName("that great app");
- app1.setForkWithConfiguration(Boolean.FALSE);
- app1.setWorkspaceId(sourceOrg1.getId());
- app1.setIsPublic(true);
-
- final Datasource ds1 = new Datasource();
- ds1.setName("datasource 1");
- ds1.setWorkspaceId(sourceOrg1.getId());
- ds1.setPluginId(installedPlugin.getId());
- DatasourceConfiguration dc = new DatasourceConfiguration();
- ds1.setDatasourceConfiguration(dc);
-
- dc.setConnection(new Connection(
- Connection.Mode.READ_WRITE,
- Connection.Type.DIRECT,
- new SSLDetails(
- SSLDetails.AuthType.ALLOW,
- SSLDetails.CACertificateType.NONE,
- new UploadedFile("keyFile", "key file content"),
- new UploadedFile("certFile", "cert file content"),
- new UploadedFile("caCertFile", "caCert file content"),
- true,
- new PEMCertificate(
- new UploadedFile(
- "pemCertFile",
- "pem cert file content"
- ),
- "pem cert file password"
- )
- ),
- "default db"
- ));
-
- dc.setEndpoints(List.of(
- new Endpoint("host1", 1L),
- new Endpoint("host2", 2L)
- ));
-
- final DBAuth auth = new DBAuth(
- DBAuth.Type.USERNAME_PASSWORD,
- "db username",
- "db password",
- "db name"
- );
- auth.setCustomAuthenticationParameters(Set.of(
- new Property("custom auth param 1", "custom auth param value 1"),
- new Property("custom auth param 2", "custom auth param value 2")
- ));
- auth.setIsAuthorized(true);
- auth.setAuthenticationResponse(new AuthenticationResponse("token", "refreshToken", Instant.now(), Instant.now(), null, ""));
- dc.setAuthentication(auth);
-
- final Datasource ds2 = new Datasource();
- ds2.setName("datasource 2");
- ds2.setWorkspaceId(sourceOrg1.getId());
- ds2.setPluginId(installedPlugin.getId());
- DatasourceConfiguration dc2 = new DatasourceConfiguration();
- ds2.setDatasourceConfiguration(dc2);
- dc2.setAuthentication(new OAuth2(
- OAuth2.Type.CLIENT_CREDENTIALS,
- true,
- true,
- "client id",
- "client secret",
- "auth url",
- "access token url",
- "scope",
- Set.of("scope1", "scope2", "scope3"),
- true,
- OAuth2.RefreshTokenClientCredentialsLocation.BODY,
- "header prefix",
- Set.of(
- new Property("custom token param 1", "custom token param value 1"),
- new Property("custom token param 2", "custom token param value 2")
- ),
- null,
- null,
- false
- ));
-
- final Datasource ds3 = new Datasource();
- ds3.setName("datasource 3");
- ds3.setWorkspaceId(sourceOrg1.getId());
- ds3.setPluginId(installedPlugin.getId());
-
- return applicationPageService.createApplication(app1)
- .flatMap(createdApp -> Mono.zip(
- Mono.just(createdApp),
- newPageRepository.findByApplicationId(createdApp.getId()).collectList(),
- datasourceService.create(ds1),
- datasourceService.create(ds2),
- datasourceService.create(ds3)
- ))
- .flatMap(tuple1 -> {
- final Application app = tuple1.getT1();
- final List<NewPage> pages = tuple1.getT2();
- final Datasource ds1WithId = tuple1.getT3();
- final Datasource ds2WithId = tuple1.getT4();
-
- final NewPage firstPage = pages.get(0);
-
- final ActionDTO action1 = new ActionDTO();
- action1.setName("action1");
- action1.setPageId(firstPage.getId());
- action1.setWorkspaceId(sourceOrg1.getId());
- action1.setDatasource(ds1WithId);
- action1.setPluginId(installedPlugin.getId());
-
- final ActionDTO action2 = new ActionDTO();
- action2.setPageId(firstPage.getId());
- action2.setName("action2");
- action2.setWorkspaceId(sourceOrg1.getId());
- action2.setDatasource(ds1WithId);
- action2.setPluginId(installedPlugin.getId());
-
- final ActionDTO action3 = new ActionDTO();
- action3.setPageId(firstPage.getId());
- action3.setName("action3");
- action3.setWorkspaceId(sourceOrg1.getId());
- action3.setDatasource(ds2WithId);
- action3.setPluginId(installedPlugin.getId());
-
- return Mono.when(
- layoutActionService.createSingleAction(action1, Boolean.FALSE),
- layoutActionService.createSingleAction(action2, Boolean.FALSE),
- layoutActionService.createSingleAction(action3, Boolean.FALSE)
- ).then(Mono.zip(
- workspaceService.create(targetOrg),
- Mono.just(app)
- ));
- })
- .flatMap(tuple1 -> {
- final Workspace targetOrg1 = tuple1.getT1();
- final String originalId = tuple1.getT2().getId();
- final String originalName = tuple1.getT2().getName();
-
- Mono<Void> clonerMono = Mono.just(tuple1.getT2())
- .map(app -> {
- // We reset these values here because the clone method updates them and that just messes with our test.
- app.setId(originalId);
- app.setName(originalName);
- return app;
- })
- .flatMap(app -> examplesWorkspaceCloner.cloneApplications(
- targetOrg1.getId(),
- Flux.fromArray(new Application[]{app})
- ))
- .then();
-
- return clonerMono
- .then(clonerMono)
- .then(clonerMono)
- .thenReturn(targetOrg1);
- });
- })
- .flatMap(this::loadWorkspaceData)
- .doOnError(error -> log.error("Error in test", error));
-
- StepVerifier.create(resultMono)
- .assertNext(data -> {
- assertThat(data.workspace).isNotNull();
- assertThat(data.workspace.getId()).isNotNull();
- assertThat(data.workspace.getName()).isEqualTo("Target Org 2");
- assertThat(data.workspace.getPolicies()).isNotEmpty();
-
- assertThat(map(data.applications, Application::getName)).containsExactlyInAnyOrder(
- "that great app",
- "that great app (1)",
- "that great app (2)"
- );
-
- final Application app1 = data.applications.stream().filter(app -> app.getName().equals("that great app")).findFirst().orElse(null);
- assert app1 != null;
- assertThat(app1.getPages().stream().filter(ApplicationPage::isDefault).count()).isEqualTo(1);
-
- final DBAuth a1 = new DBAuth();
- a1.setUsername("u1");
- final DBAuth a2 = new DBAuth();
- a2.setUsername("u1");
- assertThat(a1).isEqualTo(a2);
-
- final OAuth2 o1 = new OAuth2();
- o1.setClientId("c1");
- final OAuth2 o2 = new OAuth2();
- o2.setClientId("c1");
- assertThat(o1).isEqualTo(o2);
-
- assertThat(map(data.datasources, Datasource::getName)).containsExactlyInAnyOrder(
- "datasource 1",
- "datasource 1 (1)",
- "datasource 1 (2)",
- "datasource 2",
- "datasource 2 (1)",
- "datasource 2 (2)"
- );
-
- final Datasource ds1 = data.datasources.stream().filter(ds -> ds.getName().equals("datasource 1")).findFirst().get();
- assertThat(ds1.getDatasourceConfiguration().getAuthentication()).isNull();
-
- final Datasource ds2 = data.datasources.stream().filter(ds -> ds.getName().equals("datasource 2")).findFirst().get();
- assertThat(ds2.getDatasourceConfiguration().getAuthentication()).isNull();
-
- assertThat(getUnpublishedActionName(data.actions)).containsExactlyInAnyOrder(
- "action1",
- "action2",
- "action3",
- "action1",
- "action2",
- "action3",
- "action1",
- "action2",
- "action3"
- );
- })
- .verifyComplete();
- }
-
private List<String> getUnpublishedActionName(List<ActionDTO> actions) {
List<String> names = new ArrayList<>();
|
72f667bec49c6127d06014587751a1f6d0ccb4d7
|
2021-09-08 20:03:06
|
Nikhil Nandagopal
|
fix: property pane (#7157)
| false
|
property pane (#7157)
|
fix
|
diff --git a/app/client/cypress/locators/Widgets.json b/app/client/cypress/locators/Widgets.json
index a9c38ed79fea..48b9263583aa 100644
--- a/app/client/cypress/locators/Widgets.json
+++ b/app/client/cypress/locators/Widgets.json
@@ -23,7 +23,7 @@
"inputval": ".t--draggable-inputwidget span.t--widget-name",
"dataclass": "'.bp3-input",
"datatype": ".t--property-control-datatype .bp3-popover-target",
- "rowHeight": ".t--property-control-rowheight .bp3-popover-target",
+ "rowHeight": ".t--property-control-defaultrowheight .bp3-popover-target",
"innertext": ".t--draggable-inputwidget input",
"defaultinput": ".t--property-control-defaultinput",
"requiredjs": ".t--property-control-required input",
@@ -132,7 +132,6 @@
"tabedataField": ".t--property-control-tabledata",
"exploreWidget": "[class$=bp3-panel-stack-view] > div:nth-child(1) > div:nth-child(1) > span:nth-child(4)",
"widgetRelatedDocument": "div.main > div:nth-child(1) > div:nth-child(1)",
- "rowHeight":".t--property-control-rowheight .bp3-popover-target",
"rowHeightShortOpt":".bp3-popover-content > div > div:nth-child(1)",
"tbIndex0": "[class=td][data-colindex='0'][data-rowindex='0']",
"filterApplyBtn":".t--apply-filter-btn",
diff --git a/app/client/src/constants/Colors.tsx b/app/client/src/constants/Colors.tsx
index 755fe02c3226..72e43fa9ec6c 100644
--- a/app/client/src/constants/Colors.tsx
+++ b/app/client/src/constants/Colors.tsx
@@ -89,7 +89,7 @@ export const Colors = {
FAIR_PINK: "#FFE9E9",
OPAQ_BLUE: "rgba(106, 134, 206, 0.1)",
RATE_ACTIVE: "#FFCB45",
- RATE_INACTIVE: "#F2F2F2",
+ RATE_INACTIVE: "#D6D6D6",
MALIBU: "#7DBCFF",
ALABASTER_ALT: "#FAFAFA",
THUNDER_ALT: "#1D1C1D",
diff --git a/app/client/src/mockResponses/WidgetConfigResponse.tsx b/app/client/src/mockResponses/WidgetConfigResponse.tsx
index e7228ab1d09d..e8815f129719 100644
--- a/app/client/src/mockResponses/WidgetConfigResponse.tsx
+++ b/app/client/src/mockResponses/WidgetConfigResponse.tsx
@@ -69,8 +69,7 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
version: 1,
},
IMAGE_WIDGET: {
- defaultImage:
- "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png",
+ defaultImage: "https://assets.appsmith.com/widgets/default.png",
imageShape: "RECTANGLE",
maxZoomLevel: 1,
enableRotation: false,
@@ -78,7 +77,7 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
objectFit: "contain",
image: "",
rows: 3 * GRID_DENSITY_MIGRATION_V1,
- columns: 4 * GRID_DENSITY_MIGRATION_V1,
+ columns: 3 * GRID_DENSITY_MIGRATION_V1,
widgetName: "Image",
version: 1,
},
@@ -94,6 +93,8 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
iconAlign: "left",
autoFocus: false,
resetOnSubmit: true,
+ labelStyle: "BOLD",
+ labelTextSize: "PARAGRAPH",
isRequired: false,
isDisabled: false,
allowCurrencyChange: false,
@@ -117,7 +118,7 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
CONTAINER_WIDGET: {
backgroundColor: "#FFFFFF",
rows: 10 * GRID_DENSITY_MIGRATION_V1,
- columns: 8 * GRID_DENSITY_MIGRATION_V1,
+ columns: 6 * GRID_DENSITY_MIGRATION_V1,
widgetName: "Container",
containerStyle: "card",
children: [],
@@ -157,11 +158,11 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
columns: 5 * GRID_DENSITY_MIGRATION_V1,
widgetName: "DatePicker",
defaultDate: moment().toISOString(),
- minDate: "1920-12-31T18:30:00.000Z",
- maxDate: "2121-12-31T18:29:00.000Z",
+ minDate: "1930-01-01T00:00:00.000Z",
+ maxDate: "2100-01-01T00:00:00.000Z",
version: 2,
isRequired: false,
- closeOnSelection: false,
+ closeOnSelection: true,
shortcuts: false,
},
VIDEO_WIDGET: {
@@ -174,7 +175,7 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
},
TABLE_WIDGET: {
rows: 7 * GRID_DENSITY_MIGRATION_V1,
- columns: 9 * GRID_DENSITY_MIGRATION_V1,
+ columns: 7.5 * GRID_DENSITY_MIGRATION_V1,
defaultSelectedRow: "0",
label: "Data",
widgetName: "Table",
@@ -353,21 +354,17 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
columns: 4 * GRID_DENSITY_MIGRATION_V1,
label: "",
options: [
- { label: "Hashirama Senju", value: "First" },
- { label: "Tobirama Senju", value: "Second" },
- { label: "Hiruzen Sarutobi", value: "Third" },
- { label: "Minato Namikaze", value: "Fourth" },
- { label: "Tsunade Senju", value: "Fifth" },
- { label: "Kakashi Hatake", value: "Sixth" },
- { label: "Naruto Uzumaki", value: "Seventh" },
+ { label: "Blue", value: "BLUE" },
+ { label: "Green", value: "GREEN" },
+ { label: "Red", value: "RED" },
],
widgetName: "MultiSelect",
serverSideFiltering: false,
- defaultOptionValue: ["First", "Seventh"],
+ defaultOptionValue: ["GREEN", "RED"],
version: 1,
isRequired: false,
isDisabled: false,
- placeholderText: "select option(s)",
+ placeholderText: "Select option(s)",
},
CHECKBOX_WIDGET: {
rows: 1 * GRID_DENSITY_MIGRATION_V1,
@@ -633,8 +630,8 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
rows: 8 * GRID_DENSITY_MIGRATION_V1,
columns: 6 * GRID_DENSITY_MIGRATION_V1,
widgetName: "Chart",
- chartType: "LINE_CHART",
- chartName: "Last week's revenue",
+ chartType: "COLUMN_CHART",
+ chartName: "Sales Report",
allowHorizontalScroll: false,
version: 1,
chartData: {
@@ -642,89 +639,45 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
seriesName: "Sales",
data: [
{
- x: "Mon",
+ x: "Product1",
y: 20000,
},
{
- x: "Tue",
+ x: "Product2",
y: 22000,
},
{
- x: "Wed",
+ x: "Product3",
y: 32000,
},
- {
- x: "Thu",
- y: 28000,
- },
- {
- x: "Fri",
- y: 24000,
- },
- {
- x: "Sat",
- y: 29000,
- },
- {
- x: "Sun",
- y: 36000,
- },
],
},
},
- xAxisName: "Last Week",
- yAxisName: "Total Order Revenue $",
+ xAxisName: "Product Line",
+ yAxisName: "Revenue($)",
setAdaptiveYMin: false,
labelOrientation: LabelOrientation.AUTO,
customFusionChartConfig: {
type: "column2d",
dataSource: {
- seriesName: "Revenue",
chart: {
- caption: "Last week's revenue",
- xAxisName: "Last Week",
- yAxisName: "Total Order Revenue $",
+ caption: "Sales Report",
+ xAxisName: "Product Line",
+ yAxisName: "Revenue($)",
theme: "fusion",
},
data: [
{
- label: "Mon",
- value: 20000,
- },
- {
- label: "Tue",
- value: 22000,
- },
- {
- label: "Wed",
- value: 32000,
- },
- {
- label: "Thu",
- value: 28000,
- },
- {
- label: "Fri",
- value: 24000,
- },
- {
- label: "Sat",
- value: 29000,
+ x: "Product1",
+ y: 20000,
},
{
- label: "Sun",
- value: 36000,
+ x: "Product2",
+ y: 22000,
},
- ],
- trendlines: [
{
- line: [
- {
- startvalue: "38000",
- valueOnRight: "1",
- displayvalue: "Weekly Target",
- },
- ],
+ x: "Product3",
+ y: 32000,
},
],
},
@@ -741,7 +694,7 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
},
FORM_WIDGET: {
rows: 13 * GRID_DENSITY_MIGRATION_V1,
- columns: 7 * GRID_DENSITY_MIGRATION_V1,
+ columns: 6 * GRID_DENSITY_MIGRATION_V1,
widgetName: "Form",
backgroundColor: "white",
children: [],
@@ -817,8 +770,8 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
},
},
MAP_WIDGET: {
- rows: 12 * GRID_DENSITY_MIGRATION_V1,
- columns: 8 * GRID_DENSITY_MIGRATION_V1,
+ rows: 8 * GRID_DENSITY_MIGRATION_V1,
+ columns: 4 * GRID_DENSITY_MIGRATION_V1,
isDisabled: false,
isVisible: true,
widgetName: "Map",
@@ -848,7 +801,7 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
backgroundColor: "transparent",
itemBackgroundColor: "#FFFFFF",
rows: 10 * GRID_DENSITY_MIGRATION_V1,
- columns: 8 * GRID_DENSITY_MIGRATION_V1,
+ columns: 6 * GRID_DENSITY_MIGRATION_V1,
gridType: "vertical",
template: {},
enhancements: {
@@ -902,41 +855,20 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
gridGap: 0,
listData: [
{
- id: 1,
- num: "001",
+ id: "001",
name: "Bulbasaur",
img: "http://www.serebii.net/pokemongo/pokemon/001.png",
},
{
- id: 2,
- num: "002",
+ id: "002",
name: "Ivysaur",
img: "http://www.serebii.net/pokemongo/pokemon/002.png",
},
{
- id: 3,
- num: "003",
+ id: "003",
name: "Venusaur",
img: "http://www.serebii.net/pokemongo/pokemon/003.png",
},
- {
- id: 4,
- num: "004",
- name: "Charmander",
- img: "http://www.serebii.net/pokemongo/pokemon/004.png",
- },
- {
- id: 5,
- num: "005",
- name: "Charmeleon",
- img: "http://www.serebii.net/pokemongo/pokemon/005.png",
- },
- {
- id: 6,
- num: "006",
- name: "Charizard",
- img: "http://www.serebii.net/pokemongo/pokemon/006.png",
- },
],
widgetName: "List",
children: [],
@@ -958,7 +890,7 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
{
type: "CONTAINER_WIDGET",
size: {
- rows: 4 * GRID_DENSITY_MIGRATION_V1,
+ rows: 3 * GRID_DENSITY_MIGRATION_V1,
cols: 16 * GRID_DENSITY_MIGRATION_V1,
},
position: { top: 0, left: 0 },
@@ -987,13 +919,13 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
{
type: "IMAGE_WIDGET",
size: {
- rows: 3 * GRID_DENSITY_MIGRATION_V1,
+ rows: 2.5 * GRID_DENSITY_MIGRATION_V1,
cols: 4 * GRID_DENSITY_MIGRATION_V1,
},
position: { top: 0, left: 0 },
props: {
defaultImage:
- "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png",
+ "https://assets.appsmith.com/widgets/default.png",
imageShape: "RECTANGLE",
maxZoomLevel: 1,
image: "{{currentItem.img}}",
@@ -1009,7 +941,7 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
type: "TEXT_WIDGET",
size: {
rows: 1 * GRID_DENSITY_MIGRATION_V1,
- cols: 6 * GRID_DENSITY_MIGRATION_V1,
+ cols: 3 * GRID_DENSITY_MIGRATION_V1,
},
position: {
top: 0,
@@ -1031,14 +963,14 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
type: "TEXT_WIDGET",
size: {
rows: 1 * GRID_DENSITY_MIGRATION_V1,
- cols: 6 * GRID_DENSITY_MIGRATION_V1,
+ cols: 2 * GRID_DENSITY_MIGRATION_V1,
},
position: {
top: 1 * GRID_DENSITY_MIGRATION_V1,
left: 4 * GRID_DENSITY_MIGRATION_V1,
},
props: {
- text: "{{currentItem.num}}",
+ text: "{{currentItem.id}}",
textStyle: "BODY",
textAlign: "LEFT",
dynamicBindingPathList: [
@@ -1223,13 +1155,14 @@ const WidgetConfigResponse: WidgetConfigReducerState = {
rows: 1 * GRID_DENSITY_MIGRATION_V1,
columns: 2.5 * GRID_DENSITY_MIGRATION_V1,
maxCount: 5,
- defaultRate: 5,
+ defaultRate: 3,
activeColor: Colors.RATE_ACTIVE,
inactiveColor: Colors.RATE_INACTIVE,
- size: "MEDIUM",
+ size: "LARGE",
isRequired: false,
isAllowHalf: false,
isDisabled: false,
+ tooltips: ["Terrible", "Bad", "Neutral", "Good", "Great"],
widgetName: "Rating",
},
[WidgetTypes.IFRAME_WIDGET]: {
diff --git a/app/client/src/widgets/ButtonWidget.tsx b/app/client/src/widgets/ButtonWidget.tsx
index b6b45ce40304..580e819582be 100644
--- a/app/client/src/widgets/ButtonWidget.tsx
+++ b/app/client/src/widgets/ButtonWidget.tsx
@@ -42,7 +42,7 @@ class ButtonWidget extends BaseWidget<ButtonWidgetProps, ButtonWidgetState> {
label: "Label",
helpText: "Sets the label of the button",
controlType: "INPUT_TEXT",
- placeholderText: "Enter label text",
+ placeholderText: "Submit",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
@@ -52,46 +52,55 @@ class ButtonWidget extends BaseWidget<ButtonWidgetProps, ButtonWidgetState> {
propertyName: "tooltip",
label: "Tooltip",
controlType: "INPUT_TEXT",
- placeholderText: "Enter tooltip text",
+ placeholderText: "Submits Form",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
},
{
- propertyName: "isVisible",
- label: "Visible",
- helpText: "Controls the visibility of the widget",
- controlType: "SWITCH",
- isJSConvertible: true,
+ propertyName: "googleRecaptchaKey",
+ label: "Google reCAPTCHA Key",
+ helpText: "Sets Google reCAPTCHA site key for the button",
+ controlType: "INPUT_TEXT",
+ placeholderText: "reCAPTCHA Key",
isBindProperty: true,
isTriggerProperty: false,
- validation: { type: ValidationTypes.BOOLEAN },
+ validation: { type: ValidationTypes.TEXT },
},
{
- propertyName: "isDisabled",
- label: "Disabled",
- controlType: "SWITCH",
- helpText: "Disables clicks to this widget",
- isJSConvertible: true,
+ propertyName: "recaptchaV2",
+ label: "Google reCAPTCHA Version",
+ controlType: "DROP_DOWN",
+ helpText: "Select reCAPTCHA version",
+ options: [
+ {
+ label: "reCAPTCHA v3",
+ value: false,
+ },
+ {
+ label: "reCAPTCHA v2",
+ value: true,
+ },
+ ],
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.BOOLEAN },
},
{
- propertyName: "googleRecaptchaKey",
- label: "Google Recaptcha Key",
- helpText: "Sets Google Recaptcha v3 site key for button",
- controlType: "INPUT_TEXT",
- placeholderText: "Enter google recaptcha key",
+ propertyName: "isVisible",
+ label: "Visible",
+ helpText: "Controls the visibility of the widget",
+ controlType: "SWITCH",
+ isJSConvertible: true,
isBindProperty: true,
isTriggerProperty: false,
- validation: { type: ValidationTypes.TEXT },
+ validation: { type: ValidationTypes.BOOLEAN },
},
{
- propertyName: "recaptchaV2",
- label: "Google reCAPTCHA v2",
+ propertyName: "isDisabled",
+ label: "Disabled",
controlType: "SWITCH",
- helpText: "Use reCAPTCHA v2",
+ helpText: "Disables clicks to this widget",
isJSConvertible: true,
isBindProperty: true,
isTriggerProperty: false,
diff --git a/app/client/src/widgets/ChartWidget/propertyConfig.test.ts b/app/client/src/widgets/ChartWidget/propertyConfig.test.ts
index 40d624cced9d..e7f91e549458 100644
--- a/app/client/src/widgets/ChartWidget/propertyConfig.test.ts
+++ b/app/client/src/widgets/ChartWidget/propertyConfig.test.ts
@@ -72,7 +72,7 @@ describe("Validate Chart Widget's property config", () => {
it("Validates config when chartType is CUSTOM_FUSION_CHART", () => {
const hiddenFn: (props: any) => boolean = get(
config,
- "[1].children.[0].hidden",
+ "[0].children.[2].hidden",
);
let result = true;
if (hiddenFn) result = hiddenFn({ chartType: "CUSTOM_FUSION_CHART" });
@@ -81,10 +81,10 @@ describe("Validate Chart Widget's property config", () => {
it("Validates that sections are hidden when chartType is CUSTOM_FUSION_CHART", () => {
const hiddenFns = [
+ get(config, "[0].children.[3].hidden"),
+ get(config, "[1].children.[0].hidden"),
get(config, "[1].children.[1].hidden"),
- get(config, "[2].children.[0].hidden"),
- get(config, "[2].children.[1].hidden"),
- get(config, "[2].children.[2].hidden"),
+ get(config, "[1].children.[2].hidden"),
];
hiddenFns.forEach((fn: (props: any) => boolean) => {
const result = fn({ chartType: "CUSTOM_FUSION_CHART" });
diff --git a/app/client/src/widgets/ChartWidget/propertyConfig.ts b/app/client/src/widgets/ChartWidget/propertyConfig.ts
index b6295703dda6..38dbe88a5fe4 100644
--- a/app/client/src/widgets/ChartWidget/propertyConfig.ts
+++ b/app/client/src/widgets/ChartWidget/propertyConfig.ts
@@ -10,7 +10,7 @@ export default [
children: [
{
helpText: "Adds a title to the chart",
- placeholderText: "Enter title",
+ placeholderText: "Sales Report",
propertyName: "chartName",
label: "Title",
controlType: "INPUT_TEXT",
@@ -67,24 +67,11 @@ export default [
},
},
{
- propertyName: "isVisible",
- label: "Visible",
- helpText: "Controls the visibility of the widget",
- controlType: "SWITCH",
- isJSConvertible: true,
- isBindProperty: true,
- isTriggerProperty: false,
- validation: { type: ValidationTypes.BOOLEAN },
- },
- ],
- },
- {
- sectionName: "Chart Data",
- children: [
- {
- helpText:
- "Manually configure a FusionChart, see https://docs.appsmith.com/widget-reference/chart#custom-chart",
- placeholderText: `Enter {"type": "bar2d","dataSource": {}}`,
+ helpText: "Configure a Custom FusionChart see docs.appsmith.com",
+ placeholderText: `{
+ "type": "bar2d",
+ "dataSource": {}
+ }`,
propertyName: "customFusionChartConfig",
label: "Custom Fusion Chart Configuration",
controlType: "INPUT_TEXT",
@@ -151,7 +138,7 @@ export default [
{
helpText: "Populates the chart with the data",
propertyName: "chartData",
- placeholderText: 'Enter [{ "x": "val", "y": "val" }]',
+ placeholderText: '[{ "x": "2021", "y": "94000" }]',
label: "Chart Series",
controlType: "CHART_DATA",
isBindProperty: false,
@@ -160,15 +147,6 @@ export default [
props.chartType === "CUSTOM_FUSION_CHART",
dependencies: ["chartType"],
children: [
- {
- helpText: "Series Name",
- propertyName: "seriesName",
- label: "Series Name",
- controlType: "INPUT_TEXT",
- isBindProperty: true,
- isTriggerProperty: false,
- validation: { type: ValidationTypes.TEXT },
- },
{
helpText: "Series data",
propertyName: "data",
@@ -208,8 +186,37 @@ export default [
evaluationSubstitutionType:
EvaluationSubstitutionType.SMART_SUBSTITUTE,
},
+ {
+ helpText: "Series Name",
+ propertyName: "seriesName",
+ label: "Series Name",
+ controlType: "INPUT_TEXT",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.TEXT },
+ },
],
},
+ {
+ propertyName: "isVisible",
+ label: "Visible",
+ helpText: "Controls the visibility of the widget",
+ controlType: "SWITCH",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.BOOLEAN },
+ },
+ {
+ helpText: "Enables scrolling inside the chart",
+ propertyName: "allowHorizontalScroll",
+ label: "Allow horizontal scroll",
+ controlType: "SWITCH",
+ isBindProperty: false,
+ isTriggerProperty: false,
+ hidden: (x: ChartWidgetProps) => x.chartType === "CUSTOM_FUSION_CHART",
+ dependencies: ["chartType"],
+ },
],
},
{
@@ -218,7 +225,7 @@ export default [
{
helpText: "Specifies the label of the x-axis",
propertyName: "xAxisName",
- placeholderText: "Enter label text",
+ placeholderText: "Dates",
label: "x-axis Label",
controlType: "INPUT_TEXT",
isBindProperty: true,
@@ -230,7 +237,7 @@ export default [
{
helpText: "Specifies the label of the y-axis",
propertyName: "yAxisName",
- placeholderText: "Enter label text",
+ placeholderText: "Revenue",
label: "y-axis Label",
controlType: "INPUT_TEXT",
isBindProperty: true,
@@ -239,25 +246,6 @@ export default [
hidden: (x: any) => x.chartType === "CUSTOM_FUSION_CHART",
dependencies: ["chartType"],
},
- {
- helpText: "Enables scrolling inside the chart",
- propertyName: "allowHorizontalScroll",
- label: "Allow horizontal scroll",
- controlType: "SWITCH",
- isBindProperty: false,
- isTriggerProperty: false,
- hidden: (x: ChartWidgetProps) => x.chartType === "CUSTOM_FUSION_CHART",
- dependencies: ["chartType"],
- },
- {
- propertyName: "setAdaptiveYMin",
- label: "Adaptive Axis",
- helpText: "Define the minimum scale for X/Y axis",
- controlType: "SWITCH",
- isBindProperty: true,
- isTriggerProperty: false,
- validation: { type: ValidationTypes.BOOLEAN },
- },
{
helpText: "Changes the x-axis label orientation",
propertyName: "labelOrientation",
@@ -287,6 +275,15 @@ export default [
},
],
},
+ {
+ propertyName: "setAdaptiveYMin",
+ label: "Adaptive Axis",
+ helpText: "Define the minimum scale for X/Y axis",
+ controlType: "SWITCH",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.BOOLEAN },
+ },
],
},
{
diff --git a/app/client/src/widgets/CheckboxGroupWidget.tsx b/app/client/src/widgets/CheckboxGroupWidget.tsx
index 66888258cabc..08f8cf2fc5c8 100644
--- a/app/client/src/widgets/CheckboxGroupWidget.tsx
+++ b/app/client/src/widgets/CheckboxGroupWidget.tsx
@@ -74,8 +74,7 @@ class CheckboxGroupWidget extends BaseWidget<
sectionName: "General",
children: [
{
- helpText:
- "Displays a list of options for a user to select. Values must be unique",
+ helpText: "Displays a list of unique checkbox options",
propertyName: "options",
label: "Options",
controlType: "OPTION_INPUT",
@@ -112,10 +111,10 @@ class CheckboxGroupWidget extends BaseWidget<
EvaluationSubstitutionType.SMART_SUBSTITUTE,
},
{
- helpText: "Selects values of the options checked by default",
+ helpText: "Sets the values of the options checked by default",
propertyName: "defaultSelectedValues",
label: "Default Selected Values",
- placeholderText: "Enter option values",
+ placeholderText: '["apple", "orange"]',
controlType: "INPUT_TEXT",
isBindProperty: true,
isTriggerProperty: false,
@@ -124,8 +123,8 @@ class CheckboxGroupWidget extends BaseWidget<
params: {
fn: defaultSelectedValuesValidation,
expected: {
- type: "Value or Array of values",
- example: `value1 | ['value1', 'value2']`,
+ type: "String or Array<string>",
+ example: `apple | ["apple", "orange"]`,
autocompleteDataType: AutocompleteDataType.STRING,
},
},
@@ -135,8 +134,7 @@ class CheckboxGroupWidget extends BaseWidget<
propertyName: "isInline",
label: "Inline",
controlType: "SWITCH",
- helpText:
- "Whether the checkbox buttons are to be displayed inline horizontally",
+ helpText: "Displays the checkboxes horizontally",
isJSConvertible: true,
isBindProperty: true,
isTriggerProperty: false,
diff --git a/app/client/src/widgets/CheckboxWidget.tsx b/app/client/src/widgets/CheckboxWidget.tsx
index c1b7ff004469..487a95ee3a8b 100644
--- a/app/client/src/widgets/CheckboxWidget.tsx
+++ b/app/client/src/widgets/CheckboxWidget.tsx
@@ -20,34 +20,15 @@ class CheckboxWidget extends BaseWidget<CheckboxWidgetProps, WidgetState> {
label: "Label",
controlType: "INPUT_TEXT",
helpText: "Displays a label next to the widget",
- placeholderText: "Enter label text",
+ placeholderText: "I agree to the T&C",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
},
- {
- propertyName: "alignWidget",
- helpText: "Sets the alignment of the widget",
- label: "Alignment",
- controlType: "DROP_DOWN",
- options: [
- {
- label: "Left",
- value: "LEFT",
- },
- {
- label: "Right",
- value: "RIGHT",
- },
- ],
- isBindProperty: true,
- isTriggerProperty: false,
- },
{
propertyName: "defaultCheckedState",
label: "Default Selected",
- helpText:
- "Checks / un-checks the checkbox by default. Changes to the default selection update the widget state",
+ helpText: "Sets the default checked state of the widget",
controlType: "SWITCH",
isJSConvertible: true,
isBindProperty: true,
@@ -84,6 +65,24 @@ class CheckboxWidget extends BaseWidget<CheckboxWidgetProps, WidgetState> {
isTriggerProperty: false,
validation: { type: ValidationTypes.BOOLEAN },
},
+ {
+ propertyName: "alignWidget",
+ helpText: "Sets the alignment of the widget",
+ label: "Alignment",
+ controlType: "DROP_DOWN",
+ options: [
+ {
+ label: "Left",
+ value: "LEFT",
+ },
+ {
+ label: "Right",
+ value: "RIGHT",
+ },
+ ],
+ isBindProperty: true,
+ isTriggerProperty: false,
+ },
],
},
{
diff --git a/app/client/src/widgets/DatePickerWidget.tsx b/app/client/src/widgets/DatePickerWidget.tsx
index 75cac1cfbb1a..85ad3a8d8e6a 100644
--- a/app/client/src/widgets/DatePickerWidget.tsx
+++ b/app/client/src/widgets/DatePickerWidget.tsx
@@ -158,7 +158,6 @@ class DatePickerWidget extends BaseWidget<DatePickerWidgetProps, WidgetState> {
helpText:
"Sets the default date of the widget. The date is updated if the default date changes",
controlType: "DATE_PICKER",
- placeholderText: "Enter Default Date",
isJSConvertible: true,
isBindProperty: true,
isTriggerProperty: false,
diff --git a/app/client/src/widgets/DividerWidget.tsx b/app/client/src/widgets/DividerWidget.tsx
index 9acea3d4a683..a0e4600780b0 100644
--- a/app/client/src/widgets/DividerWidget.tsx
+++ b/app/client/src/widgets/DividerWidget.tsx
@@ -71,6 +71,7 @@ class DividerWidget extends BaseWidget<DividerWidgetProps, WidgetState> {
iconSize: "large",
},
],
+ isJSConvertible: true,
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
@@ -80,9 +81,10 @@ class DividerWidget extends BaseWidget<DividerWidgetProps, WidgetState> {
propertyName: "thickness",
label: "Thickness (px)",
controlType: "INPUT_TEXT",
- placeholderText: "Enter thickness in pixels",
+ placeholderText: "5",
isBindProperty: true,
isTriggerProperty: false,
+ isJSConvertible: true,
validation: {
type: ValidationTypes.NUMBER,
params: { min: 0, default: 0 },
@@ -94,6 +96,7 @@ class DividerWidget extends BaseWidget<DividerWidgetProps, WidgetState> {
label: "Divider Color",
controlType: "COLOR_PICKER",
isBindProperty: false,
+ isJSConvertible: true,
isTriggerProperty: false,
},
{
@@ -101,6 +104,7 @@ class DividerWidget extends BaseWidget<DividerWidgetProps, WidgetState> {
propertyName: "capType",
label: "Cap",
controlType: "DROP_DOWN",
+ isJSConvertible: true,
options: [
{
label: "No Cap",
diff --git a/app/client/src/widgets/DropdownWidget.tsx b/app/client/src/widgets/DropdownWidget.tsx
index ef1b56e63f76..abd51f0bde04 100644
--- a/app/client/src/widgets/DropdownWidget.tsx
+++ b/app/client/src/widgets/DropdownWidget.tsx
@@ -38,7 +38,7 @@ class DropdownWidget extends BaseWidget<DropdownWidgetProps, WidgetState> {
propertyName: "options",
label: "Options",
controlType: "INPUT_TEXT",
- placeholderText: 'Enter [{"label": "label1", "value": "value2"}]',
+ placeholderText: '[{ "label": "Option1", "value": "Option2" }]',
isBindProperty: true,
isTriggerProperty: false,
validation: {
@@ -79,7 +79,7 @@ class DropdownWidget extends BaseWidget<DropdownWidgetProps, WidgetState> {
propertyName: "defaultOptionValue",
label: "Default Option",
controlType: "INPUT_TEXT",
- placeholderText: "Enter option value",
+ placeholderText: "GREEN",
isBindProperty: true,
isTriggerProperty: false,
validation: {
@@ -88,7 +88,7 @@ class DropdownWidget extends BaseWidget<DropdownWidgetProps, WidgetState> {
fn: defaultOptionValueValidation,
expected: {
type: "value or Array of values",
- example: `value1 | ['value1', 'value2']`,
+ example: `option1 | ['option1', 'option2']`,
autocompleteDataType: AutocompleteDataType.STRING,
},
},
@@ -104,16 +104,6 @@ class DropdownWidget extends BaseWidget<DropdownWidgetProps, WidgetState> {
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
},
- {
- propertyName: "isFilterable",
- label: "Filterable",
- helpText: "Makes the dropdown list filterable",
- controlType: "SWITCH",
- isJSConvertible: true,
- isBindProperty: true,
- isTriggerProperty: false,
- validation: { type: ValidationTypes.BOOLEAN },
- },
{
propertyName: "isRequired",
label: "Required",
@@ -144,6 +134,16 @@ class DropdownWidget extends BaseWidget<DropdownWidgetProps, WidgetState> {
isTriggerProperty: false,
validation: { type: ValidationTypes.BOOLEAN },
},
+ {
+ propertyName: "isFilterable",
+ label: "Filterable",
+ helpText: "Makes the dropdown list filterable",
+ controlType: "SWITCH",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.BOOLEAN },
+ },
{
helpText: "Enables server side filtering of the data",
propertyName: "serverSideFiltering",
diff --git a/app/client/src/widgets/FilepickerWidgetV2.tsx b/app/client/src/widgets/FilepickerWidgetV2.tsx
index 26e15245b376..71269d9d2766 100644
--- a/app/client/src/widgets/FilepickerWidgetV2.tsx
+++ b/app/client/src/widgets/FilepickerWidgetV2.tsx
@@ -41,7 +41,7 @@ class FilePickerWidget extends BaseWidget<
label: "Label",
controlType: "INPUT_TEXT",
helpText: "Sets the label of the button",
- placeholderText: "Enter label text",
+ placeholderText: "Select Files",
inputType: "TEXT",
isBindProperty: true,
isTriggerProperty: false,
@@ -53,7 +53,7 @@ class FilePickerWidget extends BaseWidget<
helpText:
"Sets the maximum number of files that can be uploaded at once",
controlType: "INPUT_TEXT",
- placeholderText: "Enter no. of files",
+ placeholderText: "1",
inputType: "INTEGER",
isBindProperty: true,
isTriggerProperty: false,
@@ -64,7 +64,7 @@ class FilePickerWidget extends BaseWidget<
helpText: "Sets the maximum size of each file that can be uploaded",
label: "Max file size(Mb)",
controlType: "INPUT_TEXT",
- placeholderText: "File size in mb",
+ placeholderText: "5",
inputType: "INTEGER",
isBindProperty: true,
isTriggerProperty: false,
diff --git a/app/client/src/widgets/IframeWidget.tsx b/app/client/src/widgets/IframeWidget.tsx
index 81d482525ab4..558211bad4bd 100644
--- a/app/client/src/widgets/IframeWidget.tsx
+++ b/app/client/src/widgets/IframeWidget.tsx
@@ -17,9 +17,9 @@ class IframeWidget extends BaseWidget<IframeWidgetProps, WidgetState> {
{
propertyName: "source",
helpText: "The URL of the page to embed",
- label: "Source",
+ label: "URL",
controlType: "INPUT_TEXT",
- placeholderText: "Enter the URL of the page to embed",
+ placeholderText: "https://docs.appsmith.com",
isBindProperty: true,
isTriggerProperty: false,
validation: {
@@ -34,7 +34,7 @@ class IframeWidget extends BaseWidget<IframeWidgetProps, WidgetState> {
helpText: "Label the content of the page to embed",
label: "Title",
controlType: "INPUT_TEXT",
- placeholderText: "Title for iframe element",
+ placeholderText: "Documentation",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
diff --git a/app/client/src/widgets/ImageWidget.tsx b/app/client/src/widgets/ImageWidget.tsx
index f4361d909f52..2a515329e6bf 100644
--- a/app/client/src/widgets/ImageWidget.tsx
+++ b/app/client/src/widgets/ImageWidget.tsx
@@ -17,34 +17,55 @@ class ImageWidget extends BaseWidget<ImageWidgetProps, WidgetState> {
sectionName: "General",
children: [
{
- helpText: "Renders the url or Base64 in the widget",
+ helpText: "Sets the image to be displayed",
propertyName: "image",
label: "Image",
controlType: "INPUT_TEXT",
- placeholderText: "Enter URL / Base64",
+ placeholderText: "URL / Base64",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.IMAGE_URL },
},
{
- helpText: "Renders the url or Base64 when no image is provided",
+ helpText: "Sets the default image to be displayed when load fails",
propertyName: "defaultImage",
label: "Default Image",
controlType: "INPUT_TEXT",
- placeholderText: "Enter URL / Base64",
+ placeholderText: "URL / Base64",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.IMAGE_URL },
},
{
- helpText: "Controls the visibility of the widget",
- propertyName: "isVisible",
- label: "Visible",
- controlType: "SWITCH",
+ helpText:
+ "Sets how the Image should be resized to fit its container.",
+ propertyName: "objectFit",
+ label: "Object Fit",
+ controlType: "DROP_DOWN",
+ defaultValue: "contain",
+ options: [
+ {
+ label: "Contain",
+ value: "contain",
+ },
+ {
+ label: "Cover",
+ value: "cover",
+ },
+ {
+ label: "Auto",
+ value: "auto",
+ },
+ ],
isJSConvertible: true,
isBindProperty: true,
isTriggerProperty: false,
- validation: { type: ValidationTypes.BOOLEAN },
+ validation: {
+ type: ValidationTypes.TEXT,
+ params: {
+ allowedValues: ["contain", "cover", "auto"],
+ },
+ },
},
{
helpText: "Controls the max zoom of the widget",
@@ -82,35 +103,14 @@ class ImageWidget extends BaseWidget<ImageWidgetProps, WidgetState> {
},
},
{
- helpText:
- "Sets how the Image should be resized to fit its container.",
- propertyName: "objectFit",
- label: "Object Fit",
- controlType: "DROP_DOWN",
- defaultValue: "contain",
- options: [
- {
- label: "Contain",
- value: "contain",
- },
- {
- label: "Cover",
- value: "cover",
- },
- {
- label: "Auto",
- value: "auto",
- },
- ],
+ helpText: "Controls the visibility of the widget",
+ propertyName: "isVisible",
+ label: "Visible",
+ controlType: "SWITCH",
isJSConvertible: true,
isBindProperty: true,
isTriggerProperty: false,
- validation: {
- type: ValidationTypes.TEXT,
- params: {
- allowedValues: ["contain", "cover", "auto"],
- },
- },
+ validation: { type: ValidationTypes.BOOLEAN },
},
{
helpText: "Controls if the image is allowed to rotate",
diff --git a/app/client/src/widgets/InputWidget.tsx b/app/client/src/widgets/InputWidget.tsx
index 4577c3f6742d..733cab804a33 100644
--- a/app/client/src/widgets/InputWidget.tsx
+++ b/app/client/src/widgets/InputWidget.tsx
@@ -205,7 +205,7 @@ class InputWidget extends BaseWidget<InputWidgetProps, WidgetState> {
propertyName: "maxChars",
label: "Max Chars",
controlType: "INPUT_TEXT",
- placeholderText: "Enter max allowed characters",
+ placeholderText: "255",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.NUMBER },
@@ -220,7 +220,7 @@ class InputWidget extends BaseWidget<InputWidgetProps, WidgetState> {
propertyName: "defaultText",
label: "Default Text",
controlType: "INPUT_TEXT",
- placeholderText: "Enter default text",
+ placeholderText: "John Doe",
isBindProperty: true,
isTriggerProperty: false,
validation: {
@@ -229,43 +229,13 @@ class InputWidget extends BaseWidget<InputWidgetProps, WidgetState> {
fn: defaultValueValidation,
expected: {
type: "string or number",
- example: `value1 | 123`,
+ example: `John | 123`,
autocompleteDataType: AutocompleteDataType.STRING,
},
},
},
dependencies: ["inputType"],
},
- {
- helpText: "Sets a placeholder text for the input",
- propertyName: "placeholderText",
- label: "Placeholder",
- controlType: "INPUT_TEXT",
- placeholderText: "Enter placeholder text",
- isBindProperty: true,
- isTriggerProperty: false,
- validation: { type: ValidationTypes.TEXT },
- },
- {
- helpText: "Sets the label text of the widget",
- propertyName: "label",
- label: "Label",
- controlType: "INPUT_TEXT",
- placeholderText: "Enter label text",
- isBindProperty: true,
- isTriggerProperty: false,
- validation: { type: ValidationTypes.TEXT },
- },
- {
- helpText: "Show help text or details about current input",
- propertyName: "tooltip",
- label: "Tooltip",
- controlType: "INPUT_TEXT",
- placeholderText: "Enter tooltip text",
- isBindProperty: true,
- isTriggerProperty: false,
- validation: { type: ValidationTypes.TEXT },
- },
{
helpText:
"Adds a validation to the input which displays an error on failure",
@@ -279,12 +249,11 @@ class InputWidget extends BaseWidget<InputWidgetProps, WidgetState> {
validation: { type: ValidationTypes.REGEX },
},
{
- helpText:
- "Ability to control input validity based on a JS expression",
+ helpText: "Sets the input validity based on a JS expression",
propertyName: "validation",
label: "Valid",
controlType: "INPUT_TEXT",
- placeholderText: "Enter input validation expression",
+ placeholderText: "{{ Input1.text.length > 0 }}",
inputType: "TEXT",
isBindProperty: true,
isTriggerProperty: false,
@@ -292,25 +261,45 @@ class InputWidget extends BaseWidget<InputWidgetProps, WidgetState> {
},
{
helpText:
- "Displays the error message if the regex validation fails",
+ "The error message to display if the regex or valid property check fails",
propertyName: "errorMessage",
label: "Error Message",
controlType: "INPUT_TEXT",
- placeholderText: "Enter error message",
+ placeholderText: "Not a valid email!",
inputType: "TEXT",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
},
{
- helpText: "Focus input automatically on load",
- propertyName: "autoFocus",
- label: "Auto Focus",
- controlType: "SWITCH",
- isJSConvertible: true,
+ helpText: "Sets a placeholder text for the input",
+ propertyName: "placeholderText",
+ label: "Placeholder",
+ controlType: "INPUT_TEXT",
+ placeholderText: "Placeholder",
isBindProperty: true,
isTriggerProperty: false,
- validation: { type: ValidationTypes.BOOLEAN },
+ validation: { type: ValidationTypes.TEXT },
+ },
+ {
+ helpText: "Sets the label text of the widget",
+ propertyName: "label",
+ label: "Label",
+ controlType: "INPUT_TEXT",
+ placeholderText: "Name:",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.TEXT },
+ },
+ {
+ helpText: "Show help text or details about current input",
+ propertyName: "tooltip",
+ label: "Tooltip",
+ controlType: "INPUT_TEXT",
+ placeholderText: "Passwords must be atleast 6 chars",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.TEXT },
},
{
propertyName: "isRequired",
@@ -352,14 +341,48 @@ class InputWidget extends BaseWidget<InputWidgetProps, WidgetState> {
isTriggerProperty: false,
validation: { type: ValidationTypes.BOOLEAN },
},
+ {
+ helpText: "Focus input automatically on load",
+ propertyName: "autoFocus",
+ label: "Auto Focus",
+ controlType: "SWITCH",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.BOOLEAN },
+ },
],
},
{
- sectionName: "Styles",
+ sectionName: "Actions",
+ children: [
+ {
+ helpText: "Triggers an action when the text is changed",
+ propertyName: "onTextChanged",
+ label: "onTextChanged",
+ controlType: "ACTION_SELECTOR",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: true,
+ },
+ {
+ helpText:
+ "Triggers an action on submit (when the enter key is pressed)",
+ propertyName: "onSubmit",
+ label: "onSubmit",
+ controlType: "ACTION_SELECTOR",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: true,
+ },
+ ],
+ },
+ {
+ sectionName: "Label Styles",
children: [
{
propertyName: "labelTextColor",
- label: "Label Text Color",
+ label: "Text Color",
controlType: "COLOR_PICKER",
isJSConvertible: true,
isBindProperty: true,
@@ -373,7 +396,7 @@ class InputWidget extends BaseWidget<InputWidgetProps, WidgetState> {
},
{
propertyName: "labelTextSize",
- label: "Label Text Size",
+ label: "Text Size",
controlType: "DROP_DOWN",
options: [
{
@@ -461,30 +484,6 @@ class InputWidget extends BaseWidget<InputWidgetProps, WidgetState> {
},
],
},
- {
- sectionName: "Actions",
- children: [
- {
- helpText: "Triggers an action when the text is changed",
- propertyName: "onTextChanged",
- label: "onTextChanged",
- controlType: "ACTION_SELECTOR",
- isJSConvertible: true,
- isBindProperty: true,
- isTriggerProperty: true,
- },
- {
- helpText:
- "Triggers an action on submit (when the enter key is pressed)",
- propertyName: "onSubmit",
- label: "onSubmit",
- controlType: "ACTION_SELECTOR",
- isJSConvertible: true,
- isBindProperty: true,
- isTriggerProperty: true,
- },
- ],
- },
];
}
diff --git a/app/client/src/widgets/ListWidget/ListPropertyPaneConfig.ts b/app/client/src/widgets/ListWidget/ListPropertyPaneConfig.ts
index 6b6c3626d02b..ed8a6b0b2b6c 100644
--- a/app/client/src/widgets/ListWidget/ListPropertyPaneConfig.ts
+++ b/app/client/src/widgets/ListWidget/ListPropertyPaneConfig.ts
@@ -15,7 +15,7 @@ const PropertyPaneConfig = [
propertyName: "listData",
label: "Items",
controlType: "INPUT_TEXT",
- placeholderText: 'Enter [{ "col1": "val1" }]',
+ placeholderText: '[{ "name": "John" }]',
inputType: "ARRAY",
isBindProperty: true,
isTriggerProperty: false,
diff --git a/app/client/src/widgets/MapWidget.tsx b/app/client/src/widgets/MapWidget.tsx
index 93d7010fe876..0c4909932208 100644
--- a/app/client/src/widgets/MapWidget.tsx
+++ b/app/client/src/widgets/MapWidget.tsx
@@ -87,7 +87,7 @@ class MapWidget extends BaseWidget<MapWidgetProps, WidgetState> {
controlType: "INPUT_TEXT",
inputType: "ARRAY",
helpText: "Sets the default markers on the map",
- placeholderText: 'Enter [{ "lat": "val1", "long": "val2" }]',
+ placeholderText: '[{ "lat": "val1", "long": "val2" }]',
isBindProperty: true,
isTriggerProperty: false,
validation: {
@@ -154,15 +154,6 @@ class MapWidget extends BaseWidget<MapWidgetProps, WidgetState> {
isBindProperty: false,
isTriggerProperty: false,
},
- {
- propertyName: "zoomLevel",
- label: "Zoom Level",
- controlType: "STEP",
- helpText: "Changes the default zoom of the map",
- stepType: "ZOOM_PERCENTAGE",
- isBindProperty: false,
- isTriggerProperty: false,
- },
{
propertyName: "isVisible",
label: "Visible",
@@ -173,6 +164,15 @@ class MapWidget extends BaseWidget<MapWidgetProps, WidgetState> {
isTriggerProperty: false,
validation: { type: ValidationTypes.BOOLEAN },
},
+ {
+ propertyName: "zoomLevel",
+ label: "Zoom Level",
+ controlType: "STEP",
+ helpText: "Changes the default zoom of the map",
+ stepType: "ZOOM_PERCENTAGE",
+ isBindProperty: false,
+ isTriggerProperty: false,
+ },
],
},
{
diff --git a/app/client/src/widgets/MenuButtonWidget.tsx b/app/client/src/widgets/MenuButtonWidget.tsx
index 972b3cab8b6f..70ff22cad611 100644
--- a/app/client/src/widgets/MenuButtonWidget.tsx
+++ b/app/client/src/widgets/MenuButtonWidget.tsx
@@ -61,51 +61,16 @@ class MenuButtonWidget extends BaseWidget<MenuButtonWidgetProps, WidgetState> {
helpText: "Sets the label of a menu",
label: "Label",
controlType: "INPUT_TEXT",
- placeholderText: "Enter label",
+ placeholderText: "Open",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
},
- {
- propertyName: "isDisabled",
- helpText: "Disables input to the widget",
- label: "Disabled",
- controlType: "SWITCH",
- isJSConvertible: true,
- isBindProperty: true,
- isTriggerProperty: false,
- validation: { type: ValidationTypes.BOOLEAN },
- },
- {
- propertyName: "isVisible",
- helpText: "Controls the visibility of the widget",
- label: "Visible",
- controlType: "SWITCH",
- isJSConvertible: true,
- isBindProperty: true,
- isTriggerProperty: false,
- validation: { type: ValidationTypes.BOOLEAN },
- },
- {
- propertyName: "isCompact",
- helpText: "Decides if menu items will consume lesser space",
- label: "Compact",
- controlType: "SWITCH",
- isJSConvertible: true,
- isBindProperty: true,
- isTriggerProperty: false,
- validation: { type: ValidationTypes.BOOLEAN },
- },
- ],
- },
- {
- sectionName: "Menu Items",
- children: [
{
helpText: "Menu items",
propertyName: "menuItems",
controlType: "MENU_ITEMS",
- label: "",
+ label: "Menu Items",
isBindProperty: false,
isTriggerProperty: false,
panelConfig: {
@@ -133,7 +98,7 @@ class MenuButtonWidget extends BaseWidget<MenuButtonWidgetProps, WidgetState> {
helpText: "Sets the label of a menu item",
label: "Label",
controlType: "INPUT_TEXT",
- placeholderText: "Enter label",
+ placeholderText: "Download",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
@@ -225,6 +190,36 @@ class MenuButtonWidget extends BaseWidget<MenuButtonWidgetProps, WidgetState> {
],
},
},
+ {
+ propertyName: "isDisabled",
+ helpText: "Disables input to the widget",
+ label: "Disabled",
+ controlType: "SWITCH",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.BOOLEAN },
+ },
+ {
+ propertyName: "isVisible",
+ helpText: "Controls the visibility of the widget",
+ label: "Visible",
+ controlType: "SWITCH",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.BOOLEAN },
+ },
+ {
+ propertyName: "isCompact",
+ helpText: "Decides if menu items will consume lesser space",
+ label: "Compact",
+ controlType: "SWITCH",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.BOOLEAN },
+ },
],
},
{
diff --git a/app/client/src/widgets/ModalWidget.tsx b/app/client/src/widgets/ModalWidget.tsx
index 0112ab4f1f40..dbd2a57e1b02 100644
--- a/app/client/src/widgets/ModalWidget.tsx
+++ b/app/client/src/widgets/ModalWidget.tsx
@@ -38,14 +38,6 @@ export class ModalWidget extends BaseWidget<ModalWidgetProps, WidgetState> {
{
sectionName: "General",
children: [
- {
- propertyName: "canOutsideClickClose",
- label: "Quick Dismiss",
- helpText: "Allows dismissing the modal when user taps outside",
- controlType: "SWITCH",
- isBindProperty: false,
- isTriggerProperty: false,
- },
{
propertyName: "size",
label: "Modal Type",
@@ -70,6 +62,14 @@ export class ModalWidget extends BaseWidget<ModalWidgetProps, WidgetState> {
isBindProperty: false,
isTriggerProperty: false,
},
+ {
+ propertyName: "canOutsideClickClose",
+ label: "Quick Dismiss",
+ helpText: "Allows dismissing the modal when user taps outside",
+ controlType: "SWITCH",
+ isBindProperty: false,
+ isTriggerProperty: false,
+ },
],
},
{
diff --git a/app/client/src/widgets/MultiSelectWidget.tsx b/app/client/src/widgets/MultiSelectWidget.tsx
index bb8beff2c20e..dfccdc29d3ec 100644
--- a/app/client/src/widgets/MultiSelectWidget.tsx
+++ b/app/client/src/widgets/MultiSelectWidget.tsx
@@ -55,7 +55,7 @@ class MultiSelectWidget extends BaseWidget<
propertyName: "options",
label: "Options",
controlType: "INPUT_TEXT",
- placeholderText: "Enter option value",
+ placeholderText: '[{ "label": "Option1", "value": "Option2" }]',
isBindProperty: true,
isTriggerProperty: false,
isJSConvertible: false,
@@ -97,7 +97,7 @@ class MultiSelectWidget extends BaseWidget<
propertyName: "defaultOptionValue",
label: "Default Value",
controlType: "INPUT_TEXT",
- placeholderText: "Enter option value",
+ placeholderText: "GREEN",
isBindProperty: true,
isTriggerProperty: false,
validation: {
@@ -106,18 +106,18 @@ class MultiSelectWidget extends BaseWidget<
fn: defaultOptionValueValidation,
expected: {
type: "value or Array of values",
- example: `value1 | ['value1', 'value2']`,
+ example: `option1 | ['option1', 'option2']`,
autocompleteDataType: AutocompleteDataType.ARRAY,
},
},
},
},
{
- helpText: "Input Place Holder",
+ helpText: "Sets a Placeholder text",
propertyName: "placeholderText",
label: "Placeholder",
controlType: "INPUT_TEXT",
- placeholderText: "Enter placeholder text",
+ placeholderText: "Search",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
diff --git a/app/client/src/widgets/RadioGroupWidget.tsx b/app/client/src/widgets/RadioGroupWidget.tsx
index dd280d180be3..e8c0947dbb8a 100644
--- a/app/client/src/widgets/RadioGroupWidget.tsx
+++ b/app/client/src/widgets/RadioGroupWidget.tsx
@@ -15,8 +15,7 @@ class RadioGroupWidget extends BaseWidget<RadioGroupWidgetProps, WidgetState> {
sectionName: "General",
children: [
{
- helpText:
- "Displays a list of options for a user to select. Values must be unique",
+ helpText: "Displays a list of unique options",
propertyName: "options",
label: "Options",
controlType: "OPTION_INPUT",
@@ -57,10 +56,10 @@ class RadioGroupWidget extends BaseWidget<RadioGroupWidgetProps, WidgetState> {
EvaluationSubstitutionType.SMART_SUBSTITUTE,
},
{
- helpText: "Selects a value of the options entered by default",
+ helpText: "Sets a default selected option",
propertyName: "defaultOptionValue",
label: "Default Selected Value",
- placeholderText: "Enter option value",
+ placeholderText: "Y",
controlType: "INPUT_TEXT",
isBindProperty: true,
isTriggerProperty: false,
diff --git a/app/client/src/widgets/RateWidget/index.tsx b/app/client/src/widgets/RateWidget/index.tsx
index 1657f99181aa..8689e8fa6c0c 100644
--- a/app/client/src/widgets/RateWidget/index.tsx
+++ b/app/client/src/widgets/RateWidget/index.tsx
@@ -67,10 +67,10 @@ class RateWidget extends BaseWidget<RateWidgetProps, WidgetState> {
children: [
{
propertyName: "maxCount",
- helpText: "Sets the maximum limit of the number of stars",
- label: "Max count",
+ helpText: "Sets the maximum allowed rating",
+ label: "Max Rating",
controlType: "INPUT_TEXT",
- placeholderText: "Enter max count",
+ placeholderText: "5",
isBindProperty: true,
isTriggerProperty: false,
validation: {
@@ -80,10 +80,10 @@ class RateWidget extends BaseWidget<RateWidgetProps, WidgetState> {
},
{
propertyName: "defaultRate",
- helpText: "Sets the default number of stars",
- label: "Default rate",
+ helpText: "Sets the default rating",
+ label: "Default Rating",
controlType: "INPUT_TEXT",
- placeholderText: "Enter default value",
+ placeholderText: "2.5",
isBindProperty: true,
isTriggerProperty: false,
validation: {
@@ -118,7 +118,7 @@ class RateWidget extends BaseWidget<RateWidgetProps, WidgetState> {
helpText: "Sets the tooltip contents of stars",
label: "Tooltips",
controlType: "INPUT_TEXT",
- placeholderText: "Enter tooltips array",
+ placeholderText: '["Bad", "Neutral", "Good"]',
isBindProperty: true,
isTriggerProperty: false,
validation: {
diff --git a/app/client/src/widgets/RichTextEditorWidget.tsx b/app/client/src/widgets/RichTextEditorWidget.tsx
index dd3c4716eeb0..d37366239372 100644
--- a/app/client/src/widgets/RichTextEditorWidget.tsx
+++ b/app/client/src/widgets/RichTextEditorWidget.tsx
@@ -56,7 +56,7 @@ class RichTextEditorWidget extends BaseWidget<
"Sets the default text of the widget. The text is updated if the default text changes",
label: "Default text",
controlType: "INPUT_TEXT",
- placeholderText: "Enter HTML",
+ placeholderText: "<b>Hello World</b>",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
diff --git a/app/client/src/widgets/SwitchWidget.tsx b/app/client/src/widgets/SwitchWidget.tsx
index 35206f577bb3..3cea3bd645e7 100644
--- a/app/client/src/widgets/SwitchWidget.tsx
+++ b/app/client/src/widgets/SwitchWidget.tsx
@@ -19,29 +19,11 @@ class SwitchWidget extends BaseWidget<SwitchWidgetProps, WidgetState> {
label: "Label",
controlType: "INPUT_TEXT",
helpText: "Displays a label next to the widget",
- placeholderText: "Enter label text",
+ placeholderText: "Enable Option",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
},
- {
- propertyName: "alignWidget",
- helpText: "Sets the alignment of the widget",
- label: "Alignment",
- controlType: "DROP_DOWN",
- isBindProperty: true,
- isTriggerProperty: false,
- options: [
- {
- label: "Left",
- value: "LEFT",
- },
- {
- label: "Right",
- value: "RIGHT",
- },
- ],
- },
{
propertyName: "defaultSwitchState",
label: "Default Selected",
@@ -73,6 +55,24 @@ class SwitchWidget extends BaseWidget<SwitchWidgetProps, WidgetState> {
isTriggerProperty: false,
validation: { type: ValidationTypes.BOOLEAN },
},
+ {
+ propertyName: "alignWidget",
+ helpText: "Sets the alignment of the widget",
+ label: "Alignment",
+ controlType: "DROP_DOWN",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ options: [
+ {
+ label: "Left",
+ value: "LEFT",
+ },
+ {
+ label: "Right",
+ value: "RIGHT",
+ },
+ ],
+ },
],
},
{
diff --git a/app/client/src/widgets/TableWidget/TablePropertyPaneConfig.ts b/app/client/src/widgets/TableWidget/TablePropertyPaneConfig.ts
index 1ea394dfce66..0c298278bee5 100644
--- a/app/client/src/widgets/TableWidget/TablePropertyPaneConfig.ts
+++ b/app/client/src/widgets/TableWidget/TablePropertyPaneConfig.ts
@@ -281,7 +281,7 @@ export default [
propertyName: "tableData",
label: "Table Data",
controlType: "INPUT_TEXT",
- placeholderText: 'Enter [{ "col1": "val1" }]',
+ placeholderText: '[{ "name": "John" }]',
inputType: "ARRAY",
isBindProperty: true,
isTriggerProperty: false,
@@ -1155,7 +1155,7 @@ export default [
propertyName: "defaultSearchText",
label: "Default Search Text",
controlType: "INPUT_TEXT",
- placeholderText: "Enter default search text",
+ placeholderText: "{{appsmith.user.name}}",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
@@ -1165,7 +1165,7 @@ export default [
propertyName: "defaultSelectedRow",
label: "Default Selected Row",
controlType: "INPUT_TEXT",
- placeholderText: "Enter row index",
+ placeholderText: "0",
isBindProperty: true,
isTriggerProperty: false,
validation: {
@@ -1184,7 +1184,7 @@ export default [
{
propertyName: "compactMode",
helpText: "Selects row height",
- label: "Row Height",
+ label: "Default Row Height",
controlType: "DROP_DOWN",
defaultValue: "DEFAULT",
isBindProperty: true,
diff --git a/app/client/src/widgets/Tabs/TabsWidget.tsx b/app/client/src/widgets/Tabs/TabsWidget.tsx
index 5f621db6fb03..70d5e2c7482a 100644
--- a/app/client/src/widgets/Tabs/TabsWidget.tsx
+++ b/app/client/src/widgets/Tabs/TabsWidget.tsx
@@ -86,7 +86,7 @@ class TabsWidget extends BaseWidget<
{
propertyName: "defaultTab",
helpText: "Selects a tab name specified by default",
- placeholderText: "Enter tab name",
+ placeholderText: "Tab 1",
label: "Default Tab",
controlType: "INPUT_TEXT",
isBindProperty: true,
diff --git a/app/client/src/widgets/TextWidget.tsx b/app/client/src/widgets/TextWidget.tsx
index 6d3483da2f71..255e056ddd64 100644
--- a/app/client/src/widgets/TextWidget.tsx
+++ b/app/client/src/widgets/TextWidget.tsx
@@ -17,7 +17,7 @@ class TextWidget extends BaseWidget<TextWidgetProps, WidgetState> {
helpText: "Sets the text of the widget",
label: "Text",
controlType: "INPUT_TEXT",
- placeholderText: "Enter text",
+ placeholderText: "Name:",
isBindProperty: true,
isTriggerProperty: false,
validation: { type: ValidationTypes.TEXT },
@@ -49,6 +49,7 @@ class TextWidget extends BaseWidget<TextWidgetProps, WidgetState> {
propertyName: "backgroundColor",
label: "Cell Background",
controlType: "COLOR_PICKER",
+ isJSConvertible: true,
isBindProperty: false,
isTriggerProperty: false,
},
@@ -102,6 +103,7 @@ class TextWidget extends BaseWidget<TextWidgetProps, WidgetState> {
icon: "PARAGRAPH_TWO",
},
],
+ isJSConvertible: true,
isBindProperty: false,
isTriggerProperty: false,
},
diff --git a/app/client/src/widgets/VideoWidget.tsx b/app/client/src/widgets/VideoWidget.tsx
index 4b47f6ee8714..040bca08dc7d 100644
--- a/app/client/src/widgets/VideoWidget.tsx
+++ b/app/client/src/widgets/VideoWidget.tsx
@@ -33,7 +33,7 @@ class VideoWidget extends BaseWidget<VideoWidgetProps, WidgetState> {
propertyName: "url",
label: "URL",
controlType: "INPUT_TEXT",
- placeholderText: "Enter url",
+ placeholderText: "Enter URL",
inputType: "TEXT",
isBindProperty: true,
isTriggerProperty: false,
diff --git a/app/client/test/factories/Widgets/ImageFactory.ts b/app/client/test/factories/Widgets/ImageFactory.ts
index b05be9c441a5..c29e5d6e2607 100644
--- a/app/client/test/factories/Widgets/ImageFactory.ts
+++ b/app/client/test/factories/Widgets/ImageFactory.ts
@@ -5,7 +5,7 @@ import { WidgetProps } from "widgets/BaseWidget";
export const ImageFactory = Factory.Sync.makeFactory<WidgetProps>({
isVisible: true,
defaultImage:
- "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png",
+ "https://assets.appsmith.com/widgets/default.png",
enableDownload: false,
enableRotation: false,
imageShape: "RECTANGLE",
|
e50b31b65c253e9b340963a767650553c3f0fc7b
|
2023-04-05 18:09:11
|
Valera Melnikov
|
feat: wds button refactoring (#21849)
| false
|
wds button refactoring (#21849)
|
feat
|
diff --git a/app/client/package.json b/app/client/package.json
index 1afd07ed12af..0377a835f28b 100644
--- a/app/client/package.json
+++ b/app/client/package.json
@@ -7,7 +7,7 @@
"npm": "^8.5.5"
},
"workspaces": [
- "packages/*"
+ "packages/**/*"
],
"cracoConfig": "craco.dev.config.js",
"scripts": {
@@ -41,7 +41,7 @@
"@blueprintjs/icons": "^3.10.0",
"@blueprintjs/popover2": "^0.5.0",
"@blueprintjs/select": "^3.10.0",
- "@design-system/wds": "*",
+ "@design-system/widgets": "*",
"@fusioncharts/powercharts": "^3.16.0",
"@github/g-emoji-element": "^1.1.5",
"@googlemaps/markerclusterer": "^2.0.14",
diff --git a/app/client/packages/design-system/headless/.eslintrc.json b/app/client/packages/design-system/headless/.eslintrc.json
new file mode 100644
index 000000000000..856ec188a8e2
--- /dev/null
+++ b/app/client/packages/design-system/headless/.eslintrc.json
@@ -0,0 +1,3 @@
+{
+ "extends": ["../../../.eslintrc.json"]
+}
diff --git a/app/client/packages/design-system/headless/package.json b/app/client/packages/design-system/headless/package.json
new file mode 100644
index 000000000000..2c3b7370a0b2
--- /dev/null
+++ b/app/client/packages/design-system/headless/package.json
@@ -0,0 +1,30 @@
+{
+ "name": "@design-system/headless",
+ "version": "1.0.0",
+ "main": "src/index.ts",
+ "author": "Valera Melnikov <[email protected]>, Pawan Kumar <[email protected]>",
+ "license": "MIT",
+ "scripts": {
+ "lint:ci": "eslint --cache .",
+ "prettier:ci": "prettier --check ."
+ },
+ "dependencies": {
+ "@react-aria/button": "^3.7.0",
+ "@react-aria/focus": "^3.11.0",
+ "@react-aria/interactions": "^3.14.0",
+ "@react-aria/utils": "^3.15.0",
+ "@react-spectrum/utils": "^3.9.0",
+ "@react-types/button": "^3.7.1",
+ "@react-types/shared": "^3.17.0",
+ "classnames": "*",
+ "react": "*",
+ "react-dom": "*"
+ },
+ "devDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
+ }
+}
diff --git a/app/client/packages/design-system/headless/src/components/Button.tsx b/app/client/packages/design-system/headless/src/components/Button.tsx
new file mode 100644
index 000000000000..bb9dbf806c5a
--- /dev/null
+++ b/app/client/packages/design-system/headless/src/components/Button.tsx
@@ -0,0 +1,39 @@
+import React, { forwardRef } from "react";
+import { useFocusableRef } from "@react-spectrum/utils";
+import classNames from "classnames";
+import { FocusRing } from "@react-aria/focus";
+import { mergeProps } from "@react-aria/utils";
+import { useButton } from "@react-aria/button";
+import { useHover } from "@react-aria/interactions";
+import type { RefObject } from "react";
+import type { FocusableRef } from "@react-types/shared";
+import type { ButtonProps as SpectrumButtonProps } from "@react-types/button";
+
+export interface ButtonProps extends SpectrumButtonProps {
+ className?: string;
+}
+
+export type ButtonRef = FocusableRef<HTMLElement>;
+
+export const Button = forwardRef((props: ButtonProps, ref: ButtonRef) => {
+ const { autoFocus, children, className, isDisabled } = props;
+ const domRef = useFocusableRef(ref) as RefObject<HTMLButtonElement>;
+ const { buttonProps, isPressed } = useButton(props, domRef);
+ const { hoverProps, isHovered } = useHover({ isDisabled });
+
+ return (
+ <FocusRing autoFocus={autoFocus} focusRingClass="focus-ring">
+ <button
+ {...mergeProps(buttonProps, hoverProps)}
+ className={classNames(className, {
+ "is-disabled": isDisabled,
+ "is-active": isPressed,
+ "is-hovered": isHovered,
+ })}
+ ref={domRef}
+ >
+ {children}
+ </button>
+ </FocusRing>
+ );
+});
diff --git a/app/client/packages/design-system/headless/src/index.ts b/app/client/packages/design-system/headless/src/index.ts
new file mode 100644
index 000000000000..499cd64146f3
--- /dev/null
+++ b/app/client/packages/design-system/headless/src/index.ts
@@ -0,0 +1,2 @@
+export { Button } from "./components/Button";
+export type { ButtonProps, ButtonRef } from "./components/Button";
diff --git a/app/client/packages/design-system/headless/tsconfig.json b/app/client/packages/design-system/headless/tsconfig.json
new file mode 100644
index 000000000000..15bd9fe595bc
--- /dev/null
+++ b/app/client/packages/design-system/headless/tsconfig.json
@@ -0,0 +1,4 @@
+{
+ "extends": "../../../tsconfig.json",
+ "include": ["./src/**/*"]
+}
diff --git a/app/client/packages/wds/.eslintrc.json b/app/client/packages/design-system/theming/.eslintrc.json
similarity index 67%
rename from app/client/packages/wds/.eslintrc.json
rename to app/client/packages/design-system/theming/.eslintrc.json
index a618049b5478..8bf57956089d 100644
--- a/app/client/packages/wds/.eslintrc.json
+++ b/app/client/packages/design-system/theming/.eslintrc.json
@@ -1,5 +1,5 @@
{
- "extends": ["../../.eslintrc.json", "plugin:storybook/recommended"],
+ "extends": ["../../../.eslintrc.json"],
"overrides": [
{
"files": ["**/*.stories.*"],
diff --git a/app/client/packages/design-system/theming/package.json b/app/client/packages/design-system/theming/package.json
new file mode 100644
index 000000000000..df89c785d9c6
--- /dev/null
+++ b/app/client/packages/design-system/theming/package.json
@@ -0,0 +1,23 @@
+{
+ "name": "@design-system/theming",
+ "version": "1.0.0",
+ "main": "src/index.ts",
+ "author": "Valera Melnikov <[email protected]>, Pawan Kumar <[email protected]>",
+ "license": "MIT",
+ "scripts": {
+ "lint:ci": "eslint --cache .",
+ "prettier:ci": "prettier --check .",
+ "build:tokens": "npx ts-node ./src/utils/buildTokens.ts"
+ },
+ "dependencies": {
+ "react": "*",
+ "react-dom": "*"
+ },
+ "devDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
+ }
+}
diff --git a/app/client/packages/design-system/theming/src/components/ThemeProvider.tsx b/app/client/packages/design-system/theming/src/components/ThemeProvider.tsx
new file mode 100644
index 000000000000..c8eb4db3a51a
--- /dev/null
+++ b/app/client/packages/design-system/theming/src/components/ThemeProvider.tsx
@@ -0,0 +1,36 @@
+import React from "react";
+import styled, { css } from "styled-components";
+import kebabCase from "lodash/kebabCase";
+import type { ReactNode } from "react";
+import type themeTokens from "../tokens/themeTokens.json";
+
+type Theme = typeof themeTokens;
+
+export interface ThemeProviderProps {
+ theme: Theme;
+ children: ReactNode;
+}
+
+/**
+ * creates locally scoped css variables
+ *
+ */
+const StyledProvider = styled.div<ThemeProviderProps>`
+ ${({ theme }) => {
+ return css`
+ ${Object.keys(theme).map((key) => {
+ return Object.keys(theme[key]).map((nestedKey) => {
+ return `--${kebabCase(key)}-${kebabCase(nestedKey)}: ${
+ theme[key][nestedKey].value
+ };`;
+ });
+ })}
+ `;
+ }}
+`;
+
+export const ThemeProvider = (props: ThemeProviderProps) => {
+ const { children, theme } = props;
+
+ return <StyledProvider theme={theme}>{children}</StyledProvider>;
+};
diff --git a/app/client/packages/design-system/theming/src/index.ts b/app/client/packages/design-system/theming/src/index.ts
new file mode 100644
index 000000000000..0a8b4beff4df
--- /dev/null
+++ b/app/client/packages/design-system/theming/src/index.ts
@@ -0,0 +1,3 @@
+export { ThemeProvider } from "./components/ThemeProvider";
+export { TokensAccessor } from "./utils/TokensAccessor";
+export { ColorsAccessor } from "./utils/ColorsAccessor";
diff --git a/app/client/packages/design-system/theming/src/tokens/defaultTokens.json b/app/client/packages/design-system/theming/src/tokens/defaultTokens.json
new file mode 100644
index 000000000000..0f624a96baf7
--- /dev/null
+++ b/app/client/packages/design-system/theming/src/tokens/defaultTokens.json
@@ -0,0 +1,18 @@
+{
+ "seedColor": "#553de9",
+ "focusColor": "#2a82ea",
+ "rootUnit": 4,
+ "isDarkMode": false,
+ "borderRadius": {
+ "1": "0px"
+ },
+ "boxShadow": {
+ "1": "0 0 0 0 rgba(0, 0, 0, 0.2)"
+ },
+ "borderWidth": {
+ "1": "1px"
+ },
+ "opacity": {
+ "disabled": 0.3
+ }
+}
diff --git a/app/client/packages/design-system/theming/src/tokens/themeTokens.json b/app/client/packages/design-system/theming/src/tokens/themeTokens.json
new file mode 100644
index 000000000000..4dc2ff659dd1
--- /dev/null
+++ b/app/client/packages/design-system/theming/src/tokens/themeTokens.json
@@ -0,0 +1,96 @@
+{
+ "color": {
+ "bg-accent": {
+ "value": "#553de9",
+ "type": "color"
+ },
+ "bg-accent-hover": {
+ "value": "#6e61ff",
+ "type": "color"
+ },
+ "bg-accent-active": {
+ "value": "#8f85ff",
+ "type": "color"
+ },
+ "bg-accent-subtle-hover": {
+ "value": "#b6adff",
+ "type": "color"
+ },
+ "bg-accent-subtle-active": {
+ "value": "#d7d0ff",
+ "type": "color"
+ },
+ "bd-accent": {
+ "value": "#553de9",
+ "type": "color"
+ },
+ "fg-accent": {
+ "value": "#553de9",
+ "type": "color"
+ },
+ "fg-on-accent": {
+ "value": "#fff",
+ "type": "color"
+ },
+ "bd-focus": {
+ "value": "#2a82ea",
+ "type": "color"
+ }
+ },
+ "sizing": {
+ "root-unit": {
+ "value": "4px",
+ "type": "sizing"
+ }
+ },
+ "spacing": {
+ "0": {
+ "value": "0px",
+ "type": "spacing"
+ },
+ "1": {
+ "value": "4px",
+ "type": "spacing"
+ },
+ "2": {
+ "value": "8px",
+ "type": "spacing"
+ },
+ "3": {
+ "value": "12px",
+ "type": "spacing"
+ },
+ "4": {
+ "value": "16px",
+ "type": "spacing"
+ },
+ "5": {
+ "value": "20px",
+ "type": "spacing"
+ }
+ },
+ "borderRadius": {
+ "1": {
+ "value": "0px",
+ "type": "borderRadius"
+ }
+ },
+ "boxShadow": {
+ "1": {
+ "value": "0 0 0 0 rgba(0, 0, 0, 0.2)",
+ "type": "boxShadow"
+ }
+ },
+ "borderWidth": {
+ "1": {
+ "value": "1px",
+ "type": "borderWidth"
+ }
+ },
+ "opacity": {
+ "disabled": {
+ "value": 0.3,
+ "type": "opacity"
+ }
+ }
+}
diff --git a/app/client/packages/design-system/theming/src/utils/ColorsAccessor.ts b/app/client/packages/design-system/theming/src/utils/ColorsAccessor.ts
new file mode 100644
index 000000000000..080b8c5c9450
--- /dev/null
+++ b/app/client/packages/design-system/theming/src/utils/ColorsAccessor.ts
@@ -0,0 +1,95 @@
+import Color from "colorjs.io";
+import type { ColorTypes } from "colorjs.io/types/src/color";
+import defaultsTokens from "../tokens/defaultTokens.json";
+
+export class ColorsAccessor {
+ private color: Color;
+
+ constructor(color: ColorTypes) {
+ this.color = this.parse(color);
+ }
+
+ private parse = (color: ColorTypes) => {
+ try {
+ return new Color(color);
+ } catch (error) {
+ return new Color(defaultsTokens.seedColor);
+ }
+ };
+
+ updateColor = (color: ColorTypes) => {
+ this.color = this.parse(color);
+ };
+
+ getHex = () => {
+ return this.color.toString({ format: "hex" });
+ };
+
+ /* Lightness */
+ isVeryDark = () => {
+ return this.color.oklch.l < 30;
+ };
+
+ isVeryLight = () => {
+ return this.color.oklch.l > 90;
+ };
+
+ /* Chroma */
+ isAchromatic = () => {
+ return this.color.oklch.c < 5;
+ };
+
+ isColorful = () => {
+ return this.color.oklch.c > 17;
+ };
+
+ /* Hue */
+ isCold = () => {
+ return this.color.oklch.h >= 120 && this.color.oklch.h <= 300;
+ };
+
+ isBlue = () => {
+ return this.color.oklch.h >= 230 && this.color.oklch.h <= 270;
+ };
+
+ isGreen = () => {
+ return this.color.oklch.h >= 105 && this.color.oklch.h <= 165;
+ };
+
+ isYellow = () => {
+ return this.color.oklch.h >= 60 && this.color.oklch.h <= 75;
+ };
+
+ isRed = () => {
+ return this.color.oklch.h >= 29 && this.color.oklch.h <= 50;
+ };
+
+ lighten = (color: ColorTypes, lightness = 0.1) => {
+ return this.parse(color)
+ .set("oklch.l", (l) => l + lightness)
+ .toString({ format: "hex" });
+ };
+
+ darken = (color: ColorTypes, lightness = 0.1) => {
+ return this.parse(color)
+ .set("oklch.l", (l) => l - lightness)
+ .toString({ format: "hex" });
+ };
+
+ /**
+ * returns black or white based on the contrast of the color compare to white
+ * using APCA algorithm
+ */
+ getComplementaryGrayscale = () => {
+ const contrast = this.color.contrast(new Color("#fff"), "APCA");
+
+ // if contrast is less than -35 then the text color should be white
+ if (contrast < -60) return "#fff";
+
+ return "#000";
+ };
+
+ getFocus = () => {
+ return defaultsTokens.focusColor;
+ };
+}
diff --git a/app/client/packages/design-system/theming/src/utils/TokensAccessor.ts b/app/client/packages/design-system/theming/src/utils/TokensAccessor.ts
new file mode 100644
index 000000000000..ab265e8c7da2
--- /dev/null
+++ b/app/client/packages/design-system/theming/src/utils/TokensAccessor.ts
@@ -0,0 +1,164 @@
+import { ColorsAccessor } from "../utils/ColorsAccessor";
+import type { ColorTypes } from "colorjs.io/types/src/color";
+import defaultTokens from "../tokens/defaultTokens.json";
+import range from "lodash/range";
+import kebabCase from "lodash/kebabCase";
+
+type TokenType =
+ | "sizing"
+ | "color"
+ | "spacing"
+ | "borderRadius"
+ | "boxShadow"
+ | "borderWidth"
+ | "opacity";
+
+type Token = {
+ value: string | number;
+ type: TokenType;
+};
+
+type ThemeTokens = {
+ [key in TokenType]: { [key: string]: Token };
+};
+
+type TokenObj = { [key: string]: string | number };
+
+export class TokensAccessor {
+ constructor(
+ private color: ColorTypes = defaultTokens.seedColor,
+ private rootUnit: number = defaultTokens.rootUnit,
+ private borderRadius: TokenObj = defaultTokens.borderRadius,
+ private boxShadow: TokenObj = defaultTokens.boxShadow,
+ private borderWidth: TokenObj = defaultTokens.borderWidth,
+ private opacity: TokenObj = defaultTokens.opacity,
+ private colorsAccessor: ColorsAccessor = new ColorsAccessor(color),
+ ) {}
+
+ updateSeedColor = (color: ColorTypes) => {
+ this.colorsAccessor.updateColor(color);
+ };
+
+ updateBorderRadius = (borderRadius: TokenObj) => {
+ this.borderRadius = borderRadius;
+ this.createTokenObject(this.borderRadius, "borderRadius");
+ };
+
+ getColors = () => {
+ const colors = {
+ bgAccent: this.getBgAccent(),
+ bgAccentHover: this.getBgAccentHover(),
+ bgAccentActive: this.getBgAccentActive(),
+ bgAccentSubtleHover: this.getBgAccentSubtleHover(),
+ bgAccentSubtleActive: this.getAccentSubtleActive(),
+ bdAccent: this.getBdAccent(),
+ fgAccent: this.getFgAccent(),
+ fgOnAccent: this.getFgOnAccent(),
+ bdFocus: this.getBdFocus(),
+ };
+
+ return this.createTokenObject(colors, "color");
+ };
+
+ getSizing = () => {
+ const sizing = {
+ rootUnit: `${this.rootUnit}px`,
+ };
+
+ return this.createTokenObject(sizing, "sizing");
+ };
+
+ getSpacing = (count = 6) => {
+ const spacing = range(count).reduce((acc, value, index) => {
+ return {
+ ...acc,
+ [index]: `${this.rootUnit * value}px`,
+ };
+ }, {});
+
+ return this.createTokenObject(spacing, "spacing");
+ };
+
+ getBorderRadius = () => {
+ return this.createTokenObject(this.borderRadius, "borderRadius");
+ };
+
+ getBoxShadow = () => {
+ return this.createTokenObject(this.boxShadow, "boxShadow");
+ };
+
+ getBorderWidth = () => {
+ return this.createTokenObject(this.borderWidth, "borderWidth");
+ };
+
+ getOpacity = () => {
+ return this.createTokenObject(this.opacity, "opacity");
+ };
+
+ getAllTokens = () => {
+ return {
+ ...this.getColors(),
+ ...this.getSizing(),
+ ...this.getSpacing(),
+ ...this.getBorderRadius(),
+ ...this.getBoxShadow(),
+ ...this.getBorderWidth(),
+ ...this.getOpacity(),
+ };
+ };
+
+ private createTokenObject = (
+ tokenObj: TokenObj,
+ tokenType: TokenType,
+ ): ThemeTokens => {
+ const themeTokens = {} as ThemeTokens;
+
+ Object.keys(tokenObj).forEach((key) => {
+ themeTokens[tokenType] = {
+ ...themeTokens[tokenType],
+ [kebabCase(key)]: {
+ value: tokenObj[key],
+ type: tokenType,
+ },
+ };
+ });
+
+ return themeTokens;
+ };
+
+ private getBgAccent = () => {
+ return this.colorsAccessor.getHex();
+ };
+
+ private getBgAccentHover = () => {
+ return this.colorsAccessor.lighten(this.getBgAccent());
+ };
+
+ private getBgAccentActive = () => {
+ return this.colorsAccessor.lighten(this.getBgAccentHover());
+ };
+
+ private getBgAccentSubtleHover = () => {
+ return this.colorsAccessor.lighten(this.getBgAccent(), 0.3);
+ };
+
+ private getAccentSubtleActive = () => {
+ return this.colorsAccessor.lighten(this.getBgAccentSubtleHover());
+ };
+
+ private getBdAccent = () => {
+ return this.colorsAccessor.getHex();
+ };
+
+ private getFgAccent = () => {
+ return this.colorsAccessor.getHex();
+ };
+
+ private getFgOnAccent = () => {
+ return this.colorsAccessor.getComplementaryGrayscale();
+ };
+
+ private getBdFocus = () => {
+ return this.colorsAccessor.getFocus();
+ };
+}
diff --git a/app/client/packages/design-system/theming/src/utils/buildTokens.ts b/app/client/packages/design-system/theming/src/utils/buildTokens.ts
new file mode 100644
index 000000000000..c5d935e85bc7
--- /dev/null
+++ b/app/client/packages/design-system/theming/src/utils/buildTokens.ts
@@ -0,0 +1,7 @@
+import fs from "fs";
+import { TokensAccessor } from "../utils/TokensAccessor";
+
+fs.writeFileSync(
+ `${__dirname}/../tokens/themeTokens.json`,
+ `${JSON.stringify(new TokensAccessor().getAllTokens(), null, 2)}\r\n`,
+);
diff --git a/app/client/packages/wds/tsconfig.json b/app/client/packages/design-system/theming/tsconfig.json
similarity index 77%
rename from app/client/packages/wds/tsconfig.json
rename to app/client/packages/design-system/theming/tsconfig.json
index d31268cb1b28..cf2a4b077452 100644
--- a/app/client/packages/wds/tsconfig.json
+++ b/app/client/packages/design-system/theming/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../tsconfig.json",
+ "extends": "../../../tsconfig.json",
"include": ["./src/**/*"],
"ts-node": {
"compilerOptions": {
diff --git a/app/client/packages/design-system/widgets/.eslintrc.json b/app/client/packages/design-system/widgets/.eslintrc.json
new file mode 100644
index 000000000000..1a20e582bc30
--- /dev/null
+++ b/app/client/packages/design-system/widgets/.eslintrc.json
@@ -0,0 +1,11 @@
+{
+ "extends": ["../../../.eslintrc.json", "plugin:storybook/recommended"],
+ "overrides": [
+ {
+ "files": ["**/*.stories.*"],
+ "rules": {
+ "import/no-anonymous-default-export": "off"
+ }
+ }
+ ]
+}
diff --git a/app/client/packages/wds/package.json b/app/client/packages/design-system/widgets/package.json
similarity index 61%
rename from app/client/packages/wds/package.json
rename to app/client/packages/design-system/widgets/package.json
index 44246ba0567e..6fc64ba2123c 100644
--- a/app/client/packages/wds/package.json
+++ b/app/client/packages/design-system/widgets/package.json
@@ -1,26 +1,28 @@
{
- "name": "@design-system/wds",
+ "name": "@design-system/widgets",
"version": "1.0.0",
"main": "src/index.ts",
"author": "Valera Melnikov <[email protected]>, Pawan Kumar <[email protected]>",
"license": "MIT",
"scripts": {
- "build:tokens": "npx ts-node ./src/utils/buildTokens.ts",
"lint:ci": "eslint --cache .",
"prettier:ci": "prettier --check ."
},
- "devDependencies": {
- "@types/react": "^17.0.2",
- "@types/react-dom": "^17.0.2",
- "eslint": "*",
- "eslint-plugin-storybook": "^0.6.10",
- "prettier": "*"
- },
"dependencies": {
"@capsizecss/core": "^3.1.0",
"@capsizecss/metrics": "^1.0.1",
+ "@design-system/headless": "*",
+ "@design-system/theming": "*",
"colorjs.io": "^0.4.3",
- "react": "^17.0.2",
- "react-dom": "^17.0.2"
+ "eslint-plugin-storybook": "^0.6.10",
+ "react": "*",
+ "react-dom": "*"
+ },
+ "devDependencies": {
+ "@types/react": "*",
+ "@types/react-dom": "*"
+ },
+ "peerDependencies": {
+ "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
}
}
diff --git a/app/client/packages/design-system/widgets/src/components/Button/Button.stories.mdx b/app/client/packages/design-system/widgets/src/components/Button/Button.stories.mdx
new file mode 100644
index 000000000000..06f3d0cf3132
--- /dev/null
+++ b/app/client/packages/design-system/widgets/src/components/Button/Button.stories.mdx
@@ -0,0 +1,84 @@
+import { Canvas, Meta, Story, ArgsTable } from "@storybook/addon-docs";
+import { Button } from "./";
+
+<Meta
+ title="Design-system/widgets"
+ component={Button}
+ parameters={{
+ height: 32,
+ width: 180,
+ }}
+ args={{
+ children: "Button",
+ }}
+/>
+
+export const Template = (args, { globals: { fontFamily } }) => (
+ <Button isFitContainer {...args} fontFamily={fontFamily} />
+);
+
+# Button
+
+A button is a clickable element that is used to trigger an action.
+
+<Canvas>
+ <Story name="Button">{Template.bind({})}</Story>
+</Canvas>
+
+<ArgsTable story="Button" of={Button} />
+
+# Variants
+
+There are 3 variants of the button component.
+
+<Canvas>
+ <Story
+ name="Primary"
+ args={{
+ children: "Primary",
+ }}
+ >
+ {Template.bind({})}
+ </Story>
+ <Story
+ name="Secondary"
+ args={{
+ variant: "secondary",
+ children: "Secondary",
+ }}
+ >
+ {Template.bind({})}
+ </Story>
+ <Story
+ name="Tertiary"
+ args={{
+ variant: "tertiary",
+ children: "Tertiary",
+ }}
+ >
+ {Template.bind({})}
+ </Story>
+</Canvas>
+
+# States
+
+<Canvas>
+ <Story
+ name="Disabled State"
+ args={{
+ isDisabled: true,
+ children: "Disabled",
+ }}
+ >
+ {Template.bind({})}
+ </Story>
+ <Story
+ name="Loading State"
+ args={{
+ isLoading: true,
+ children: "Loading",
+ }}
+ >
+ {Template.bind({})}
+ </Story>
+</Canvas>
diff --git a/app/client/packages/design-system/widgets/src/components/Button/Button.tsx b/app/client/packages/design-system/widgets/src/components/Button/Button.tsx
new file mode 100644
index 000000000000..4181a9e0a68e
--- /dev/null
+++ b/app/client/packages/design-system/widgets/src/components/Button/Button.tsx
@@ -0,0 +1,74 @@
+import React, { forwardRef } from "react";
+import { Text } from "../Text";
+import { Spinner } from "../Spinner";
+import { StyledButton } from "./index.styled";
+import type { fontFamilyTypes } from "../../utils/typography";
+import type {
+ ButtonProps as HeadlessButtonProps,
+ ButtonRef as HeadlessButtonRef,
+} from "@design-system/headless";
+
+export type ButtonVariants = "primary" | "secondary" | "tertiary";
+
+export interface ButtonProps extends Omit<HeadlessButtonProps, "className"> {
+ /**
+ * @default primary
+ */
+ variant?: ButtonVariants;
+ children?: React.ReactNode;
+ isDisabled?: boolean;
+ isLoading?: boolean;
+ fontFamily?: fontFamilyTypes;
+ isFitContainer?: boolean;
+}
+
+export const Button = forwardRef(
+ (props: ButtonProps, ref: HeadlessButtonRef) => {
+ const {
+ children,
+ fontFamily,
+ isDisabled,
+ isFitContainer = false,
+ isLoading,
+ onBlur,
+ onFocus,
+ onFocusChange,
+ onKeyDown,
+ onKeyUp,
+ onPress,
+ onPressChange,
+ onPressEnd,
+ onPressStart,
+ onPressUp,
+ variant = "primary",
+ } = props;
+
+ return (
+ <StyledButton
+ data-fit-container={isFitContainer}
+ data-loading={isLoading}
+ data-variant={variant}
+ isDisabled={isDisabled}
+ onBlur={onBlur}
+ onFocus={onFocus}
+ onFocusChange={onFocusChange}
+ onKeyDown={onKeyDown}
+ onKeyUp={onKeyUp}
+ onPress={onPress}
+ onPressChange={onPressChange}
+ onPressEnd={onPressEnd}
+ onPressStart={onPressStart}
+ onPressUp={onPressUp}
+ ref={ref}
+ >
+ {isLoading && <Spinner />}
+
+ {!isLoading && (
+ <Text data-component="text" fontFamily={fontFamily}>
+ {children}
+ </Text>
+ )}
+ </StyledButton>
+ );
+ },
+);
diff --git a/app/client/packages/design-system/widgets/src/components/Button/index.styled.tsx b/app/client/packages/design-system/widgets/src/components/Button/index.styled.tsx
new file mode 100644
index 000000000000..b49b029bb100
--- /dev/null
+++ b/app/client/packages/design-system/widgets/src/components/Button/index.styled.tsx
@@ -0,0 +1,93 @@
+import styled from "styled-components";
+import { Button as HeadlessButton } from "@design-system/headless";
+import type { ButtonProps } from "./Button";
+
+export const StyledButton = styled(HeadlessButton)<ButtonProps>`
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ cursor: pointer;
+ outline: 0;
+ overflow: hidden;
+ white-space: nowrap;
+ gap: var(--spacing-4);
+ padding: var(--spacing-2) var(--spacing-4);
+ min-height: calc(var(--sizing-root-unit) * 8);
+ border-radius: var(--border-radius-1);
+ user-select: none;
+
+ // TODO: remove this when we use only flex layout
+ &[data-fit-container="true"] {
+ width: 100%;
+ height: 100%;
+ }
+
+ &[data-loading="true"] {
+ pointer-events: none;
+ }
+
+ & [data-component="text"] {
+ width: 100%;
+
+ span {
+ display: block;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
+ }
+ }
+
+ &[data-variant="primary"] {
+ background-color: var(--color-bg-accent);
+ color: var(--color-fg-on-accent);
+ border-color: transparent;
+
+ &.is-hovered {
+ background-color: var(--color-bg-accent-hover);
+ }
+
+ &.is-active {
+ background-color: var(--color-bg-accent-active);
+ }
+ }
+
+ &[data-variant="secondary"] {
+ background-color: transparent;
+ color: var(--color-fg-accent);
+ border-color: var(--color-bd-accent);
+ border-width: var(--border-width-1);
+
+ &.is-hovered {
+ background-color: var(--color-bg-accent-subtle-hover);
+ }
+
+ &.is-active {
+ background-color: var(--color-bg-accent-subtle-active);
+ }
+ }
+
+ &[data-variant="tertiary"] {
+ background: transparent;
+ color: var(--color-fg-accent);
+ border-color: transparent;
+ border-width: 0;
+
+ &.is-hovered {
+ background: var(--color-bg-accent-subtle-hover);
+ }
+
+ &.is-active {
+ background: var(--color-bg-accent-subtle-active);
+ }
+ }
+
+ // we don't use :focus-visible because not all browsers (safari) have it yet
+ &:not([data-loading]).focus-ring {
+ box-shadow: 0 0 0 2px white, 0 0 0 4px var(--color-bd-focus);
+ }
+
+ &.is-disabled {
+ pointer-events: none;
+ opacity: var(--opacity-disabled);
+ }
+`;
diff --git a/app/client/packages/design-system/widgets/src/components/Button/index.tsx b/app/client/packages/design-system/widgets/src/components/Button/index.tsx
new file mode 100644
index 000000000000..0064dee8faf8
--- /dev/null
+++ b/app/client/packages/design-system/widgets/src/components/Button/index.tsx
@@ -0,0 +1 @@
+export { Button } from "./Button";
diff --git a/app/client/packages/wds/src/components/ButtonGroup/ButtonGroup.tsx b/app/client/packages/design-system/widgets/src/components/ButtonGroup/ButtonGroup.tsx
similarity index 100%
rename from app/client/packages/wds/src/components/ButtonGroup/ButtonGroup.tsx
rename to app/client/packages/design-system/widgets/src/components/ButtonGroup/ButtonGroup.tsx
diff --git a/app/client/packages/wds/src/components/ButtonGroup/index.styled.tsx b/app/client/packages/design-system/widgets/src/components/ButtonGroup/index.styled.tsx
similarity index 100%
rename from app/client/packages/wds/src/components/ButtonGroup/index.styled.tsx
rename to app/client/packages/design-system/widgets/src/components/ButtonGroup/index.styled.tsx
diff --git a/app/client/packages/wds/src/components/ButtonGroup/index.tsx b/app/client/packages/design-system/widgets/src/components/ButtonGroup/index.tsx
similarity index 100%
rename from app/client/packages/wds/src/components/ButtonGroup/index.tsx
rename to app/client/packages/design-system/widgets/src/components/ButtonGroup/index.tsx
diff --git a/app/client/packages/wds/src/components/Spinner/index.styled.tsx b/app/client/packages/design-system/widgets/src/components/Spinner/index.styled.tsx
similarity index 100%
rename from app/client/packages/wds/src/components/Spinner/index.styled.tsx
rename to app/client/packages/design-system/widgets/src/components/Spinner/index.styled.tsx
diff --git a/app/client/packages/wds/src/components/Spinner/index.tsx b/app/client/packages/design-system/widgets/src/components/Spinner/index.tsx
similarity index 100%
rename from app/client/packages/wds/src/components/Spinner/index.tsx
rename to app/client/packages/design-system/widgets/src/components/Spinner/index.tsx
diff --git a/app/client/packages/wds/src/components/Text/Text.tsx b/app/client/packages/design-system/widgets/src/components/Text/Text.tsx
similarity index 100%
rename from app/client/packages/wds/src/components/Text/Text.tsx
rename to app/client/packages/design-system/widgets/src/components/Text/Text.tsx
diff --git a/app/client/packages/wds/src/components/Text/index.styled.tsx b/app/client/packages/design-system/widgets/src/components/Text/index.styled.tsx
similarity index 100%
rename from app/client/packages/wds/src/components/Text/index.styled.tsx
rename to app/client/packages/design-system/widgets/src/components/Text/index.styled.tsx
diff --git a/app/client/packages/wds/src/components/Text/index.tsx b/app/client/packages/design-system/widgets/src/components/Text/index.tsx
similarity index 100%
rename from app/client/packages/wds/src/components/Text/index.tsx
rename to app/client/packages/design-system/widgets/src/components/Text/index.tsx
diff --git a/app/client/packages/wds/src/index.ts b/app/client/packages/design-system/widgets/src/index.ts
similarity index 69%
rename from app/client/packages/wds/src/index.ts
rename to app/client/packages/design-system/widgets/src/index.ts
index 393ba1c7ddd0..53af9b3a9ffe 100644
--- a/app/client/packages/wds/src/index.ts
+++ b/app/client/packages/design-system/widgets/src/index.ts
@@ -1,3 +1,2 @@
export { Button } from "./components/Button";
-export { createCSSVars } from "./utils/createTokens";
export { fontMetricsMap, createGlobalFontStack } from "./utils/typography";
diff --git a/app/client/packages/wds/src/tokens.json b/app/client/packages/design-system/widgets/src/tokens.json
similarity index 99%
rename from app/client/packages/wds/src/tokens.json
rename to app/client/packages/design-system/widgets/src/tokens.json
index a2967bc183bb..90c1d66fb1de 100644
--- a/app/client/packages/wds/src/tokens.json
+++ b/app/client/packages/design-system/widgets/src/tokens.json
@@ -89,4 +89,4 @@
"type": "boxShadow"
}
}
-}
+}
diff --git a/app/client/packages/wds/src/utils/typography.ts b/app/client/packages/design-system/widgets/src/utils/typography.ts
similarity index 100%
rename from app/client/packages/wds/src/utils/typography.ts
rename to app/client/packages/design-system/widgets/src/utils/typography.ts
diff --git a/app/client/packages/design-system/widgets/tsconfig.json b/app/client/packages/design-system/widgets/tsconfig.json
new file mode 100644
index 000000000000..cf2a4b077452
--- /dev/null
+++ b/app/client/packages/design-system/widgets/tsconfig.json
@@ -0,0 +1,10 @@
+{
+ "extends": "../../../tsconfig.json",
+ "include": ["./src/**/*"],
+ "ts-node": {
+ "compilerOptions": {
+ "module": "commonjs",
+ "types": ["node"]
+ }
+ }
+}
diff --git a/app/client/packages/storybook/.storybook/addons/theming/register.js b/app/client/packages/storybook/.storybook/addons/theming/register.js
index 594a0e6140af..8945901f96cb 100644
--- a/app/client/packages/storybook/.storybook/addons/theming/register.js
+++ b/app/client/packages/storybook/.storybook/addons/theming/register.js
@@ -1,5 +1,5 @@
import styled from "styled-components";
-import React, { useEffect } from "react";
+import React, { useCallback } from "react";
import { addons, types } from "@storybook/addons";
import {
Icons,
@@ -9,9 +9,9 @@ import {
H6,
ColorControl,
} from "@storybook/components";
-
import { useGlobals } from "@storybook/api";
-import { fontMetricsMap } from "@design-system/wds";
+import { fontMetricsMap } from "@design-system/widgets";
+import debounce from "lodash/debounce";
const { Select } = Form;
@@ -61,6 +61,9 @@ addons.register("wds/theming", () => {
});
};
+ const colorChange = (value) => updateGlobal("accentColor", value);
+ const debouncedColorChange = useCallback(debounce(colorChange, 300), []);
+
return (
<WithTooltip
trigger="click"
@@ -92,7 +95,7 @@ addons.register("wds/theming", () => {
label="Accent Color"
defaultValue={globals.accentColor}
value={globals.accentColor}
- onChange={(value) => updateGlobal("accentColor", value)}
+ onChange={debouncedColorChange}
/>
</div>
diff --git a/app/client/packages/storybook/.storybook/decorators/theming.js b/app/client/packages/storybook/.storybook/decorators/theming.js
index 6c56286330fe..5e68960518d8 100644
--- a/app/client/packages/storybook/.storybook/decorators/theming.js
+++ b/app/client/packages/storybook/.storybook/decorators/theming.js
@@ -1,15 +1,14 @@
-import React, { useEffect } from "react";
+import React, { useEffect, useState } from "react";
import webfontloader from "webfontloader";
import styled, { createGlobalStyle } from "styled-components";
-
-import { createCSSVars, createGlobalFontStack } from "@design-system/wds";
+import { ThemeProvider, TokensAccessor } from "@design-system/theming";
+import { createGlobalFontStack } from "@design-system/widgets";
const StyledContainer = styled.div`
- ${createCSSVars}
-
display: flex;
width: 100%;
height: 100%;
+ padding: 8px;
align-items: center;
justify-content: center;
`;
@@ -19,7 +18,11 @@ const GlobalStyles = createGlobalStyle`
${fontFaces}
`;
+const tokensAccessor = new TokensAccessor();
+
export const theming = (Story, args) => {
+ const [theme, setTheme] = useState(tokensAccessor.getAllTokens());
+
// Load the font if it's not the default
useEffect(() => {
if (
@@ -34,13 +37,40 @@ export const theming = (Story, args) => {
}
}, [args.globals.fontFamily]);
+ useEffect(() => {
+ if (args.globals.accentColor) {
+ tokensAccessor.updateSeedColor(args.globals.accentColor);
+
+ setTheme((prevState) => {
+ return {
+ ...prevState,
+ ...tokensAccessor.getColors(),
+ };
+ });
+ }
+ }, [args.globals.accentColor]);
+
+ useEffect(() => {
+ if (args.globals.borderRadius) {
+ tokensAccessor.updateBorderRadius({
+ 1: args.globals.borderRadius,
+ });
+
+ setTheme((prevState) => {
+ return {
+ ...prevState,
+ ...tokensAccessor.getBorderRadius(),
+ };
+ });
+ }
+ }, [args.globals.borderRadius]);
+
return (
- <StyledContainer
- accentColor={args.globals.accentColor || "#553DE9"}
- borderRadius={args.globals.borderRadius}
- >
- <GlobalStyles />
- <Story fontFamily={args.globals.fontFamily} />
+ <StyledContainer>
+ <ThemeProvider theme={theme}>
+ <GlobalStyles />
+ <Story fontFamily={args.globals.fontFamily} />
+ </ThemeProvider>
</StyledContainer>
);
};
diff --git a/app/client/packages/storybook/.storybook/main.js b/app/client/packages/storybook/.storybook/main.js
index c7f255070eb1..d8b71a5e6883 100644
--- a/app/client/packages/storybook/.storybook/main.js
+++ b/app/client/packages/storybook/.storybook/main.js
@@ -22,8 +22,8 @@ async function webpackConfig(config) {
module.exports = {
stories: [
- "../../wds/src/**/*.stories.mdx",
- "../../wds/src/**/*.stories.@(js|jsx|ts|tsx)",
+ "../../design-system/widgets/src/**/*.stories.mdx",
+ "../../design-system/widgets/src/**/*.stories.@(js|jsx|ts|tsx)",
],
addons: [
"@storybook/addon-links",
@@ -38,4 +38,13 @@ module.exports = {
core: {
builder: "@storybook/builder-webpack5",
},
+ typescript: {
+ reactDocgen: "react-docgen-typescript",
+ reactDocgenTypescriptOptions: {
+ compilerOptions: {
+ allowSyntheticDefaultImports: false,
+ esModuleInterop: false,
+ },
+ },
+ },
};
diff --git a/app/client/packages/storybook/.storybook/styles.css b/app/client/packages/storybook/.storybook/styles.css
index a325f0fff334..76333549201a 100644
--- a/app/client/packages/storybook/.storybook/styles.css
+++ b/app/client/packages/storybook/.storybook/styles.css
@@ -1,6 +1,3 @@
-@import url("../../wds/src/styles/tokens/raw.css");
-@import url("../../wds/src/styles/tokens/semantic.css");
-
html,
body,
#root {
diff --git a/app/client/packages/storybook/package.json b/app/client/packages/storybook/package.json
index fb1a71508e8f..7cffc29e335e 100644
--- a/app/client/packages/storybook/package.json
+++ b/app/client/packages/storybook/package.json
@@ -13,7 +13,6 @@
"devDependencies": {
"@babel/core": "^7.20.12",
"@storybook/addon-actions": "^6.5.16",
- "@storybook/addon-docs": "^6.5.16",
"@storybook/addon-essentials": "^6.5.16",
"@storybook/addon-interactions": "^6.5.16",
"@storybook/addon-links": "^6.5.16",
@@ -39,9 +38,9 @@
"dependencies": {
"@capsizecss/core": "^3.1.0",
"@capsizecss/metrics": "^1.0.1",
- "@design-system/wds": "*",
"colorjs.io": "^0.4.3",
"react": "^17.0.2",
+ "react-docgen-typescript": "^2.2.2",
"react-dom": "^17.0.2"
}
}
diff --git a/app/client/packages/wds/.prettierignore b/app/client/packages/wds/.prettierignore
deleted file mode 100644
index 6ba1458f00a9..000000000000
--- a/app/client/packages/wds/.prettierignore
+++ /dev/null
@@ -1 +0,0 @@
-src/tokens.json
diff --git a/app/client/packages/wds/src/components/Button/Button.stories.mdx b/app/client/packages/wds/src/components/Button/Button.stories.mdx
deleted file mode 100644
index 4258f4238498..000000000000
--- a/app/client/packages/wds/src/components/Button/Button.stories.mdx
+++ /dev/null
@@ -1,107 +0,0 @@
-<!-- Button.stories.mdx -->
-
-import { Canvas, Meta, Story } from "@storybook/addon-docs";
-
-import { Button } from "./";
-
-<Meta
- title="WDS/Button"
- component={Button}
- parameters={{
- height: 32,
- width: 180,
- }}
- argTypes={{
- children: {
- name: "children",
- description: "Text shown by button",
- defaultValue: "Button",
- control: {
- type: "text",
- },
- table: {
- type: {
- summary: "The label contents",
- detail: "Text displayed by the Badge",
- },
- },
- },
- }}
-/>
-
-export const Template = (args, { globals: { fontFamily } }) => (
- <Button {...args} fontFamily={fontFamily} />
-);
-
-# Button
-
-A button is a clickable element that is used to trigger an action.
-
-<Canvas>
- <Story name="Default">{Template.bind({})}</Story>
-</Canvas>
-
-# Variants
-
-There are 4 variants of the button component.
-
-<Canvas>
- <Story
- name="Filled Variant"
- args={{
- children: "Filled",
- }}
- >
- {Template.bind({})}
- </Story>
- <Story
- name="Outline Variant"
- args={{
- variant: "outline",
- children: "Outline",
- }}
- >
- {Template.bind({})}
- </Story>
- <Story
- name="Light Variant"
- args={{
- variant: "light",
- children: "Light",
- }}
- >
- {Template.bind({})}
- </Story>
- <Story
- name="Subtle Variant"
- args={{
- variant: "subtle",
- children: "Subtle",
- }}
- >
- {Template.bind({})}
- </Story>
-</Canvas>
-
-# States
-
-<Canvas>
- <Story
- name="Disabled State"
- args={{
- isDisabled: true,
- children: "Disabled",
- }}
- >
- {Template.bind({})}
- </Story>
- <Story
- name="Loading State"
- args={{
- isLoading: true,
- children: "Loading",
- }}
- >
- {Template.bind({})}
- </Story>
-</Canvas>
diff --git a/app/client/packages/wds/src/components/Button/Button.tsx b/app/client/packages/wds/src/components/Button/Button.tsx
deleted file mode 100644
index 7aea6d3f48ac..000000000000
--- a/app/client/packages/wds/src/components/Button/Button.tsx
+++ /dev/null
@@ -1,82 +0,0 @@
-import type { HTMLAttributes } from "react";
-import React, { useMemo, forwardRef } from "react";
-
-import { Text } from "../Text";
-import { Spinner } from "../Spinner";
-import { StyledButton } from "./index.styled";
-import type { fontFamilyTypes } from "../../utils/typography";
-
-// types
-export enum ButtonVariant {
- FILLED = "filled",
- OUTLINE = "outline",
- LIGHT = "light",
- SUBTLE = "subtle",
-}
-
-export type ButtonProps = {
- accentColor?: string;
- variant?: ButtonVariant;
- boxShadow?: string;
- borderRadius?: string;
- tooltip?: string;
- children?: React.ReactNode;
- isDisabled?: boolean;
- isLoading?: boolean;
- className?: string;
- leadingIcon?: React.ReactNode;
- trailingIcon?: React.ReactNode;
- as?: keyof JSX.IntrinsicElements;
- fontFamily?: fontFamilyTypes;
-} & HTMLAttributes<HTMLButtonElement>;
-
-// component
-const Button = forwardRef<HTMLButtonElement, ButtonProps>((props, ref) => {
- const {
- children,
- fontFamily,
- isDisabled,
- isLoading,
- leadingIcon,
- trailingIcon,
- variant = ButtonVariant.FILLED,
- ...rest
- } = props;
-
- const content = useMemo(() => {
- if (isLoading) return <Spinner />;
-
- return (
- <>
- {leadingIcon && <span data-component="leadingIcon">{leadingIcon}</span>}
- {children && (
- <Text data-component="text" fontFamily={fontFamily}>
- {children}
- </Text>
- )}
- {trailingIcon && (
- <span data-component="trailingIcon">{trailingIcon}</span>
- )}
- </>
- );
- }, [isLoading, children, trailingIcon, leadingIcon, fontFamily]);
-
- return (
- <StyledButton
- {...rest}
- data-button
- data-disabled={isDisabled || undefined}
- data-loading={isLoading || undefined}
- data-variant={variant}
- disabled={isDisabled || undefined}
- ref={ref}
- variant={variant}
- >
- {content}
- </StyledButton>
- );
-}) as typeof StyledButton;
-
-Button.displayName = "Button";
-
-export { Button };
diff --git a/app/client/packages/wds/src/components/Button/index.styled.tsx b/app/client/packages/wds/src/components/Button/index.styled.tsx
deleted file mode 100644
index c1dcf536afa9..000000000000
--- a/app/client/packages/wds/src/components/Button/index.styled.tsx
+++ /dev/null
@@ -1,195 +0,0 @@
-import styled, { css } from "styled-components";
-
-import {
- lightenColor,
- getComplementaryGrayscaleColor,
- calulateHoverColor,
- darkenColor,
- parseColor,
-} from "../../utils/colors";
-import type { ButtonProps } from "./Button";
-
-/**
- * creates locally scoped css variables to be used in variants styles
- *
- */
-export const variantTokens = css`
- ${({ accentColor: color }: Pick<ButtonProps, "accentColor" | "variant">) => {
- if (!color) return "";
-
- const accentColor = parseColor(color).toString({ format: "hex" });
- const accentHoverColor = calulateHoverColor(color);
- const lightAccentColor = lightenColor(color);
- const accentActiveColor = darkenColor(accentHoverColor);
- const lightAccentHoverColor = calulateHoverColor(lightAccentColor);
- const textColor = getComplementaryGrayscaleColor(accentColor);
- const onAccentBorderColor = darkenColor(color, 0.1);
- const onAccentLightBorderColor = lightenColor(color, 0.98);
- const lightAcctentActiveColor = darkenColor(lightAccentHoverColor, 0.03);
-
- return css`
- --wds-v2-color-bg-accent: ${accentColor};
- --wds-v2-color-bg-accent-hover: ${accentHoverColor};
- --wds-v2-color-bg-accent-light: ${lightAccentColor};
- --wds-v2-color-bg-accent-active: ${accentActiveColor};
- --wds-v2-color-bg-accent-light-active: ${lightAcctentActiveColor};
- --wds-v2-color-bg-accent-light-hover: ${lightAccentHoverColor};
-
- --wds-v2-color-text-accent: ${accentColor};
- --wds-v2-color-text-onaccent: ${textColor};
-
- --wds-v2-color-border-accent: ${accentColor};
- --wds-vs-color-border-onaccent: ${onAccentBorderColor};
- --wds-vs-color-border-onaccent-light: ${onAccentLightBorderColor};
- `;
- }}
-`;
-
-export const StyledButton = styled.button<ButtonProps>`
- display: flex;
- overflow: hidden;
- text-align: center;
- justify-content: center;
- align-items: center;
- width: 100%;
- height: 100%;
- outline: 0;
- cursor: pointer;
- white-space: nowrap;
- gap: var(--wds-v2-spacing-4);
- padding: var(--wds-v2-spacing-2) var(--wds-v2-spacing-4);
- min-height: 32px;
- border-radius: var(--wds-v2-radii);
- box-shadow: var(--wds-v2-shadow);
- border-width: 0;
-
- ${({ borderRadius }) => borderRadius && `--wds-v2-radii: ${borderRadius};`};
- ${({ boxShadow }) => boxShadow && `--wds-v2-shadow: ${boxShadow};`};
-
- &[data-loading] {
- pointer-events: none;
- }
-
- & [data-component="text"] {
- width: 100%;
-
- span {
- display: block;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- }
- }
-
- ${variantTokens}
-
- /**
- * ----------------------------------------------------------------------------
- * variants
- * ----------------------------------------------------------------------------
- */
- &[data-variant="filled"] {
- background-color: var(--wds-v2-color-bg-accent);
- color: var(--wds-v2-color-text-onaccent);
- border-color: transparent;
-
- &:hover {
- background-color: var(--wds-v2-color-bg-accent-hover);
- }
-
- &:active {
- background-color: var(--wds-v2-color-bg-accent-active);
- }
- }
-
- &[data-variant="outline"] {
- border-width: 1px;
- background-color: transparent;
- color: var(--wds-v2-color-text-accent);
- border-color: var(--wds-v2-color-border-accent);
-
- &:hover {
- background-color: var(--wds-v2-color-bg-accent-light-hover);
- }
-
- &:active {
- background-color: var(--wds-v2-color-bg-accent-light-active);
- }
-
- &:hover:disabled {
- background-color: transparent;
- }
- }
-
- &[data-variant="light"] {
- background: var(--wds-v2-color-bg-accent-light);
- border-color: transparent;
- color: var(--wds-v2-color-text-accent);
- border-width: 0;
-
- &:hover {
- background: var(--wds-v2-color-bg-accent-light-hover);
- }
-
- &:active {
- background: var(--wds-v2-color-bg-accent-light-active);
- }
- }
-
- &[data-variant="subtle"] {
- border-color: transparent;
- color: var(--wds-v2-color-text-accent);
- border-width: 0;
- background: transparent;
-
- &:hover {
- background: var(--wds-v2-color-bg-accent-light-hover);
- }
-
- &:active {
- background: var(--wds-v2-color-bg-accent-light-active);
- }
- }
-
- &[data-variant="input"] {
- text-align: left;
- background: var(--wds-v2-color-bg-select);
- box-shadow: rgb(27 31 36 / 4%) 0px 1px 0px,
- rgb(255 255 255 / 25%) 0px 1px 0px inset;
- border-width: 1px;
- border-color: var(--wds-v2-color-border);
- padding: var(--wds-v2-spacing-2) var(--wds-v2-spacing-2);
-
- &:hover {
- background-color: var(--wds-v2-color-bg-select-hover);
- }
- }
-
- /**
- * ----------------------------------------------------------------------------
- * psudo states
- * ----------------------------------------------------------------------------
- */
- /* // we don't use :focus-visible because not all browsers (safari) have it yet */
- &:focus {
- outline: none;
- box-shadow: 0 0 0 2px white, 0 0 0 4px var(--wds-v2-color-border-focus);
- }
-
- &:focus:not(:focus-visible) {
- outline: none;
- box-shadow: none;
- }
-
- &:hover {
- text-decoration: none;
- }
-
- &:is([data-disabled]),
- &:is(:disabled) {
- pointer-events: none;
- opacity: 0.5;
- box-shadow: none;
- background-image: none;
- }
-`;
diff --git a/app/client/packages/wds/src/components/Button/index.tsx b/app/client/packages/wds/src/components/Button/index.tsx
deleted file mode 100644
index e0ed11f67631..000000000000
--- a/app/client/packages/wds/src/components/Button/index.tsx
+++ /dev/null
@@ -1,2 +0,0 @@
-export { Button } from "./Button";
-export { transformV1ButtonProps } from "./utils";
diff --git a/app/client/packages/wds/src/components/Button/utils.ts b/app/client/packages/wds/src/components/Button/utils.ts
deleted file mode 100644
index 736a8a577acd..000000000000
--- a/app/client/packages/wds/src/components/Button/utils.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import { ButtonVariant } from "./Button";
-
-export const transformV1ButtonProps = (v1Props: any) => {
- const { buttonColor, buttonVariant, text } = v1Props;
-
- const transformedProps: any = {};
-
- switch (buttonVariant) {
- case "PRIMARY":
- transformedProps.variant = ButtonVariant.FILLED;
- break;
- case "SECONDARY":
- transformedProps.variant = ButtonVariant.OUTLINE;
- break;
- case "TERTIARY":
- transformedProps.variant = ButtonVariant.SUBTLE;
- break;
- }
-
- transformedProps.children = text;
- transformedProps.accentColor = buttonColor;
-
- return {
- ...v1Props,
- ...transformedProps,
- };
-};
diff --git a/app/client/packages/wds/src/components/ButtonGroup/ButtonGroup.stories.tsx b/app/client/packages/wds/src/components/ButtonGroup/ButtonGroup.stories.tsx
deleted file mode 100644
index 6a904dc23c1c..000000000000
--- a/app/client/packages/wds/src/components/ButtonGroup/ButtonGroup.stories.tsx
+++ /dev/null
@@ -1,40 +0,0 @@
-import React from "react";
-import type { ComponentMeta, ComponentStory } from "@storybook/react";
-
-import { ButtonGroup } from "./index";
-import { Button } from "../Button";
-
-export default {
- title: "WDS/Button Group",
- component: ButtonGroup,
- argTypes: {
- variant: {
- defaultValue: "filled",
- options: ["filled", "outline", "subtle", "light"],
- control: { type: "radio" },
- },
- },
-} as ComponentMeta<typeof Button>;
-
-// eslint-disable-next-line react/function-component-definition
-const Template: ComponentStory<typeof Button> = ({ orientation, ...args }) => {
- return (
- <ButtonGroup orientation={orientation}>
- <Button {...args}>Option 1</Button>
- <Button {...args}>Option 2</Button>
- <Button {...args}>Option 3</Button>
- </ButtonGroup>
- );
-};
-
-export const TextStory = Template.bind({});
-TextStory.storyName = "Button Group";
-TextStory.args = {
- isLoading: false,
- isDisabled: false,
-};
-
-TextStory.parameters = {
- height: "32px",
- width: "300px",
-};
diff --git a/app/client/packages/wds/src/constants/defaultTokens.json b/app/client/packages/wds/src/constants/defaultTokens.json
deleted file mode 100644
index a4d5aaab30e1..000000000000
--- a/app/client/packages/wds/src/constants/defaultTokens.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "seedColor": "#1a7f37",
- "rootUnit": 4,
- "isDarkMode": false,
- "borderRadius": 4,
- "boxShadow": {
- "x": 0,
- "y": 0,
- "blur": 0,
- "spread": 0,
- "color": "rgba(0, 0, 0, 0.2)"
- }
-}
diff --git a/app/client/packages/wds/src/styles/tokens/raw.css b/app/client/packages/wds/src/styles/tokens/raw.css
deleted file mode 100644
index 9cb466881645..000000000000
--- a/app/client/packages/wds/src/styles/tokens/raw.css
+++ /dev/null
@@ -1,8 +0,0 @@
-:root {
- --wds-v2-spacing-root: 4px;
-
- --wds-v2-spacing-0: 0px;
- --wds-v2-spacing-1: var(--wds-v2-spacing-root);
- --wds-v2-spacing-2: calc(var(--wds-v2-spacing-root) * 2);
- --wds-v2-spacing-4: calc(var(--wds-v2-spacing-root) * 4);
-}
diff --git a/app/client/packages/wds/src/styles/tokens/semantic.css b/app/client/packages/wds/src/styles/tokens/semantic.css
deleted file mode 100644
index 198dc27a5d60..000000000000
--- a/app/client/packages/wds/src/styles/tokens/semantic.css
+++ /dev/null
@@ -1,11 +0,0 @@
-:root {
- --wds-v2-color-bg-disabled: var(--wds-v2-color-gray-100);
- --wds-v2-color-text-disabled: var(--wds-v2-color-gray-400);
-
- --wds-v2-color-border: var(--wds-v2-color-gray-200);
- --wds-v2-color-border-disabled: var(--wds-v2-color-gray-200);
- --wds-v2-color-border-focus: var(--wds-v2-color-blue-300);
-
- --wds-v2-color-bg-select: var(--wds-v2-color-white);
- --wds-v2-color-bg-select-hover: var(--wds-v2-color-gray-100);
-}
diff --git a/app/client/packages/wds/src/utils/buildTokens.ts b/app/client/packages/wds/src/utils/buildTokens.ts
deleted file mode 100644
index 8d85694b8f02..000000000000
--- a/app/client/packages/wds/src/utils/buildTokens.ts
+++ /dev/null
@@ -1,58 +0,0 @@
-import * as fs from "fs";
-import { kebabCase, startCase, range } from "lodash";
-
-import defaults from "../constants/defaultTokens.json";
-import { createSemanticColorTokens } from "./createTokens";
-
-type Token = {
- value: string;
- type: "color" | "sizing" | "borderRadius" | "boxShadow" | "opacity";
-};
-
-// generating semantic tokens
-const semanticColors = createSemanticColorTokens(defaults.seedColor);
-
-const transformedSemanticTokens: Record<string, Token> = {};
-for (const [key, value] of Object.entries(semanticColors)) {
- transformedSemanticTokens[kebabCase(`color${startCase(key)}`)] = {
- value: value,
- type: "color",
- };
-}
-
-// generating spacing tokens
-const spacingTokens: Record<string, Token> = {};
-
-range(6).map((value, index) => {
- spacingTokens[`spacing-${index}`] = {
- value: `${defaults.rootUnit * value}px`,
- type: "sizing",
- };
-});
-
-const finalTokens = {
- semantic: {
- ...transformedSemanticTokens,
- "opacity-disabled": {
- value: 0.5,
- type: "opacity",
- },
- },
- raw: {
- ...spacingTokens,
- "border-radius": {
- value: `${defaults.borderRadius}px`,
- type: "borderRadius",
- },
- "box-shadow": {
- value: defaults.boxShadow,
- type: "boxShadow",
- },
- },
-};
-
-// write to file
-fs.writeFileSync(
- `${__dirname}/../tokens.json`,
- JSON.stringify(finalTokens, null, 2) + "\r\n",
-);
diff --git a/app/client/packages/wds/src/utils/colors.ts b/app/client/packages/wds/src/utils/colors.ts
deleted file mode 100644
index db0de362d851..000000000000
--- a/app/client/packages/wds/src/utils/colors.ts
+++ /dev/null
@@ -1,128 +0,0 @@
-import Color from "colorjs.io";
-
-/* Color Utility Functions. Lightness */
-
-export const isVeryDark = (hex = "#000") => {
- return parseColor(hex).oklch.l < 30;
-};
-
-export const isVeryLight = (hex = "#000") => {
- return parseColor(hex).oklch.l > 90;
-};
-
-/* Chroma */
-
-export const isAchromatic = (hex = "#000") => {
- return parseColor(hex).oklch.c < 5;
-};
-
-export const isColorful = (hex = "#000") => {
- return parseColor(hex).oklch.c > 17;
-};
-
-/* Hue */
-
-export const isCold = (hex = "#000") => {
- return parseColor(hex).oklch.h >= 120 && parseColor(hex).oklch.h <= 300;
-};
-
-export const isBlue = (hex = "#000") => {
- return parseColor(hex).oklch.h >= 230 && parseColor(hex).oklch.h <= 270;
-};
-
-export const isGreen = (hex = "#000") => {
- return parseColor(hex).oklch.h >= 105 && parseColor(hex).oklch.h <= 165;
-};
-
-export const isYellow = (hex = "#000") => {
- return parseColor(hex).oklch.h >= 60 && parseColor(hex).oklch.h <= 75;
-};
-
-export const isRed = (hex = "#000") => {
- return parseColor(hex).oklch.h >= 29 && parseColor(hex).oklch.h <= 50;
-};
-
-/**
- * returns black or white based on the constrast of the color compare to white
- * using APCA algorithm
- *
- * @param color
- * @returns
- */
-export const getComplementaryGrayscaleColor = (hex = "#000") => {
- const bg = parseColor(hex);
- const text = new Color("#fff");
-
- const contrast = bg.contrast(text, "APCA");
-
- // if contrast is less than -35 then the text color should be white
- if (contrast < -35) return "#fff";
-
- return "#000";
-};
-
-/**
- * lightens color
- *
- * @param color
- * @param amount
- * @returns
- */
-export const lightenColor = (hex = "#000", lightness = 0.9) => {
- const color = parseColor(hex);
-
- color.set("oklch.l", () => lightness);
-
- return color.toString({ format: "hex" });
-};
-
-/**
- * darkens color by a given amount
- *
- * @param hex
- * @param lightness
- * @returns
- */
-export const darkenColor = (hex = "#000", lightness = 0.03) => {
- const color = parseColor(hex);
-
- color.set("oklch.l", (l: any) => l - lightness);
-
- return color.toString({ format: "hex" });
-};
-
-/**
- * calculate the hover color
- *
- * @param hex
- * @returns
- */
-export const calulateHoverColor = (hex = "#000") => {
- const color = parseColor(hex);
-
- switch (true) {
- case color.get("oklch.l") > 0.35:
- color.set("oklch.l", (l: any) => l + 0.03);
- break;
- case color.get("oklch.l") < 0.35:
- color.set("oklch.l", (l: any) => l - 0.03);
- break;
- }
-
- return color.toString({ format: "hex" });
-};
-
-/**
- * Parses a color and returns a color object
- * if the color is invalid it returns black
- *
- * @param hex
- * @returns
- */
-export const parseColor = (hex = "#000") => {
- try {
- return new Color(hex);
- } catch (error) {
- return new Color("#000");
- }
-};
diff --git a/app/client/packages/wds/src/utils/createTokens.ts b/app/client/packages/wds/src/utils/createTokens.ts
deleted file mode 100644
index 82eca66db168..000000000000
--- a/app/client/packages/wds/src/utils/createTokens.ts
+++ /dev/null
@@ -1,112 +0,0 @@
-import kebabCase from "lodash/kebabCase";
-import type { CSSProperties } from "styled-components";
-import { css } from "styled-components";
-import {
- lightenColor,
- darkenColor,
- getComplementaryGrayscaleColor,
- parseColor,
- calulateHoverColor,
-} from "./colors";
-import defaultsTokens from "../constants/defaultTokens.json";
-
-/**
- * This function is used to create tokens for widgets
- */
-export const createCSSVars = css`
- ${({
- accentColor: color,
- borderRadius,
- boxShadow,
- }: {
- accentColor: CSSProperties["color"];
- borderRadius: CSSProperties["borderRadius"];
- boxShadow: CSSProperties["boxShadow"];
- }) => {
- const colorTokens: any = createSemanticColorTokens(color);
-
- return css`
- ${Object.keys(colorTokens).map(
- (key) => css`
- --wds-v2-color-${kebabCase(key)}: ${colorTokens[key]};`,
- )}
-
- --wds-v2-shadow: ${boxShadow};
- --wds-v2-radii: ${borderRadius};
- `;
- }}
-`;
-
-/** Semantic tokens utils */
-
-const getBgAccentColor = (color: CSSProperties["color"]) => {
- return parseColor(color).toString({ format: "hex" });
-};
-
-const getBgAccentHoverColor = (color: CSSProperties["color"]) => {
- return calulateHoverColor(color);
-};
-
-const getBgAccentSubtleColor = (color: CSSProperties["color"]) => {
- return lightenColor(color);
-};
-
-const getBgAccentSubtleHoverColor = (color: CSSProperties["color"]) => {
- return calulateHoverColor(color);
-};
-
-const getBgAccentActiveColor = (color: CSSProperties["color"]) => {
- return darkenColor(color);
-};
-
-const getFgOnAccentTextColor = (color: CSSProperties["color"]) => {
- return getComplementaryGrayscaleColor(color);
-};
-
-const getAccentSubtleActiveColor = (color: CSSProperties["color"]) => {
- return darkenColor(color, 0.03);
-};
-
-const getBdOnAccentColor = (color: CSSProperties["color"]) => {
- return darkenColor(color, 0.1);
-};
-
-const getBdOnAccentSubtleColor = (color: CSSProperties["color"]) => {
- return lightenColor(color, 0.98);
-};
-
-/**
- * create semantic color tokens
- *
- * @param color
- * @returns
- */
-export const createSemanticColorTokens = (
- color: CSSProperties["color"] = defaultsTokens.seedColor,
-) => {
- const bgAccent = getBgAccentColor(color);
- const bgAccentHover = getBgAccentHoverColor(color);
- const bgAccentSubtle = getBgAccentSubtleColor(color);
- const bgAccentActive = getBgAccentActiveColor(bgAccentHover);
- const bgAccentSubtleHover = getBgAccentSubtleHoverColor(bgAccentSubtle);
- const fgOnaccent = getFgOnAccentTextColor(bgAccent);
- const bgAccentSubtleActive = getAccentSubtleActiveColor(bgAccentSubtleHover);
- const bgOnAccent = getBdOnAccentColor(color);
- const bdOnAccentSubtle = getBdOnAccentSubtleColor(color);
-
- return {
- bgAccent,
- bgAccentHover,
- bgAccentSubtle,
- bgAccentActive,
- bgAccentSubtleActive,
- bgAccentSubtleHover,
-
- fgAccent: color,
- fgOnaccent,
-
- bdAccent: color,
- bdOnaccent: bgOnAccent,
- bdOnaccentSubtle: bdOnAccentSubtle,
- };
-};
diff --git a/app/client/yarn.lock b/app/client/yarn.lock
index 44c1b70d50c2..e4c55d6bdc84 100644
--- a/app/client/yarn.lock
+++ b/app/client/yarn.lock
@@ -2896,17 +2896,12 @@
integrity sha512-AHPmaAx+RYfZz0eYu6Gviiagpmiyw98ySSlQvCUhVGDRtDFe4DBS0x1bSjdF3gqUDYOczB+yYvBTtEylYSdRhg==
"@eslint-community/eslint-utils@^4.2.0":
- version "4.3.0"
- resolved "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.3.0.tgz#a556790523a351b4e47e9d385f47265eaaf9780a"
- integrity sha512-v3oplH6FYCULtFuCeqyuTd9D2WKO937Dxdq+GmHOLL72TTRriLxz2VLlNfkZRsvj6PKnOPAtuT6dwrs/pA5DvA==
+ version "4.4.0"
+ resolved "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59"
+ integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==
dependencies:
eslint-visitor-keys "^3.3.0"
-"@eslint-community/regexpp@^4.4.0":
- version "4.4.0"
- resolved "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.4.0.tgz#3e61c564fcd6b921cb789838631c5ee44df09403"
- integrity sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ==
-
"@eslint/eslintrc@^1.2.3":
version "1.2.3"
resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.2.3.tgz"
@@ -2937,31 +2932,11 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"
-"@eslint/eslintrc@^2.0.1":
- version "2.0.1"
- resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.0.1.tgz#7888fe7ec8f21bc26d646dbd2c11cd776e21192d"
- integrity sha512-eFRmABvW2E5Ho6f5fHLqgena46rOj7r7OKHYfLElqcBfGFHHpjBhivyi5+jOEQuSpdc/1phIZJlbC2te+tZNIw==
- dependencies:
- ajv "^6.12.4"
- debug "^4.3.2"
- espree "^9.5.0"
- globals "^13.19.0"
- ignore "^5.2.0"
- import-fresh "^3.2.1"
- js-yaml "^4.1.0"
- minimatch "^3.1.2"
- strip-json-comments "^3.1.1"
-
"@eslint/[email protected]":
version "8.35.0"
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.35.0.tgz#b7569632b0b788a0ca0e438235154e45d42813a7"
integrity sha512-JXdzbRiWclLVoD8sNUjR443VVlYqiYmDVT6rGUEIEHU5YJW0gaVZwV2xgM7D4arkvASqD0IlLUVjHiFuxaftRw==
-"@eslint/[email protected]":
- version "8.36.0"
- resolved "https://registry.npmjs.org/@eslint/js/-/js-8.36.0.tgz#9837f768c03a1e4a30bd304a64fb8844f0e72efe"
- integrity sha512-lxJ9R5ygVm8ZWgYdUweoq5ownDlJ4upvoWmO4eLxBYHdMo+vZ/Rx0EN6MbKWDJOSUGrqJy2Gt+Dyv/VKml0fjg==
-
"@faker-js/faker@^7.4.0":
version "7.4.0"
resolved "https://registry.yarnpkg.com/@faker-js/faker/-/faker-7.4.0.tgz#cac720d860a89d487b47e55e66a4fd114f1d3fe5"
@@ -2992,6 +2967,45 @@
lodash.isundefined "^3.0.1"
lodash.uniq "^4.5.0"
+"@formatjs/[email protected]":
+ version "1.14.3"
+ resolved "https://registry.npmjs.org/@formatjs/ecma402-abstract/-/ecma402-abstract-1.14.3.tgz#6428f243538a11126180d121ce8d4b2f17465738"
+ integrity sha512-SlsbRC/RX+/zg4AApWIFNDdkLtFbkq3LNoZWXZCE/nHVKqoIJyaoQyge/I0Y38vLxowUn9KTtXgusLD91+orbg==
+ dependencies:
+ "@formatjs/intl-localematcher" "0.2.32"
+ tslib "^2.4.0"
+
+"@formatjs/[email protected]":
+ version "2.0.0"
+ resolved "https://registry.npmjs.org/@formatjs/fast-memoize/-/fast-memoize-2.0.0.tgz#e9655d2d2bba87c14b277f5bfc8caf4ba8114223"
+ integrity sha512-U88W/qhEs5ZuX+Inw/DZHjA6w2YCTWTNzTkprzNznyWoGl8h+XtlOCW3nM78+VX7lSbvpMdnaHmWLnDnjJjuwg==
+ dependencies:
+ tslib "^2.4.0"
+
+"@formatjs/[email protected]":
+ version "2.3.0"
+ resolved "https://registry.npmjs.org/@formatjs/icu-messageformat-parser/-/icu-messageformat-parser-2.3.0.tgz#8e8fd577c3e39454ef14bba4963f2e1d5f2cc46c"
+ integrity sha512-xqtlqYAbfJDF4b6e4O828LBNOWXrFcuYadqAbYORlDRwhyJ2bH+xpUBPldZbzRGUN2mxlZ4Ykhm7jvERtmI8NQ==
+ dependencies:
+ "@formatjs/ecma402-abstract" "1.14.3"
+ "@formatjs/icu-skeleton-parser" "1.3.18"
+ tslib "^2.4.0"
+
+"@formatjs/[email protected]":
+ version "1.3.18"
+ resolved "https://registry.npmjs.org/@formatjs/icu-skeleton-parser/-/icu-skeleton-parser-1.3.18.tgz#7aed3d60e718c8ad6b0e64820be44daa1e29eeeb"
+ integrity sha512-ND1ZkZfmLPcHjAH1sVpkpQxA+QYfOX3py3SjKWMUVGDow18gZ0WPqz3F+pJLYQMpS2LnnQ5zYR2jPVYTbRwMpg==
+ dependencies:
+ "@formatjs/ecma402-abstract" "1.14.3"
+ tslib "^2.4.0"
+
+"@formatjs/[email protected]":
+ version "0.2.32"
+ resolved "https://registry.npmjs.org/@formatjs/intl-localematcher/-/intl-localematcher-0.2.32.tgz#00d4d307cd7d514b298e15a11a369b86c8933ec1"
+ integrity sha512-k/MEBstff4sttohyEpXxCmC3MqbUn9VvHGlZ8fauLzkbwXmVrEeyzS+4uhrvAk9DWU9/7otYWxyDox4nT/KVLQ==
+ dependencies:
+ tslib "^2.4.0"
+
"@fortawesome/[email protected]":
version "6.3.0"
resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-common-types/-/fontawesome-common-types-6.3.0.tgz#51f734e64511dbc3674cd347044d02f4dd26e86b"
@@ -3222,6 +3236,35 @@
resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz"
integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==
+"@internationalized/date@^3.1.0":
+ version "3.1.0"
+ resolved "https://registry.npmjs.org/@internationalized/date/-/date-3.1.0.tgz#da48aeaa971df6ad410cd32597c174d6cab9a3b4"
+ integrity sha512-wjeur7K4AecT+YwoBmBXQ/+n5lP69tuZc34hw09s44EozZK7FZHSyfPvRp5/xEb2D6abLboskDY4jG+Nt0TNUQ==
+ dependencies:
+ "@swc/helpers" "^0.4.14"
+
+"@internationalized/message@^3.1.0":
+ version "3.1.0"
+ resolved "https://registry.npmjs.org/@internationalized/message/-/message-3.1.0.tgz#b284014cd8bbb430a648b76c87c62bdca968b04c"
+ integrity sha512-Oo5m70FcBdADf7G8NkUffVSfuCdeAYVfsvNjZDi9ELpjvkc4YNJVTHt/NyTI9K7FgAVoELxiP9YmN0sJ+HNHYQ==
+ dependencies:
+ "@swc/helpers" "^0.4.14"
+ intl-messageformat "^10.1.0"
+
+"@internationalized/number@^3.2.0":
+ version "3.2.0"
+ resolved "https://registry.npmjs.org/@internationalized/number/-/number-3.2.0.tgz#dffb661cacd61a87b814c47b7d5240a286249066"
+ integrity sha512-GUXkhXSX1Ee2RURnzl+47uvbOxnlMnvP9Er+QePTjDjOPWuunmLKlEkYkEcLiiJp7y4l9QxGDLOlVr8m69LS5w==
+ dependencies:
+ "@swc/helpers" "^0.4.14"
+
+"@internationalized/string@^3.1.0":
+ version "3.1.0"
+ resolved "https://registry.npmjs.org/@internationalized/string/-/string-3.1.0.tgz#0b365906a8c3f44800b0db52c2e990cff345abce"
+ integrity sha512-TJQKiyUb+wyAfKF59UNeZ/kELMnkxyecnyPCnBI1ma4NaXReJW+7Cc2mObXAqraIBJUVv7rgI46RLKrLgi35ng==
+ dependencies:
+ "@swc/helpers" "^0.4.14"
+
"@istanbuljs/load-nyc-config@^1.0.0":
version "1.1.0"
resolved "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz"
@@ -3579,6 +3622,7 @@
version "5.10.1"
resolved "https://registry.yarnpkg.com/@mantine/hooks/-/hooks-5.10.1.tgz#0227441a818144932dd6e8fd8f53eb7525dfe005"
integrity sha512-Fhl2f5z/F+NVzZgPUPP9tP4NUUMeTBpmlmlo3mPuQztw1kmXdxtBjD1MzRS7A84FuaJNo2wxLhQ+Gnjtf3hZ8A==
+
"@mdx-js/mdx@^1.6.22":
version "1.6.22"
resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.6.22.tgz#8a723157bf90e78f17dc0f27995398e6c731f1ba"
@@ -3728,6 +3772,83 @@
version "2.9.2"
resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.9.2.tgz"
+"@react-aria/button@^3.7.0":
+ version "3.7.0"
+ resolved "https://registry.npmjs.org/@react-aria/button/-/button-3.7.0.tgz#b00635c8be0e47e19733c96f3702b699f65242b7"
+ integrity sha512-4DSGXrAWflzT4cQe/x0KdrPzz7hv9vZgqYJuNXQkpmeIMs1EmUKuby2xC+W9GHuZ+8dMxjTWKy3XdwX2tCM42A==
+ dependencies:
+ "@react-aria/focus" "^3.11.0"
+ "@react-aria/interactions" "^3.14.0"
+ "@react-aria/utils" "^3.15.0"
+ "@react-stately/toggle" "^3.5.0"
+ "@react-types/button" "^3.7.1"
+ "@react-types/shared" "^3.17.0"
+ "@swc/helpers" "^0.4.14"
+
+"@react-aria/focus@^3.11.0":
+ version "3.11.0"
+ resolved "https://registry.npmjs.org/@react-aria/focus/-/focus-3.11.0.tgz#8124b2341e8d43af72f3da85b08567bda45421b7"
+ integrity sha512-yPuWs9bAR9CMfIwyOPm2oXLPF19gNkUqW+ozSPhWbLMTEa8Ma09eHW1br4xbN+4ONOm/dCJsIkxTNPUkiLdQoA==
+ dependencies:
+ "@react-aria/interactions" "^3.14.0"
+ "@react-aria/utils" "^3.15.0"
+ "@react-types/shared" "^3.17.0"
+ "@swc/helpers" "^0.4.14"
+ clsx "^1.1.1"
+
+"@react-aria/i18n@^3.7.0":
+ version "3.7.0"
+ resolved "https://registry.npmjs.org/@react-aria/i18n/-/i18n-3.7.0.tgz#c1dfcd7a76a5161cbccbd6980ecf201c9b4d1826"
+ integrity sha512-PZCWmhO9mJvelwiYlsXLY6W4L2o+oza3xnDx0cZDVqp/Hf+OwMAPHWtZsFRTKdjk4TaOPB/ISc9HknWn6UpY4w==
+ dependencies:
+ "@internationalized/date" "^3.1.0"
+ "@internationalized/message" "^3.1.0"
+ "@internationalized/number" "^3.2.0"
+ "@internationalized/string" "^3.1.0"
+ "@react-aria/ssr" "^3.5.0"
+ "@react-aria/utils" "^3.15.0"
+ "@react-types/shared" "^3.17.0"
+ "@swc/helpers" "^0.4.14"
+
+"@react-aria/interactions@^3.14.0":
+ version "3.14.0"
+ resolved "https://registry.npmjs.org/@react-aria/interactions/-/interactions-3.14.0.tgz#d6480985048c009d58b8572428010dc61093cfcc"
+ integrity sha512-e1Tkr0UTuYFpV21PJrXy7jEY542Vl+C2Fo70oukZ1fN+wtfQkzodsTIzyepXb7kVMGmC34wDisMJUrksVkfY2w==
+ dependencies:
+ "@react-aria/utils" "^3.15.0"
+ "@react-types/shared" "^3.17.0"
+ "@swc/helpers" "^0.4.14"
+
+"@react-aria/ssr@^3.5.0":
+ version "3.5.0"
+ resolved "https://registry.npmjs.org/@react-aria/ssr/-/ssr-3.5.0.tgz#40c1270a75868185f72a88cafe37bd1392f690cb"
+ integrity sha512-h0MJdSWOd1qObLnJ8mprU31wI8tmKFJMuwT22MpWq6psisOOZaga6Ml4u6Ee6M6duWWISjXvqO4Sb/J0PBA+nQ==
+ dependencies:
+ "@swc/helpers" "^0.4.14"
+
+"@react-aria/utils@^3.15.0":
+ version "3.15.0"
+ resolved "https://registry.npmjs.org/@react-aria/utils/-/utils-3.15.0.tgz#a836674dd40ec7f15e9f7a69b1a14f19b1ee42e6"
+ integrity sha512-aJZBG++iz1UwTW5gXFaHicKju4p0MPhAyBTcf2awHYWeTUUslDjJcEnNg7kjBYZBOrOSlA2rAt7/7C5CCURQPg==
+ dependencies:
+ "@react-aria/ssr" "^3.5.0"
+ "@react-stately/utils" "^3.6.0"
+ "@react-types/shared" "^3.17.0"
+ "@swc/helpers" "^0.4.14"
+ clsx "^1.1.1"
+
+"@react-spectrum/utils@^3.9.0":
+ version "3.9.0"
+ resolved "https://registry.npmjs.org/@react-spectrum/utils/-/utils-3.9.0.tgz#60d782efce26c5ebed53a587177edbbf9e046c1e"
+ integrity sha512-I1JKwiyLE54mAT7Z2wadVKoai1Q60QFg4XNuYUwk8TwWAEz7DUUHucntHAND6dqFpVIMK1Rk9lcZBft43FF2BQ==
+ dependencies:
+ "@react-aria/i18n" "^3.7.0"
+ "@react-aria/ssr" "^3.5.0"
+ "@react-aria/utils" "^3.15.0"
+ "@react-types/shared" "^3.17.0"
+ "@swc/helpers" "^0.4.14"
+ clsx "^1.1.1"
+
"@react-spring/animated@~9.4.0":
version "9.4.1"
resolved "https://registry.npmjs.org/@react-spring/animated/-/animated-9.4.1.tgz"
@@ -3814,6 +3935,42 @@
"@react-spring/shared" "~9.4.0"
"@react-spring/types" "~9.4.0"
+"@react-stately/toggle@^3.5.0":
+ version "3.5.0"
+ resolved "https://registry.npmjs.org/@react-stately/toggle/-/toggle-3.5.0.tgz#fee5a29d7699e43867c52981834af5393f47c1c4"
+ integrity sha512-vKwLLkFsiIve4pXIQC/dqLAz7Z+qtzJ8+D00EXXO1Nf8YHcyIMDkTmi3NTM8Qtvmt4xX2hbJFiPDF6WvF6mBIg==
+ dependencies:
+ "@react-stately/utils" "^3.6.0"
+ "@react-types/checkbox" "^3.4.2"
+ "@react-types/shared" "^3.17.0"
+ "@swc/helpers" "^0.4.14"
+
+"@react-stately/utils@^3.6.0":
+ version "3.6.0"
+ resolved "https://registry.npmjs.org/@react-stately/utils/-/utils-3.6.0.tgz#f273e7fcb348254347d2e88c8f0c45571060c207"
+ integrity sha512-rptF7iUWDrquaYvBAS4QQhOBQyLBncDeHF03WnHXAxnuPJXNcr9cXJtjJPGCs036ZB8Q2hc9BGG5wNyMkF5v+Q==
+ dependencies:
+ "@swc/helpers" "^0.4.14"
+
+"@react-types/button@^3.7.1":
+ version "3.7.1"
+ resolved "https://registry.npmjs.org/@react-types/button/-/button-3.7.1.tgz#a51d2617a593d9862c72306b3bf0c4b5bff4793d"
+ integrity sha512-c+8xjmqWSjI5/mEHVLbVSp0eh/z2UU8Ga+wqjbEUZUjm8uopYj1PaCAwZ7YgcAebyQrL/21GyjK6tFHKzuUdJQ==
+ dependencies:
+ "@react-types/shared" "^3.17.0"
+
+"@react-types/checkbox@^3.4.2":
+ version "3.4.2"
+ resolved "https://registry.npmjs.org/@react-types/checkbox/-/checkbox-3.4.2.tgz#6089e9ef2d023415a5f871e312f30bae54143ba5"
+ integrity sha512-/NWFCEQLvVgo25afPt2jv4syxYvZeY/D/n2Y92IGtoNV4akdz4AuQ65+1X+JOhQc/ZbAblWw5fFWUZoQs3CLZg==
+ dependencies:
+ "@react-types/shared" "^3.17.0"
+
+"@react-types/shared@^3.17.0":
+ version "3.17.0"
+ resolved "https://registry.npmjs.org/@react-types/shared/-/shared-3.17.0.tgz#b7c5e318664aadb315d305a27dd2a209d1837d95"
+ integrity sha512-1SNZ/RhVrrQ1e6yE0bPV7d5Sfp+Uv0dfUEhwF9MAu2v5msu7AMewnsiojKNA0QA6Ing1gpDLjHCxtayQfuxqcg==
+
"@redux-saga/core@^1.1.3":
version "1.1.3"
resolved "https://registry.npmjs.org/@redux-saga/core/-/core-1.1.3.tgz"
@@ -4092,7 +4249,7 @@
lodash "^4.17.21"
ts-dedent "^2.0.0"
-"@storybook/[email protected]", "@storybook/addon-docs@^6.5.16":
+"@storybook/[email protected]":
version "6.5.16"
resolved "https://registry.yarnpkg.com/@storybook/addon-docs/-/addon-docs-6.5.16.tgz#3de912f51fb8e48b9a53b11a5b1cede067acbe70"
integrity sha512-QM9WDZG9P02UvbzLu947a8ZngOrQeAKAT8jCibQFM/+RJ39xBlfm8rm+cQy3dm94wgtjmVkA3mKGOV/yrrsddg==
@@ -4652,7 +4809,7 @@
"@storybook/csf@^0.0.1":
version "0.0.1"
- resolved "https://registry.yarnpkg.com/@storybook/csf/-/csf-0.0.1.tgz#95901507dc02f0bc6f9ac8ee1983e2fc5bb98ce6"
+ resolved "https://registry.npmjs.org/@storybook/csf/-/csf-0.0.1.tgz#95901507dc02f0bc6f9ac8ee1983e2fc5bb98ce6"
integrity sha512-USTLkZze5gkel8MYCujSRBVIrUQ3YPBrLOx7GNk/0wttvVtlzWXAq9eLbQ4p/NicGxP+3T7KPEMVV//g+yubpw==
dependencies:
lodash "^4.17.15"
@@ -5200,6 +5357,13 @@
"@svgr/plugin-svgo" "^5.5.0"
loader-utils "^2.0.0"
+"@swc/helpers@^0.4.14":
+ version "0.4.14"
+ resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.4.14.tgz#1352ac6d95e3617ccb7c1498ff019654f1e12a74"
+ integrity sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==
+ dependencies:
+ tslib "^2.4.0"
+
"@szmarczak/http-timer@^4.0.5":
version "4.0.6"
resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807"
@@ -6092,7 +6256,7 @@
"@types/semver@^7.3.12":
version "7.3.13"
- resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91"
+ resolved "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91"
integrity sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==
"@types/serve-index@^1.9.1":
@@ -6333,13 +6497,13 @@
"@typescript-eslint/types" "5.25.0"
"@typescript-eslint/visitor-keys" "5.25.0"
-"@typescript-eslint/[email protected]":
- version "5.54.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.54.0.tgz#74b28ac9a3fc8166f04e806c957adb8c1fd00536"
- integrity sha512-VTPYNZ7vaWtYna9M4oD42zENOBrb+ZYyCNdFs949GcN8Miwn37b8b7eMj+EZaq7VK9fx0Jd+JhmkhjFhvnovhg==
+"@typescript-eslint/[email protected]":
+ version "5.57.0"
+ resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.57.0.tgz#79ccd3fa7bde0758059172d44239e871e087ea36"
+ integrity sha512-NANBNOQvllPlizl9LatX8+MHi7bx7WGIWYjPHDmQe5Si/0YEYfxSljJpoTyTWFTgRy3X8gLYSE4xQ2U+aCozSw==
dependencies:
- "@typescript-eslint/types" "5.54.0"
- "@typescript-eslint/visitor-keys" "5.54.0"
+ "@typescript-eslint/types" "5.57.0"
+ "@typescript-eslint/visitor-keys" "5.57.0"
"@typescript-eslint/[email protected]":
version "5.25.0"
@@ -6355,10 +6519,10 @@
resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.25.0.tgz"
integrity sha512-7fWqfxr0KNHj75PFqlGX24gWjdV/FDBABXL5dyvBOWHpACGyveok8Uj4ipPX/1fGU63fBkzSIycEje4XsOxUFA==
-"@typescript-eslint/[email protected]":
- version "5.54.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.54.0.tgz#7d519df01f50739254d89378e0dcac504cab2740"
- integrity sha512-nExy+fDCBEgqblasfeE3aQ3NuafBUxZxgxXcYfzYRZFHdVvk5q60KhCSkG0noHgHRo/xQ/BOzURLZAafFpTkmQ==
+"@typescript-eslint/[email protected]":
+ version "5.57.0"
+ resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.57.0.tgz#727bfa2b64c73a4376264379cf1f447998eaa132"
+ integrity sha512-mxsod+aZRSyLT+jiqHw1KK6xrANm19/+VFALVFP5qa/aiJnlP38qpyaTd0fEKhWvQk6YeNZ5LGwI1pDpBRBhtQ==
"@typescript-eslint/[email protected]":
version "5.25.0"
@@ -6373,13 +6537,13 @@
semver "^7.3.7"
tsutils "^3.21.0"
-"@typescript-eslint/[email protected]":
- version "5.54.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.54.0.tgz#f6f3440cabee8a43a0b25fa498213ebb61fdfe99"
- integrity sha512-X2rJG97Wj/VRo5YxJ8Qx26Zqf0RRKsVHd4sav8NElhbZzhpBI8jU54i6hfo9eheumj4oO4dcRN1B/zIVEqR/MQ==
+"@typescript-eslint/[email protected]":
+ version "5.57.0"
+ resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.57.0.tgz#ebcd0ee3e1d6230e888d88cddf654252d41e2e40"
+ integrity sha512-LTzQ23TV82KpO8HPnWuxM2V7ieXW8O142I7hQTxWIHDcCEIjtkat6H96PFkYBQqGFLW/G/eVVOB9Z8rcvdY/Vw==
dependencies:
- "@typescript-eslint/types" "5.54.0"
- "@typescript-eslint/visitor-keys" "5.54.0"
+ "@typescript-eslint/types" "5.57.0"
+ "@typescript-eslint/visitor-keys" "5.57.0"
debug "^4.3.4"
globby "^11.1.0"
is-glob "^4.0.3"
@@ -6399,17 +6563,17 @@
eslint-utils "^3.0.0"
"@typescript-eslint/utils@^5.45.0":
- version "5.54.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.54.0.tgz#3db758aae078be7b54b8ea8ea4537ff6cd3fbc21"
- integrity sha512-cuwm8D/Z/7AuyAeJ+T0r4WZmlnlxQ8wt7C7fLpFlKMR+dY6QO79Cq1WpJhvZbMA4ZeZGHiRWnht7ZJ8qkdAunw==
+ version "5.57.0"
+ resolved "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.57.0.tgz#eab8f6563a2ac31f60f3e7024b91bf75f43ecef6"
+ integrity sha512-ps/4WohXV7C+LTSgAL5CApxvxbMkl9B9AUZRtnEFonpIxZDIT7wC1xfvuJONMidrkB9scs4zhtRyIwHh4+18kw==
dependencies:
+ "@eslint-community/eslint-utils" "^4.2.0"
"@types/json-schema" "^7.0.9"
"@types/semver" "^7.3.12"
- "@typescript-eslint/scope-manager" "5.54.0"
- "@typescript-eslint/types" "5.54.0"
- "@typescript-eslint/typescript-estree" "5.54.0"
+ "@typescript-eslint/scope-manager" "5.57.0"
+ "@typescript-eslint/types" "5.57.0"
+ "@typescript-eslint/typescript-estree" "5.57.0"
eslint-scope "^5.1.1"
- eslint-utils "^3.0.0"
semver "^7.3.7"
"@typescript-eslint/[email protected]":
@@ -6420,12 +6584,12 @@
"@typescript-eslint/types" "5.25.0"
eslint-visitor-keys "^3.3.0"
-"@typescript-eslint/[email protected]":
- version "5.54.0"
- resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.54.0.tgz#846878afbf0cd67c19cfa8d75947383d4490db8f"
- integrity sha512-xu4wT7aRCakGINTLGeyGqDn+78BwFlggwBjnHa1ar/KaGagnmwLYmlrXIrgAaQ3AE1Vd6nLfKASm7LrFHNbKGA==
+"@typescript-eslint/[email protected]":
+ version "5.57.0"
+ resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.57.0.tgz#e2b2f4174aff1d15eef887ce3d019ecc2d7a8ac1"
+ integrity sha512-ery2g3k0hv5BLiKpPuwYt9KBkAp2ugT6VvyShXdLOkax895EC55sP0Tx5L0fZaQueiK3fBLvHVvEl3jFS5ia+g==
dependencies:
- "@typescript-eslint/types" "5.54.0"
+ "@typescript-eslint/types" "5.57.0"
eslint-visitor-keys "^3.3.0"
"@ungap/[email protected]":
@@ -8377,6 +8541,11 @@ class-utils@^0.3.5:
isobject "^3.0.0"
static-extend "^0.1.1"
+classnames@*:
+ version "2.3.2"
+ resolved "https://registry.npmjs.org/classnames/-/classnames-2.3.2.tgz#351d813bf0137fcc6a76a16b88208d2560a0d924"
+ integrity sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==
+
[email protected], classnames@^2.3.1:
version "2.3.1"
resolved "https://registry.npmjs.org/classnames/-/classnames-2.3.1.tgz"
@@ -8514,6 +8683,11 @@ clsx@^1.0.4, clsx@^1.1.0:
version "1.1.1"
resolved "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz"
+clsx@^1.1.1:
+ version "1.2.1"
+ resolved "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12"
+ integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==
+
co@^4.6.0:
version "4.6.0"
resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz"
@@ -10500,7 +10674,7 @@ eslint-plugin-sort-destructure-keys@^1.3.5:
eslint-plugin-storybook@^0.6.10:
version "0.6.11"
- resolved "https://registry.yarnpkg.com/eslint-plugin-storybook/-/eslint-plugin-storybook-0.6.11.tgz#3c52fc3e994d1539d8a69c4028999402601eaacb"
+ resolved "https://registry.npmjs.org/eslint-plugin-storybook/-/eslint-plugin-storybook-0.6.11.tgz#3c52fc3e994d1539d8a69c4028999402601eaacb"
integrity sha512-lIVmCqQgA0bhcuS1yWYBFrnPHBKPEQI+LHPDtlN81UE1/17onCqgwUW7Nyt7gS2OHjCAiOR4npjTGEoe0hssKw==
dependencies:
"@storybook/csf" "^0.0.1"
@@ -10562,52 +10736,6 @@ eslint-webpack-plugin@^3.1.1:
normalize-path "^3.0.0"
schema-utils "^3.1.1"
-eslint@*:
- version "8.36.0"
- resolved "https://registry.npmjs.org/eslint/-/eslint-8.36.0.tgz#1bd72202200a5492f91803b113fb8a83b11285cf"
- integrity sha512-Y956lmS7vDqomxlaaQAHVmeb4tNMp2FWIvU/RnU5BD3IKMD/MJPr76xdyr68P8tV1iNMvN2mRK0yy3c+UjL+bw==
- dependencies:
- "@eslint-community/eslint-utils" "^4.2.0"
- "@eslint-community/regexpp" "^4.4.0"
- "@eslint/eslintrc" "^2.0.1"
- "@eslint/js" "8.36.0"
- "@humanwhocodes/config-array" "^0.11.8"
- "@humanwhocodes/module-importer" "^1.0.1"
- "@nodelib/fs.walk" "^1.2.8"
- ajv "^6.10.0"
- chalk "^4.0.0"
- cross-spawn "^7.0.2"
- debug "^4.3.2"
- doctrine "^3.0.0"
- escape-string-regexp "^4.0.0"
- eslint-scope "^7.1.1"
- eslint-visitor-keys "^3.3.0"
- espree "^9.5.0"
- esquery "^1.4.2"
- esutils "^2.0.2"
- fast-deep-equal "^3.1.3"
- file-entry-cache "^6.0.1"
- find-up "^5.0.0"
- glob-parent "^6.0.2"
- globals "^13.19.0"
- grapheme-splitter "^1.0.4"
- ignore "^5.2.0"
- import-fresh "^3.0.0"
- imurmurhash "^0.1.4"
- is-glob "^4.0.0"
- is-path-inside "^3.0.3"
- js-sdsl "^4.1.4"
- js-yaml "^4.1.0"
- json-stable-stringify-without-jsonify "^1.0.1"
- levn "^0.4.1"
- lodash.merge "^4.6.2"
- minimatch "^3.1.2"
- natural-compare "^1.4.0"
- optionator "^0.9.1"
- strip-ansi "^6.0.1"
- strip-json-comments "^3.1.0"
- text-table "^0.2.0"
-
eslint@^8.3.0:
version "8.15.0"
resolved "https://registry.npmjs.org/eslint/-/eslint-8.15.0.tgz"
@@ -10713,15 +10841,6 @@ espree@^9.4.0:
acorn-jsx "^5.3.2"
eslint-visitor-keys "^3.3.0"
-espree@^9.5.0:
- version "9.5.0"
- resolved "https://registry.npmjs.org/espree/-/espree-9.5.0.tgz#3646d4e3f58907464edba852fa047e6a27bdf113"
- integrity sha512-JPbJGhKc47++oo4JkEoTe2wjy4fmMwvFpgJT9cQzmfXKp22Dr6Hf1tdCteLz1h0P3t+mGvWZ+4Uankvh8+c6zw==
- dependencies:
- acorn "^8.8.0"
- acorn-jsx "^5.3.2"
- eslint-visitor-keys "^3.3.0"
-
esprima@^4.0.0, esprima@^4.0.1:
version "4.0.1"
resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz"
@@ -12748,6 +12867,16 @@ interweave@^12.7.2:
dependencies:
escape-html "^1.0.3"
+intl-messageformat@^10.1.0:
+ version "10.3.2"
+ resolved "https://registry.npmjs.org/intl-messageformat/-/intl-messageformat-10.3.2.tgz#39b6929bbb41e47b122b24a87dca95efe2cbf8c3"
+ integrity sha512-kGY1KrpxPGbWX/yz6rpWQahBh5bJC6pIbq/cTzVYlmAYjRVzP+l2MulagbZf/5mABbcLT/0RJbZC46Iw6Mhmtw==
+ dependencies:
+ "@formatjs/ecma402-abstract" "1.14.3"
+ "@formatjs/fast-memoize" "2.0.0"
+ "@formatjs/icu-messageformat-parser" "2.3.0"
+ tslib "^2.4.0"
+
invariant@^2.2.4:
version "2.2.4"
resolved "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz"
@@ -17115,11 +17244,6 @@ prettier-linter-helpers@^1.0.0:
dependencies:
fast-diff "^1.1.2"
-prettier@*, prettier@^2.8.6:
- version "2.8.6"
- resolved "https://registry.npmjs.org/prettier/-/prettier-2.8.6.tgz#5c174b29befd507f14b83e3c19f83fdc0e974b71"
- integrity sha512-mtuzdiBbHwPEgl7NxWlqOkithPyp4VN93V7VeHVWBF+ad3I5avc0RVDT4oImXQy9H/AqxA2NSQH8pSxHW6FYbQ==
-
"prettier@>=2.2.1 <=2.3.0":
version "2.3.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18"
@@ -17130,6 +17254,11 @@ prettier@^2.6.2:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64"
integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==
+prettier@^2.8.6:
+ version "2.8.6"
+ resolved "https://registry.npmjs.org/prettier/-/prettier-2.8.6.tgz#5c174b29befd507f14b83e3c19f83fdc0e974b71"
+ integrity sha512-mtuzdiBbHwPEgl7NxWlqOkithPyp4VN93V7VeHVWBF+ad3I5avc0RVDT4oImXQy9H/AqxA2NSQH8pSxHW6FYbQ==
+
pretty-bytes@^5.3.0:
version "5.4.1"
resolved "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.4.1.tgz"
@@ -17718,7 +17847,7 @@ react-dnd@^9.3.4:
hoist-non-react-statics "^3.3.0"
shallowequal "^1.1.0"
-react-docgen-typescript@^2.1.1:
+react-docgen-typescript@^2.1.1, react-docgen-typescript@^2.2.2:
version "2.2.2"
resolved "https://registry.yarnpkg.com/react-docgen-typescript/-/react-docgen-typescript-2.2.2.tgz#4611055e569edc071204aadb20e1c93e1ab1659c"
integrity sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==
@@ -17744,6 +17873,14 @@ react-documents@^1.0.4:
resolved "https://registry.npmjs.org/react-documents/-/react-documents-1.0.4.tgz"
integrity sha512-EpoY+MZEu3hPffIWA4FadUYu8daubNkr+LK2zuoPkCAVtyNY+z+/RuzzTriuhjcDydKXzgzp42kQTfAD2j3Mxw==
+react-dom@*:
+ version "18.2.0"
+ resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d"
+ integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==
+ dependencies:
+ loose-envify "^1.1.0"
+ scheduler "^0.23.0"
+
react-dom@^17.0.2:
version "17.0.2"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23"
@@ -18242,6 +18379,13 @@ react-zoom-pan-pinch@^1.6.1:
version "1.6.1"
resolved "https://registry.npmjs.org/react-zoom-pan-pinch/-/react-zoom-pan-pinch-1.6.1.tgz"
+react@*:
+ version "18.2.0"
+ resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5"
+ integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==
+ dependencies:
+ loose-envify "^1.1.0"
+
react@^17.0.2:
version "17.0.2"
resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"
@@ -18742,7 +18886,7 @@ require-main-filename@^2.0.0:
requireindex@^1.1.0:
version "1.2.0"
- resolved "https://registry.yarnpkg.com/requireindex/-/requireindex-1.2.0.tgz#3463cdb22ee151902635aa6c9535d4de9c2ef1ef"
+ resolved "https://registry.npmjs.org/requireindex/-/requireindex-1.2.0.tgz#3463cdb22ee151902635aa6c9535d4de9c2ef1ef"
integrity sha512-L9jEkOi3ASd9PYit2cwRfyppc9NoABujTP8/5gFcbERmo5jUoAKovIC3fsF17pkTnGsrByysqX+Kxd2OTNI1ww==
requires-port@^1.0.0:
@@ -19061,6 +19205,13 @@ scheduler@^0.20.2:
loose-envify "^1.1.0"
object-assign "^4.1.1"
+scheduler@^0.23.0:
+ version "0.23.0"
+ resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe"
+ integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw==
+ dependencies:
+ loose-envify "^1.1.0"
+
[email protected]:
version "2.7.0"
resolved "https://registry.npmjs.org/schema-utils/-/schema-utils-2.7.0.tgz"
@@ -20681,7 +20832,7 @@ tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3:
version "1.14.1"
resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz"
-tslib@^2.0.0, tslib@^2.0.1:
+tslib@^2.0.0, tslib@^2.0.1, tslib@^2.4.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf"
integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==
diff --git a/app/yarn.lock b/yarn.lock
similarity index 100%
rename from app/yarn.lock
rename to yarn.lock
|
6ba2f350bf1f01958b49debbfb3c9470eda87ae4
|
2024-03-07 05:49:42
|
Aman Agarwal
|
fix: added margin top to the onboarding flow if banner visible (#31497)
| false
|
added margin top to the onboarding flow if banner visible (#31497)
|
fix
|
diff --git a/app/client/src/ce/pages/Applications/CreateNewAppsOption.tsx b/app/client/src/ce/pages/Applications/CreateNewAppsOption.tsx
index 6c4f49ef499a..f0e99e5f25a4 100644
--- a/app/client/src/ce/pages/Applications/CreateNewAppsOption.tsx
+++ b/app/client/src/ce/pages/Applications/CreateNewAppsOption.tsx
@@ -59,13 +59,16 @@ import StartWithTemplatesWrapper from "./StartWithTemplatesWrapper";
import { useFeatureFlag } from "utils/hooks/useFeatureFlag";
import { FEATURE_FLAG } from "@appsmith/entities/FeatureFlag";
import type { Template } from "api/TemplatesApi";
+import { shouldShowLicenseBanner } from "@appsmith/selectors/tenantSelectors";
-const SectionWrapper = styled.div`
+const SectionWrapper = styled.div<{ isBannerVisible: boolean }>`
display: flex;
flex-direction: column;
padding: 0 var(--ads-v2-spaces-7) var(--ads-v2-spaces-7);
${(props) => `
- margin-top: ${props.theme.homePage.header}px;
+ margin-top: ${
+ props.theme.homePage.header + (props.isBannerVisible ? 40 : 0)
+ }px;
`}
background: var(--ads-v2-color-gray-50);
${(props) => `
@@ -73,12 +76,12 @@ const SectionWrapper = styled.div`
`}
`;
-const BackWrapper = styled.div<{ hidden?: boolean }>`
+const BackWrapper = styled.div<{ hidden?: boolean; isBannerVisible: boolean }>`
position: sticky;
display: flex;
justify-content: space-between;
${(props) => `
- top: ${props.theme.homePage.header}px;
+ top: ${props.theme.homePage.header + (props.isBannerVisible ? 40 : 0)}px;
`}
background: inherit;
padding: var(--ads-v2-spaces-3);
@@ -202,6 +205,8 @@ const CreateNewAppsOption = ({
FEATURE_FLAG.ab_start_with_data_default_enabled,
);
+ const isBannerVisible = useSelector(shouldShowLicenseBanner);
+
const dispatch = useDispatch();
const onClickStartFromTemplate = () => {
AnalyticsUtil.logEvent("CREATE_APP_FROM_TEMPLATE");
@@ -496,8 +501,8 @@ const CreateNewAppsOption = ({
};
return (
- <SectionWrapper>
- <BackWrapper hidden={!useType}>
+ <SectionWrapper isBannerVisible={!!isBannerVisible}>
+ <BackWrapper hidden={!useType} isBannerVisible={!!isBannerVisible}>
<LinkWrapper
className="t--create-new-app-option-goback"
data-testid="t--create-new-app-option-goback"
|
df3f7da567bd355872b30760c65e58489e25b27e
|
2023-12-26 18:53:06
|
yatinappsmith
|
ci: Fix server cache (#29874)
| false
|
Fix server cache (#29874)
|
ci
|
diff --git a/.github/workflows/server-build.yml b/.github/workflows/server-build.yml
index 74bf494e50e4..a028d9bb3f33 100644
--- a/.github/workflows/server-build.yml
+++ b/.github/workflows/server-build.yml
@@ -87,7 +87,7 @@ jobs:
# In case this is second attempt try restoring status of the prior attempt from cache
- name: Restore the previous run result
- if: inputs.skip-tests != 'true' && steps.changed-files-specific.outputs.any_changed == 'true'
+ if: inputs.skip-tests != 'true' && (steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch')
id: cache-appsmith
uses: actions/cache@v3
with:
@@ -97,7 +97,7 @@ jobs:
# Fetch prior run result
- name: Get the previous run result
- if: inputs.skip-tests != 'true' && steps.changed-files-specific.outputs.any_changed == 'true'
+ if: inputs.skip-tests != 'true' && (steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch')
id: run_result
run: |
if [ -f ~/run_result ]; then
@@ -107,7 +107,7 @@ jobs:
fi
- name: Download the failed test artifact in case of rerun
- if: steps.run_result.outputs.run_result == 'failedtest' && steps.changed-files-specific.outputs.any_changed == 'true'
+ if: steps.run_result.outputs.run_result == 'failedtest' && (steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch')
uses: actions/download-artifact@v3
with:
name: failed-server-tests
@@ -122,12 +122,12 @@ jobs:
echo "tests=$failed_tests" >> $GITHUB_OUTPUT
# In case of prior failure run the job
- - if: steps.run_result.outputs.run_result != 'success' && steps.changed-files-specific.outputs.any_changed == 'true'
+ - if: steps.run_result.outputs.run_result != 'success' && (steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch')
run: echo "I'm alive!" && exit 0
# Setup Java
- name: Set up JDK 17
- if: steps.run_result.outputs.run_result != 'success' && steps.changed-files-specific.outputs.any_changed == 'true'
+ if: steps.run_result.outputs.run_result != 'success' && (steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch')
uses: actions/setup-java@v3
with:
distribution: "temurin"
@@ -135,7 +135,7 @@ jobs:
# Retrieve maven dependencies from cache. After a successful run, these dependencies are cached again
- name: Cache maven dependencies
- if: steps.run_result.outputs.run_result != 'success' && steps.changed-files-specific.outputs.any_changed == 'true'
+ if: steps.run_result.outputs.run_result != 'success' && (steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch')
uses: actions/cache@v3
env:
cache-name: cache-maven-dependencies
@@ -150,7 +150,7 @@ jobs:
# Since this is an unreleased build, we get the latest released version number, increment the minor number in it,
# append a `-SNAPSHOT` at it's end to prepare the snapshot version number. This is used as the project's version.
- name: Get the version to tag the Docker image
- if: steps.run_result.outputs.run_result != 'success' && steps.changed-files-specific.outputs.any_changed == 'true'
+ if: steps.run_result.outputs.run_result != 'success' && (steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch')
id: vars
run: |
# Since this is an unreleased build, we set the version to incremented version number with a
@@ -164,7 +164,7 @@ jobs:
# Build the code
- name: Build
- if: steps.run_result.outputs.run_result != 'success' && steps.changed-files-specific.outputs.any_changed == 'true'
+ if: steps.run_result.outputs.run_result != 'success' && (steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch')
env:
ACTIVE_PROFILE: test
APPSMITH_MONGODB_URI: "mongodb://localhost:27017/mobtools"
@@ -184,7 +184,7 @@ jobs:
# Test the code
- name: Run only tests
- if: (inputs.skip-tests != 'true' || steps.run_result.outputs.run_result == 'failedtest') && steps.changed-files-specific.outputs.any_changed == 'true'
+ if: (inputs.skip-tests != 'true' || steps.run_result.outputs.run_result == 'failedtest') && (steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch')
env:
ACTIVE_PROFILE: test
APPSMITH_MONGODB_URI: "mongodb://localhost:27017/mobtools"
@@ -229,7 +229,7 @@ jobs:
if-no-files-found: ignore
- name: Fetch server build from cache
- if: steps.changed-files-specific.outputs.any_changed == 'false' && success()
+ if: steps.changed-files-specific.outputs.any_changed == 'false' && success() && github.event_name != 'push' && github.event_name != 'workflow_dispatch'
env:
cachetoken: ${{ secrets.CACHETOKEN }}
reponame: ${{ github.event.repository.name }}
@@ -253,7 +253,7 @@ jobs:
# Restore the previous built bundle if present. If not push the newly built into the cache
- name: Restore the previous bundle
- if: steps.changed-files-specific.outputs.any_changed == 'true'
+ if: steps.changed-files-specific.outputs.any_changed == 'true' || github.event_name == 'push' || github.event_name == 'workflow_dispatch'
uses: actions/cache@v3
with:
path: |
|
43a1cf1e684a9d68b788d53c9053c42733b38489
|
2023-12-01 18:17:31
|
Nidhi
|
fix: Multiple bindings from same entity should get replaced (#29269)
| false
|
Multiple bindings from same entity should get replaced (#29269)
|
fix
|
diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/Executable.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/Executable.java
index f21fc110b29e..6b071d85ba39 100644
--- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/Executable.java
+++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/Executable.java
@@ -3,6 +3,7 @@
import com.appsmith.external.dtos.DslExecutableDTO;
import com.appsmith.external.dtos.LayoutExecutableUpdateDTO;
import com.fasterxml.jackson.annotation.JsonIgnore;
+import org.springframework.data.annotation.Transient;
import java.time.Instant;
import java.util.List;
@@ -46,6 +47,7 @@ default boolean hasExtractableBinding() {
String getValidName();
@JsonIgnore
+ @Transient
String getExecutableName();
EntityReferenceType getEntityReferenceType();
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/DslUtils.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/DslUtils.java
index bd78d10a6e9b..ec78d1f783e9 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/DslUtils.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/DslUtils.java
@@ -11,6 +11,7 @@
import java.util.Arrays;
import java.util.HashSet;
import java.util.Iterator;
+import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.regex.Pattern;
@@ -47,7 +48,11 @@ public static JsonNode replaceValuesInSpecificDynamicBindingPath(
if (dslWalkResponse != null && dslWalkResponse.isLeafNode) {
final StringBuilder oldValue = new StringBuilder(((TextNode) dslWalkResponse.currentNode).asText());
- for (MustacheBindingToken mustacheBindingToken : replacementMap.keySet()) {
+ final List<MustacheBindingToken> tokens = replacementMap.keySet().stream()
+ .sorted((token1, token2) -> token2.getStartIndex() - token1.getStartIndex())
+ .toList();
+
+ for (MustacheBindingToken mustacheBindingToken : tokens) {
String tokenValue = mustacheBindingToken.getValue();
int endIndex = mustacheBindingToken.getStartIndex() + tokenValue.length();
if (oldValue.length() >= endIndex
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java
index c819b93b0c93..30a280cef20a 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java
@@ -91,7 +91,7 @@
import static com.appsmith.external.constants.spans.ActionSpan.GET_ACTION_REPOSITORY_CALL;
import static com.appsmith.external.constants.spans.ActionSpan.GET_UNPUBLISHED_ACTION;
import static com.appsmith.external.constants.spans.ActionSpan.GET_VIEW_MODE_ACTION;
-import static com.appsmith.external.helpers.AppsmithBeanUtils.copyNewFieldValuesIntoOldObject;
+import static com.appsmith.external.helpers.AppsmithBeanUtils.copyNestedNonNullProperties;
import static com.appsmith.external.helpers.PluginUtils.setValueSafelyInFormData;
import static com.appsmith.server.acl.AclPermission.EXECUTE_DATASOURCES;
import static java.lang.Boolean.FALSE;
@@ -286,7 +286,7 @@ public Mono<ActionDTO> validateAndSaveActionToRepository(NewAction newAction) {
this.validateCreatorId(action);
- if (!isValidActionName(action)) {
+ if (!this.isValidActionName(action)) {
action.setIsValid(false);
invalids.add(AppsmithError.INVALID_ACTION_NAME.getMessage());
}
@@ -607,7 +607,7 @@ public Mono<Tuple2<ActionDTO, NewAction>> updateUnpublishedActionWithoutAnalytic
.switchIfEmpty(Mono.error(new AppsmithException(AppsmithError.NO_RESOURCE_FOUND, FieldName.ACTION, id)))
.map(dbAction -> {
final ActionDTO unpublishedAction = dbAction.getUnpublishedAction();
- copyNewFieldValuesIntoOldObject(action, unpublishedAction);
+ copyNestedNonNullProperties(action, unpublishedAction);
return dbAction;
})
.flatMap(this::extractAndSetNativeQueryFromFormData)
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/DslUtilsTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/DslUtilsTest.java
index a60038bff8f3..94e5e30c18b8 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/DslUtilsTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/DslUtilsTest.java
@@ -86,13 +86,14 @@ void replaceValuesInSpecificDynamicBindingPath_whenReplacementKeyNotFound() {
void replaceValuesInSpecificDynamicBindingPath_withSuccessfulMultipleReplacements() {
ObjectMapper mapper = new ObjectMapper();
ObjectNode dsl = mapper.createObjectNode();
- dsl.put("existingPath", "oldFieldValue1 oldFieldValue2");
+ dsl.put("existingPath", "oldFieldValue1 oldFieldValue2 oldFieldValue1 oldFieldValue2");
HashMap<MustacheBindingToken, String> replacementMap = new HashMap<>();
- replacementMap.put(new MustacheBindingToken("oldFieldValue1", 0, false), "newFieldValue1");
- replacementMap.put(new MustacheBindingToken("oldFieldValue2", 15, false), "newFieldValue2");
+ replacementMap.put(new MustacheBindingToken("oldFieldValue1", 0, false), "newishFieldValue1");
+ replacementMap.put(new MustacheBindingToken("oldFieldValue2", 15, false), "newerFieldValue2");
+ replacementMap.put(new MustacheBindingToken("oldFieldValue1", 30, false), "newishFieldValue1");
+ replacementMap.put(new MustacheBindingToken("oldFieldValue2", 45, false), "newerFieldValue2");
JsonNode replacedDsl = DslUtils.replaceValuesInSpecificDynamicBindingPath(dsl, "existingPath", replacementMap);
- ObjectNode newDsl = mapper.createObjectNode();
- newDsl.put("existingPath", "newFieldValue1 newFieldValue2");
- Assertions.assertThat(replacedDsl).isEqualTo(dsl);
+ Assertions.assertThat(replacedDsl.get("existingPath").asText())
+ .isEqualTo("newishFieldValue1 newerFieldValue2 newishFieldValue1 newerFieldValue2");
}
}
|
0e5f5f750eec3d5b10809c905037e10d8a20b899
|
2024-10-03 10:13:11
|
Rishabh Rathod
|
fix: Revert PageSaga changes (#36666)
| false
|
Revert PageSaga changes (#36666)
|
fix
|
diff --git a/app/client/src/actions/pageActions.tsx b/app/client/src/actions/pageActions.tsx
index 462cbb1aeb40..51a10762d293 100644
--- a/app/client/src/actions/pageActions.tsx
+++ b/app/client/src/actions/pageActions.tsx
@@ -68,23 +68,25 @@ export const fetchPageAction = (
export interface FetchPublishedPageActionPayload {
pageId: string;
bustCache?: boolean;
+ firstLoad?: boolean;
pageWithMigratedDsl?: FetchPageResponse;
}
export interface FetchPublishedPageResourcesPayload {
pageId: string;
- applicationId: string;
}
export const fetchPublishedPageAction = (
pageId: string,
bustCache = false,
+ firstLoad = false,
pageWithMigratedDsl?: FetchPageResponse,
): ReduxAction<FetchPublishedPageActionPayload> => ({
type: ReduxActionTypes.FETCH_PUBLISHED_PAGE_INIT,
payload: {
pageId,
bustCache,
+ firstLoad,
pageWithMigratedDsl,
},
});
@@ -299,12 +301,10 @@ export const clonePageSuccess = ({
// In future we can reuse this for fetching other page level resources in published mode
export const fetchPublishedPageResourcesAction = (
pageId: string,
- applicationId: string,
): ReduxAction<FetchPublishedPageResourcesPayload> => ({
type: ReduxActionTypes.FETCH_PUBLISHED_PAGE_RESOURCES_INIT,
payload: {
pageId,
- applicationId,
},
});
@@ -675,18 +675,21 @@ export const setupPageAction = (
export interface SetupPublishedPageActionPayload {
pageId: string;
bustCache: boolean;
+ firstLoad: boolean;
pageWithMigratedDsl?: FetchPageResponse;
}
export const setupPublishedPage = (
pageId: string,
bustCache = false,
+ firstLoad = false,
pageWithMigratedDsl?: FetchPageResponse,
): ReduxAction<SetupPublishedPageActionPayload> => ({
type: ReduxActionTypes.SETUP_PUBLISHED_PAGE_INIT,
payload: {
pageId,
bustCache,
+ firstLoad,
pageWithMigratedDsl,
},
});
diff --git a/app/client/src/ce/sagas/PageSagas.tsx b/app/client/src/ce/sagas/PageSagas.tsx
index 2f7003b7754a..12e52ba930c5 100644
--- a/app/client/src/ce/sagas/PageSagas.tsx
+++ b/app/client/src/ce/sagas/PageSagas.tsx
@@ -325,47 +325,12 @@ export function* fetchPageSaga(action: ReduxAction<FetchPageActionPayload>) {
}
}
-export function* updateCanvasLayout(response: FetchPageResponse) {
- // Wait for widget config to load before we can get the canvas payload
- yield call(waitForWidgetConfigBuild);
- // Get Canvas payload
- const canvasWidgetsPayload = getCanvasWidgetsPayload(response);
-
- // resize main canvas
- resizePublishedMainCanvasToLowestWidget(canvasWidgetsPayload.widgets);
- // Update the canvas
- yield put(initCanvasLayout(canvasWidgetsPayload));
-
- // Since new page has new layout, we need to generate a data structure
- // to compute dynamic height based on the new layout.
- yield put(generateAutoHeightLayoutTreeAction(true, true));
-}
-
-export function* postFetchedPublishedPage(
- response: FetchPageResponse,
- pageId: string,
-) {
- // set current page
- yield put(
- updateCurrentPage(
- pageId,
- response.data.slug,
- response.data.userPermissions,
- ),
- );
- // Clear any existing caches
- yield call(clearEvalCache);
- // Set url params
- yield call(setDataUrl);
-
- yield call(updateCanvasLayout, response);
-}
-
export function* fetchPublishedPageSaga(
action: ReduxAction<FetchPublishedPageActionPayload>,
) {
try {
- const { bustCache, pageId, pageWithMigratedDsl } = action.payload;
+ const { bustCache, firstLoad, pageId, pageWithMigratedDsl } =
+ action.payload;
const params = { pageId, bustCache };
const response: FetchPageResponse = yield call(
@@ -377,9 +342,41 @@ export function* fetchPublishedPageSaga(
const isValidResponse: boolean = yield validateResponse(response);
if (isValidResponse) {
- yield call(postFetchedPublishedPage, response, pageId);
+ // Clear any existing caches
+ yield call(clearEvalCache);
+ // Set url params
+ yield call(setDataUrl);
+ // Wait for widget config to load before we can get the canvas payload
+ yield call(waitForWidgetConfigBuild);
+ // Get Canvas payload
+ const canvasWidgetsPayload = getCanvasWidgetsPayload(response);
+
+ // resize main canvas
+ resizePublishedMainCanvasToLowestWidget(canvasWidgetsPayload.widgets);
+ // Update the canvas
+ yield put(initCanvasLayout(canvasWidgetsPayload));
+ // set current page
+ yield put(
+ updateCurrentPage(
+ pageId,
+ response.data.slug,
+ response.data.userPermissions,
+ ),
+ );
+ // dispatch fetch page success
yield put(fetchPublishedPageSuccess());
+
+ // Since new page has new layout, we need to generate a data structure
+ // to compute dynamic height based on the new layout.
+ yield put(generateAutoHeightLayoutTreeAction(true, true));
+
+ /* Currently, All Actions are fetched in initSagas and on pageSwitch we only fetch page
+ */
+ // Hence, if is not isFirstLoad then trigger evaluation with execute pageLoad action
+ if (!firstLoad) {
+ yield put(fetchAllPageEntityCompletion([executePageLoadActions()]));
+ }
}
} catch (error) {
yield put({
@@ -395,7 +392,7 @@ export function* fetchPublishedPageResourcesSaga(
action: ReduxAction<FetchPublishedPageResourcesPayload>,
) {
try {
- const { applicationId, pageId } = action.payload;
+ const { pageId } = action.payload;
const params = { defaultPageId: pageId };
const initConsolidatedApiResponse: ApiResponse<InitConsolidatedApi> =
@@ -413,14 +410,9 @@ export function* fetchPublishedPageResourcesSaga(
// In future, we can reuse this saga to fetch other resources of the page like actionCollections etc
const { publishedActions } = response;
- yield call(
- postFetchedPublishedPage,
- response.pageWithMigratedDsl,
- pageId,
- );
-
- // NOTE: fetchActionsForView is used here to update publishedActions in redux store and not to fetch actions again
- yield put(fetchActionsForView({ applicationId, publishedActions }));
+ // Sending applicationId as empty as we have publishedActions present,
+ // it won't call the actions view api with applicationId
+ yield put(fetchActionsForView({ applicationId: "", publishedActions }));
yield put(fetchAllPageEntityCompletion([executePageLoadActions()]));
}
} catch (error) {
@@ -1433,13 +1425,21 @@ export function* setupPublishedPageSaga(
action: ReduxAction<SetupPublishedPageActionPayload>,
) {
try {
- const { bustCache, pageId, pageWithMigratedDsl } = action.payload;
+ const { bustCache, firstLoad, pageId, pageWithMigratedDsl } =
+ action.payload;
/*
Added the first line for isPageSwitching redux state to be true when page is being fetched to fix scroll position issue.
Added the second line for sync call instead of async (due to first line) as it was leading to issue with on page load actions trigger.
*/
- yield put(fetchPublishedPageAction(pageId, bustCache, pageWithMigratedDsl));
+ yield put(
+ fetchPublishedPageAction(
+ pageId,
+ bustCache,
+ firstLoad,
+ pageWithMigratedDsl,
+ ),
+ );
yield take(ReduxActionTypes.FETCH_PUBLISHED_PAGE_SUCCESS);
yield put({
diff --git a/app/client/src/ce/sagas/__tests__/PageSaga.test.ts b/app/client/src/ce/sagas/__tests__/PageSaga.test.ts
index 4fb55f74d31b..96dc534cc274 100644
--- a/app/client/src/ce/sagas/__tests__/PageSaga.test.ts
+++ b/app/client/src/ce/sagas/__tests__/PageSaga.test.ts
@@ -47,6 +47,7 @@ describe("ce/PageSaga", () => {
pageWithMigratedDsl: mockResponse.data
.pageWithMigratedDsl as FetchPageResponse,
bustCache: false,
+ firstLoad: true,
},
};
@@ -56,6 +57,7 @@ describe("ce/PageSaga", () => {
fetchPublishedPageAction(
action.payload.pageId,
action.payload.bustCache,
+ action.payload.firstLoad,
action.payload.pageWithMigratedDsl,
),
)
diff --git a/app/client/src/entities/Engine/AppViewerEngine.ts b/app/client/src/entities/Engine/AppViewerEngine.ts
index e4cca1b7db6e..d93d7b6cb1a5 100644
--- a/app/client/src/entities/Engine/AppViewerEngine.ts
+++ b/app/client/src/entities/Engine/AppViewerEngine.ts
@@ -105,7 +105,7 @@ export default class AppViewerEngine extends AppEngine {
}),
fetchSelectedAppThemeAction(applicationId, currentTheme),
fetchAppThemesAction(applicationId, themes),
- setupPublishedPage(toLoadPageId, true, pageWithMigratedDsl),
+ setupPublishedPage(toLoadPageId, true, true, pageWithMigratedDsl),
];
const successActionEffects = [
diff --git a/app/client/src/pages/AppViewer/index.tsx b/app/client/src/pages/AppViewer/index.tsx
index f17badca3c58..bde4699342c4 100644
--- a/app/client/src/pages/AppViewer/index.tsx
+++ b/app/client/src/pages/AppViewer/index.tsx
@@ -28,7 +28,10 @@ import { useSelector } from "react-redux";
import BrandingBadge from "./BrandingBadge";
import { setAppViewHeaderHeight } from "actions/appViewActions";
import { CANVAS_SELECTOR } from "constants/WidgetConstants";
-import { fetchPublishedPageResourcesAction } from "actions/pageActions";
+import {
+ setupPublishedPage,
+ fetchPublishedPageResourcesAction,
+} from "actions/pageActions";
import usePrevious from "utils/hooks/usePrevious";
import { getIsBranchUpdated } from "../utils";
import { APP_MODE } from "entities/App";
@@ -162,10 +165,10 @@ function AppViewer(props: Props) {
)?.pageId;
if (pageId) {
+ dispatch(setupPublishedPage(pageId, true));
+
// Used for fetching page resources
- dispatch(
- fetchPublishedPageResourcesAction(basePageId, baseApplicationId),
- );
+ dispatch(fetchPublishedPageResourcesAction(basePageId));
}
}
}
|
ee43abd866d596d12a8ff46a44b3ac301861ce13
|
2024-05-29 21:38:47
|
Rahul Barwal
|
fix: Update PartialImportServiceCEImpl to fetch all existing entities with true flag (#33833)
| false
|
Update PartialImportServiceCEImpl to fetch all existing entities with true flag (#33833)
|
fix
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/partial/PartialImportServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/partial/PartialImportServiceCEImpl.java
index c68d3347f236..4e26550cc924 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/partial/PartialImportServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/partial/PartialImportServiceCEImpl.java
@@ -173,7 +173,7 @@ private Mono<BuildingBlockImportDTO> importResourceInPage(
Layout layout =
page.getUnpublishedPage().getLayouts().get(0);
return refactoringService.getAllExistingEntitiesMono(
- page.getId(), CreatorContextType.PAGE, layout.getId(), false);
+ page.getId(), CreatorContextType.PAGE, layout.getId(), true);
})
.flatMap(nameSet -> {
// Fetch name of the existing resources in the page to avoid name clashing
@@ -248,6 +248,9 @@ private Mono<BuildingBlockImportDTO> importResourceInPage(
return Flux.fromIterable(mappedImportableResourcesDTO
.getRefactoringNameReference()
.keySet())
+ .filter(name -> !name.equals(mappedImportableResourcesDTO
+ .getRefactoringNameReference()
+ .get(name)))
.flatMap(name -> {
String refactoredName = mappedImportableResourcesDTO
.getRefactoringNameReference()
|
bba0ecb112b7df35f74484c833303ac726804824
|
2024-04-25 21:31:51
|
Shrikant Sharat Kandula
|
chore: Remove `blockNavigation` in Page create API body (#32859)
| false
|
Remove `blockNavigation` in Page create API body (#32859)
|
chore
|
diff --git a/app/client/src/actions/pageActions.tsx b/app/client/src/actions/pageActions.tsx
index 71037cc7ca0f..52a211679fdd 100644
--- a/app/client/src/actions/pageActions.tsx
+++ b/app/client/src/actions/pageActions.tsx
@@ -44,7 +44,6 @@ export interface CreatePageActionPayload {
applicationId: string;
name: string;
layouts: Partial<PageLayout>[];
- blockNavigation?: boolean;
}
export interface updateLayoutOptions {
@@ -176,7 +175,6 @@ export const createPage = (
pageName: string,
layouts: Partial<PageLayout>[],
orgId: string,
- blockNavigation?: boolean,
instanceId?: string,
) => {
AnalyticsUtil.logEvent("CREATE_PAGE", {
@@ -190,7 +188,6 @@ export const createPage = (
applicationId,
name: pageName,
layouts,
- blockNavigation,
},
};
};
@@ -199,7 +196,6 @@ export const createNewPageFromEntities = (
applicationId: string,
pageName: string,
orgId: string,
- blockNavigation?: boolean,
instanceId?: string,
) => {
AnalyticsUtil.logEvent("CREATE_PAGE", {
@@ -212,7 +208,6 @@ export const createNewPageFromEntities = (
payload: {
applicationId,
name: pageName,
- blockNavigation,
},
};
};
diff --git a/app/client/src/api/PageApi.tsx b/app/client/src/api/PageApi.tsx
index 8ae4b50a8663..fdb81b344f07 100644
--- a/app/client/src/api/PageApi.tsx
+++ b/app/client/src/api/PageApi.tsx
@@ -253,7 +253,10 @@ class PageApi extends Api {
static async updatePage(
request: UpdatePageRequest,
): Promise<AxiosPromise<ApiResponse<UpdatePageResponse>>> {
- return Api.put(PageApi.updatePageUrl(request.id), request);
+ return Api.put(PageApi.updatePageUrl(request.id), {
+ ...request,
+ id: undefined,
+ });
}
static async generateTemplatePage(
diff --git a/app/client/src/ce/sagas/PageSagas.tsx b/app/client/src/ce/sagas/PageSagas.tsx
index 6e82fc8cfcd2..feb0c141afc2 100644
--- a/app/client/src/ce/sagas/PageSagas.tsx
+++ b/app/client/src/ce/sagas/PageSagas.tsx
@@ -11,7 +11,6 @@ import {
import type {
ClonePageActionPayload,
CreatePageActionPayload,
- FetchPageListPayload,
} from "actions/pageActions";
import { createPage, fetchPublishedPage } from "actions/pageActions";
import {
@@ -38,7 +37,6 @@ import type {
ClonePageRequest,
CreatePageRequest,
DeletePageRequest,
- FetchPageListResponse,
FetchPageRequest,
FetchPageResponse,
FetchPageResponseData,
@@ -161,83 +159,6 @@ export const WidgetTypes = WidgetFactory.widgetTypes;
export const getWidgetName = (state: AppState, widgetId: string) =>
state.entities.canvasWidgets[widgetId];
-export function* fetchPageListSaga(
- fetchPageListAction: ReduxAction<FetchPageListPayload>,
-) {
- PerformanceTracker.startAsyncTracking(
- PerformanceTransactionName.FETCH_PAGE_LIST_API,
- );
- try {
- const { applicationId, mode } = fetchPageListAction.payload;
- const apiCall =
- mode === APP_MODE.EDIT
- ? PageApi.fetchPageList
- : PageApi.fetchPageListViewMode;
- const response: FetchPageListResponse = yield call(apiCall, applicationId);
- const isValidResponse: boolean = yield validateResponse(response);
- const prevPagesState: Page[] = yield select(getPageList);
- const pagePermissionsMap = prevPagesState.reduce(
- (acc, page) => {
- acc[page.pageId] = page.userPermissions ?? [];
- return acc;
- },
- {} as Record<string, string[]>,
- );
- if (isValidResponse) {
- const workspaceId = response.data.workspaceId;
- const pages: Page[] = response.data.pages.map((page) => ({
- pageName: page.name,
- description: page.description,
- pageId: page.id,
- isDefault: page.isDefault,
- isHidden: !!page.isHidden,
- slug: page.slug,
- userPermissions: page.userPermissions
- ? page.userPermissions
- : pagePermissionsMap[page.id],
- }));
- yield put({
- type: ReduxActionTypes.SET_CURRENT_WORKSPACE_ID,
- payload: {
- workspaceId,
- editorId: applicationId,
- },
- });
- yield put({
- type: ReduxActionTypes.FETCH_PAGE_LIST_SUCCESS,
- payload: {
- pages,
- applicationId: applicationId,
- },
- });
- PerformanceTracker.stopAsyncTracking(
- PerformanceTransactionName.FETCH_PAGE_LIST_API,
- );
- } else {
- PerformanceTracker.stopAsyncTracking(
- PerformanceTransactionName.FETCH_PAGE_LIST_API,
- );
- yield put({
- type: ReduxActionErrorTypes.FETCH_PAGE_LIST_ERROR,
- payload: {
- error: response.responseMeta.error,
- },
- });
- }
- } catch (error) {
- PerformanceTracker.stopAsyncTracking(
- PerformanceTransactionName.FETCH_PAGE_LIST_API,
- { failed: true },
- );
- yield put({
- type: ReduxActionErrorTypes.FETCH_PAGE_LIST_ERROR,
- payload: {
- error,
- },
- });
- }
-}
-
//Method to load the default page if current page is not found
export function* refreshTheApp() {
try {
@@ -758,8 +679,7 @@ export function* createNewPageFromEntity(
},
];
- const { applicationId, blockNavigation, name } =
- createPageAction?.payload || {};
+ const { applicationId, name } = createPageAction?.payload || {};
const workspaceId: string = yield select(getCurrentWorkspaceId);
const instanceId: string | undefined = yield select(getInstanceId);
@@ -774,7 +694,6 @@ export function* createNewPageFromEntity(
name,
defaultPageLayouts,
workspaceId,
- blockNavigation,
instanceId,
),
);
@@ -835,13 +754,11 @@ export function* createPageSaga(
});
// TODO: Update URL params here
// route to generate template for new page created
- if (!createPageAction.payload.blockNavigation) {
- history.push(
- builderURL({
- pageId: response.data.id,
- }),
- );
- }
+ history.push(
+ builderURL({
+ pageId: response.data.id,
+ }),
+ );
}
} catch (error) {
yield put({
diff --git a/app/client/src/pages/Editor/Explorer/Pages/index.tsx b/app/client/src/pages/Editor/Explorer/Pages/index.tsx
index 6609be1909d2..62ee647e1004 100644
--- a/app/client/src/pages/Editor/Explorer/Pages/index.tsx
+++ b/app/client/src/pages/Editor/Explorer/Pages/index.tsx
@@ -77,13 +77,7 @@ function Pages() {
);
dispatch(
- createNewPageFromEntities(
- applicationId,
- name,
- workspaceId,
- false,
- instanceId,
- ),
+ createNewPageFromEntities(applicationId, name, workspaceId, instanceId),
);
}, [dispatch, pages, applicationId]);
diff --git a/app/client/src/pages/Editor/IDE/EditorPane/PagesSection.tsx b/app/client/src/pages/Editor/IDE/EditorPane/PagesSection.tsx
index 4d22959faea2..90894357e7c1 100644
--- a/app/client/src/pages/Editor/IDE/EditorPane/PagesSection.tsx
+++ b/app/client/src/pages/Editor/IDE/EditorPane/PagesSection.tsx
@@ -69,13 +69,7 @@ const PagesSection = ({ onItemSelected }: { onItemSelected: () => void }) => {
pages.map((page: Page) => page.pageName),
);
dispatch(
- createNewPageFromEntities(
- applicationId,
- name,
- workspaceId,
- false,
- instanceId,
- ),
+ createNewPageFromEntities(applicationId, name, workspaceId, instanceId),
);
}, [dispatch, pages, applicationId]);
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/PageControllerCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/PageControllerCE.java
index a40f17d7b38d..7028a21aa553 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/PageControllerCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/ce/PageControllerCE.java
@@ -7,6 +7,7 @@
import com.appsmith.server.dtos.ApplicationPagesDTO;
import com.appsmith.server.dtos.CRUDPageResourceDTO;
import com.appsmith.server.dtos.CRUDPageResponseDTO;
+import com.appsmith.server.dtos.PageCreationDTO;
import com.appsmith.server.dtos.PageDTO;
import com.appsmith.server.dtos.PageUpdateDTO;
import com.appsmith.server.dtos.ResponseDTO;
@@ -16,8 +17,8 @@
import com.fasterxml.jackson.annotation.JsonView;
import jakarta.validation.Valid;
import lombok.NonNull;
+import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
-import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
@@ -32,6 +33,7 @@
import reactor.core.publisher.Mono;
@RequestMapping(Url.PAGE_URL)
+@RequiredArgsConstructor
@Slf4j
public class PageControllerCE {
@@ -39,25 +41,15 @@ public class PageControllerCE {
private final NewPageService newPageService;
private final CreateDBTablePageSolution createDBTablePageSolution;
- @Autowired
- public PageControllerCE(
- ApplicationPageService applicationPageService,
- NewPageService newPageService,
- CreateDBTablePageSolution createDBTablePageSolution) {
- this.applicationPageService = applicationPageService;
- this.newPageService = newPageService;
- this.createDBTablePageSolution = createDBTablePageSolution;
- }
-
@JsonView(Views.Public.class)
@PostMapping
@ResponseStatus(HttpStatus.CREATED)
public Mono<ResponseDTO<PageDTO>> createPage(
- @Valid @RequestBody PageDTO resource,
+ @Valid @RequestBody PageCreationDTO page,
@RequestHeader(name = FieldName.BRANCH_NAME, required = false) String branchName) {
- log.debug("Going to create resource {}", resource.getClass().getName());
+ log.debug("Going to create page {}", page.getClass().getName());
return applicationPageService
- .createPageWithBranchName(resource, branchName)
+ .createPageWithBranchName(page.toPageDTO(), branchName)
.map(created -> new ResponseDTO<>(HttpStatus.CREATED.value(), created, null));
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/dtos/PageCreationDTO.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/dtos/PageCreationDTO.java
new file mode 100644
index 000000000000..455bb912730d
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/dtos/PageCreationDTO.java
@@ -0,0 +1,22 @@
+package com.appsmith.server.dtos;
+
+import com.appsmith.server.domains.Layout;
+import com.appsmith.server.meta.validations.FileName;
+import jakarta.validation.constraints.NotEmpty;
+import jakarta.validation.constraints.Size;
+
+import java.util.List;
+
+public record PageCreationDTO(
+ @FileName(message = "Page names must be valid file names") @Size(max = 30) String name,
+ @NotEmpty @Size(min = 24, max = 50) String applicationId,
+ @NotEmpty List<Layout> layouts) {
+
+ public PageDTO toPageDTO() {
+ final PageDTO page = new PageDTO();
+ page.setName(name);
+ page.setApplicationId(applicationId);
+ page.setLayouts(layouts);
+ return page;
+ }
+}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/controllers/PageControllerTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/controllers/PageControllerTest.java
index d502af963d52..f8d99dbc2063 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/controllers/PageControllerTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/controllers/PageControllerTest.java
@@ -3,6 +3,7 @@
import com.appsmith.server.configurations.SecurityTestConfig;
import com.appsmith.server.dtos.PageDTO;
import com.appsmith.server.newpages.base.NewPageService;
+import com.appsmith.server.services.ApplicationPageService;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;
@@ -36,12 +37,16 @@ public class PageControllerTest {
@Autowired
private WebTestClient client;
+ @MockBean
+ private ApplicationPageService applicationPageService;
+
@MockBean
private NewPageService newPageService;
@Test
@WithMockUser
void noBody() {
+ client.post().uri("/api/v1/pages").exchange().expectStatus().isBadRequest();
client.put().uri("/api/v1/pages/abcdef").exchange().expectStatus().isBadRequest();
}
@@ -148,6 +153,19 @@ void noBody() {
})
@WithMockUser
void invalidName(String name) {
+ client.post()
+ .uri("/api/v1/pages")
+ .contentType(MediaType.APPLICATION_JSON)
+ .body(BodyInserters.fromValue(Map.of("name", name)))
+ .exchange()
+ .expectStatus()
+ .isBadRequest()
+ .expectBody()
+ .jsonPath("$.errorDisplay")
+ .value(s -> assertThat((String) s).contains("Validation Failure"));
+
+ verifyNoInteractions(applicationPageService);
+
client.put()
.uri("/api/v1/pages/abcdef")
.contentType(MediaType.APPLICATION_JSON)
@@ -183,6 +201,19 @@ void invalidName(String name) {
})
@WithMockUser
void invalidCustomSlug(String slug) {
+ client.post()
+ .uri("/api/v1/pages")
+ .contentType(MediaType.APPLICATION_JSON)
+ .body(BodyInserters.fromValue(Map.of("customSlug", slug)))
+ .exchange()
+ .expectStatus()
+ .isBadRequest()
+ .expectBody()
+ .jsonPath("$.errorDisplay")
+ .value(s -> assertThat((String) s).contains("Validation Failure"));
+
+ verifyNoInteractions(applicationPageService);
+
client.put()
.uri("/api/v1/pages/abcdef")
.contentType(MediaType.APPLICATION_JSON)
|
8314a30e39cef003a9a8f23f86ccd51c75bbdd3c
|
2025-02-06 19:12:32
|
Sagar Khalasi
|
ci: Updating cypress command (#39056)
| false
|
Updating cypress command (#39056)
|
ci
|
diff --git a/.github/workflows/ci-test-custom-script.yml b/.github/workflows/ci-test-custom-script.yml
index fdfce1bf45a5..04f011a597b1 100644
--- a/.github/workflows/ci-test-custom-script.yml
+++ b/.github/workflows/ci-test-custom-script.yml
@@ -302,7 +302,6 @@ jobs:
fi
- name: Run the cypress test
- uses: cypress-io/github-action@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_USERNAME: ${{ secrets.CYPRESS_USERNAME }}
@@ -371,13 +370,14 @@ jobs:
CYPRESS_SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_ACCOUNT_NAME }}
CYPRESS_SNOWFLAKE_USERNAME: ${{ secrets.SNOWFLAKE_USERNAME }}
CYPRESS_SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
- with:
- browser: ${{ env.BROWSER_PATH }}
- install: false
- config-file: cypress_ci_custom.config.ts
- spec: ${{ inputs.spec }}
- working-directory: app/client
- env: "NODE_ENV=development"
+ NODE_ENV: development
+ run: |
+ cd app/client
+ npx cypress-repeat-pro run -n 3 --rerun-failed-only \
+ --spec "${{ inputs.spec }}" \
+ --config-file "cypress_ci_custom.config.ts" \
+ --browser "${{ env.BROWSER_PATH }}"
+ cat cy-repeat-summary.txt
- name: Trim number of cypress log files
if: failure()
diff --git a/.github/workflows/ci-test-hosted.yml b/.github/workflows/ci-test-hosted.yml
index 721b541c89f4..0cc0420b13e9 100644
--- a/.github/workflows/ci-test-hosted.yml
+++ b/.github/workflows/ci-test-hosted.yml
@@ -159,7 +159,7 @@ jobs:
echo COMMIT_INFO_SHA=$(git show -s --pretty=%H) >> $GITHUB_ENV
echo COMMIT_INFO_TIMESTAMP=$(git show -s --pretty=%ct) >> $GITHUB_ENV
echo COMMIT_INFO_REMOTE=$(git config --get remote.origin.url) >> $GITHUB_ENV
- # delete the .git folder afterwords to use the environment values
+ # delete the .git folder afterwords to use the environment values
rm -rf .git
- name: Show Git values
@@ -183,7 +183,6 @@ jobs:
fi
- name: Run the cypress test
- uses: cypress-io/github-action@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_USERNAME: ${{ secrets.CYPRESS_USERNAME }}
@@ -248,12 +247,13 @@ jobs:
CYPRESS_SNOWFLAKE_ACCOUNT_NAME: ${{ secrets.SNOWFLAKE_ACCOUNT_NAME }}
CYPRESS_SNOWFLAKE_USERNAME: ${{ secrets.SNOWFLAKE_USERNAME }}
CYPRESS_SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }}
- with:
- browser: ${{ env.BROWSER_PATH }}
- install: false
- config-file: cypress_ci_hosted.config.ts
- working-directory: app/client
- env: "NODE_ENV=development"
+ NODE_ENV: development
+ run: |
+ cd app/client
+ npx cypress-repeat-pro run -n 3 --rerun-failed-only \
+ --config-file "cypress_ci_hosted.config.ts" \
+ --browser "${{ env.BROWSER_PATH }}"
+ cat cy-repeat-summary.txt
- name: Rename reports
if: failure()
|
e22dbd188b154d8553748a1e0930d44f8b1051e4
|
2024-12-19 20:00:09
|
Aman Agarwal
|
chore: added premium tags datasources for knowing users request to add new integrations (#38110)
| false
|
added premium tags datasources for knowing users request to add new integrations (#38110)
|
chore
|
diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts
index 7cba3e4b788c..d284e9e393df 100644
--- a/app/client/src/ce/constants/messages.ts
+++ b/app/client/src/ce/constants/messages.ts
@@ -2576,9 +2576,34 @@ export const REQUEST_NEW_INTEGRATIONS = {
REQUEST_MODAL_EMAIL: {
LABEL: () => "Email",
DESCRIPTION: () =>
- "Appsmith might use this email exclusively to follow up on your integration request.",
+ "Appsmith will use this email exclusively to follow up on your integration request.",
NAME: "email",
ERROR: () => "Please enter email",
},
SUCCESS_TOAST_MESSAGE: () => "Thank you! We are looking into your request.",
};
+
+export const PREMIUM_DATASOURCES = {
+ RELEVANT_EMAIL_DESCRIPTION: () =>
+ "Unblock advanced integrations. Let our team guide you in selecting the plan that fits your needs. Schedule a call now to see how Appsmith can transform your workflows!",
+ NON_RELEVANT_EMAIL_DESCRIPTION: () =>
+ "Unblock advanced integrations. Let our team guide you in selecting the plan that fits your needs. Give us your email and the Appsmith team will reach out to you soon.",
+ LEARN_MORE: () => "Learn more about Premium",
+ SCHEDULE_CALL: () => "Schedule a call",
+ SUBMIT: () => "Submit",
+ SUCCESS_TOAST_MESSAGE: () =>
+ "Thank you! The Appsmith Team will contact you shortly.",
+ FORM_EMAIL: {
+ LABEL: () => "Email",
+ DESCRIPTION: () =>
+ "Appsmith will use this email to follow up on your integration interest.",
+ NAME: "email",
+ ERROR: () => "Please enter email",
+ },
+ PREMIUM_TAG: () => "Premium",
+ SOON_TAG: () => "Soon",
+ COMING_SOON_SUFFIX: () => "Coming soon",
+ COMING_SOON_DESCRIPTION: () =>
+ "The Appsmith Team is actively working on it. We’ll let you know when this integration is live. ",
+ NOTIFY_ME: () => "Notify me",
+};
diff --git a/app/client/src/ce/entities/FeatureFlag.ts b/app/client/src/ce/entities/FeatureFlag.ts
index de41ab80134d..eb124bcebf55 100644
--- a/app/client/src/ce/entities/FeatureFlag.ts
+++ b/app/client/src/ce/entities/FeatureFlag.ts
@@ -48,6 +48,7 @@ export const FEATURE_FLAG = {
"release_table_html_column_type_enabled",
release_gs_all_sheets_options_enabled:
"release_gs_all_sheets_options_enabled",
+ ab_premium_datasources_view_enabled: "ab_premium_datasources_view_enabled",
} as const;
export type FeatureFlag = keyof typeof FEATURE_FLAG;
@@ -89,6 +90,7 @@ export const DEFAULT_FEATURE_FLAG_VALUE: FeatureFlags = {
release_evaluation_scope_cache: false,
release_table_html_column_type_enabled: false,
release_gs_all_sheets_options_enabled: false,
+ ab_premium_datasources_view_enabled: false,
};
export const AB_TESTING_EVENT_KEYS = {
diff --git a/app/client/src/ce/utils/analyticsUtilTypes.ts b/app/client/src/ce/utils/analyticsUtilTypes.ts
index e054c7cc1eed..4d5638a7e701 100644
--- a/app/client/src/ce/utils/analyticsUtilTypes.ts
+++ b/app/client/src/ce/utils/analyticsUtilTypes.ts
@@ -355,7 +355,8 @@ export type EventName =
| "MALFORMED_USAGE_PULSE"
| "REQUEST_INTEGRATION_CTA"
| "REQUEST_INTEGRATION_SUBMITTED"
- | "TABLE_WIDGET_V2_HTML_CELL_USAGE";
+ | "TABLE_WIDGET_V2_HTML_CELL_USAGE"
+ | PREMIUM_DATASOURCES_EVENTS;
type HOMEPAGE_CREATE_APP_FROM_TEMPLATE_EVENTS =
| "TEMPLATE_DROPDOWN_CLICK"
@@ -469,3 +470,12 @@ export type CUSTOM_WIDGET_EVENTS =
| "CUSTOM_WIDGET_BUILDER_DEBUGGER_VISIBILITY_CHANGED"
| "CUSTOM_WIDGET_API_TRIGGER_EVENT"
| "CUSTOM_WIDGET_API_UPDATE_MODEL";
+
+export type PREMIUM_DATASOURCES_EVENTS =
+ | "PREMIUM_INTEGRATION_CTA"
+ | "PREMIUM_MODAL_RELEVANT_LEARN_MORE"
+ | "PREMIUM_MODAL_NOT_RELEVANT_LEARN_MORE"
+ | "PREMIUM_MODAL_RELEVANT_SCHEDULE_CALL"
+ | "PREMIUM_MODAL_NOT_RELEVANT_SUBMIT"
+ | "SOON_INTEGRATION_CTA"
+ | "SOON_NOTIFY_REQUEST";
diff --git a/app/client/src/constants/PremiumDatasourcesConstants.ts b/app/client/src/constants/PremiumDatasourcesConstants.ts
new file mode 100644
index 000000000000..e659b55bbbef
--- /dev/null
+++ b/app/client/src/constants/PremiumDatasourcesConstants.ts
@@ -0,0 +1,21 @@
+import { getAssetUrl } from "ee/utils/airgapHelpers";
+import { ASSETS_CDN_URL } from "./ThirdPartyConstants";
+
+interface PremiumIntegration {
+ name: string;
+ icon: string;
+}
+
+export const PREMIUM_INTEGRATIONS: PremiumIntegration[] = [
+ {
+ name: "Zendesk",
+ icon: getAssetUrl(`${ASSETS_CDN_URL}/zendesk-icon.png`),
+ },
+ {
+ name: "Salesforce",
+ icon: getAssetUrl(`${ASSETS_CDN_URL}/salesforce-icon.png`),
+ },
+];
+
+export const PREMIUM_INTEGRATION_CONTACT_FORM =
+ "PREMIUM_INTEGRATION_CONTACT_FORM";
diff --git a/app/client/src/pages/Editor/IntegrationEditor/CreateNewDatasourceTab.tsx b/app/client/src/pages/Editor/IntegrationEditor/CreateNewDatasourceTab.tsx
index 8ee774b06e51..e23016fdfae5 100644
--- a/app/client/src/pages/Editor/IntegrationEditor/CreateNewDatasourceTab.tsx
+++ b/app/client/src/pages/Editor/IntegrationEditor/CreateNewDatasourceTab.tsx
@@ -41,6 +41,7 @@ import AIDataSources from "./AIDataSources";
import Debugger from "../DataSourceEditor/Debugger";
import { isPluginActionCreating } from "PluginActionEditor/store";
import RequestNewIntegration from "./RequestNewIntegration";
+import PremiumDatasources from "pages/Editor/IntegrationEditor/PremiumDatasources";
const NewIntegrationsContainer = styled.div`
${thinScrollbar};
@@ -130,6 +131,7 @@ function CreateNewDatasource({
active,
isCreating,
isOnboardingScreen,
+ isPremiumDatasourcesViewEnabled,
pageId,
showMostPopularPlugins,
showUnsupportedPluginDialog, // TODO: Fix this the next time the file is edited
@@ -170,7 +172,11 @@ function CreateNewDatasource({
parentEntityType={parentEntityType}
showMostPopularPlugins={showMostPopularPlugins}
showUnsupportedPluginDialog={showUnsupportedPluginDialog}
- />
+ >
+ {showMostPopularPlugins && isPremiumDatasourcesViewEnabled && (
+ <PremiumDatasources />
+ )}
+ </NewQueryScreen>
</div>
);
}
@@ -252,6 +258,7 @@ interface CreateNewDatasourceScreenProps {
pageId: string;
isOnboardingScreen?: boolean;
isRequestNewIntegrationEnabled: boolean;
+ isPremiumDatasourcesViewEnabled: boolean;
}
interface CreateNewDatasourceScreenState {
@@ -283,6 +290,7 @@ class CreateNewDatasourceTab extends React.Component<
dataSources,
isCreating,
isOnboardingScreen,
+ isPremiumDatasourcesViewEnabled,
isRequestNewIntegrationEnabled,
pageId,
showDebugger,
@@ -313,6 +321,7 @@ class CreateNewDatasourceTab extends React.Component<
active={false}
isCreating={isCreating}
isOnboardingScreen={!!isOnboardingScreen}
+ isPremiumDatasourcesViewEnabled={isPremiumDatasourcesViewEnabled}
location={location}
pageId={pageId}
showMostPopularPlugins
@@ -386,6 +395,9 @@ const mapStateToProps = (state: AppState) => {
const isRequestNewIntegrationEnabled =
!!featureFlags?.ab_request_new_integration_enabled;
+ const isPremiumDatasourcesViewEnabled =
+ !!featureFlags?.ab_premium_datasources_view_enabled;
+
return {
dataSources: getDatasources(state),
mockDatasources: getMockDatasources(state),
@@ -395,6 +407,7 @@ const mapStateToProps = (state: AppState) => {
showDebugger,
pageId,
isRequestNewIntegrationEnabled,
+ isPremiumDatasourcesViewEnabled,
};
};
diff --git a/app/client/src/pages/Editor/IntegrationEditor/DatasourceHome.tsx b/app/client/src/pages/Editor/IntegrationEditor/DatasourceHome.tsx
index 85eee49230eb..adbb9d50963f 100644
--- a/app/client/src/pages/Editor/IntegrationEditor/DatasourceHome.tsx
+++ b/app/client/src/pages/Editor/IntegrationEditor/DatasourceHome.tsx
@@ -1,4 +1,4 @@
-import React from "react";
+import React, { type ReactNode } from "react";
import styled from "styled-components";
import { connect } from "react-redux";
import { initialize } from "redux-form";
@@ -132,6 +132,7 @@ interface DatasourceHomeScreenProps {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
showUnsupportedPluginDialog: (callback: any) => void;
isAirgappedInstance?: boolean;
+ children?: ReactNode;
}
interface ReduxDispatchProps {
@@ -294,6 +295,7 @@ class DatasourceHomeScreen extends React.Component<Props> {
</DatasourceCard>
);
})}
+ {this.props.children}
</DatasourceCardsContainer>
</DatasourceHomePage>
);
diff --git a/app/client/src/pages/Editor/IntegrationEditor/NewQuery.tsx b/app/client/src/pages/Editor/IntegrationEditor/NewQuery.tsx
index 15ea740854db..78fec8f8a883 100644
--- a/app/client/src/pages/Editor/IntegrationEditor/NewQuery.tsx
+++ b/app/client/src/pages/Editor/IntegrationEditor/NewQuery.tsx
@@ -56,7 +56,9 @@ class QueryHomeScreen extends React.Component<QueryHomeScreenProps> {
parentEntityType={parentEntityType}
showMostPopularPlugins={showMostPopularPlugins}
showUnsupportedPluginDialog={showUnsupportedPluginDialog}
- />
+ >
+ {this.props.children}
+ </DataSourceHome>
</QueryHomePage>
);
}
diff --git a/app/client/src/pages/Editor/IntegrationEditor/PremiumDatasources/ContactForm.tsx b/app/client/src/pages/Editor/IntegrationEditor/PremiumDatasources/ContactForm.tsx
new file mode 100644
index 000000000000..369fb7c7b020
--- /dev/null
+++ b/app/client/src/pages/Editor/IntegrationEditor/PremiumDatasources/ContactForm.tsx
@@ -0,0 +1,175 @@
+import { Button, Flex, ModalHeader, Text, toast } from "@appsmith/ads";
+import { createMessage, PREMIUM_DATASOURCES } from "ee/constants/messages";
+import type { AppState } from "ee/reducers";
+import React, { useCallback } from "react";
+import { connect, useSelector } from "react-redux";
+import {
+ Field,
+ formValueSelector,
+ getFormSyncErrors,
+ reduxForm,
+ type FormErrors,
+ type InjectedFormProps,
+} from "redux-form";
+import { getCurrentUser } from "selectors/usersSelectors";
+import styled from "styled-components";
+import { isEmail } from "utils/formhelpers";
+import ReduxFormTextField from "components/utils/ReduxFormTextField";
+import { PRICING_PAGE_URL } from "constants/ThirdPartyConstants";
+import { getAppsmithConfigs } from "ee/configs";
+import { getInstanceId, isFreePlan } from "ee/selectors/tenantSelectors";
+import { pricingPageUrlSource } from "ee/utils/licenseHelpers";
+import { RampFeature, RampSection } from "utils/ProductRamps/RampsControlList";
+import {
+ getContactFormModalDescription,
+ getContactFormModalTitle,
+ getContactFormSubmitButtonText,
+ handleLearnMoreClick,
+ handleSubmitEvent,
+ shouldLearnMoreButtonBeVisible,
+} from "utils/PremiumDatasourcesHelpers";
+import { PREMIUM_INTEGRATION_CONTACT_FORM } from "constants/PremiumDatasourcesConstants";
+
+const FormWrapper = styled.form`
+ display: flex;
+ flex-direction: column;
+ gap: var(--ads-spaces-7);
+`;
+
+const PremiumDatasourceContactForm = (
+ props: PremiumDatasourceContactFormProps,
+) => {
+ const instanceId = useSelector(getInstanceId);
+ const appsmithConfigs = getAppsmithConfigs();
+ const isFreePlanInstance = useSelector(isFreePlan);
+
+ const redirectPricingURL = PRICING_PAGE_URL(
+ appsmithConfigs.pricingUrl,
+ pricingPageUrlSource,
+ instanceId,
+ RampFeature.PremiumDatasources,
+ RampSection.PremiumDatasourcesContactModal,
+ );
+
+ const onSubmit = () => {
+ submitEvent();
+ toast.show(createMessage(PREMIUM_DATASOURCES.SUCCESS_TOAST_MESSAGE), {
+ kind: "success",
+ });
+ props.closeModal();
+ };
+
+ const onClickLearnMore = useCallback(() => {
+ handleLearnMoreClick(
+ props.integrationName,
+ props.email || "",
+ redirectPricingURL,
+ );
+ }, [redirectPricingURL, props.email, props.integrationName]);
+
+ const submitEvent = useCallback(() => {
+ handleSubmitEvent(
+ props.integrationName,
+ props.email || "",
+ !isFreePlanInstance,
+ );
+ }, [props.email, props.integrationName, isFreePlanInstance]);
+
+ return (
+ <>
+ <ModalHeader>
+ {getContactFormModalTitle(props.integrationName, !isFreePlanInstance)}
+ </ModalHeader>
+ <FormWrapper onSubmit={props.handleSubmit(onSubmit)}>
+ <Text renderAs="p">
+ {getContactFormModalDescription(
+ props.email || "",
+ !isFreePlanInstance,
+ )}
+ </Text>
+ <Field
+ component={ReduxFormTextField}
+ description={createMessage(
+ PREMIUM_DATASOURCES.FORM_EMAIL.DESCRIPTION,
+ )}
+ label={createMessage(PREMIUM_DATASOURCES.FORM_EMAIL.LABEL)}
+ name={PREMIUM_DATASOURCES.FORM_EMAIL.NAME}
+ size="md"
+ type="email"
+ />
+ <Flex gap="spaces-7" justifyContent="flex-end" marginTop="spaces-3">
+ {shouldLearnMoreButtonBeVisible(!isFreePlanInstance) && (
+ <Button
+ aria-label="Learn more"
+ kind="secondary"
+ onClick={onClickLearnMore}
+ size="md"
+ >
+ {createMessage(PREMIUM_DATASOURCES.LEARN_MORE)}
+ </Button>
+ )}
+ <Button isDisabled={props.invalid} size="md" type="submit">
+ {getContactFormSubmitButtonText(
+ props.email || "",
+ !isFreePlanInstance,
+ )}
+ </Button>
+ </Flex>
+ </FormWrapper>
+ </>
+ );
+};
+
+const selector = formValueSelector(PREMIUM_INTEGRATION_CONTACT_FORM);
+
+interface PremiumDatasourceContactFormValues {
+ email?: string;
+}
+
+type PremiumDatasourceContactFormProps = PremiumDatasourceContactFormValues & {
+ formSyncErrors?: FormErrors<string, string>;
+ closeModal: () => void;
+ integrationName: string;
+} & InjectedFormProps<
+ PremiumDatasourceContactFormValues,
+ {
+ formSyncErrors?: FormErrors<string, string>;
+ closeModal: () => void;
+ integrationName: string;
+ }
+ >;
+
+const validate = (values: PremiumDatasourceContactFormValues) => {
+ const errors: Partial<PremiumDatasourceContactFormValues> = {};
+
+ if (!values.email || !isEmail(values.email)) {
+ errors.email = createMessage(PREMIUM_DATASOURCES.FORM_EMAIL.ERROR);
+ }
+
+ return errors;
+};
+
+export default connect((state: AppState) => {
+ const currentUser = getCurrentUser(state);
+
+ return {
+ email: selector(state, "email"),
+ initialValues: {
+ email: currentUser?.email,
+ },
+ formSyncErrors: getFormSyncErrors(PREMIUM_INTEGRATION_CONTACT_FORM)(state),
+ };
+}, null)(
+ reduxForm<
+ PremiumDatasourceContactFormValues,
+ {
+ formSyncErrors?: FormErrors<string, string>;
+ closeModal: () => void;
+ integrationName: string;
+ }
+ >({
+ validate,
+ form: PREMIUM_INTEGRATION_CONTACT_FORM,
+ enableReinitialize: true,
+ })(PremiumDatasourceContactForm),
+);
diff --git a/app/client/src/pages/Editor/IntegrationEditor/PremiumDatasources/index.tsx b/app/client/src/pages/Editor/IntegrationEditor/PremiumDatasources/index.tsx
new file mode 100644
index 000000000000..e3b52ff4e61b
--- /dev/null
+++ b/app/client/src/pages/Editor/IntegrationEditor/PremiumDatasources/index.tsx
@@ -0,0 +1,91 @@
+import React, { useState } from "react";
+import { ApiCard, CardContentWrapper } from "../NewApi";
+import { getAssetUrl } from "ee/utils/airgapHelpers";
+import { Modal, ModalContent, Tag, Text } from "@appsmith/ads";
+import styled from "styled-components";
+import ContactForm from "./ContactForm";
+import { PREMIUM_INTEGRATIONS } from "constants/PremiumDatasourcesConstants";
+import {
+ getTagText,
+ handlePremiumDatasourceClick,
+} from "utils/PremiumDatasourcesHelpers";
+import { isFreePlan } from "ee/selectors/tenantSelectors";
+import { useSelector } from "react-redux";
+
+const ModalContentWrapper = styled(ModalContent)`
+ max-width: 518px;
+`;
+
+const PremiumTag = styled(Tag)<{ isBusinessOrEnterprise: boolean }>`
+ color: ${(props) =>
+ props.isBusinessOrEnterprise
+ ? "var(--ads-v2-color-gray-700)"
+ : "var(--ads-v2-color-purple-700)"};
+ background-color: ${(props) =>
+ props.isBusinessOrEnterprise
+ ? "var(--ads-v2-color-gray-100)"
+ : "var(--ads-v2-color-purple-100)"};
+ border-color: ${(props) =>
+ props.isBusinessOrEnterprise ? "#36425233" : "#401d7333"};
+ padding: var(--ads-v2-spaces-3) var(--ads-v2-spaces-2);
+ text-transform: uppercase;
+ > span {
+ font-weight: 700;
+ font-size: 10px;
+ }
+`;
+
+export default function PremiumDatasources() {
+ const [selectedIntegration, setSelectedIntegration] = useState<string>("");
+ const isFreePlanInstance = useSelector(isFreePlan);
+ const handleOnClick = (name: string) => {
+ handlePremiumDatasourceClick(name, !isFreePlanInstance);
+ setSelectedIntegration(name);
+ };
+
+ const onOpenChange = (isOpen: boolean) => {
+ if (!isOpen) {
+ setSelectedIntegration("");
+ }
+ };
+
+ return (
+ <>
+ {PREMIUM_INTEGRATIONS.map((integration) => (
+ <ApiCard
+ className={`t--create-${integration.name}`}
+ key={integration.name}
+ onClick={() => {
+ handleOnClick(integration.name);
+ }}
+ >
+ <CardContentWrapper>
+ <img
+ alt={integration.name}
+ className={"content-icon saasImage"}
+ src={getAssetUrl(integration.icon)}
+ />
+ <Text className="t--plugin-name textBtn" renderAs="p">
+ {integration.name}
+ </Text>
+ <PremiumTag
+ isBusinessOrEnterprise={!isFreePlanInstance}
+ isClosable={false}
+ kind={"premium"}
+ >
+ {getTagText(!isFreePlanInstance)}
+ </PremiumTag>
+ </CardContentWrapper>
+ </ApiCard>
+ ))}
+ <Modal onOpenChange={onOpenChange} open={!!selectedIntegration}>
+ <ModalContentWrapper>
+ <ContactForm
+ closeModal={() => setSelectedIntegration("")}
+ integrationName={selectedIntegration}
+ />
+ </ModalContentWrapper>
+ </Modal>
+ </>
+ );
+}
diff --git a/app/client/src/pages/Editor/IntegrationEditor/RequestNewIntegration/form.tsx b/app/client/src/pages/Editor/IntegrationEditor/RequestNewIntegration/form.tsx
index d2585f0d599a..13e144775cd3 100644
--- a/app/client/src/pages/Editor/IntegrationEditor/RequestNewIntegration/form.tsx
+++ b/app/client/src/pages/Editor/IntegrationEditor/RequestNewIntegration/form.tsx
@@ -41,6 +41,7 @@ const RequestIntegrationForm = (props: RequestIntegrationFormProps) => {
<FormWrapper onSubmit={props.handleSubmit(onSubmit)}>
<Field
component={ReduxFormTextField}
+ isRequired
label={createMessage(
REQUEST_NEW_INTEGRATIONS.REQUEST_MODAL_INTEGRATION.LABEL,
)}
@@ -118,7 +119,7 @@ const validate = (values: RequestIntegrationFormValues) => {
);
}
- if (!values.email || !isEmail(values.email)) {
+ if (values.email && !isEmail(values.email)) {
errors.email = createMessage(
REQUEST_NEW_INTEGRATIONS.REQUEST_MODAL_EMAIL.ERROR,
);
diff --git a/app/client/src/pages/Editor/IntegrationEditor/RequestNewIntegration/index.tsx b/app/client/src/pages/Editor/IntegrationEditor/RequestNewIntegration/index.tsx
index 0154902442b1..8d432635c267 100644
--- a/app/client/src/pages/Editor/IntegrationEditor/RequestNewIntegration/index.tsx
+++ b/app/client/src/pages/Editor/IntegrationEditor/RequestNewIntegration/index.tsx
@@ -5,6 +5,7 @@ import {
ModalContent,
ModalHeader,
ModalTrigger,
+ Text,
} from "@appsmith/ads";
import { createMessage, REQUEST_NEW_INTEGRATIONS } from "ee/constants/messages";
import React, { useState, type ReactNode } from "react";
@@ -42,8 +43,10 @@ function RequestModal({ children }: { children: ReactNode }) {
export default function RequestNewIntegration() {
return (
- <RequestNewIntegrationWrapper gap="spaces-5">
- <p>{createMessage(REQUEST_NEW_INTEGRATIONS.UNABLE_TO_FIND)}</p>
+ <RequestNewIntegrationWrapper gap="spaces-5" justifyContent="flex-end">
+ <Text renderAs="p">
+ {createMessage(REQUEST_NEW_INTEGRATIONS.UNABLE_TO_FIND)}
+ </Text>
<RequestModal>
<Button
kind="secondary"
diff --git a/app/client/src/utils/PremiumDatasourcesHelpers.ts b/app/client/src/utils/PremiumDatasourcesHelpers.ts
new file mode 100644
index 000000000000..0ea5df550240
--- /dev/null
+++ b/app/client/src/utils/PremiumDatasourcesHelpers.ts
@@ -0,0 +1,100 @@
+import { createMessage, PREMIUM_DATASOURCES } from "ee/constants/messages";
+import AnalyticsUtil from "ee/utils/AnalyticsUtil";
+import { isRelevantEmail } from "utils/formhelpers";
+
+export const getTagText = (isBusinessOrEnterprise?: boolean) => {
+ return isBusinessOrEnterprise
+ ? createMessage(PREMIUM_DATASOURCES.SOON_TAG)
+ : createMessage(PREMIUM_DATASOURCES.PREMIUM_TAG);
+};
+
+export const handlePremiumDatasourceClick = (
+ integrationName: string,
+ isBusinessOrEnterprise?: boolean,
+) => {
+ AnalyticsUtil.logEvent(
+ isBusinessOrEnterprise ? "SOON_INTEGRATION_CTA" : "PREMIUM_INTEGRATION_CTA",
+ {
+ integration_name: integrationName,
+ },
+ );
+};
+
+export const handleLearnMoreClick = (
+ integrationName: string,
+ email: string,
+ redirectPricingURL: string,
+) => {
+ const validRelevantEmail = isRelevantEmail(email);
+
+ AnalyticsUtil.logEvent(
+ validRelevantEmail
+ ? "PREMIUM_MODAL_RELEVANT_LEARN_MORE"
+ : "PREMIUM_MODAL_NOT_RELEVANT_LEARN_MORE",
+ {
+ integration_name: integrationName,
+ email,
+ },
+ );
+
+ window.open(redirectPricingURL, "_blank");
+};
+
+export const handleSubmitEvent = (
+ integrationName: string,
+ email: string,
+ isBusinessOrEnterprise?: boolean,
+) => {
+ const validRelevantEmail = isRelevantEmail(email);
+
+ AnalyticsUtil.logEvent(
+ isBusinessOrEnterprise
+ ? "SOON_NOTIFY_REQUEST"
+ : validRelevantEmail
+ ? "PREMIUM_MODAL_RELEVANT_SCHEDULE_CALL"
+ : "PREMIUM_MODAL_NOT_RELEVANT_SUBMIT",
+ {
+ integration_name: integrationName,
+ email,
+ },
+ );
+};
+
+export const getContactFormModalTitle = (
+ integrationName: string,
+ isBusinessOrEnterprise?: boolean,
+) => {
+ return `${isBusinessOrEnterprise ? "Integration to " : ""}${integrationName} ${isBusinessOrEnterprise ? `- ${createMessage(PREMIUM_DATASOURCES.COMING_SOON_SUFFIX)}` : ""}`;
+};
+
+export const getContactFormModalDescription = (
+ email: string,
+ isBusinessOrEnterprise?: boolean,
+) => {
+ const validRelevantEmail = isRelevantEmail(email);
+
+ return isBusinessOrEnterprise
+ ? createMessage(PREMIUM_DATASOURCES.COMING_SOON_DESCRIPTION)
+ : validRelevantEmail
+ ? createMessage(PREMIUM_DATASOURCES.RELEVANT_EMAIL_DESCRIPTION)
+ : createMessage(PREMIUM_DATASOURCES.NON_RELEVANT_EMAIL_DESCRIPTION);
+};
+
+export const shouldLearnMoreButtonBeVisible = (
+ isBusinessOrEnterprise?: boolean,
+) => {
+ return !isBusinessOrEnterprise;
+};
+
+export const getContactFormSubmitButtonText = (
+ email: string,
+ isBusinessOrEnterprise?: boolean,
+) => {
+ const validRelevantEmail = isRelevantEmail(email);
+
+ return isBusinessOrEnterprise
+ ? createMessage(PREMIUM_DATASOURCES.NOTIFY_ME)
+ : validRelevantEmail
+ ? createMessage(PREMIUM_DATASOURCES.SCHEDULE_CALL)
+ : createMessage(PREMIUM_DATASOURCES.SUBMIT);
+};
diff --git a/app/client/src/utils/ProductRamps/RampsControlList.ts b/app/client/src/utils/ProductRamps/RampsControlList.ts
index 22a87521d324..e5c32a699491 100644
--- a/app/client/src/utils/ProductRamps/RampsControlList.ts
+++ b/app/client/src/utils/ProductRamps/RampsControlList.ts
@@ -5,6 +5,7 @@ export const RAMP_NAME = {
CUSTOM_ROLES: "CUSTOM_ROLES",
PRIVATE_EMBED: "PRIVATE_EMBED",
MULTIPLE_ENV: "MULTIPLE_ENV",
+ PREMIUM_DATASOURCES: "PREMIUM_DATASOURCES",
};
export const RAMP_FOR_ROLES = {
@@ -22,6 +23,7 @@ export enum RampSection {
BottomBarEnvSwitcher = "bottom_bar_env_switcher",
DSEditor = "ds_editor",
AdminSettings = "admin_settings",
+ PremiumDatasourcesContactModal = "premium_datasources_contact_modal",
}
export enum RampFeature {
@@ -32,6 +34,7 @@ export enum RampFeature {
Branding = "branding",
Sso = "sso",
Provisioning = "provisioning",
+ PremiumDatasources = "premium_datasources",
}
export const INVITE_USER_TO_APP: SupportedRampsType = {
diff --git a/app/client/src/utils/formhelpers.ts b/app/client/src/utils/formhelpers.ts
index 3ff8ed1e97d7..6326004347fd 100644
--- a/app/client/src/utils/formhelpers.ts
+++ b/app/client/src/utils/formhelpers.ts
@@ -29,3 +29,28 @@ export const isEmail = (value: string) => {
return re.test(value);
};
+
+export function isRelevantEmail(email: string) {
+ const GENERAL_DOMAINS = [
+ "gmail.com",
+ "yahoo.com",
+ "outlook.com",
+ "hotmail.com",
+ "aol.com",
+ "icloud.com",
+ "protonmail.com",
+ "zoho.com",
+ "yandex.com",
+ "appsmith.com",
+ ];
+
+ // Extract the domain from the email
+ const domain = email.split("@")[1]?.toLowerCase();
+
+ if (!domain) {
+ return false;
+ }
+
+ // Check if the domain exists in the list of general domains
+ return !GENERAL_DOMAINS.includes(domain);
+}
|
83d166d42bae6a34dee235cbaa07ecf8f52f4389
|
2022-03-17 18:58:56
|
Arsalan
|
fix: ButtonGroup, MenuItems update indexes.
| false
|
ButtonGroup, MenuItems update indexes.
|
fix
|
diff --git a/app/client/src/components/propertyControls/ButtonListControl.tsx b/app/client/src/components/propertyControls/ButtonListControl.tsx
index ad3907a32569..a6d5fa09d853 100644
--- a/app/client/src/components/propertyControls/ButtonListControl.tsx
+++ b/app/client/src/components/propertyControls/ButtonListControl.tsx
@@ -146,8 +146,20 @@ class ButtonListControl extends BaseControl<ControlProps, State> {
deleteOption = (index: number) => {
const menuItemsArray = this.getMenuItems();
if (menuItemsArray.length === 1) return;
- const itemId = menuItemsArray[index].id;
- this.deleteProperties([`${this.props.propertyName}.${itemId}`]);
+ const updatedArray = menuItemsArray.filter((eachItem: any, i: number) => {
+ return i !== index;
+ });
+ const updatedObj = updatedArray.reduce(
+ (obj: any, each: any, index: number) => {
+ obj[each.id] = {
+ ...each,
+ index,
+ };
+ return obj;
+ },
+ {},
+ );
+ this.updateProperty(this.props.propertyName, updatedObj);
};
updateOption = (index: number, updatedLabel: string) => {
diff --git a/app/client/src/components/propertyControls/MenuItemsControl.tsx b/app/client/src/components/propertyControls/MenuItemsControl.tsx
index 93b71cf671d7..9fb3904c1a36 100644
--- a/app/client/src/components/propertyControls/MenuItemsControl.tsx
+++ b/app/client/src/components/propertyControls/MenuItemsControl.tsx
@@ -146,8 +146,20 @@ class MenuItemsControl extends BaseControl<ControlProps, State> {
deleteOption = (index: number) => {
const menuItemsArray = this.getMenuItems();
if (menuItemsArray.length === 1) return;
- const itemId = menuItemsArray[index].id;
- this.deleteProperties([`${this.props.propertyName}.${itemId}`]);
+ const updatedArray = menuItemsArray.filter((eachItem: any, i: number) => {
+ return i !== index;
+ });
+ const updatedObj = updatedArray.reduce(
+ (obj: any, each: any, index: number) => {
+ obj[each.id] = {
+ ...each,
+ index,
+ };
+ return obj;
+ },
+ {},
+ );
+ this.updateProperty(this.props.propertyName, updatedObj);
};
updateOption = (index: number, updatedLabel: string) => {
diff --git a/app/client/src/widgets/ButtonGroupWidget/component/index.tsx b/app/client/src/widgets/ButtonGroupWidget/component/index.tsx
index 03fa8fffc0af..dc311437da83 100644
--- a/app/client/src/widgets/ButtonGroupWidget/component/index.tsx
+++ b/app/client/src/widgets/ButtonGroupWidget/component/index.tsx
@@ -31,7 +31,7 @@ import {
getCustomJustifyContent,
WidgetContainerDiff,
} from "widgets/WidgetUtils";
-import { RenderMode } from "constants/WidgetConstants";
+import { RenderMode, RenderModes } from "constants/WidgetConstants";
import { DragContainer } from "widgets/ButtonWidget/component/DragContainer";
import { buttonHoverActiveStyles } from "../../ButtonWidget/component/utils";
@@ -80,9 +80,9 @@ const ButtonGroupWrapper = styled.div<ThemeProp & WrapperStyleProps>`
: "none"} !important;
`;
-const MenuButtonWrapper = styled.div`
+const MenuButtonWrapper = styled.div<{ renderMode: RenderMode }>`
flex: 1 1 auto;
-
+ ${({ renderMode }) => renderMode === RenderModes.CANVAS && `height: 100%`};
& > .${Classes.POPOVER2_TARGET} > button {
width: 100%;
height: 100%;
@@ -437,7 +437,10 @@ class ButtonGroupComponent extends React.Component<ButtonGroupComponentProps> {
const id = uniqueId();
return (
- <MenuButtonWrapper key={button.id}>
+ <MenuButtonWrapper
+ key={button.id}
+ renderMode={this.props.renderMode}
+ >
<PopoverStyles
id={id}
menuDropDownWidth={menuDropDownWidth}
|
0401607f50447af6c323618c45b426fa5e041ad9
|
2025-02-24 14:34:10
|
Hetu Nandu
|
chore: Set max height for Table Data property control (#39409)
| false
|
Set max height for Table Data property control (#39409)
|
chore
|
diff --git a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/contentConfig.ts b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/contentConfig.ts
index ef50ccc4ed5f..700884629b54 100644
--- a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/contentConfig.ts
+++ b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/contentConfig.ts
@@ -35,6 +35,7 @@ export default [
controlType: "ONE_CLICK_BINDING_CONTROL",
controlConfig: {
searchableColumn: true,
+ maxHeight: "400px",
},
placeholderText: '[{ "name": "John" }]',
inputType: "ARRAY",
|
4ee6d200209c1fd8193c3f601d2356af16d95854
|
2023-10-16 09:48:30
|
Satish Gandham
|
ci: Add perf v2 job to perf test command (#28095)
| false
|
Add perf v2 job to perf test command (#28095)
|
ci
|
diff --git a/.github/workflows/perf-tests-command.yml b/.github/workflows/perf-tests-command.yml
index 2114a5b1f9b2..dc4266b73828 100644
--- a/.github/workflows/perf-tests-command.yml
+++ b/.github/workflows/perf-tests-command.yml
@@ -60,3 +60,13 @@ jobs:
secrets: inherit
with:
pr: ${{ github.event.client_payload.pull_request.number }}
+
+ perf-test-v2:
+ needs: [ build-docker-image ]
+ # Only run if the build step is successful
+ if: success()
+ name: perf-test-v2
+ uses: ./.github/workflows/perf-test-v2.yml
+ secrets: inherit
+ with:
+ pr: ${{ github.event.client_payload.pull_request.number }}
\ No newline at end of file
|
d9321d11340f86ade0c30a728a208963a9a641f7
|
2023-09-07 12:00:25
|
Sumit Kumar
|
fix: move static JSON parsers to local variables (#26889)
| false
|
move static JSON parsers to local variables (#26889)
|
fix
|
diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/datatypes/ArrayType.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/datatypes/ArrayType.java
index 6902bbbf6a7c..c20363a39034 100644
--- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/datatypes/ArrayType.java
+++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/datatypes/ArrayType.java
@@ -12,7 +12,6 @@
public class ArrayType implements AppsmithType {
private static final ObjectMapper objectMapper = new ObjectMapper();
- private static final JSONParser parser = new JSONParser(JSONParser.MODE_PERMISSIVE);
@Override
public boolean test(String s) {
@@ -23,6 +22,8 @@ public boolean test(String s) {
@Override
public String performSmartSubstitution(String s) {
+ JSONParser parser = new JSONParser(JSONParser.MODE_PERMISSIVE);
+
try {
JSONArray jsonArray = (JSONArray) parser.parse(s);
return objectMapper.writeValueAsString(jsonArray);
diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/datatypes/JsonObjectType.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/datatypes/JsonObjectType.java
index 01d66d470b7a..6dc4bd263d9d 100644
--- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/datatypes/JsonObjectType.java
+++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/datatypes/JsonObjectType.java
@@ -22,7 +22,6 @@ public class JsonObjectType implements AppsmithType {
private static final TypeAdapter<JsonObject> strictGsonObjectAdapter = new Gson().getAdapter(JsonObject.class);
private static final ObjectMapper objectMapper = new ObjectMapper();
- private static final JSONParser parser = new JSONParser(JSONParser.MODE_PERMISSIVE);
@Override
public boolean test(String s) {
@@ -39,6 +38,7 @@ public boolean test(String s) {
@Override
public String performSmartSubstitution(String s) {
+ JSONParser parser = new JSONParser(JSONParser.MODE_PERMISSIVE);
try {
JSONObject jsonObject = (JSONObject) parser.parse(s);
String jsonString = objectMapper.writeValueAsString(jsonObject);
diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/DataTypeStringUtils.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/DataTypeStringUtils.java
index ba1267703100..13d1525ee66b 100644
--- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/DataTypeStringUtils.java
+++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/helpers/DataTypeStringUtils.java
@@ -55,8 +55,6 @@ public class DataTypeStringUtils {
private static ObjectMapper objectMapper = new ObjectMapper();
- private static JSONParser parser = new JSONParser(JSONParser.MODE_PERMISSIVE);
-
private static final TypeAdapter<JsonObject> strictGsonObjectAdapter = new Gson().getAdapter(JsonObject.class);
@Deprecated(
@@ -222,6 +220,7 @@ public static String jsonSmartReplacementPlaceholderWithValue(
Map.Entry<String, String> parameter = new SimpleEntry<>(replacement, dataType.toString());
insertedParams.add(parameter);
+ JSONParser parser = new JSONParser(JSONParser.MODE_PERMISSIVE);
String updatedReplacement;
switch (dataType) {
case INTEGER:
|
dad6dfb636357b4003b30bc1083dd7990f03d0d2
|
2022-02-18 12:41:01
|
Mojtaba
|
fix: Fixed test MongoDB datasource shows ok even if there is no database matching the name in the 'Default Database Name' input (#11238)
| false
|
Fixed test MongoDB datasource shows ok even if there is no database matching the name in the 'Default Database Name' input (#11238)
|
fix
|
diff --git a/app/server/appsmith-plugins/mongoPlugin/src/main/java/com/external/plugins/MongoPlugin.java b/app/server/appsmith-plugins/mongoPlugin/src/main/java/com/external/plugins/MongoPlugin.java
index 8dc0a50e32f6..ad6bb65921db 100644
--- a/app/server/appsmith-plugins/mongoPlugin/src/main/java/com/external/plugins/MongoPlugin.java
+++ b/app/server/appsmith-plugins/mongoPlugin/src/main/java/com/external/plugins/MongoPlugin.java
@@ -47,7 +47,6 @@
import reactor.core.publisher.Mono;
import reactor.core.scheduler.Scheduler;
import reactor.core.scheduler.Schedulers;
-import reactor.util.function.Tuple2;
import java.math.BigDecimal;
import java.math.BigInteger;
@@ -61,9 +60,9 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
+import java.util.Optional;
import java.util.Set;
import java.util.concurrent.TimeoutException;
-import java.util.function.Consumer;
import java.util.function.Function;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
@@ -874,55 +873,41 @@ public Set<String> validateDatasource(DatasourceConfiguration datasourceConfigur
@Override
public Mono<DatasourceTestResult> testDatasource(DatasourceConfiguration datasourceConfiguration) {
- final Consumer<Tuple2<MongoClient, Document>> closeClient = tuple -> tuple.getT1().close();
Function<TimeoutException, Throwable> timeoutExceptionThrowableFunction = error -> new AppsmithPluginException(
AppsmithPluginError.PLUGIN_DATASOURCE_TIMEOUT_ERROR,
"Connection timed out. Please check if the datasource configuration fields have " +
"been filled correctly."
);
- return datasourceCreate(datasourceConfiguration)
- .flatMap(mongoClient -> {
- Publisher<Document> result = mongoClient.getDatabase("admin").runCommand(new Document(
- "listDatabases", 1));
+ final String defaultDatabaseName;
+ if (datasourceConfiguration.getConnection() != null) {
+ defaultDatabaseName = datasourceConfiguration.getConnection().getDefaultDatabaseName();
+ } else defaultDatabaseName = null;
- return Mono.zip(Mono.just(mongoClient), Mono.from(result));
+ return datasourceCreate(datasourceConfiguration)
+ .flatMap(mongoClient -> {
+ final Publisher<String> result = mongoClient.listDatabaseNames();
+ final Mono<List<String>> documentMono = Flux.from(result).collectList().cache();
+ return documentMono.doFinally(ignored -> mongoClient.close()).then(documentMono);
})
- .doOnSuccess(closeClient)
- .then(Mono.just(new DatasourceTestResult()))
- .timeout(Duration.ofSeconds(TEST_DATASOURCE_TIMEOUT_SECONDS))
- .onErrorMap(TimeoutException.class, timeoutExceptionThrowableFunction)
- .onErrorResume(error -> {
- /**
- * 1. Return OK response on "Unauthorized" exception.
- * 2. If we get an exception with error code "Unauthorized" then it means that the connection to
- * the MongoDB instance is valid. It also means we don't have access to the admin database,
- * but that's okay for our purposes here.
- */
- if (error instanceof MongoCommandException &&
- ((MongoCommandException) error).getErrorCodeName().equals("Unauthorized")) {
- return datasourceCreate(datasourceConfiguration)
- .flatMap(mongoClient -> {
- if (datasourceConfiguration.getConnection() != null && datasourceConfiguration.getConnection().getDefaultDatabaseName() != null) {
- final String defaultDatabaseName = datasourceConfiguration.getConnection().getDefaultDatabaseName();
- Publisher<Document> result = mongoClient.getDatabase(defaultDatabaseName).runCommand(new Document(
- "listCollections", 1).append("nameOnly", TRUE));
- return Mono.zip(Mono.just(mongoClient), Mono.from(result));
- }
- return Mono.error(new AppsmithPluginException(
- AppsmithPluginError.PLUGIN_DATASOURCE_TEST_GENERIC_ERROR,
- "Not enough information to test the Datasource. " +
- "Please provide the default database name."));
-
- }).doOnSuccess(closeClient).then(Mono.just(new DatasourceTestResult()))
- .timeout(Duration.ofSeconds(TEST_DATASOURCE_TIMEOUT_SECONDS))
- .onErrorMap(TimeoutException.class, timeoutExceptionThrowableFunction)
- .onErrorResume(err -> Mono.just(new DatasourceTestResult(mongoErrorUtils.getReadableError(err))));
+ .flatMap(names -> {
+ if (defaultDatabaseName == null || defaultDatabaseName.isBlank()) {
+ return Mono.just(new DatasourceTestResult());
}
+ final Optional<String> defaultDB = names.stream()
+ .filter(name -> name.equals(defaultDatabaseName))
+ .findFirst();
- return Mono.just(new DatasourceTestResult(mongoErrorUtils.getReadableError(error)));
+ if (defaultDB.isEmpty()) {
+ // value entered in default database name is invalid
+ return Mono.just(new DatasourceTestResult("Default Database Name is invalid, no database found with this name."));
+ }
+ return Mono.just(new DatasourceTestResult());
})
+ .timeout(Duration.ofSeconds(TEST_DATASOURCE_TIMEOUT_SECONDS))
+ .onErrorMap(TimeoutException.class, timeoutExceptionThrowableFunction)
+ .onErrorResume(error -> Mono.just(new DatasourceTestResult(mongoErrorUtils.getReadableError(error))))
.subscribeOn(scheduler);
}
diff --git a/app/server/appsmith-plugins/mongoPlugin/src/test/java/com/external/plugins/MongoPluginTest.java b/app/server/appsmith-plugins/mongoPlugin/src/test/java/com/external/plugins/MongoPluginTest.java
index 93f7e7b0027f..8b52f6c5ebfd 100644
--- a/app/server/appsmith-plugins/mongoPlugin/src/test/java/com/external/plugins/MongoPluginTest.java
+++ b/app/server/appsmith-plugins/mongoPlugin/src/test/java/com/external/plugins/MongoPluginTest.java
@@ -185,6 +185,17 @@ public void testDatasourceFail() {
})
.verifyComplete();
}
+ @Test
+ public void testDatasourceFailWithInvalidDefaultDatabaseName() {
+ DatasourceConfiguration dsConfig = createDatasourceConfiguration();
+ dsConfig.getConnection().setDefaultDatabaseName("abcd");
+ StepVerifier.create(pluginExecutor.testDatasource(dsConfig))
+ .assertNext(datasourceTestResult -> {
+ assertNotNull(datasourceTestResult);
+ assertFalse(datasourceTestResult.isSuccess());
+ })
+ .verifyComplete();
+ }
/*
* 1. Test that when a query is attempted to run on mongodb but refused because of lack of authorization.
|
85903089452449f0ea05e90c7faf302cc15e3a5c
|
2022-09-08 02:35:06
|
Arpit Mohan
|
ci: Commenting out the test for git repo limit check
| false
|
Commenting out the test for git repo limit check
|
ci
|
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Git/GitSync/RepoLimitExceededErrorModal_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Git/GitSync/RepoLimitExceededErrorModal_spec.js
index 1a1cbe4d2b0e..ca0a7963eaee 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Git/GitSync/RepoLimitExceededErrorModal_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Git/GitSync/RepoLimitExceededErrorModal_spec.js
@@ -1,85 +1,85 @@
-import gitSyncLocators from "../../../../../locators/gitSyncLocators";
+// import gitSyncLocators from "../../../../../locators/gitSyncLocators";
-let repoName1, repoName2, repoName3, repoName4, windowOpenSpy;
-describe("Repo Limit Exceeded Error Modal", function() {
- before(() => {
- cy.generateUUID().then((uid) => {
- cy.Signup(`${uid}@appsmithtest.com`, uid);
- });
- const uuid = require("uuid");
- repoName1 = uuid.v4().split("-")[0];
- repoName2 = uuid.v4().split("-")[0];
- repoName3 = uuid.v4().split("-")[0];
- repoName4 = uuid.v4().split("-")[0];
- });
+// let repoName1, repoName2, repoName3, repoName4, windowOpenSpy;
+// describe("Repo Limit Exceeded Error Modal", function() {
+// before(() => {
+// cy.generateUUID().then((uid) => {
+// cy.Signup(`${uid}@appsmithtest.com`, uid);
+// });
+// const uuid = require("uuid");
+// repoName1 = uuid.v4().split("-")[0];
+// repoName2 = uuid.v4().split("-")[0];
+// repoName3 = uuid.v4().split("-")[0];
+// repoName4 = uuid.v4().split("-")[0];
+// });
- it.skip("modal should be opened with proper components", function() {
- cy.createAppAndConnectGit(repoName1, false);
- cy.createAppAndConnectGit(repoName2, false);
- cy.createAppAndConnectGit(repoName3, false);
- cy.createAppAndConnectGit(repoName4, false, true);
+// it("modal should be opened with proper components", function() {
+// cy.createAppAndConnectGit(repoName1, false);
+// cy.createAppAndConnectGit(repoName2, false);
+// cy.createAppAndConnectGit(repoName3, false);
+// cy.createAppAndConnectGit(repoName4, false, true);
- cy.get(gitSyncLocators.repoLimitExceededErrorModal).should("exist");
+// cy.get(gitSyncLocators.repoLimitExceededErrorModal).should("exist");
- // title and info text checking
- cy.get(gitSyncLocators.repoLimitExceededErrorModal).contains(
- Cypress.env("MESSAGES").REPOSITORY_LIMIT_REACHED(),
- );
- cy.get(gitSyncLocators.repoLimitExceededErrorModal).contains(
- Cypress.env("MESSAGES").REPOSITORY_LIMIT_REACHED_INFO(),
- );
- cy.get(gitSyncLocators.repoLimitExceededErrorModal).contains(
- Cypress.env("MESSAGES").CONTACT_SUPPORT_TO_UPGRADE(),
- );
- cy.get(gitSyncLocators.contactSalesButton).should("exist");
- cy.get(gitSyncLocators.repoLimitExceededErrorModal).contains(
- Cypress.env("MESSAGES").DISCONNECT_CAUSE_APPLICATION_BREAK(),
- );
+// // title and info text checking
+// cy.get(gitSyncLocators.repoLimitExceededErrorModal).contains(
+// Cypress.env("MESSAGES").REPOSITORY_LIMIT_REACHED(),
+// );
+// cy.get(gitSyncLocators.repoLimitExceededErrorModal).contains(
+// Cypress.env("MESSAGES").REPOSITORY_LIMIT_REACHED_INFO(),
+// );
+// cy.get(gitSyncLocators.repoLimitExceededErrorModal).contains(
+// Cypress.env("MESSAGES").CONTACT_SUPPORT_TO_UPGRADE(),
+// );
+// cy.get(gitSyncLocators.contactSalesButton).should("exist");
+// cy.get(gitSyncLocators.repoLimitExceededErrorModal).contains(
+// Cypress.env("MESSAGES").DISCONNECT_CAUSE_APPLICATION_BREAK(),
+// );
- // learn more link checking
- cy.window().then((window) => {
- windowOpenSpy = cy.stub(window, "open").callsFake((url) => {
- expect(url.startsWith("https://docs.appsmith.com/")).to.be.true;
- windowOpenSpy.restore();
- });
- });
- cy.get(gitSyncLocators.learnMoreOnRepoLimitModal).click();
+// // learn more link checking
+// cy.window().then((window) => {
+// windowOpenSpy = cy.stub(window, "open").callsFake((url) => {
+// expect(url.startsWith("https://docs.appsmith.com/")).to.be.true;
+// windowOpenSpy.restore();
+// });
+// });
+// cy.get(gitSyncLocators.learnMoreOnRepoLimitModal).click();
- cy.get(gitSyncLocators.connectedApplication).should("have.length", 3);
- cy.get(gitSyncLocators.diconnectLink)
- .first()
- .click();
+// cy.get(gitSyncLocators.connectedApplication).should("have.length", 3);
+// cy.get(gitSyncLocators.diconnectLink)
+// .first()
+// .click();
- cy.get(gitSyncLocators.repoLimitExceededErrorModal).should("not.exist");
- cy.get(gitSyncLocators.disconnectGitModal).should("exist");
+// cy.get(gitSyncLocators.repoLimitExceededErrorModal).should("not.exist");
+// cy.get(gitSyncLocators.disconnectGitModal).should("exist");
- cy.get(gitSyncLocators.closeRevokeModal).click();
- cy.get(gitSyncLocators.repoLimitExceededErrorModal).should("not.exist");
- });
- after(() => {
- cy.request({
- method: "DELETE",
- url: "api/v1/applications/" + repoName1,
- failOnStatusCode: false,
- });
- cy.request({
- method: "DELETE",
- url: "api/v1/applications/" + repoName2,
- failOnStatusCode: false,
- });
- cy.request({
- method: "DELETE",
- url: "api/v1/applications/" + repoName3,
- failOnStatusCode: false,
- });
- cy.request({
- method: "DELETE",
- url: "api/v1/applications/" + repoName4,
- failOnStatusCode: false,
- });
- cy.deleteTestGithubRepo(repoName1);
- cy.deleteTestGithubRepo(repoName2);
- cy.deleteTestGithubRepo(repoName3);
- cy.deleteTestGithubRepo(repoName4);
- });
-});
+// cy.get(gitSyncLocators.closeRevokeModal).click();
+// cy.get(gitSyncLocators.repoLimitExceededErrorModal).should("not.exist");
+// });
+// after(() => {
+// cy.request({
+// method: "DELETE",
+// url: "api/v1/applications/" + repoName1,
+// failOnStatusCode: false,
+// });
+// cy.request({
+// method: "DELETE",
+// url: "api/v1/applications/" + repoName2,
+// failOnStatusCode: false,
+// });
+// cy.request({
+// method: "DELETE",
+// url: "api/v1/applications/" + repoName3,
+// failOnStatusCode: false,
+// });
+// cy.request({
+// method: "DELETE",
+// url: "api/v1/applications/" + repoName4,
+// failOnStatusCode: false,
+// });
+// cy.deleteTestGithubRepo(repoName1);
+// cy.deleteTestGithubRepo(repoName2);
+// cy.deleteTestGithubRepo(repoName3);
+// cy.deleteTestGithubRepo(repoName4);
+// });
+// });
|
15ace470a5f4cb6c439d1767ceffc8525f875aa3
|
2021-12-27 18:02:30
|
imgbot[bot]
|
chore: [ImgBot] Optimize images (#10019)
| false
|
[ImgBot] Optimize images (#10019)
|
chore
|
diff --git a/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/EmptyApp.snap.png b/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/EmptyApp.snap.png
index 77b3a60cd340..392abcf97323 100644
Binary files a/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/EmptyApp.snap.png and b/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/EmptyApp.snap.png differ
diff --git a/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/apppage.snap.png b/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/apppage.snap.png
index 9b8cecd39b4c..14d5168b4597 100644
Binary files a/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/apppage.snap.png and b/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/apppage.snap.png differ
diff --git a/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/emptyAppBuilder.snap.png b/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/emptyAppBuilder.snap.png
index 89fa50c1c4ce..8d304f1a43ac 100644
Binary files a/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/emptyAppBuilder.snap.png and b/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/emptyAppBuilder.snap.png differ
diff --git a/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/loginpage.snap.png b/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/loginpage.snap.png
index 64efdc16b6ad..3d322a349e64 100644
Binary files a/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/loginpage.snap.png and b/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/loginpage.snap.png differ
diff --git a/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/quickPageWizard.snap.png b/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/quickPageWizard.snap.png
index efe71acec9c3..8b6b6bcf99f4 100644
Binary files a/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/quickPageWizard.snap.png and b/app/client/cypress/snapshots/Smoke_TestSuite/ClientSideTests/LayoutValidation/AppPageLayout.spec.js/quickPageWizard.snap.png differ
diff --git a/app/client/src/assets/icons/form/help-outline.svg b/app/client/src/assets/icons/form/help-outline.svg
index bdd8aa1db9f1..09c2e61bd6e8 100644
--- a/app/client/src/assets/icons/form/help-outline.svg
+++ b/app/client/src/assets/icons/form/help-outline.svg
@@ -1,3 +1 @@
-<svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M10 18.5C14.4183 18.5 18 14.9183 18 10.5C18 6.08172 14.4183 2.5 10 2.5C5.58172 2.5 2 6.08172 2 10.5C2 14.9183 5.58172 18.5 10 18.5ZM10.4459 11.9234V11.6155C10.4459 11.0807 10.6459 10.8052 11.3541 10.3893C12.0892 9.95172 12.5 9.37373 12.5 8.54727C12.5 7.35348 11.5108 6.5 10.0297 6.5C8.42432 6.5 7.54324 7.4291 7.5 8.70932H8.77027C8.81351 8.0503 9.26216 7.62897 9.95946 7.62897C10.6405 7.62897 11.0946 8.0341 11.0946 8.59588C11.0946 9.13066 10.8676 9.41695 10.1973 9.82208C9.45135 10.2596 9.13784 10.7458 9.18649 11.556L9.19189 11.9234H10.4459ZM9.87838 14.5C10.4297 14.5 10.7757 14.1597 10.7757 13.6411C10.7757 13.1172 10.4297 12.7768 9.87838 12.7768C9.33784 12.7768 8.98108 13.1172 8.98108 13.6411C8.98108 14.1597 9.33784 14.5 9.87838 14.5Z" fill="#939090"/>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="21" fill="none" viewBox="0 0 20 21"><path fill="#939090" fill-rule="evenodd" d="M10 18.5C14.4183 18.5 18 14.9183 18 10.5C18 6.08172 14.4183 2.5 10 2.5C5.58172 2.5 2 6.08172 2 10.5C2 14.9183 5.58172 18.5 10 18.5ZM10.4459 11.9234V11.6155C10.4459 11.0807 10.6459 10.8052 11.3541 10.3893C12.0892 9.95172 12.5 9.37373 12.5 8.54727C12.5 7.35348 11.5108 6.5 10.0297 6.5C8.42432 6.5 7.54324 7.4291 7.5 8.70932H8.77027C8.81351 8.0503 9.26216 7.62897 9.95946 7.62897C10.6405 7.62897 11.0946 8.0341 11.0946 8.59588C11.0946 9.13066 10.8676 9.41695 10.1973 9.82208C9.45135 10.2596 9.13784 10.7458 9.18649 11.556L9.19189 11.9234H10.4459ZM9.87838 14.5C10.4297 14.5 10.7757 14.1597 10.7757 13.6411C10.7757 13.1172 10.4297 12.7768 9.87838 12.7768C9.33784 12.7768 8.98108 13.1172 8.98108 13.6411C8.98108 14.1597 9.33784 14.5 9.87838 14.5Z" clip-rule="evenodd"/></svg>
\ No newline at end of file
diff --git a/app/client/src/assets/icons/widget/camera.svg b/app/client/src/assets/icons/widget/camera.svg
index 4e936cf6a9b1..4057fae9acce 100755
--- a/app/client/src/assets/icons/widget/camera.svg
+++ b/app/client/src/assets/icons/widget/camera.svg
@@ -1,3 +1 @@
-<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">
- <path fill="#4b4848" d="M9 3h6l2 2h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h4l2-2zm3 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm0-2a4 4 0 1 1 0-8 4 4 0 0 1 0 8z"/>
-</svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#4b4848" d="M9 3h6l2 2h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h4l2-2zm3 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm0-2a4 4 0 1 1 0-8 4 4 0 0 1 0 8z"/></svg>
\ No newline at end of file
diff --git a/app/client/src/assets/icons/widget/camera/camera-muted.svg b/app/client/src/assets/icons/widget/camera/camera-muted.svg
index 8870a8631e14..d77e0c28c2a5 100755
--- a/app/client/src/assets/icons/widget/camera/camera-muted.svg
+++ b/app/client/src/assets/icons/widget/camera/camera-muted.svg
@@ -1,4 +1 @@
-<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M15.6364 5C16.1382 5 16.5455 5.392 16.5455 5.875V9.55001L21.2846 6.35625C21.49 6.21801 21.7736 6.26613 21.9182 6.46476C21.9709 6.53826 22 6.62575 22 6.715V17.285C22 17.5265 21.7963 17.7226 21.5454 17.7226C21.4518 17.7226 21.3609 17.6945 21.2846 17.6438L16.5455 14.45V18.125C16.5455 18.608 16.1382 19 15.6364 19H2.90909C2.40728 19 2 18.608 2 18.125V5.875C2 5.392 2.40728 5 2.90909 5H15.6364ZM14.7272 6.75H3.81818V17.2501H14.7272V6.75ZM20.1818 9.23588L16.5455 11.6859V12.3141L20.1818 14.7641V9.23588Z" fill="white"/>
-<path d="M21.5 2.5L2 21.5" stroke="white" stroke-width="2" stroke-linecap="round"/>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#fff" d="M15.6364 5C16.1382 5 16.5455 5.392 16.5455 5.875V9.55001L21.2846 6.35625C21.49 6.21801 21.7736 6.26613 21.9182 6.46476C21.9709 6.53826 22 6.62575 22 6.715V17.285C22 17.5265 21.7963 17.7226 21.5454 17.7226C21.4518 17.7226 21.3609 17.6945 21.2846 17.6438L16.5455 14.45V18.125C16.5455 18.608 16.1382 19 15.6364 19H2.90909C2.40728 19 2 18.608 2 18.125V5.875C2 5.392 2.40728 5 2.90909 5H15.6364ZM14.7272 6.75H3.81818V17.2501H14.7272V6.75ZM20.1818 9.23588L16.5455 11.6859V12.3141L20.1818 14.7641V9.23588Z"/><path stroke="#fff" stroke-linecap="round" stroke-width="2" d="M21.5 2.5L2 21.5"/></svg>
\ No newline at end of file
diff --git a/app/client/src/assets/icons/widget/camera/camera-offline.svg b/app/client/src/assets/icons/widget/camera/camera-offline.svg
index 0190cd1a1b56..4f70470333c4 100755
--- a/app/client/src/assets/icons/widget/camera/camera-offline.svg
+++ b/app/client/src/assets/icons/widget/camera/camera-offline.svg
@@ -1,3 +1 @@
-<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M18.5861 20.0001H2.00007C1.73485 20.0001 1.4805 19.8947 1.29296 19.7072C1.10542 19.5196 1.00007 19.2653 1.00007 19.0001V5.00007C1.00007 4.73485 1.10542 4.4805 1.29296 4.29296C1.4805 4.10542 1.73485 4.00007 2.00007 4.00007H2.58607L0.393066 1.80807L1.80807 0.393066L21.6071 20.1931L20.1921 21.6071L18.5861 20.0001ZM4.58607 6.00007H3.00007V18.0001H16.5861L14.4061 15.8201C13.3486 16.657 12.0205 17.0762 10.6742 16.9981C9.32795 16.92 8.05726 16.35 7.10368 15.3965C6.1501 14.4429 5.5801 13.1722 5.502 11.8259C5.4239 10.4796 5.84315 9.15151 6.68007 8.09407L4.58607 6.00007ZM8.11007 9.52507C7.64905 10.1988 7.43805 11.0125 7.51359 11.8254C7.58912 12.6383 7.94644 13.3992 8.5237 13.9764C9.10097 14.5537 9.86187 14.911 10.6747 14.9865C11.4876 15.0621 12.3013 14.8511 12.9751 14.3901L8.11007 9.52507ZM21.0001 16.7851L19.0001 14.7851V6.00007H15.1721L13.1721 4.00007H8.82807L8.52107 4.30707L7.10707 2.89307L8.00007 2.00007H14.0001L16.0001 4.00007H20.0001C20.2653 4.00007 20.5196 4.10542 20.7072 4.29296C20.8947 4.4805 21.0001 4.73485 21.0001 5.00007V16.7861V16.7851ZM10.2631 6.05007C11.1024 5.93646 11.9567 6.01825 12.7592 6.28905C13.5618 6.55985 14.2909 7.01236 14.8899 7.61128C15.4888 8.21021 15.9413 8.93937 16.2121 9.74191C16.4829 10.5445 16.5647 11.3987 16.4511 12.2381L14.1131 9.90007C13.7783 9.25128 13.2499 8.72282 12.6011 8.38807L10.2631 6.05007Z" fill="#858282"/>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" fill="none" viewBox="0 0 22 22"><path fill="#858282" d="M18.5861 20.0001H2.00007C1.73485 20.0001 1.4805 19.8947 1.29296 19.7072C1.10542 19.5196 1.00007 19.2653 1.00007 19.0001V5.00007C1.00007 4.73485 1.10542 4.4805 1.29296 4.29296C1.4805 4.10542 1.73485 4.00007 2.00007 4.00007H2.58607L0.393066 1.80807L1.80807 0.393066L21.6071 20.1931L20.1921 21.6071L18.5861 20.0001ZM4.58607 6.00007H3.00007V18.0001H16.5861L14.4061 15.8201C13.3486 16.657 12.0205 17.0762 10.6742 16.9981C9.32795 16.92 8.05726 16.35 7.10368 15.3965C6.1501 14.4429 5.5801 13.1722 5.502 11.8259C5.4239 10.4796 5.84315 9.15151 6.68007 8.09407L4.58607 6.00007ZM8.11007 9.52507C7.64905 10.1988 7.43805 11.0125 7.51359 11.8254C7.58912 12.6383 7.94644 13.3992 8.5237 13.9764C9.10097 14.5537 9.86187 14.911 10.6747 14.9865C11.4876 15.0621 12.3013 14.8511 12.9751 14.3901L8.11007 9.52507ZM21.0001 16.7851L19.0001 14.7851V6.00007H15.1721L13.1721 4.00007H8.82807L8.52107 4.30707L7.10707 2.89307L8.00007 2.00007H14.0001L16.0001 4.00007H20.0001C20.2653 4.00007 20.5196 4.10542 20.7072 4.29296C20.8947 4.4805 21.0001 4.73485 21.0001 5.00007V16.7861V16.7851ZM10.2631 6.05007C11.1024 5.93646 11.9567 6.01825 12.7592 6.28905C13.5618 6.55985 14.2909 7.01236 14.8899 7.61128C15.4888 8.21021 15.9413 8.93937 16.2121 9.74191C16.4829 10.5445 16.5647 11.3987 16.4511 12.2381L14.1131 9.90007C13.7783 9.25128 13.2499 8.72282 12.6011 8.38807L10.2631 6.05007Z"/></svg>
\ No newline at end of file
diff --git a/app/client/src/assets/icons/widget/camera/camera.svg b/app/client/src/assets/icons/widget/camera/camera.svg
index 08cf224f98b7..5c1bafbe8a60 100755
--- a/app/client/src/assets/icons/widget/camera/camera.svg
+++ b/app/client/src/assets/icons/widget/camera/camera.svg
@@ -1,3 +1 @@
-<svg width="20" height="14" viewBox="0 0 20 14" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M13.3334 0.333496C13.7934 0.333496 14.1667 0.706829 14.1667 1.16683V4.66683L18.5109 1.62516C18.6992 1.4935 18.9592 1.53933 19.0917 1.7285C19.14 1.7985 19.1667 1.88183 19.1667 1.96683V12.0335C19.1667 12.2635 18.98 12.4502 18.75 12.4502C18.6642 12.4502 18.5809 12.4235 18.5109 12.3752L14.1667 9.3335V12.8335C14.1667 13.2935 13.7934 13.6668 13.3334 13.6668H1.66671C1.20671 13.6668 0.833374 13.2935 0.833374 12.8335V1.16683C0.833374 0.706829 1.20671 0.333496 1.66671 0.333496H13.3334ZM12.5 2.00016H2.50004V12.0002H12.5V2.00016ZM17.5 4.36766L14.1667 6.701V7.29933L17.5 9.63266V4.36766Z" fill="white"/>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="20" height="14" fill="none" viewBox="0 0 20 14"><path fill="#fff" d="M13.3334 0.333496C13.7934 0.333496 14.1667 0.706829 14.1667 1.16683V4.66683L18.5109 1.62516C18.6992 1.4935 18.9592 1.53933 19.0917 1.7285C19.14 1.7985 19.1667 1.88183 19.1667 1.96683V12.0335C19.1667 12.2635 18.98 12.4502 18.75 12.4502C18.6642 12.4502 18.5809 12.4235 18.5109 12.3752L14.1667 9.3335V12.8335C14.1667 13.2935 13.7934 13.6668 13.3334 13.6668H1.66671C1.20671 13.6668 0.833374 13.2935 0.833374 12.8335V1.16683C0.833374 0.706829 1.20671 0.333496 1.66671 0.333496H13.3334ZM12.5 2.00016H2.50004V12.0002H12.5V2.00016ZM17.5 4.36766L14.1667 6.701V7.29933L17.5 9.63266V4.36766Z"/></svg>
\ No newline at end of file
diff --git a/app/client/src/assets/icons/widget/camera/exit-fullscreen.svg b/app/client/src/assets/icons/widget/camera/exit-fullscreen.svg
index 74aec6494192..3f058bce5484 100644
--- a/app/client/src/assets/icons/widget/camera/exit-fullscreen.svg
+++ b/app/client/src/assets/icons/widget/camera/exit-fullscreen.svg
@@ -1,3 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16">
- <path d="M5.5 0a.5.5 0 0 1 .5.5v4A1.5 1.5 0 0 1 4.5 6h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 1 .5-.5zm5 0a.5.5 0 0 1 .5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 10 4.5v-4a.5.5 0 0 1 .5-.5zM0 10.5a.5.5 0 0 1 .5-.5h4A1.5 1.5 0 0 1 6 11.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 1-.5-.5zm10 1a1.5 1.5 0 0 1 1.5-1.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 0-.5.5v4a.5.5 0 0 1-1 0v-4z" fill="white" />
-</svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="#fff" d="M5.5 0a.5.5 0 0 1 .5.5v4A1.5 1.5 0 0 1 4.5 6h-4a.5.5 0 0 1 0-1h4a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 1 .5-.5zm5 0a.5.5 0 0 1 .5.5v4a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 0 1h-4A1.5 1.5 0 0 1 10 4.5v-4a.5.5 0 0 1 .5-.5zM0 10.5a.5.5 0 0 1 .5-.5h4A1.5 1.5 0 0 1 6 11.5v4a.5.5 0 0 1-1 0v-4a.5.5 0 0 0-.5-.5h-4a.5.5 0 0 1-.5-.5zm10 1a1.5 1.5 0 0 1 1.5-1.5h4a.5.5 0 0 1 0 1h-4a.5.5 0 0 0-.5.5v4a.5.5 0 0 1-1 0v-4z"/></svg>
\ No newline at end of file
diff --git a/app/client/src/assets/icons/widget/camera/fullscreen.svg b/app/client/src/assets/icons/widget/camera/fullscreen.svg
index 129c7504a73b..4c18885f017c 100755
--- a/app/client/src/assets/icons/widget/camera/fullscreen.svg
+++ b/app/client/src/assets/icons/widget/camera/fullscreen.svg
@@ -1,3 +1 @@
-<svg width="18" height="16" viewBox="0 0 18 16" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M15.6667 0.5H17.3333V5.5H15.6667V2.16667H12.3333V0.5H15.6667ZM2.33332 0.5H5.66666V2.16667H2.33332V5.5H0.666656V0.5H2.33332ZM15.6667 13.8333V10.5H17.3333V15.5H12.3333V13.8333H15.6667ZM2.33332 13.8333H5.66666V15.5H0.666656V10.5H2.33332V13.8333Z" fill="white"/>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="18" height="16" fill="none" viewBox="0 0 18 16"><path fill="#fff" d="M15.6667 0.5H17.3333V5.5H15.6667V2.16667H12.3333V0.5H15.6667ZM2.33332 0.5H5.66666V2.16667H2.33332V5.5H0.666656V0.5H2.33332ZM15.6667 13.8333V10.5H17.3333V15.5H12.3333V13.8333H15.6667ZM2.33332 13.8333H5.66666V15.5H0.666656V10.5H2.33332V13.8333Z"/></svg>
\ No newline at end of file
diff --git a/app/client/src/assets/icons/widget/camera/microphone-muted.svg b/app/client/src/assets/icons/widget/camera/microphone-muted.svg
index 1f64cef1a612..d35ee758544b 100755
--- a/app/client/src/assets/icons/widget/camera/microphone-muted.svg
+++ b/app/client/src/assets/icons/widget/camera/microphone-muted.svg
@@ -1,3 +1 @@
-<svg width="17" height="18" viewBox="0 0 17 18" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M16.3929 0C16.2411 0 16.0893 0.0642857 15.9679 0.192857L11.5357 4.88571V3.21429C11.5357 1.44643 10.1696 0 8.5 0C6.83036 0 5.46429 1.44643 5.46429 3.21429V9.64286C5.46429 10.125 5.58571 10.575 5.7375 10.9929L4.82679 11.9571C4.43214 11.2821 4.21964 10.4786 4.21964 9.64286V7.71429C4.21964 7.36071 3.94643 7.07143 3.6125 7.07143C3.27857 7.07143 3.00536 7.36071 3.00536 7.71429V9.64286C3.00536 10.8321 3.33929 11.9571 3.94643 12.8893L0.182143 16.9071C0.0607143 17.0036 0 17.1643 0 17.3571C0 17.7107 0.273214 18 0.607143 18C0.789286 18 0.941071 17.9357 1.03214 17.8071L11.2929 6.94286C11.3232 6.91071 11.3839 6.87857 11.4143 6.81429L16.8179 1.09286C16.9393 0.996429 17 0.803571 17 0.642857C17 0.289286 16.7268 0 16.3929 0ZM13.3571 7.07143C13.0232 7.07143 12.75 7.36071 12.75 7.71429V9.64286C12.75 12.1179 10.8982 14.1107 8.56071 14.1429C8.53036 14.1429 8.5 14.1429 8.46964 14.1429C8.43929 14.1429 8.40893 14.1429 8.40893 14.1429C7.92321 14.1429 7.4375 14.0464 7.0125 13.8857C6.95179 13.8536 6.86071 13.8536 6.8 13.8536C6.46607 13.8536 6.19286 14.1429 6.19286 14.4964C6.19286 14.7857 6.375 15.0107 6.61786 15.1071C7.0125 15.2679 7.4375 15.3643 7.89286 15.4286V16.7143H6.07143C5.7375 16.7143 5.46429 17.0036 5.46429 17.3571C5.46429 17.7107 5.7375 18 6.07143 18H8.40893C8.43929 18 8.46964 18 8.5 18C8.53036 18 8.56071 18 8.59107 18H10.9286C11.2625 18 11.5357 17.7107 11.5357 17.3571C11.5357 17.0036 11.2625 16.7143 10.9286 16.7143H9.10714V15.3964C11.8393 15.075 13.9643 12.6321 13.9643 9.64286V7.71429C13.9643 7.36071 13.6911 7.07143 13.3571 7.07143Z" fill="white"/>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="17" height="18" fill="none" viewBox="0 0 17 18"><path fill="#fff" d="M16.3929 0C16.2411 0 16.0893 0.0642857 15.9679 0.192857L11.5357 4.88571V3.21429C11.5357 1.44643 10.1696 0 8.5 0C6.83036 0 5.46429 1.44643 5.46429 3.21429V9.64286C5.46429 10.125 5.58571 10.575 5.7375 10.9929L4.82679 11.9571C4.43214 11.2821 4.21964 10.4786 4.21964 9.64286V7.71429C4.21964 7.36071 3.94643 7.07143 3.6125 7.07143C3.27857 7.07143 3.00536 7.36071 3.00536 7.71429V9.64286C3.00536 10.8321 3.33929 11.9571 3.94643 12.8893L0.182143 16.9071C0.0607143 17.0036 0 17.1643 0 17.3571C0 17.7107 0.273214 18 0.607143 18C0.789286 18 0.941071 17.9357 1.03214 17.8071L11.2929 6.94286C11.3232 6.91071 11.3839 6.87857 11.4143 6.81429L16.8179 1.09286C16.9393 0.996429 17 0.803571 17 0.642857C17 0.289286 16.7268 0 16.3929 0ZM13.3571 7.07143C13.0232 7.07143 12.75 7.36071 12.75 7.71429V9.64286C12.75 12.1179 10.8982 14.1107 8.56071 14.1429C8.53036 14.1429 8.5 14.1429 8.46964 14.1429C8.43929 14.1429 8.40893 14.1429 8.40893 14.1429C7.92321 14.1429 7.4375 14.0464 7.0125 13.8857C6.95179 13.8536 6.86071 13.8536 6.8 13.8536C6.46607 13.8536 6.19286 14.1429 6.19286 14.4964C6.19286 14.7857 6.375 15.0107 6.61786 15.1071C7.0125 15.2679 7.4375 15.3643 7.89286 15.4286V16.7143H6.07143C5.7375 16.7143 5.46429 17.0036 5.46429 17.3571C5.46429 17.7107 5.7375 18 6.07143 18H8.40893C8.43929 18 8.46964 18 8.5 18C8.53036 18 8.56071 18 8.59107 18H10.9286C11.2625 18 11.5357 17.7107 11.5357 17.3571C11.5357 17.0036 11.2625 16.7143 10.9286 16.7143H9.10714V15.3964C11.8393 15.075 13.9643 12.6321 13.9643 9.64286V7.71429C13.9643 7.36071 13.6911 7.07143 13.3571 7.07143Z"/></svg>
\ No newline at end of file
diff --git a/app/client/src/assets/icons/widget/camera/microphone.svg b/app/client/src/assets/icons/widget/camera/microphone.svg
index 0371b857a713..3740c45a9bcb 100755
--- a/app/client/src/assets/icons/widget/camera/microphone.svg
+++ b/app/client/src/assets/icons/widget/camera/microphone.svg
@@ -1,3 +1 @@
-<svg width="16" height="20" viewBox="0 0 16 20" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M7.99994 2.50016C7.3369 2.50016 6.70102 2.76355 6.23218 3.2324C5.76333 3.70124 5.49994 4.33712 5.49994 5.00016V8.3335C5.49994 8.99654 5.76333 9.63242 6.23218 10.1013C6.70102 10.5701 7.3369 10.8335 7.99994 10.8335C8.66298 10.8335 9.29887 10.5701 9.76771 10.1013C10.2366 9.63242 10.4999 8.99654 10.4999 8.3335V5.00016C10.4999 4.33712 10.2366 3.70124 9.76771 3.2324C9.29887 2.76355 8.66298 2.50016 7.99994 2.50016ZM7.99994 0.833496C8.54712 0.833496 9.08893 0.94127 9.59446 1.15066C10.1 1.36006 10.5593 1.66697 10.9462 2.05388C11.3331 2.4408 11.64 2.90012 11.8494 3.40565C12.0588 3.91117 12.1666 4.45299 12.1666 5.00016V8.3335C12.1666 9.43856 11.7276 10.4984 10.9462 11.2798C10.1648 12.0612 9.10501 12.5002 7.99994 12.5002C6.89487 12.5002 5.83507 12.0612 5.05366 11.2798C4.27226 10.4984 3.83328 9.43856 3.83328 8.3335V5.00016C3.83328 3.89509 4.27226 2.83529 5.05366 2.05388C5.83507 1.27248 6.89487 0.833496 7.99994 0.833496ZM0.545776 9.16683H2.22494C2.42685 10.5541 3.1215 11.8224 4.1818 12.7396C5.24211 13.6567 6.59718 14.1615 7.99911 14.1615C9.40104 14.1615 10.7561 13.6567 11.8164 12.7396C12.8767 11.8224 13.5714 10.5541 13.7733 9.16683H15.4533C15.2638 10.8574 14.5055 12.4335 13.3026 13.6364C12.0998 14.8394 10.5238 15.598 8.83328 15.7877V19.1668H7.16661V15.7877C5.47589 15.5982 3.89976 14.8397 2.69676 13.6367C1.49375 12.4337 0.735287 10.8575 0.545776 9.16683Z" fill="white"/>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="20" fill="none" viewBox="0 0 16 20"><path fill="#fff" d="M7.99994 2.50016C7.3369 2.50016 6.70102 2.76355 6.23218 3.2324C5.76333 3.70124 5.49994 4.33712 5.49994 5.00016V8.3335C5.49994 8.99654 5.76333 9.63242 6.23218 10.1013C6.70102 10.5701 7.3369 10.8335 7.99994 10.8335C8.66298 10.8335 9.29887 10.5701 9.76771 10.1013C10.2366 9.63242 10.4999 8.99654 10.4999 8.3335V5.00016C10.4999 4.33712 10.2366 3.70124 9.76771 3.2324C9.29887 2.76355 8.66298 2.50016 7.99994 2.50016ZM7.99994 0.833496C8.54712 0.833496 9.08893 0.94127 9.59446 1.15066C10.1 1.36006 10.5593 1.66697 10.9462 2.05388C11.3331 2.4408 11.64 2.90012 11.8494 3.40565C12.0588 3.91117 12.1666 4.45299 12.1666 5.00016V8.3335C12.1666 9.43856 11.7276 10.4984 10.9462 11.2798C10.1648 12.0612 9.10501 12.5002 7.99994 12.5002C6.89487 12.5002 5.83507 12.0612 5.05366 11.2798C4.27226 10.4984 3.83328 9.43856 3.83328 8.3335V5.00016C3.83328 3.89509 4.27226 2.83529 5.05366 2.05388C5.83507 1.27248 6.89487 0.833496 7.99994 0.833496ZM0.545776 9.16683H2.22494C2.42685 10.5541 3.1215 11.8224 4.1818 12.7396C5.24211 13.6567 6.59718 14.1615 7.99911 14.1615C9.40104 14.1615 10.7561 13.6567 11.8164 12.7396C12.8767 11.8224 13.5714 10.5541 13.7733 9.16683H15.4533C15.2638 10.8574 14.5055 12.4335 13.3026 13.6364C12.0998 14.8394 10.5238 15.598 8.83328 15.7877V19.1668H7.16661V15.7877C5.47589 15.5982 3.89976 14.8397 2.69676 13.6367C1.49375 12.4337 0.735287 10.8575 0.545776 9.16683Z"/></svg>
\ No newline at end of file
diff --git a/app/client/src/widgets/CameraWidget/icon.svg b/app/client/src/widgets/CameraWidget/icon.svg
index 2a9b5b353b77..de90ca2bf5f3 100755
--- a/app/client/src/widgets/CameraWidget/icon.svg
+++ b/app/client/src/widgets/CameraWidget/icon.svg
@@ -1,3 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><g fill="#4b4848">
- <path fill="none" d="M0 0h24v24H0z"/><path d="M9 3h6l2 2h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h4l2-2zm3 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm0-2a4 4 0 1 1 0-8 4 4 0 0 1 0 8z"/>
-</g></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="#4b4848"><path fill="none" d="M0 0h24v24H0z"/><path d="M9 3h6l2 2h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h4l2-2zm3 16a6 6 0 1 0 0-12 6 6 0 0 0 0 12zm0-2a4 4 0 1 1 0-8 4 4 0 0 1 0 8z"/></g></svg>
\ No newline at end of file
diff --git a/app/client/src/widgets/SwitchGroupWidget/icon.svg b/app/client/src/widgets/SwitchGroupWidget/icon.svg
index fcaa891f23a6..c3990e16db1d 100755
--- a/app/client/src/widgets/SwitchGroupWidget/icon.svg
+++ b/app/client/src/widgets/SwitchGroupWidget/icon.svg
@@ -1,9 +1 @@
-<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path fill-rule="evenodd" clip-rule="evenodd" d="M11 6C11 4.89543 10.1046 4 9 4H6C4.89543 4 4 4.89543 4 6C4 7.10457 4.89543 8 6 8H9C10.1046 8 11 7.10457 11 6ZM9 7C9.55228 7 10 6.55228 10 6C10 5.44772 9.55228 5 9 5C8.44772 5 8 5.44772 8 6C8 6.55228 8.44772 7 9 7Z" fill="#4B4848"/>
-<path d="M12.9998 5.80005C12.9998 5.38584 13.3355 5.05005 13.7498 5.05005L19.2498 5.05005C19.664 5.05005 19.9998 5.38584 19.9998 5.80005C19.9998 6.21426 19.664 6.55005 19.2498 6.55005L13.7498 6.55005C13.3355 6.55005 12.9998 6.21426 12.9998 5.80005Z" fill="#4B4848"/>
-<path fill-rule="evenodd" clip-rule="evenodd" d="M11 12C11 10.8954 10.1046 10 9 10H6C4.89543 10 4 10.8954 4 12C4 13.1046 4.89543 14 6 14H9C10.1046 14 11 13.1046 11 12ZM9 13C9.55228 13 10 12.5523 10 12C10 11.4477 9.55228 11 9 11C8.44772 11 8 11.4477 8 12C8 12.5523 8.44772 13 9 13Z" fill="#4B4848"/>
-<path d="M12.9998 11.8C12.9998 11.3858 13.3355 11.05 13.7498 11.05L19.2498 11.05C19.664 11.05 19.9998 11.3858 19.9998 11.8C19.9998 12.2143 19.664 12.55 19.2498 12.55L13.7498 12.55C13.3355 12.55 12.9998 12.2143 12.9998 11.8Z" fill="#4B4848"/>
-<circle cx="6" cy="18" r="1" fill="#4B4848"/>
-<path d="M4.25 18C4.25 17.0335 5.0335 16.25 6 16.25H9C9.9665 16.25 10.75 17.0335 10.75 18C10.75 18.9665 9.9665 19.75 9 19.75H6C5.0335 19.75 4.25 18.9665 4.25 18Z" stroke="#4B4848" stroke-width="0.5"/>
-<path d="M13 17.8C13 17.3858 13.3358 17.05 13.75 17.05L19.25 17.05C19.6642 17.05 20 17.3858 20 17.8C20 18.2143 19.6642 18.55 19.25 18.55L13.75 18.55C13.3358 18.55 13 18.2143 13 17.8Z" fill="#4B4848"/>
-</svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path fill="#4B4848" fill-rule="evenodd" d="M11 6C11 4.89543 10.1046 4 9 4H6C4.89543 4 4 4.89543 4 6C4 7.10457 4.89543 8 6 8H9C10.1046 8 11 7.10457 11 6ZM9 7C9.55228 7 10 6.55228 10 6C10 5.44772 9.55228 5 9 5C8.44772 5 8 5.44772 8 6C8 6.55228 8.44772 7 9 7Z" clip-rule="evenodd"/><path fill="#4B4848" d="M12.9998 5.80005C12.9998 5.38584 13.3355 5.05005 13.7498 5.05005L19.2498 5.05005C19.664 5.05005 19.9998 5.38584 19.9998 5.80005C19.9998 6.21426 19.664 6.55005 19.2498 6.55005L13.7498 6.55005C13.3355 6.55005 12.9998 6.21426 12.9998 5.80005Z"/><path fill="#4B4848" fill-rule="evenodd" d="M11 12C11 10.8954 10.1046 10 9 10H6C4.89543 10 4 10.8954 4 12C4 13.1046 4.89543 14 6 14H9C10.1046 14 11 13.1046 11 12ZM9 13C9.55228 13 10 12.5523 10 12C10 11.4477 9.55228 11 9 11C8.44772 11 8 11.4477 8 12C8 12.5523 8.44772 13 9 13Z" clip-rule="evenodd"/><path fill="#4B4848" d="M12.9998 11.8C12.9998 11.3858 13.3355 11.05 13.7498 11.05L19.2498 11.05C19.664 11.05 19.9998 11.3858 19.9998 11.8C19.9998 12.2143 19.664 12.55 19.2498 12.55L13.7498 12.55C13.3355 12.55 12.9998 12.2143 12.9998 11.8Z"/><circle cx="6" cy="18" r="1" fill="#4B4848"/><path stroke="#4B4848" stroke-width=".5" d="M4.25 18C4.25 17.0335 5.0335 16.25 6 16.25H9C9.9665 16.25 10.75 17.0335 10.75 18C10.75 18.9665 9.9665 19.75 9 19.75H6C5.0335 19.75 4.25 18.9665 4.25 18Z"/><path fill="#4B4848" d="M13 17.8C13 17.3858 13.3358 17.05 13.75 17.05L19.25 17.05C19.6642 17.05 20 17.3858 20 17.8C20 18.2143 19.6642 18.55 19.25 18.55L13.75 18.55C13.3358 18.55 13 18.2143 13 17.8Z"/></svg>
\ No newline at end of file
|
a26cb0415142a15d8235707a370e2e941b15de4b
|
2023-01-16 10:14:18
|
arunvjn
|
fix: show library diffs in git modal (#19675)
| false
|
show library diffs in git modal (#19675)
|
fix
|
diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts
index bc373f61bf97..a2f0a74510ca 100644
--- a/app/client/src/ce/constants/messages.ts
+++ b/app/client/src/ce/constants/messages.ts
@@ -1474,7 +1474,7 @@ export const customJSLibraryMessages = {
`Installation Successful. You can access the library via ${accessor}`,
INSTALLATION_FAILED: () => "Installation failed",
INSTALLED_ALREADY: (accessor: string) =>
- `This library is installed already. You could access it via ${accessor}.`,
+ `This library is already installed. You could access it via ${accessor}.`,
UNINSTALL_FAILED: (name: string) =>
`Couldn't uninstall ${name}. Please try again after sometime.`,
UNINSTALL_SUCCESS: (accessor: string) =>
diff --git a/app/client/src/pages/Editor/Explorer/Libraries/Installer.tsx b/app/client/src/pages/Editor/Explorer/Libraries/Installer.tsx
index caf9a70e2b28..52f5c549bbbf 100644
--- a/app/client/src/pages/Editor/Explorer/Libraries/Installer.tsx
+++ b/app/client/src/pages/Editor/Explorer/Libraries/Installer.tsx
@@ -12,6 +12,7 @@ import {
FormGroup,
Icon,
IconSize,
+ MenuDivider,
Size,
Spinner,
Text,
@@ -60,7 +61,7 @@ const Wrapper = styled.div<{ left: number }>`
width: 400px;
max-height: 80vh;
flex-direction: column;
- padding: 0 24px 4px;
+ padding: 0 20px 4px 24px;
position: absolute;
background: white;
z-index: 25;
@@ -73,32 +74,33 @@ const Wrapper = styled.div<{ left: number }>`
justify-content: space-between;
margin-bottom: 12px;
}
- .search-area {
- margin-bottom: 16px;
- .left-icon {
- margin-left: 14px;
- .cs-icon {
- margin-right: 0;
- }
- }
- .bp3-form-group {
- margin: 0;
- .remixicon-icon {
- cursor: initial;
- }
- }
- .bp3-label {
- font-size: 12px;
- }
- display: flex;
- flex-direction: column;
- .search-bar {
- margin-bottom: 8px;
- }
- }
.search-body {
display: flex;
+ padding-right: 4px;
flex-direction: column;
+ .search-area {
+ margin-bottom: 16px;
+ .left-icon {
+ margin-left: 14px;
+ .cs-icon {
+ margin-right: 0;
+ }
+ }
+ .bp3-form-group {
+ margin: 0;
+ .remixicon-icon {
+ cursor: initial;
+ }
+ }
+ .bp3-label {
+ font-size: 12px;
+ }
+ display: flex;
+ flex-direction: column;
+ .search-bar {
+ margin-bottom: 8px;
+ }
+ }
.search-CTA {
margin-bottom: 16px;
display: flex;
@@ -150,8 +152,11 @@ const InstallationProgressWrapper = styled.div<{ addBorder: boolean }>`
overflow: hidden;
word-break: break-all;
}
- .error-card {
+ .error-card.show {
display: flex;
+ }
+ .error-card {
+ display: none;
padding: 10px;
flex-direction: row;
background: #ffe9e9;
@@ -201,7 +206,7 @@ const StatusIconWrapper = styled.div<{
`;
function isValidJSFileURL(url: string) {
- const JS_FILE_REGEX = /^https?:\/\/.*\.js$/;
+ const JS_FILE_REGEX = /(?:https?):\/\/(\w+:?\w*)?(\S+)(:\d+)?(\/|\/([\w#!:.?+=&%!\-\/]))?/;
return JS_FILE_REGEX.test(url);
}
@@ -255,11 +260,9 @@ function ProgressTracker({
addBorder={!isFirst}
className={classNames({
"mb-2": isLast,
+ hidden: status !== InstallState.Failed,
})}
>
- {[InstallState.Queued, InstallState.Installing].includes(status) && (
- <div className="text-gray-700 text-xs">Installing...</div>
- )}
<div className="flex flex-col gap-3">
<div className="flex justify-between items-center gap-2 fw-500 text-sm">
<div className="install-url text-sm font-medium">{url}</div>
@@ -267,27 +270,30 @@ function ProgressTracker({
<StatusIcon status={status} />
</div>
</div>
- {status === InstallState.Failed && (
- <div className="gap-2 error-card items-start">
- <Icon name="danger" size={IconSize.XL} />
- <div className="flex flex-col unsupported gap-1">
- <div className="header">
- {createMessage(customJSLibraryMessages.UNSUPPORTED_LIB)}
- </div>
- <div className="body">
- {createMessage(customJSLibraryMessages.UNSUPPORTED_LIB_DESC)}
- </div>
- <div className="footer text-xs font-medium gap-2 flex flex-row">
- <a onClick={(e) => openDoc(e, EXT_LINK.reportIssue)}>
- {createMessage(customJSLibraryMessages.REPORT_ISSUE)}
- </a>
- <a onClick={(e) => openDoc(e, EXT_LINK.learnMore)}>
- {createMessage(customJSLibraryMessages.LEARN_MORE)}
- </a>
- </div>
+ <div
+ className={classNames({
+ "gap-2 error-card items-start ": true,
+ show: status === InstallState.Failed,
+ })}
+ >
+ <Icon name="danger" size={IconSize.XL} />
+ <div className="flex flex-col unsupported gap-1">
+ <div className="header">
+ {createMessage(customJSLibraryMessages.UNSUPPORTED_LIB)}
+ </div>
+ <div className="body">
+ {createMessage(customJSLibraryMessages.UNSUPPORTED_LIB_DESC)}
+ </div>
+ <div className="footer text-xs font-medium gap-2 flex flex-row">
+ <a onClick={(e) => openDoc(e, EXT_LINK.reportIssue)}>
+ {createMessage(customJSLibraryMessages.REPORT_ISSUE)}
+ </a>
+ <a onClick={(e) => openDoc(e, EXT_LINK.learnMore)}>
+ {createMessage(customJSLibraryMessages.LEARN_MORE)}
+ </a>
</div>
</div>
- )}
+ </div>
</div>
</InstallationProgressWrapper>
);
@@ -314,6 +320,10 @@ function InstallationProgress() {
);
}
+const SectionDivider = styled(MenuDivider)`
+ margin: 0 0 16px 0;
+`;
+
const EXT_LINK = {
learnMore:
"https://docs.appsmith.com/core-concepts/writing-code/ext-libraries",
@@ -332,6 +342,7 @@ export function Installer(props: { left: number }) {
const installerRef = useRef<HTMLDivElement>(null);
const closeInstaller = useCallback(() => {
+ setURL("");
dispatch(clearInstalls());
dispatch(toggleInstaller(false));
}, []);
@@ -382,7 +393,7 @@ export function Installer(props: { left: number }) {
Toaster.show({
text: createMessage(
customJSLibraryMessages.INSTALLED_ALREADY,
- libInstalled.accessor,
+ libInstalled.accessor[0] || "",
),
variant: Variant.info,
});
@@ -392,6 +403,7 @@ export function Installer(props: { left: number }) {
installLibraryInit({
url,
name: lib?.name,
+ version: lib?.version,
}),
);
},
@@ -412,37 +424,37 @@ export function Installer(props: { left: number }) {
size={IconSize.XXL}
/>
</div>
- <div className="search-area t--library-container">
- <div className="flex flex-row gap-2 justify-between items-end">
- <FormGroup className="flex-1" label={"Library URL"}>
- <TextInput
- $padding="12px"
- autoFocus
- data-testid="library-url"
- height="30px"
- label={"Library URL"}
- leftIcon="link-2"
- onChange={updateURL}
- padding="12px"
- placeholder="https://cdn.jsdelivr.net/npm/[email protected]/example.min.js"
- validator={validate}
- width="100%"
+ <div className="search-body overflow-auto">
+ <div className="search-area t--library-container">
+ <div className="flex flex-row gap-2 justify-between items-end">
+ <FormGroup className="flex-1" label={"Library URL"}>
+ <TextInput
+ $padding="12px"
+ data-testid="library-url"
+ height="30px"
+ label={"Library URL"}
+ leftIcon="link-2"
+ onChange={updateURL}
+ padding="12px"
+ placeholder="https://cdn.jsdelivr.net/npm/[email protected]/example.min.js"
+ validator={validate}
+ width="100%"
+ />
+ </FormGroup>
+ <Button
+ category={Category.primary}
+ data-testid="install-library-btn"
+ disabled={!(URL && isValid)}
+ icon="download"
+ isLoading={queuedLibraries.length > 0}
+ onClick={() => installLibrary()}
+ size={Size.medium}
+ tag="button"
+ text="INSTALL"
+ type="button"
/>
- </FormGroup>
- <Button
- category={Category.primary}
- data-testid="install-library-btn"
- disabled={!(URL && isValid)}
- icon="download"
- onClick={() => installLibrary()}
- size={Size.medium}
- tag="button"
- text="INSTALL"
- type="button"
- />
+ </div>
</div>
- </div>
- <div className="search-body overflow-auto">
<div className="search-CTA mb-3 text-xs">
<span>
Explore libraries on{" "}
@@ -463,6 +475,7 @@ export function Installer(props: { left: number }) {
{"."}
</span>
</div>
+ <SectionDivider color="red" />
<InstallationProgress />
<div className="pb-2 sticky top-0 z-2 bg-white">
<Text type={TextType.P1} weight={"600"}>
diff --git a/app/client/src/pages/Editor/Explorer/Libraries/index.tsx b/app/client/src/pages/Editor/Explorer/Libraries/index.tsx
index 6bd206110cc7..753dfa5bdf47 100644
--- a/app/client/src/pages/Editor/Explorer/Libraries/index.tsx
+++ b/app/client/src/pages/Editor/Explorer/Libraries/index.tsx
@@ -35,6 +35,7 @@ import { getPagePermissions } from "selectors/editorSelectors";
import { hasCreateActionPermission } from "@appsmith/utils/permissionHelpers";
import { selectFeatureFlags } from "selectors/usersSelectors";
import recommendedLibraries from "./recommendedLibraries";
+import { useTransition, animated } from "react-spring";
const docsURLMap = recommendedLibraries.reduce((acc, lib) => {
acc[lib.url] = lib.docsURL;
@@ -286,8 +287,16 @@ function LibraryEntity({ lib }: { lib: TJSLibrary }) {
function JSDependencies() {
const libraries = useSelector(selectLibrariesForExplorer);
- const dependencyList = libraries.map((lib) => (
- <LibraryEntity key={lib.name} lib={lib} />
+ const transitions = useTransition(libraries, {
+ keys: (lib) => lib.name,
+ from: { opacity: 0 },
+ enter: { opacity: 1 },
+ leave: { opacity: 1 },
+ });
+ const dependencyList = transitions((style, lib) => (
+ <animated.div style={style}>
+ <LibraryEntity lib={lib} />
+ </animated.div>
));
const isOpen = useSelector(selectIsInstallerOpen);
const dispatch = useDispatch();
diff --git a/app/client/src/pages/Editor/Explorer/Libraries/recommendedLibraries.ts b/app/client/src/pages/Editor/Explorer/Libraries/recommendedLibraries.ts
index bb742098ee92..d3f2225fc4a3 100644
--- a/app/client/src/pages/Editor/Explorer/Libraries/recommendedLibraries.ts
+++ b/app/client/src/pages/Editor/Explorer/Libraries/recommendedLibraries.ts
@@ -1,23 +1,13 @@
export default [
{
- name: "uuidjs",
- url: "https://cdn.jsdelivr.net/npm/[email protected]/src/uuid.min.js",
- description:
- "UUID.js is a JavaScript/ECMAScript library to generate RFC 4122 compliant Universally Unique IDentifiers (UUIDs). This library supports both version 4 UUIDs (UUIDs from random numbers) and version 1 UUIDs (time-based UUIDs), and provides an object-oriented interface to print a generated or parsed UUID in a variety of forms.",
- author: "LiosK",
+ name: "AWS SDK",
+ url: "https://sdk.amazonaws.com/js/aws-sdk-2.410.0.min.js",
docsURL:
- "https://github.com/LiosK/UUID.js/#uuidjs---rfc-compliant-uuid-generator-for-javascript",
- version: "4.2.12",
- icon: "https://github.com/LiosK.png?s=20",
- },
- {
- name: "i18next",
- url: "https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/i18next.min.js",
- description: "i18next internationalization framework",
- author: "i18next",
- version: "22.1.4",
- icon: "https://github.com/i18next.png?s=20",
- docsURL: "https://www.i18next.com/overview/getting-started",
+ "https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/configuring-the-jssdk.html",
+ description: "AWS SDK for JavaScript",
+ icon: "https://github.com/aws.png?s=20",
+ author: "aws",
+ version: "2.410.0",
},
{
name: "jsonwebtoken",
@@ -28,46 +18,55 @@ export default [
url: `/libraries/[email protected]`,
icon: "https://github.com/auth0.png?s=20",
},
+ {
+ name: "jspdf",
+ description: "PDF Document creation from JavaScript",
+ author: "MrRio",
+ docsURL: "https://raw.githack.com/MrRio/jsPDF/master/docs/index.html",
+ version: "2.5.1",
+ url: "https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js",
+ icon: "https://github.com/MrRio.png?s=20",
+ },
+ {
+ name: "@amplitude/analytics-browser",
+ description: "Official Amplitude SDK for Web",
+ author: "amplitude",
+ docsURL:
+ "https://github.com/amplitude/Amplitude-TypeScript/tree/main/packages/analytics-browser#usage",
+ version: "1.6.1",
+ url:
+ "https://cdn.jsdelivr.net/npm/@amplitude/[email protected]/lib/scripts/amplitude-min.umd.js",
+ icon: "https://github.com/amplitude.png?s=20",
+ },
{
name: "@supabase/supabase-js",
description: "Isomorphic Javascript client for Supabase",
author: "supabase",
docsURL: "https://supabase.com/docs/reference/javascript",
- version: "2.1.0",
- url:
- "https://cdn.jsdelivr.net/npm/@supabase/[email protected]/dist/umd/supabase.min.js",
+ version: "2.2.3",
+ url: "https://cdn.jsdelivr.net/npm/@supabase/supabase-js@1",
icon: "https://github.com/supabase.png?s=20",
},
{
- name: "@segment/analytics-next",
- url:
- "https://cdn.jsdelivr.net/npm/@segment/[email protected]/dist/umd/index.js",
+ name: "uuidjs",
+ url: "https://cdn.jsdelivr.net/npm/[email protected]/src/uuid.min.js",
description:
- "Analytics Next (aka Analytics 2.0) is the latest version of Segment’s JavaScript SDK - enabling you to send your data to any tool without having to learn, test, or use a new API every time.",
- author: "segmentio",
+ "UUID.js is a JavaScript/ECMAScript library to generate RFC 4122 compliant Universally Unique IDentifiers (UUIDs). This library supports both version 4 UUIDs (UUIDs from random numbers) and version 1 UUIDs (time-based UUIDs), and provides an object-oriented interface to print a generated or parsed UUID in a variety of forms.",
+ author: "LiosK",
docsURL:
- "https://github.com/segmentio/analytics-next/tree/master/packages/browser#readme",
- version: "1.46.1",
- icon: "https://github.com/segmentio.png?s=20",
- },
- {
- name: "mixpanel-browser",
- description: "The official Mixpanel JavaScript browser client library",
- author: "mixpanel",
- docsURL: "https://developer.mixpanel.com/docs/javascript",
- version: "2.1.0",
- url: `https://cdn.jsdelivr.net/npm/[email protected]/dist/mixpanel.umd.js`,
- icon: "https://github.com/mixpanel.png?s=20",
+ "https://github.com/LiosK/UUID.js/#uuidjs---rfc-compliant-uuid-generator-for-javascript",
+ version: "4.2.12",
+ icon: "https://github.com/LiosK.png?s=20",
},
{
- name: "fast-csv",
- description: "CSV parser and writer",
- author: "C2FO",
- docsURL:
- "https://c2fo.github.io/fast-csv/docs/introduction/getting-started/",
- version: "4.3.6",
- url: `/libraries/[email protected]`,
- icon: "https://github.com/C2FO.png?s=20",
+ name: "Papa Parse 5",
+ description:
+ "Fast and powerful CSV (delimited text) parser that gracefully handles large files and malformed input",
+ author: "mholt",
+ docsURL: "https://www.papaparse.com/docs",
+ version: "5.3.2",
+ url: `https://unpkg.com/[email protected]/papaparse.min.js`,
+ icon: "https://github.com/mholt.png?s=20",
},
{
name: "ky",
@@ -79,24 +78,23 @@ export default [
icon: "https://github.com/sindresorhus.png?s=20",
},
{
- name: "jspdf",
- description: "PDF Document creation from JavaScript",
- author: "MrRio",
- docsURL: "https://raw.githack.com/MrRio/jsPDF/master/docs/index.html",
- version: "2.5.1",
- url: "https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.5.1/jspdf.umd.min.js",
- icon: "https://github.com/MrRio.png?s=20",
+ name: "appwrite",
+ url: "https://cdn.jsdelivr.net/npm/[email protected]/dist/iife/sdk.min.js",
+ description:
+ "Appwrite is a secure end-to-end backend server for frontend and mobile developers",
+ author: "appwrite",
+ version: "10.2.0",
+ icon: "https://github.com/appwrite.png?s=20",
+ docsURL: "https://github.com/appwrite/sdk-for-web#getting-started",
},
{
- name: "@amplitude/analytics-browser",
- description: "Official Amplitude SDK for Web",
- author: "amplitude",
- docsURL:
- "https://github.com/amplitude/Amplitude-TypeScript/tree/main/packages/analytics-browser#usage",
- version: "1.6.1",
- url:
- "https://cdn.jsdelivr.net/npm/@amplitude/[email protected]/lib/scripts/amplitude-min.umd.js",
- icon: "https://github.com/amplitude.png?s=20",
+ name: "i18next",
+ url: "https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/i18next.min.js",
+ description: "i18next internationalization framework",
+ author: "i18next",
+ version: "22.1.4",
+ icon: "https://github.com/i18next.png?s=20",
+ docsURL: "https://www.i18next.com/overview/getting-started",
},
{
name: "uzip-module",
@@ -116,6 +114,16 @@ export default [
url: "https://browser.sentry-cdn.com/7.17.3/bundle.min.js",
icon: "https://github.com/getsentry.png?s=20",
},
+ {
+ name: "jsonpath",
+ url: "https://cdn.jsdelivr.net/npm/[email protected]/jsonpath.min.js",
+ description:
+ "Query JavaScript objects with JSONPath expressions. Robust / safe JSONPath engine for Node.js",
+ version: "1.1.1",
+ author: "dchester",
+ docsURL: "https://github.com/dchester/jsonpath/#jsonpath",
+ icon: "https://github.com/dchester.png?s=20",
+ },
{
name: "browser-image-compression",
url:
@@ -127,24 +135,17 @@ export default [
description: "Compress images in the browser",
icon: "https://github.com/Donaldcwl.png?s=20",
},
- {
- name: "crypto-js",
- url:
- "https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js",
- description: "JavaScript library of crypto standards",
- version: "4.1.1",
- author: "brix",
- docsURL: "https://github.com/brix/crypto-js/#crypto-js",
- icon: "https://github.com/brix.png?s=20",
- },
- {
- name: "jsonpath",
- url: "https://cdn.jsdelivr.net/npm/[email protected]/jsonpath.min.js",
- description:
- "Query JavaScript objects with JSONPath expressions. Robust / safe JSONPath engine for Node.js",
- version: "1.1.1",
- author: "dchester",
- docsURL: "https://github.com/dchester/jsonpath/#jsonpath",
- icon: "https://github.com/dchester.png?s=20",
- },
+ // We'll be enabling support for segment soon
+ // {
+ // name: "@segment/analytics-next",
+ // url:
+ // "https://cdn.jsdelivr.net/npm/@segment/[email protected]/dist/umd/index.js",
+ // description:
+ // "Analytics Next (aka Analytics 2.0) is the latest version of Segment’s JavaScript SDK - enabling you to send your data to any tool without having to learn, test, or use a new API every time.",
+ // author: "segmentio",
+ // docsURL:
+ // "https://github.com/segmentio/analytics-next/tree/master/packages/browser#readme",
+ // version: "1.46.1",
+ // icon: "https://github.com/segmentio.png?s=20",
+ // },
];
diff --git a/app/client/src/pages/Editor/gitSync/components/GitChangesList.test.tsx b/app/client/src/pages/Editor/gitSync/components/GitChangesList.test.tsx
index 61e76e66c459..2911b0c2bdd6 100644
--- a/app/client/src/pages/Editor/gitSync/components/GitChangesList.test.tsx
+++ b/app/client/src/pages/Editor/gitSync/components/GitChangesList.test.tsx
@@ -15,6 +15,7 @@ describe("GitChangesList", () => {
remoteBranch: "string",
modifiedJSObjects: 1,
modifiedDatasources: 1,
+ modifiedJSLibs: 1,
discardDocUrl: "string",
};
const actual = gitChangeListData(status);
@@ -22,7 +23,7 @@ describe("GitChangesList", () => {
const actualJSON = JSON.stringify(actual);
expect(actualJSON.length).toBeGreaterThan(0);
const expectedJSON =
- '[{"key":"change-status-widget","ref":null,"props":{"message":"1 page modified","iconName":"widget","hasValue":true},"_owner":null,"_store":{}},{"key":"change-status-query","ref":null,"props":{"message":"1 query modified","iconName":"query","hasValue":true},"_owner":null,"_store":{}},{"key":"change-status-js","ref":null,"props":{"message":"1 JS Object modified","iconName":"js","hasValue":true},"_owner":null,"_store":{}},{"key":"change-status-database-2-line","ref":null,"props":{"message":"1 datasource modified","iconName":"database-2-line","hasValue":true},"_owner":null,"_store":{}},{"key":"change-status-git-commit","ref":null,"props":{"message":"1 commit ahead. These are the commits that haven\'t been pushed to remote yet.","iconName":"git-commit","hasValue":true},"_owner":null,"_store":{}},{"key":"change-status-git-commit","ref":null,"props":{"message":"1 commit behind. We will try to pull before pushing your changes.","iconName":"git-commit","hasValue":true},"_owner":null,"_store":{}}]';
+ '[{"key":"change-status-widget","ref":null,"props":{"message":"1 page modified","iconName":"widget","hasValue":true},"_owner":null,"_store":{}},{"key":"change-status-query","ref":null,"props":{"message":"1 query modified","iconName":"query","hasValue":true},"_owner":null,"_store":{}},{"key":"change-status-js","ref":null,"props":{"message":"1 JS Object modified","iconName":"js","hasValue":true},"_owner":null,"_store":{}},{"key":"change-status-database-2-line","ref":null,"props":{"message":"1 datasource modified","iconName":"database-2-line","hasValue":true},"_owner":null,"_store":{}},{"key":"change-status-git-commit","ref":null,"props":{"message":"1 commit ahead. These are the commits that haven\'t been pushed to remote yet.","iconName":"git-commit","hasValue":true},"_owner":null,"_store":{}},{"key":"change-status-git-commit","ref":null,"props":{"message":"1 commit behind. We will try to pull before pushing your changes.","iconName":"git-commit","hasValue":true},"_owner":null,"_store":{}},{"key":"change-status-package","ref":null,"props":{"message":"1 library modified","iconName":"package","hasValue":true},"_owner":null,"_store":{}}]';
expect(actualJSON).toEqual(expectedJSON);
});
it("returns empty array", () => {
diff --git a/app/client/src/pages/Editor/gitSync/components/GitChangesList.tsx b/app/client/src/pages/Editor/gitSync/components/GitChangesList.tsx
index 6deec6c55af9..4b2c8da7e9ec 100644
--- a/app/client/src/pages/Editor/gitSync/components/GitChangesList.tsx
+++ b/app/client/src/pages/Editor/gitSync/components/GitChangesList.tsx
@@ -55,6 +55,7 @@ export enum Kind {
JS_OBJECT = "JS_OBJECT",
PAGE = "PAGE",
QUERY = "QUERY",
+ JS_LIB = "JS_LIB",
}
type GitStatusProps = {
@@ -106,6 +107,13 @@ const STATUS_MAP: GitStatusMap = {
iconName: "query",
hasValue: (status?.modifiedQueries || 0) > 0,
}),
+ [Kind.JS_LIB]: (status: GitStatusData) => ({
+ message: `${status?.modifiedJSLibs || 0} ${
+ (status?.modifiedJSLibs || 0) <= 1 ? "library" : "libraries"
+ } modified`,
+ iconName: "package",
+ hasValue: (status?.modifiedJSLibs || 0) > 0,
+ }),
};
function behindCommitMessage(status: GitStatusData) {
@@ -149,6 +157,7 @@ const defaultStatus: GitStatusData = {
modifiedDatasources: 0,
modifiedJSObjects: 0,
modifiedPages: 0,
+ modifiedJSLibs: 0,
modifiedQueries: 0,
remoteBranch: "",
};
@@ -168,6 +177,7 @@ export function gitChangeListData(
Kind.DATA_SOURCE,
Kind.AHEAD_COMMIT,
Kind.BEHIND_COMMIT,
+ Kind.JS_LIB,
];
return changeKind
.map((type: Kind) => STATUS_MAP[type](status))
diff --git a/app/client/src/reducers/uiReducers/gitSyncReducer.ts b/app/client/src/reducers/uiReducers/gitSyncReducer.ts
index 1e8c53dcbf00..65544c843185 100644
--- a/app/client/src/reducers/uiReducers/gitSyncReducer.ts
+++ b/app/client/src/reducers/uiReducers/gitSyncReducer.ts
@@ -504,6 +504,7 @@ export type GitStatusData = {
remoteBranch: string;
modifiedJSObjects: number;
modifiedDatasources: number;
+ modifiedJSLibs: number;
discardDocUrl?: string;
};
diff --git a/app/client/src/sagas/JSLibrarySaga.ts b/app/client/src/sagas/JSLibrarySaga.ts
index d43770d57f8f..0783c8e47cf5 100644
--- a/app/client/src/sagas/JSLibrarySaga.ts
+++ b/app/client/src/sagas/JSLibrarySaga.ts
@@ -68,6 +68,7 @@ function* handleInstallationFailure(
payload: { url, show: false },
});
AnalyticsUtil.logEvent("INSTALL_LIBRARY", { url, success: false });
+ log.error(message);
}
export function* installLibrarySaga(lib: Partial<TJSLibrary>) {
@@ -108,6 +109,7 @@ export function* installLibrarySaga(lib: Partial<TJSLibrary>) {
const versionMatch = (url as string).match(/(?:@)(\d+\.)(\d+\.)(\d+)/);
let [version = ""] = versionMatch ? versionMatch : [];
version = version.startsWith("@") ? version.slice(1) : version;
+ version = version || lib?.version || "";
let stringifiedDefs = "";
|
8bf6f1379e48d411def074ebe1cf4f0d7c0da38c
|
2021-10-11 18:21:34
|
Paul Li
|
feat: Audio recorder widget - permission denied state (#8223)
| false
|
Audio recorder widget - permission denied state (#8223)
|
feat
|
diff --git a/app/client/src/widgets/AudioRecorderWidget/component/index.tsx b/app/client/src/widgets/AudioRecorderWidget/component/index.tsx
index cf1389809890..353f9c920f6c 100644
--- a/app/client/src/widgets/AudioRecorderWidget/component/index.tsx
+++ b/app/client/src/widgets/AudioRecorderWidget/component/index.tsx
@@ -14,6 +14,8 @@ import { hexToRgb, ThemeProp } from "components/ads/common";
import { darkenHover } from "constants/DefaultTheme";
export enum RecorderStatusTypes {
+ PERMISSION_PROMPT = "PERMISSION_PROMPT",
+ PERMISSION_DENIED = "PERMISSION_DENIED",
DEFAULT = "DEFAULT",
RECORDING = "RECORDING",
PAUSE = "PAUSE",
@@ -68,6 +70,7 @@ interface RecorderLeftButtonStyleProps {
dimension: number;
disabled: boolean;
iconColor: string;
+ permissionDenied: boolean;
status: RecorderStatus;
}
@@ -133,12 +136,22 @@ const StyledRecorderLeftButton = styled(Button)<
}
}
- ${({ backgroundColor, theme }) => `
+ ${({ backgroundColor, permissionDenied, theme }) => `
&:enabled {
- background: ${backgroundColor ? backgroundColor : "none"} !important;
+ background: ${
+ backgroundColor
+ ? permissionDenied
+ ? theme.colors.button.disabled.bgColor
+ : backgroundColor
+ : "none"
+ } !important;
}
&:hover:enabled, &:active:enabled {
- background: ${darkenHover(backgroundColor || "#f6f6f6")} !important;
+ background: ${darkenHover(
+ permissionDenied
+ ? theme.colors.button.disabled.bgColor
+ : backgroundColor || "#f6f6f6",
+ )} !important;
animation: none;
}
&:disabled {
@@ -204,6 +217,7 @@ function RecorderLeft(props: RecorderLeftProps) {
icon={renderRecorderIcon(denied, status)}
iconColor={iconColor}
onClick={handleClick}
+ permissionDenied={denied}
status={status}
/>
);
@@ -311,6 +325,7 @@ function RecorderRight(props: RecorderRightProps) {
onClearRecording,
onPlayerEnded,
playerStatus,
+ recorderStatus,
seconds,
statusMessage,
} = props;
@@ -491,17 +506,27 @@ function RecorderRight(props: RecorderRightProps) {
return (
<RightContainer>
<div className="status">{statusMessage}</div>
- <div className="controls">
- {isReadyPlayerTimer
- ? renderTimer(
- currentDays,
- currentHours,
- currentMinutes,
- currentSeconds,
- )
- : renderTimer(days, hours, minutes, seconds)}
- {renderPlayerControls(props)}
- </div>
+ {recorderStatus === RecorderStatusTypes.PERMISSION_DENIED ? (
+ <a
+ href="https://help.sprucehealth.com/article/386-changing-permissions-for-video-and-audio-on-your-internet-browser"
+ rel="noreferrer"
+ target="_blank"
+ >
+ Know more
+ </a>
+ ) : (
+ <div className="controls">
+ {isReadyPlayerTimer
+ ? renderTimer(
+ currentDays,
+ currentHours,
+ currentMinutes,
+ currentSeconds,
+ )
+ : renderTimer(days, hours, minutes, seconds)}
+ {renderPlayerControls(props)}
+ </div>
+ )}
</RightContainer>
);
}
@@ -535,17 +560,14 @@ function AudioRecorderComponent(props: RecorderComponentProps) {
width - WIDGET_PADDING * 2,
);
const [recorderStatus, setRecorderStatus] = useState(
- RecorderStatusTypes.DEFAULT,
+ RecorderStatusTypes.PERMISSION_PROMPT,
);
const [playerStatus, setPlayerStatus] = useState(PlayerStatusTypes.DEFAULT);
- const [statusMessage, setStatusMessage] = useState(
- "Press to start recording",
- );
+ const [statusMessage, setStatusMessage] = useState("Press to get permission");
const [isReadyPlayerTimer, setIsReadyPlayerTimer] = useState(false);
const [isClear, setIsClear] = useState(false);
const [isPermissionDenied, setIsPermissionDenied] = useState(false);
-
const {
clearBlobUrl,
error,
@@ -555,7 +577,6 @@ function AudioRecorderComponent(props: RecorderComponentProps) {
startRecording,
stopRecording,
} = useReactMediaRecorder({
- askPermissionOnMount: true,
onStop: (blobUrl: string, blob: Blob) => onRecordingComplete(blobUrl, blob),
});
@@ -573,7 +594,8 @@ function AudioRecorderComponent(props: RecorderComponentProps) {
useEffect(() => {
if (error === "permission_denied") {
setIsPermissionDenied(true);
- setStatusMessage("Permission not given");
+ setRecorderStatus(RecorderStatusTypes.PERMISSION_DENIED);
+ setStatusMessage("Permission denied");
}
}, [error]);
@@ -599,8 +621,33 @@ function AudioRecorderComponent(props: RecorderComponentProps) {
reset(0, false);
};
+ const handlePermissionPrompt = () => {
+ navigator.mediaDevices
+ .getUserMedia({ video: false, audio: true })
+ .then(() => {
+ setIsPermissionDenied(false);
+ setRecorderStatus(RecorderStatusTypes.DEFAULT);
+ setStatusMessage("Press to start recording");
+ })
+ .catch((err) => {
+ if (err.code === 0) {
+ setIsPermissionDenied(true);
+ setRecorderStatus(RecorderStatusTypes.PERMISSION_DENIED);
+ setStatusMessage("Permission denied");
+ }
+ });
+ };
+
const handleRecorderClick = () => {
switch (recorderStatus) {
+ case RecorderStatusTypes.DEFAULT:
+ startRecording();
+ start();
+ setRecorderStatus(RecorderStatusTypes.RECORDING);
+ setStatusMessage("Recording...");
+ setIsClear(false);
+ onRecordingStart();
+ break;
case RecorderStatusTypes.RECORDING:
pauseRecording();
pause();
@@ -622,12 +669,7 @@ function AudioRecorderComponent(props: RecorderComponentProps) {
break;
default:
- startRecording();
- start();
- setRecorderStatus(RecorderStatusTypes.RECORDING);
- setStatusMessage("Recording...");
- setIsClear(false);
- onRecordingStart();
+ handlePermissionPrompt();
break;
}
};
|
8a45e5a7c74fc50fcbd5f1646e2d3ede25a0503b
|
2024-11-14 14:52:54
|
Anagh Hegde
|
chore: update sync to pg workflow to use github pat for accessing the secrets (#36944)
| false
|
update sync to pg workflow to use github pat for accessing the secrets (#36944)
|
chore
|
diff --git a/.github/workflows/sync-release-to-pg.yml b/.github/workflows/sync-release-to-pg.yml
index a962d28c9e2d..e4cc227b29e9 100644
--- a/.github/workflows/sync-release-to-pg.yml
+++ b/.github/workflows/sync-release-to-pg.yml
@@ -51,13 +51,13 @@ jobs:
if: env.MERGE_CONFLICT == 'false'
run: |
set -e
- git push origin pg || echo "PUSH_FAILURE=true" >> $GITHUB_ENV
+ git push https://${{ secrets.PAT_GITHUB }}@github.com/${{ github.repository }} HEAD:pg || echo "PUSH_FAILURE=true" >> $GITHUB_ENV
- name: Capture push failure message
if: env.PUSH_FAILURE == 'true'
run: |
# Capture the last git error message
- push_error_message=$(git push origin pg 2>&1 | tail -n 1)
+ push_error_message=$(git push https://${{ secrets.PAT_GITHUB }}@github.com/${{ github.repository }} HEAD:pg 2>&1 | tail -n 1)
echo "PUSH_ERROR_MESSAGE=$push_error_message" >> $GITHUB_ENV
- name: Notify on push failure
|
6e25f51a4ff9d10a1f451ee047a8a75a68633cc8
|
2025-03-07 11:10:27
|
Abhijeet
|
chore: Convert non-reactive methods consuming @FeatureFlagged to reactive (#39594)
| false
|
Convert non-reactive methods consuming @FeatureFlagged to reactive (#39594)
|
chore
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/base/ActionCollectionServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/base/ActionCollectionServiceCEImpl.java
index 3c4dcf1788db..58472ea86848 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/base/ActionCollectionServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/base/ActionCollectionServiceCEImpl.java
@@ -280,13 +280,16 @@ public Mono<ActionCollectionDTO> update(String id, ActionCollectionDTO actionCol
@Override
public Mono<ActionCollectionDTO> deleteWithoutPermissionUnpublishedActionCollection(String id) {
- return deleteUnpublishedActionCollection(id, null, actionPermission.getDeletePermission());
+ return actionPermission
+ .getDeletePermission()
+ .flatMap(permission -> deleteUnpublishedActionCollection(id, null, permission));
}
@Override
public Mono<ActionCollectionDTO> deleteUnpublishedActionCollection(String id) {
- return deleteUnpublishedActionCollection(
- id, actionPermission.getDeletePermission(), actionPermission.getDeletePermission());
+ return actionPermission
+ .getDeletePermission()
+ .flatMap(permission -> deleteUnpublishedActionCollection(id, permission, permission));
}
@Override
@@ -418,10 +421,12 @@ public Mono<ActionCollection> archiveById(String id) {
}
protected Mono<ActionCollection> archiveGivenActionCollection(ActionCollection actionCollection) {
- Flux<NewAction> unpublishedJsActionsFlux = newActionService.findByCollectionIdAndViewMode(
- actionCollection.getId(), false, actionPermission.getDeletePermission());
- Flux<NewAction> publishedJsActionsFlux = newActionService.findByCollectionIdAndViewMode(
- actionCollection.getId(), true, actionPermission.getDeletePermission());
+ Mono<AclPermission> deleteActionPermissionMono =
+ actionPermission.getDeletePermission().cache();
+ Flux<NewAction> unpublishedJsActionsFlux = deleteActionPermissionMono.flatMapMany(permission ->
+ newActionService.findByCollectionIdAndViewMode(actionCollection.getId(), false, permission));
+ Flux<NewAction> publishedJsActionsFlux = deleteActionPermissionMono.flatMapMany(permission ->
+ newActionService.findByCollectionIdAndViewMode(actionCollection.getId(), true, permission));
return unpublishedJsActionsFlux
.mergeWith(publishedJsActionsFlux)
.flatMap(toArchive -> newActionService
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/importable/ActionCollectionImportableServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/importable/ActionCollectionImportableServiceCEImpl.java
index 0fb942013c19..104b93e43c4a 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/importable/ActionCollectionImportableServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/importable/ActionCollectionImportableServiceCEImpl.java
@@ -20,6 +20,7 @@
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
+import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import java.util.ArrayList;
@@ -172,84 +173,102 @@ private Mono<ImportActionCollectionResultDTO> importActionCollections(
// collections
resultDTO.setExistingActionCollections(actionsCollectionsInCurrentArtifact.values());
- List<ActionCollection> newActionCollections = new ArrayList<>();
- List<ActionCollection> existingActionCollections = new ArrayList<>();
-
- for (ActionCollection actionCollection : importedActionCollectionList) {
- final ActionCollectionDTO unpublishedCollection =
- actionCollection.getUnpublishedCollection();
- if (unpublishedCollection == null
- || StringUtils.isEmpty(unpublishedCollection.calculateContextId())) {
- continue; // invalid action collection, skip it
- }
-
- String idFromJsonFile = actionCollection.getId();
-
- ActionCollection branchedActionCollection = null;
-
- if (actionsCollectionsInBranches.containsKey(actionCollection.getGitSyncId())) {
- branchedActionCollection =
- artifactBasedImportableService
- .getExistingEntityInOtherBranchForImportedEntity(
- mappedImportableResourcesDTO,
- actionsCollectionsInBranches,
- actionCollection);
- }
-
- Context baseContext = populateIdReferencesAndReturnBaseContext(
- importingMetaDTO,
- mappedImportableResourcesDTO,
- artifact,
- branchedActionCollection,
- actionCollection);
-
- // Check if the action has gitSyncId and if it's already in DB
- if (existingArtifactContainsCollection(
- actionsCollectionsInCurrentArtifact, actionCollection)) {
-
- // Since the resource is already present in DB, just update resource
- ActionCollection existingActionCollection =
- artifactBasedImportableService
- .getExistingEntityInCurrentBranchForImportedEntity(
- mappedImportableResourcesDTO,
- actionsCollectionsInCurrentArtifact,
- actionCollection);
-
- updateExistingCollection(
- importingMetaDTO,
- mappedImportableResourcesDTO,
- actionCollection,
- existingActionCollection);
-
- existingActionCollections.add(existingActionCollection);
- resultDTO.getSavedActionCollectionIds().add(existingActionCollection.getId());
- resultDTO
- .getSavedActionCollectionMap()
- .put(idFromJsonFile, existingActionCollection);
- } else {
- artifactBasedImportableService.createNewResource(
- importingMetaDTO, actionCollection, baseContext);
-
- populateDomainMappedReferences(mappedImportableResourcesDTO, actionCollection);
-
- // it's new actionCollection
- newActionCollections.add(actionCollection);
- resultDTO.getSavedActionCollectionIds().add(actionCollection.getId());
- resultDTO.getSavedActionCollectionMap().put(idFromJsonFile, actionCollection);
- }
- }
- log.info(
- "Saving action collections in bulk. New: {}, Updated: {}",
- newActionCollections.size(),
- existingActionCollections.size());
- return Mono.when(
- actionCollectionService
- .bulkValidateAndInsertActionCollectionInRepository(
- newActionCollections),
- actionCollectionService
- .bulkValidateAndUpdateActionCollectionInRepository(
- existingActionCollections))
- .thenReturn(resultDTO);
+ // Use a synchronised list to avoid concurrent modification exception
+ List<ActionCollection> newActionCollections =
+ Collections.synchronizedList(new ArrayList<>());
+ List<ActionCollection> existingActionCollections =
+ Collections.synchronizedList(new ArrayList<>());
+
+ return Flux.fromIterable(importedActionCollectionList)
+ .flatMap(actionCollection -> {
+ final ActionCollectionDTO unpublishedCollection =
+ actionCollection.getUnpublishedCollection();
+ if (unpublishedCollection == null
+ || StringUtils.isEmpty(
+ unpublishedCollection.calculateContextId())) {
+ return Mono.empty(); // invalid action collection, skip it
+ }
+
+ String idFromJsonFile = actionCollection.getId();
+
+ ActionCollection branchedActionCollection = null;
+
+ if (actionsCollectionsInBranches.containsKey(
+ actionCollection.getGitSyncId())) {
+ branchedActionCollection =
+ artifactBasedImportableService
+ .getExistingEntityInOtherBranchForImportedEntity(
+ mappedImportableResourcesDTO,
+ actionsCollectionsInBranches,
+ actionCollection);
+ }
+
+ Context baseContext = populateIdReferencesAndReturnBaseContext(
+ importingMetaDTO,
+ mappedImportableResourcesDTO,
+ artifact,
+ branchedActionCollection,
+ actionCollection);
+
+ // Check if the action has gitSyncId and if it's already in DB
+ if (existingArtifactContainsCollection(
+ actionsCollectionsInCurrentArtifact, actionCollection)) {
+
+ // Since the resource is already present in DB, just update resource
+ ActionCollection existingActionCollection =
+ artifactBasedImportableService
+ .getExistingEntityInCurrentBranchForImportedEntity(
+ mappedImportableResourcesDTO,
+ actionsCollectionsInCurrentArtifact,
+ actionCollection);
+
+ updateExistingCollection(
+ importingMetaDTO,
+ mappedImportableResourcesDTO,
+ actionCollection,
+ existingActionCollection);
+
+ existingActionCollections.add(existingActionCollection);
+ resultDTO
+ .getSavedActionCollectionIds()
+ .add(existingActionCollection.getId());
+ resultDTO
+ .getSavedActionCollectionMap()
+ .put(idFromJsonFile, existingActionCollection);
+ return Mono.just(existingActionCollection);
+ }
+ return artifactBasedImportableService
+ .createNewResource(importingMetaDTO, actionCollection, baseContext)
+ .flatMap(updatedActionCollection -> {
+ // populate the domain mapped references
+ populateDomainMappedReferences(
+ mappedImportableResourcesDTO, updatedActionCollection);
+
+ // it's new actionCollection
+ newActionCollections.add(updatedActionCollection);
+ resultDTO
+ .getSavedActionCollectionIds()
+ .add(updatedActionCollection.getId());
+ resultDTO
+ .getSavedActionCollectionMap()
+ .put(idFromJsonFile, updatedActionCollection);
+ return Mono.just(updatedActionCollection);
+ });
+ })
+ .then(Mono.defer(() -> {
+ log.info(
+ "Saving action collections in bulk. New: {}, Updated: {}",
+ newActionCollections.size(),
+ existingActionCollections.size());
+ return Mono.when(
+ actionCollectionService
+ .bulkValidateAndInsertActionCollectionInRepository(
+ newActionCollections),
+ actionCollectionService
+ .bulkValidateAndUpdateActionCollectionInRepository(
+ existingActionCollections))
+ .thenReturn(resultDTO);
+ }));
});
})
.onErrorResume(e -> {
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/importable/applications/ActionCollectionApplicationImportableServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/importable/applications/ActionCollectionApplicationImportableServiceCEImpl.java
index 0595b5abee0e..39f9d6ab4f77 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/importable/applications/ActionCollectionApplicationImportableServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/importable/applications/ActionCollectionApplicationImportableServiceCEImpl.java
@@ -18,6 +18,7 @@
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
import java.util.List;
import java.util.Map;
@@ -88,26 +89,31 @@ public Context updateContextInResource(
}
@Override
- public void createNewResource(
+ public Mono<ActionCollection> createNewResource(
ImportingMetaDTO importingMetaDTO, ActionCollection actionCollection, Context baseContext) {
- if (!importingMetaDTO.getPermissionProvider().canCreateAction((NewPage) baseContext)) {
- throw new AppsmithException(
- AppsmithError.ACL_NO_RESOURCE_FOUND, FieldName.PAGE, ((NewPage) baseContext).getId());
- }
+ Mono<Boolean> canCreateAction = importingMetaDTO.getPermissionProvider().canCreateAction((NewPage) baseContext);
+ return canCreateAction.flatMap(canCreate -> {
+ if (!canCreate) {
+ return Mono.error(new AppsmithException(
+ AppsmithError.ACL_NO_RESOURCE_FOUND, FieldName.PAGE, ((NewPage) baseContext).getId()));
+ }
- // this will generate the id and other auto generated fields e.g. createdAt
- actionCollection.updateForBulkWriteOperation();
- actionCollectionService.generateAndSetPolicies((NewPage) baseContext, actionCollection);
+ // this will generate the id and other auto generated fields e.g. createdAt
+ actionCollection.updateForBulkWriteOperation();
+ actionCollectionService.generateAndSetPolicies((NewPage) baseContext, actionCollection);
- // create or update base id for the action
- // values already set to base id are kept unchanged
- actionCollection.setBaseId(actionCollection.getBaseIdOrFallback());
- actionCollection.setRefType(importingMetaDTO.getRefType());
- actionCollection.setRefName(importingMetaDTO.getRefName());
+ // create or update base id for the action
+ // values already set to base id are kept unchanged
+ actionCollection.setBaseId(actionCollection.getBaseIdOrFallback());
+ actionCollection.setRefType(importingMetaDTO.getRefType());
+ actionCollection.setRefName(importingMetaDTO.getRefName());
- // generate gitSyncId if it's not present
- if (actionCollection.getGitSyncId() == null) {
- actionCollection.setGitSyncId(actionCollection.getApplicationId() + "_" + UUID.randomUUID());
- }
+ // generate gitSyncId if it's not present
+ if (actionCollection.getGitSyncId() == null) {
+ actionCollection.setGitSyncId(actionCollection.getApplicationId() + "_" + UUID.randomUUID());
+ }
+
+ return Mono.just(actionCollection);
+ });
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java
index 580596aa51ec..f089e2fe5710 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/base/ApplicationServiceCEImpl.java
@@ -593,10 +593,9 @@ protected List<Mono<Void>> updatePoliciesForIndependentDomains(
// the same level in the hierarchy. A user may have permission to change view on application, but
// may not have explicit permissions on the datasource.
Mono<Void> updatedDatasourcesMono = datasourceIdsMono
- .flatMapMany(datasourceIds -> {
- return policySolution.updateWithNewPoliciesToDatasourcesByDatasourceIdsWithoutPermission(
- datasourceIds, datasourcePolicyMap, addViewAccess);
- })
+ .flatMapMany(datasourceIds ->
+ policySolution.updateWithNewPoliciesToDatasourcesByDatasourceIdsWithoutPermission(
+ datasourceIds, datasourcePolicyMap, addViewAccess))
.then();
list.add(updatedDatasourcesMono);
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceCEImpl.java
index 94c29a24331c..5b0d33916ce0 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/applications/imports/ApplicationImportServiceCEImpl.java
@@ -90,19 +90,21 @@ public class ApplicationImportServiceCEImpl
Map.of(FieldName.ARTIFACT_CONTEXT, FieldName.APPLICATION, FieldName.ID, FieldName.APPLICATION_ID);
@Override
- public ImportArtifactPermissionProvider getImportArtifactPermissionProviderForImportingArtifact(
+ public Mono<ImportArtifactPermissionProvider> getImportArtifactPermissionProviderForImportingArtifact(
Set<String> userPermissionGroups) {
- return ImportArtifactPermissionProvider.builder(
- applicationPermission,
- pagePermission,
- actionPermission,
- datasourcePermission,
- workspacePermission)
- .requiredPermissionOnTargetWorkspace(workspacePermission.getApplicationCreatePermission())
- .permissionRequiredToCreateDatasource(true)
- .permissionRequiredToEditDatasource(true)
- .currentUserPermissionGroups(userPermissionGroups)
- .build();
+ return workspacePermission
+ .getApplicationCreatePermission()
+ .map(appCreatePermission -> ImportArtifactPermissionProvider.builder(
+ applicationPermission,
+ pagePermission,
+ actionPermission,
+ datasourcePermission,
+ workspacePermission)
+ .requiredPermissionOnTargetWorkspace(appCreatePermission)
+ .permissionRequiredToCreateDatasource(true)
+ .permissionRequiredToEditDatasource(true)
+ .currentUserPermissionGroups(userPermissionGroups)
+ .build());
}
@Override
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/artifacts/permissions/ArtifactPermissionCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/artifacts/permissions/ArtifactPermissionCE.java
index 78423dd64cfb..37bb030dd962 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/artifacts/permissions/ArtifactPermissionCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/artifacts/permissions/ArtifactPermissionCE.java
@@ -1,12 +1,13 @@
package com.appsmith.server.artifacts.permissions;
import com.appsmith.server.acl.AclPermission;
+import reactor.core.publisher.Mono;
public interface ArtifactPermissionCE {
AclPermission getEditPermission();
- AclPermission getDeletePermission();
+ Mono<AclPermission> getDeletePermission();
AclPermission getGitConnectPermission();
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/base/DatasourceServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/base/DatasourceServiceCEImpl.java
index 591ea758900d..7b1b99f01472 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/base/DatasourceServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/base/DatasourceServiceCEImpl.java
@@ -152,7 +152,9 @@ public DatasourceServiceCEImpl(
@Override
public Mono<Datasource> create(Datasource datasource) {
- return createEx(datasource, workspacePermission.getDatasourceCreatePermission(), false, null);
+ return workspacePermission
+ .getDatasourceCreatePermission()
+ .flatMap(permission -> createEx(datasource, permission, false, null));
}
// TODO: Check usage
@@ -880,8 +882,9 @@ public Flux<Datasource> getAllByWorkspaceIdWithStorages(String workspaceId, AclP
@Override
public Mono<Datasource> archiveById(String id) {
- return repository
- .findById(id, datasourcePermission.getDeletePermission())
+ return datasourcePermission
+ .getDeletePermission()
+ .flatMap(permission -> repository.findById(id, permission))
.switchIfEmpty(
Mono.error(new AppsmithException(AppsmithError.NO_RESOURCE_FOUND, FieldName.DATASOURCE, id)))
.zipWhen(datasource -> newActionRepository.countByDatasourceId(datasource.getId()))
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/importable/DatasourceImportableServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/importable/DatasourceImportableServiceCEImpl.java
index 83489d22a359..c55d391eba3d 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/importable/DatasourceImportableServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/datasources/importable/DatasourceImportableServiceCEImpl.java
@@ -301,43 +301,47 @@ private Mono<Datasource> createUniqueDatasourceIfNotPresent(
.filter(ds -> ds.getName().equals(datasourceStorage.getName())
&& datasourceStorage.getPluginId().equals(ds.getPluginId()))
.next() // Get the first matching datasource, we don't need more than one here.
- .switchIfEmpty(Mono.defer(() -> {
- // check if user has permission to create datasource
- if (!permissionProvider.canCreateDatasource(workspace)) {
- log.error(
- "Unauthorized to create datasource: {} in workspace: {}",
- datasourceStorage.getName(),
- workspace.getName());
- return Mono.error(new AppsmithException(
- AppsmithError.ACL_NO_RESOURCE_FOUND,
- FieldName.DATASOURCE,
- datasourceStorage.getName()));
- }
-
- if (datasourceConfig != null && datasourceConfig.getAuthentication() != null) {
- datasourceConfig.getAuthentication().setAuthenticationResponse(authResponse);
- }
- // No matching existing datasource found, so create a new one.
- datasourceStorage.setIsConfigured(
- datasourceConfig != null && datasourceConfig.getAuthentication() != null);
- datasourceStorage.setEnvironmentId(environmentId);
-
- return datasourceService
- .findByNameAndWorkspaceId(datasourceStorage.getName(), workspace.getId(), null)
- .flatMap(duplicateNameDatasource ->
- getUniqueSuffixForDuplicateNameEntity(duplicateNameDatasource, workspace.getId()))
- .map(dsName -> {
- datasourceStorage.setName(datasourceStorage.getName() + dsName);
-
- return datasourceService.createDatasourceFromDatasourceStorage(datasourceStorage);
- })
- .switchIfEmpty(Mono.just(
- datasourceService.createDatasourceFromDatasourceStorage(datasourceStorage)))
- // DRY RUN queries are not saved, so we need to create them separately at the import service
- // solution
- .flatMap(datasource -> datasourceService.createWithoutPermissions(
- datasource, mappedImportableResourcesDTO.getDatasourceStorageDryRunQueries()));
- }))
+ .switchIfEmpty(Mono.defer(
+ () -> permissionProvider.canCreateDatasource(workspace).flatMap(canCreateDatasource -> {
+ // check if user has permission to create datasource
+ if (!canCreateDatasource) {
+ log.error(
+ "Unauthorized to create datasource: {} in workspace: {}",
+ datasourceStorage.getName(),
+ workspace.getName());
+ return Mono.error(new AppsmithException(
+ AppsmithError.ACL_NO_RESOURCE_FOUND,
+ FieldName.DATASOURCE,
+ datasourceStorage.getName()));
+ }
+
+ if (datasourceConfig != null && datasourceConfig.getAuthentication() != null) {
+ datasourceConfig.getAuthentication().setAuthenticationResponse(authResponse);
+ }
+ // No matching existing datasource found, so create a new one.
+ datasourceStorage.setIsConfigured(
+ datasourceConfig != null && datasourceConfig.getAuthentication() != null);
+ datasourceStorage.setEnvironmentId(environmentId);
+
+ return datasourceService
+ .findByNameAndWorkspaceId(datasourceStorage.getName(), workspace.getId(), null)
+ .flatMap(duplicateNameDatasource -> getUniqueSuffixForDuplicateNameEntity(
+ duplicateNameDatasource, workspace.getId()))
+ .map(dsName -> {
+ datasourceStorage.setName(datasourceStorage.getName() + dsName);
+
+ return datasourceService.createDatasourceFromDatasourceStorage(
+ datasourceStorage);
+ })
+ .switchIfEmpty(Mono.just(
+ datasourceService.createDatasourceFromDatasourceStorage(datasourceStorage)))
+ // DRY RUN queries are not saved, so we need to create them separately at the import
+ // service
+ // solution
+ .flatMap(datasource -> datasourceService.createWithoutPermissions(
+ datasource,
+ mappedImportableResourcesDTO.getDatasourceStorageDryRunQueries()));
+ })))
.onErrorResume(throwable -> {
log.error("failed to import datasource", throwable);
return Mono.error(throwable);
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/fork/internal/ApplicationForkingServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/fork/internal/ApplicationForkingServiceCEImpl.java
index 62fc9d9bdec4..c7baf7604b3f 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/fork/internal/ApplicationForkingServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/fork/internal/ApplicationForkingServiceCEImpl.java
@@ -433,8 +433,9 @@ public Mono<Application> forkApplicationToWorkspaceWithEnvironment(
.switchIfEmpty(Mono.error(new AppsmithException(
AppsmithError.NO_RESOURCE_FOUND, FieldName.APPLICATION, srcApplicationId)));
- final Mono<Workspace> targetWorkspaceMono = workspaceService
- .findById(targetWorkspaceId, workspacePermission.getApplicationCreatePermission())
+ final Mono<Workspace> targetWorkspaceMono = workspacePermission
+ .getApplicationCreatePermission()
+ .flatMap(permission -> workspaceService.findById(targetWorkspaceId, permission))
.switchIfEmpty(Mono.error(new AppsmithException(
AppsmithError.NO_RESOURCE_FOUND, FieldName.WORKSPACE, targetWorkspaceId)));
@@ -636,20 +637,22 @@ private Mono<Boolean> checkPermissionsForForking(String branchedApplicationId1,
permissionGroupIdsMono,
actionPermission.getEditPermission(),
AppsmithError.APPLICATION_NOT_FORKED_MISSING_PERMISSIONS);
- Mono<Boolean> workspaceValidatedForCreateApplicationPermission =
- UserPermissionUtils.validateDomainObjectPermissionsOrError(
+ Mono<Boolean> workspaceValidatedForCreateApplicationPermission = workspacePermission
+ .getApplicationCreatePermission()
+ .flatMap(permission -> UserPermissionUtils.validateDomainObjectPermissionsOrError(
workspaceFlux,
FieldName.WORKSPACE,
permissionGroupIdsMono,
- workspacePermission.getApplicationCreatePermission(),
- AppsmithError.APPLICATION_NOT_FORKED_MISSING_PERMISSIONS);
- Mono<Boolean> workspaceValidatedForCreateDatasourcePermission =
- UserPermissionUtils.validateDomainObjectPermissionsOrError(
+ permission,
+ AppsmithError.APPLICATION_NOT_FORKED_MISSING_PERMISSIONS));
+ Mono<Boolean> workspaceValidatedForCreateDatasourcePermission = workspacePermission
+ .getDatasourceCreatePermission()
+ .flatMap(permission -> UserPermissionUtils.validateDomainObjectPermissionsOrError(
workspaceFlux,
FieldName.WORKSPACE,
permissionGroupIdsMono,
- workspacePermission.getDatasourceCreatePermission(),
- AppsmithError.APPLICATION_NOT_FORKED_MISSING_PERMISSIONS);
+ permission,
+ AppsmithError.APPLICATION_NOT_FORKED_MISSING_PERMISSIONS));
return Mono.when(
pagesValidatedForPermission,
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/EmailServiceHelperCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/EmailServiceHelperCE.java
index db905304a4a4..a9c1b865f0e5 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/EmailServiceHelperCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/EmailServiceHelperCE.java
@@ -7,17 +7,17 @@
public interface EmailServiceHelperCE {
Mono<Map<String, String>> enrichWithBrandParams(Map<String, String> params, String origin);
- String getForgotPasswordTemplate();
+ Mono<String> getForgotPasswordTemplate();
- String getWorkspaceInviteTemplate(boolean isNewUser);
+ Mono<String> getWorkspaceInviteTemplate(boolean isNewUser);
- String getEmailVerificationTemplate();
+ Mono<String> getEmailVerificationTemplate();
- String getAdminInstanceInviteTemplate();
+ Mono<String> getAdminInstanceInviteTemplate();
- String getJoinInstanceCtaPrimaryText();
+ Mono<String> getJoinInstanceCtaPrimaryText();
- String getSubjectJoinInstanceAsAdmin(String instanceName);
+ Mono<String> getSubjectJoinInstanceAsAdmin(String instanceName);
- String getSubjectJoinWorkspace(String workspaceName);
+ Mono<String> getSubjectJoinWorkspace(String workspaceName);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/EmailServiceHelperCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/EmailServiceHelperCEImpl.java
index 239be2322bc7..95b94cb71496 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/EmailServiceHelperCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/EmailServiceHelperCEImpl.java
@@ -36,39 +36,39 @@ public Mono<Map<String, String>> enrichWithBrandParams(Map<String, String> param
}
@Override
- public String getForgotPasswordTemplate() {
- return FORGOT_PASSWORD_TEMPLATE_CE;
+ public Mono<String> getForgotPasswordTemplate() {
+ return Mono.just(FORGOT_PASSWORD_TEMPLATE_CE);
}
@Override
- public String getWorkspaceInviteTemplate(boolean isNewUser) {
- if (isNewUser) return INVITE_WORKSPACE_TEMPLATE_NEW_USER_CE;
+ public Mono<String> getWorkspaceInviteTemplate(boolean isNewUser) {
+ if (isNewUser) return Mono.just(INVITE_WORKSPACE_TEMPLATE_NEW_USER_CE);
- return INVITE_WORKSPACE_TEMPLATE_EXISTING_USER_CE;
+ return Mono.just(INVITE_WORKSPACE_TEMPLATE_EXISTING_USER_CE);
}
@Override
- public String getEmailVerificationTemplate() {
- return EMAIL_VERIFICATION_EMAIL_TEMPLATE_CE;
+ public Mono<String> getEmailVerificationTemplate() {
+ return Mono.just(EMAIL_VERIFICATION_EMAIL_TEMPLATE_CE);
}
@Override
- public String getAdminInstanceInviteTemplate() {
- return INSTANCE_ADMIN_INVITE_EMAIL_TEMPLATE;
+ public Mono<String> getAdminInstanceInviteTemplate() {
+ return Mono.just(INSTANCE_ADMIN_INVITE_EMAIL_TEMPLATE);
}
@Override
- public String getJoinInstanceCtaPrimaryText() {
- return PRIMARY_LINK_TEXT_INVITE_TO_INSTANCE_CE;
+ public Mono<String> getJoinInstanceCtaPrimaryText() {
+ return Mono.just(PRIMARY_LINK_TEXT_INVITE_TO_INSTANCE_CE);
}
@Override
- public String getSubjectJoinInstanceAsAdmin(String instanceName) {
- return INSTANCE_ADMIN_INVITE_EMAIL_SUBJECT;
+ public Mono<String> getSubjectJoinInstanceAsAdmin(String instanceName) {
+ return Mono.just(INSTANCE_ADMIN_INVITE_EMAIL_SUBJECT);
}
@Override
- public String getSubjectJoinWorkspace(String workspaceName) {
- return INVITE_TO_WORKSPACE_EMAIL_SUBJECT_CE;
+ public Mono<String> getSubjectJoinWorkspace(String workspaceName) {
+ return Mono.just(INVITE_TO_WORKSPACE_EMAIL_SUBJECT_CE);
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/ImportArtifactPermissionProviderCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/ImportArtifactPermissionProviderCE.java
index b5422273ff85..2702c2e88e99 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/ImportArtifactPermissionProviderCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/helpers/ce/ImportArtifactPermissionProviderCE.java
@@ -16,6 +16,7 @@
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Getter;
+import reactor.core.publisher.Mono;
import java.util.Set;
@@ -116,24 +117,28 @@ public boolean hasEditPermission(Datasource datasource) {
return hasPermission(datasourcePermission.getEditPermission(), datasource);
}
- public boolean canCreatePage(Application application) {
+ public Mono<Boolean> canCreatePage(Application application) {
if (!permissionRequiredToCreatePage) {
- return true;
+ return Mono.just(true);
}
- return hasPermission(((ApplicationPermission) artifactPermission).getPageCreatePermission(), application);
+ return ((ApplicationPermission) artifactPermission)
+ .getPageCreatePermission()
+ .map(permission -> hasPermission(permission, application));
}
- public boolean canCreateAction(NewPage page) {
+ public Mono<Boolean> canCreateAction(NewPage page) {
if (!permissionRequiredToCreateAction) {
- return true;
+ return Mono.just(true);
}
- return hasPermission(contextPermission.getActionCreatePermission(), page);
+ return contextPermission.getActionCreatePermission().map(permission -> hasPermission(permission, page));
}
- public boolean canCreateDatasource(Workspace workspace) {
+ public Mono<Boolean> canCreateDatasource(Workspace workspace) {
if (!permissionRequiredToCreateDatasource) {
- return true;
+ return Mono.just(true);
}
- return hasPermission(workspacePermission.getDatasourceCreatePermission(), workspace);
+ return workspacePermission
+ .getDatasourceCreatePermission()
+ .map(permission -> hasPermission(permission, workspace));
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/importable/artifactbased/ArtifactBasedImportableServiceCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/importable/artifactbased/ArtifactBasedImportableServiceCE.java
index 663fe760ca62..21a4457602a1 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/importable/artifactbased/ArtifactBasedImportableServiceCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/importable/artifactbased/ArtifactBasedImportableServiceCE.java
@@ -8,6 +8,7 @@
import com.appsmith.server.dtos.ImportingMetaDTO;
import com.appsmith.server.dtos.MappedImportableResourcesDTO;
import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
import java.util.List;
import java.util.Map;
@@ -40,7 +41,7 @@ default void populateBaseId(ImportingMetaDTO importingMetaDTO, Artifact artifact
}
}
- void createNewResource(ImportingMetaDTO importingMetaDTO, T actionCollection, Context baseContext);
+ Mono<T> createNewResource(ImportingMetaDTO importingMetaDTO, T entity, Context baseContext);
default T getExistingEntityInCurrentBranchForImportedEntity(
MappedImportableResourcesDTO mappedImportableResourcesDTO,
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java
index c0794040dd11..65c47e3a0f2b 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/ImportServiceCEImpl.java
@@ -193,10 +193,7 @@ public Mono<? extends Artifact> importNewArtifactInWorkspaceFromJson(
getArtifactBasedImportService(artifactExchangeJson);
return permissionGroupRepository
.getCurrentUserPermissionGroups()
- .zipWhen(userPermissionGroup -> {
- return Mono.just(contextBasedImportService.getImportArtifactPermissionProviderForImportingArtifact(
- userPermissionGroup));
- })
+ .zipWhen(contextBasedImportService::getImportArtifactPermissionProviderForImportingArtifact)
.flatMap(tuple2 -> {
Set<String> userPermissionGroup = tuple2.getT1();
ImportArtifactPermissionProvider permissionProvider = tuple2.getT2();
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/artifactbased/ArtifactBasedImportServiceCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/artifactbased/ArtifactBasedImportServiceCE.java
index 7fd0e80d67b0..0ddb8743f8e9 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/artifactbased/ArtifactBasedImportServiceCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/imports/internal/artifactbased/ArtifactBasedImportServiceCE.java
@@ -19,7 +19,7 @@
public interface ArtifactBasedImportServiceCE<
T extends Artifact, U extends ArtifactImportDTO, V extends ArtifactExchangeJson> {
- ImportArtifactPermissionProvider getImportArtifactPermissionProviderForImportingArtifact(
+ Mono<ImportArtifactPermissionProvider> getImportArtifactPermissionProviderForImportingArtifact(
Set<String> userPermissions);
ImportArtifactPermissionProvider getImportArtifactPermissionProviderForUpdatingArtifact(
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java
index fabbf4691a5b..f34652374e52 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java
@@ -795,7 +795,7 @@ public ActionViewDTO generateActionViewDTO(NewAction action, ActionDTO actionDTO
@Override
public Mono<ActionDTO> deleteUnpublishedAction(String id) {
- return deleteUnpublishedAction(id, actionPermission.getDeletePermission());
+ return actionPermission.getDeletePermission().flatMap(permission -> deleteUnpublishedAction(id, permission));
}
@Override
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/importable/NewActionImportableServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/importable/NewActionImportableServiceCEImpl.java
index f96d0200e0fc..e97bf3b7fe64 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/importable/NewActionImportableServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/importable/NewActionImportableServiceCEImpl.java
@@ -315,82 +315,95 @@ private Mono<ImportActionResultDTO> createImportNewActionsMono(
// this will be required in next phases when we'll delete the outdated actions
importActionResultDTO.setExistingActions(actionsInCurrentArtifact.values());
- List<NewAction> newNewActionList = new ArrayList<>();
- List<NewAction> existingNewActionList = new ArrayList<>();
-
- for (NewAction newAction : importedNewActionList) {
- ActionDTO unpublishedAction = newAction.getUnpublishedAction();
- if (unpublishedAction == null
- || !StringUtils.hasLength(unpublishedAction.calculateContextId())) {
- continue; // invalid action, skip it
- }
-
- NewAction branchedNewAction = null;
-
- if (actionsInBranches.containsKey(newAction.getGitSyncId())) {
- branchedNewAction =
- artifactBasedImportableService.getExistingEntityInOtherBranchForImportedEntity(
- mappedImportableResourcesDTO, actionsInBranches, newAction);
- }
-
- Context baseContext = populateIdReferencesAndReturnBaseContext(
- importingMetaDTO,
- mappedImportableResourcesDTO,
- artifact,
- branchedNewAction,
- newAction);
-
- // Check if the action has datasource is present and contains pluginId
- Datasource datasource =
- newAction.getUnpublishedAction().getDatasource();
- if (datasource != null) {
- // Since the datasource are not yet saved to db, if we don't update the action with
- // correct datasource,
- // the action ave will fail due to validation
- updateDatasourceInAction(newAction, mappedImportableResourcesDTO, datasource);
- }
-
- // Check if the action has gitSyncId and if it's already in DB
- if (existingArtifactContainsAction(actionsInCurrentArtifact, newAction)) {
-
- // Since the resource is already present in DB, just update resource
- NewAction existingAction =
- artifactBasedImportableService
- .getExistingEntityInCurrentBranchForImportedEntity(
- mappedImportableResourcesDTO,
- actionsInCurrentArtifact,
- newAction);
-
- updateExistingAction(existingAction, newAction, importingMetaDTO);
-
- // Add it to actions list that'll be updated in bulk
- existingNewActionList.add(existingAction);
- importActionResultDTO.getImportedActionIds().add(existingAction.getId());
- putActionIdInMap(existingAction, importActionResultDTO);
- } else {
-
- artifactBasedImportableService.createNewResource(
- importingMetaDTO, newAction, baseContext);
-
- populateDomainMappedReferences(mappedImportableResourcesDTO, newAction);
-
- // Add it to actions list that'll be inserted or updated in bulk
- newNewActionList.add(newAction);
-
- importActionResultDTO.getImportedActionIds().add(newAction.getId());
- putActionIdInMap(newAction, importActionResultDTO);
- }
- }
-
- log.info(
- "Saving actions in bulk. New: {}, Updated: {}",
- newNewActionList.size(),
- existingNewActionList.size());
-
- // Save all the new actions in bulk
- return Mono.when(
- newActionService.bulkValidateAndInsertActionInRepository(newNewActionList),
- newActionService.bulkValidateAndUpdateActionInRepository(existingNewActionList))
+ // Use synchronised lists to avoid concurrent modification exceptions
+ List<NewAction> newNewActionList = Collections.synchronizedList(new ArrayList<>());
+ List<NewAction> existingNewActionList = Collections.synchronizedList(new ArrayList<>());
+
+ return Flux.fromIterable(importedNewActionList)
+ .flatMap(newAction -> {
+ ActionDTO unpublishedAction = newAction.getUnpublishedAction();
+ if (unpublishedAction == null
+ || !StringUtils.hasLength(unpublishedAction.calculateContextId())) {
+ return Mono.empty(); // invalid action, skip it
+ }
+
+ NewAction branchedNewAction = null;
+
+ if (actionsInBranches.containsKey(newAction.getGitSyncId())) {
+ branchedNewAction =
+ artifactBasedImportableService
+ .getExistingEntityInOtherBranchForImportedEntity(
+ mappedImportableResourcesDTO,
+ actionsInBranches,
+ newAction);
+ }
+
+ Context baseContext = populateIdReferencesAndReturnBaseContext(
+ importingMetaDTO,
+ mappedImportableResourcesDTO,
+ artifact,
+ branchedNewAction,
+ newAction);
+
+ // Check if the action has datasource is present and contains pluginId
+ Datasource datasource =
+ newAction.getUnpublishedAction().getDatasource();
+ if (datasource != null) {
+ // Since the datasource are not yet saved to db, if we don't update the action
+ // with
+ // correct datasource,
+ // the action ave will fail due to validation
+ updateDatasourceInAction(newAction, mappedImportableResourcesDTO, datasource);
+ }
+
+ // Check if the action has gitSyncId and if it's already in DB
+ if (existingArtifactContainsAction(actionsInCurrentArtifact, newAction)) {
+
+ // Since the resource is already present in DB, just update resource
+ NewAction existingAction =
+ artifactBasedImportableService
+ .getExistingEntityInCurrentBranchForImportedEntity(
+ mappedImportableResourcesDTO,
+ actionsInCurrentArtifact,
+ newAction);
+
+ updateExistingAction(existingAction, newAction, importingMetaDTO);
+
+ // Add it to actions list that'll be updated in bulk
+ existingNewActionList.add(existingAction);
+ importActionResultDTO
+ .getImportedActionIds()
+ .add(existingAction.getId());
+ putActionIdInMap(existingAction, importActionResultDTO);
+ return Mono.just(existingAction);
+ }
+ return artifactBasedImportableService
+ .createNewResource(importingMetaDTO, newAction, baseContext)
+ .flatMap(updatedAction -> {
+ populateDomainMappedReferences(
+ mappedImportableResourcesDTO, updatedAction);
+
+ // Add it to actions list that'll be inserted or updated in bulk
+ newNewActionList.add(updatedAction);
+
+ importActionResultDTO
+ .getImportedActionIds()
+ .add(updatedAction.getId());
+ putActionIdInMap(updatedAction, importActionResultDTO);
+ return Mono.just(updatedAction);
+ });
+ })
+ .then(Mono.defer(() -> {
+ log.info(
+ "Saving actions in bulk. New: {}, Updated: {}",
+ newNewActionList.size(),
+ existingNewActionList.size());
+ // Save all the new actions in bulk
+ return Mono.when(
+ newActionService.bulkValidateAndInsertActionInRepository(newNewActionList),
+ newActionService.bulkValidateAndUpdateActionInRepository(
+ existingNewActionList));
+ }))
.thenReturn(importActionResultDTO);
});
});
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/importable/applications/NewActionApplicationImportableServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/importable/applications/NewActionApplicationImportableServiceCEImpl.java
index 5a36460e3510..b21e78bec19b 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/importable/applications/NewActionApplicationImportableServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/importable/applications/NewActionApplicationImportableServiceCEImpl.java
@@ -18,6 +18,7 @@
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
import reactor.core.publisher.Flux;
+import reactor.core.publisher.Mono;
import java.util.List;
import java.util.Map;
@@ -89,25 +90,31 @@ public Context updateContextInResource(
}
@Override
- public void createNewResource(ImportingMetaDTO importingMetaDTO, NewAction newAction, Context baseContext) {
- if (!importingMetaDTO.getPermissionProvider().canCreateAction((NewPage) baseContext)) {
- throw new AppsmithException(
- AppsmithError.ACL_NO_RESOURCE_FOUND, FieldName.PAGE, ((NewPage) baseContext).getId());
- }
+ public Mono<NewAction> createNewResource(
+ ImportingMetaDTO importingMetaDTO, NewAction newAction, Context baseContext) {
+ Mono<Boolean> canCreateActionMono =
+ importingMetaDTO.getPermissionProvider().canCreateAction((NewPage) baseContext);
+ return canCreateActionMono.flatMap(canCreateAction -> {
+ if (!canCreateAction) {
+ return Mono.error(new AppsmithException(
+ AppsmithError.ACL_NO_RESOURCE_FOUND, FieldName.PAGE, ((NewPage) baseContext).getId()));
+ }
- // this will generate the id and other auto generated fields e.g. createdAt
- newAction.updateForBulkWriteOperation();
- newActionService.generateAndSetActionPolicies((NewPage) baseContext, newAction);
+ // this will generate the id and other auto generated fields e.g. createdAt
+ newAction.updateForBulkWriteOperation();
+ newActionService.generateAndSetActionPolicies((NewPage) baseContext, newAction);
- // create or update base id for the action
- // values already set to base id are kept unchanged
- newAction.setBaseId(newAction.getBaseIdOrFallback());
- newAction.setRefType(importingMetaDTO.getRefType());
- newAction.setRefName(importingMetaDTO.getRefName());
+ // create or update base id for the action
+ // values already set to base id are kept unchanged
+ newAction.setBaseId(newAction.getBaseIdOrFallback());
+ newAction.setRefType(importingMetaDTO.getRefType());
+ newAction.setRefName(importingMetaDTO.getRefName());
- // generate gitSyncId if it's not present
- if (newAction.getGitSyncId() == null) {
- newAction.setGitSyncId(newAction.getApplicationId() + "_" + UUID.randomUUID());
- }
+ // generate gitSyncId if it's not present
+ if (newAction.getGitSyncId() == null) {
+ newAction.setGitSyncId(newAction.getApplicationId() + "_" + UUID.randomUUID());
+ }
+ return Mono.just(newAction);
+ });
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/base/NewPageServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/base/NewPageServiceCEImpl.java
index 28a291853f2e..fb32b727ee06 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/base/NewPageServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/base/NewPageServiceCEImpl.java
@@ -477,7 +477,7 @@ public Mono<NewPage> archiveByIdWithoutPermission(String id) {
@Override
public Mono<NewPage> archiveById(String id) {
- return archiveByIdEx(id, pagePermission.getDeletePermission());
+ return pagePermission.getDeletePermission().flatMap(permission -> archiveByIdEx(id, permission));
}
@Override
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/importable/NewPageImportableServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/importable/NewPageImportableServiceCEImpl.java
index eef9bbfe748a..164b520acdae 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/importable/NewPageImportableServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newpages/importable/NewPageImportableServiceCEImpl.java
@@ -462,38 +462,42 @@ private Flux<NewPage> importAndSavePages(
existingPage.setDeletedAt(newPage.getDeletedAt());
existingPage.setPolicies(existingPagePolicy);
return newPageService.save(existingPage);
- } else {
- // check if user has permission to add new page to the application
- if (!importingMetaDTO.getPermissionProvider().canCreatePage(application)) {
- log.error(
- "User does not have permission to create page in application with id: {}",
- application.getId());
- return Mono.error(new AppsmithException(
- AppsmithError.ACL_NO_RESOURCE_FOUND,
- FieldName.APPLICATION,
- application.getId()));
- }
- if (application.getGitApplicationMetadata() != null) {
-
- if (!pagesFromOtherBranches.containsKey(newPage.getGitSyncId())) {
- return saveNewPageAndUpdateBaseId(newPage, importingMetaDTO);
- }
-
- NewPage branchedPage = pagesFromOtherBranches.get(newPage.getGitSyncId());
- newPage.setBaseId(branchedPage.getBaseId());
- newPage.setRefType(importingMetaDTO.getRefType());
- newPage.setRefName(importingMetaDTO.getRefName());
- newPage.getUnpublishedPage()
- .setDeletedAt(branchedPage
- .getUnpublishedPage()
- .getDeletedAt());
- newPage.setDeletedAt(branchedPage.getDeletedAt());
- // Set policies from existing branch object
- newPage.setPolicies(branchedPage.getPolicies());
- return newPageService.save(newPage);
- }
- return saveNewPageAndUpdateBaseId(newPage, importingMetaDTO);
}
+ // check if user has permission to add new page to the application
+ return importingMetaDTO
+ .getPermissionProvider()
+ .canCreatePage(application)
+ .flatMap(canCreatePage -> {
+ if (!canCreatePage) {
+ log.error(
+ "User does not have permission to create page in application with id: {}",
+ application.getId());
+ return Mono.error(new AppsmithException(
+ AppsmithError.ACL_NO_RESOURCE_FOUND,
+ FieldName.APPLICATION,
+ application.getId()));
+ }
+ if (application.getGitApplicationMetadata() != null) {
+
+ if (!pagesFromOtherBranches.containsKey(newPage.getGitSyncId())) {
+ return saveNewPageAndUpdateBaseId(newPage, importingMetaDTO);
+ }
+
+ NewPage branchedPage = pagesFromOtherBranches.get(newPage.getGitSyncId());
+ newPage.setBaseId(branchedPage.getBaseId());
+ newPage.setRefType(importingMetaDTO.getRefType());
+ newPage.setRefName(importingMetaDTO.getRefName());
+ newPage.getUnpublishedPage()
+ .setDeletedAt(branchedPage
+ .getUnpublishedPage()
+ .getDeletedAt());
+ newPage.setDeletedAt(branchedPage.getDeletedAt());
+ // Set policies from existing branch object
+ newPage.setPolicies(branchedPage.getPolicies());
+ return newPageService.save(newPage);
+ }
+ return saveNewPageAndUpdateBaseId(newPage, importingMetaDTO);
+ });
});
})
.onErrorResume(error -> {
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationPageServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationPageServiceCEImpl.java
index 3aa4688bd8f5..d3d715620ff5 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationPageServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationPageServiceCEImpl.java
@@ -158,8 +158,9 @@ public Mono<PageDTO> createPage(PageDTO page) {
}
}
- Mono<Application> applicationMono = applicationService
- .findById(page.getApplicationId(), applicationPermission.getPageCreatePermission())
+ Mono<Application> applicationMono = applicationPermission
+ .getPageCreatePermission()
+ .flatMap(permission -> applicationService.findById(page.getApplicationId(), permission))
.switchIfEmpty(Mono.error(new AppsmithException(
AppsmithError.NO_RESOURCE_FOUND, FieldName.APPLICATION, page.getApplicationId())))
.cache();
@@ -475,8 +476,9 @@ public Mono<Application> createApplication(Application application, String works
@Override
public Mono<Application> setApplicationPolicies(Mono<User> userMono, String workspaceId, Application application) {
return userMono.flatMap(user -> {
- Mono<Workspace> workspaceMono = workspaceRepository
- .findById(workspaceId, workspacePermission.getApplicationCreatePermission())
+ Mono<Workspace> workspaceMono = workspacePermission
+ .getApplicationCreatePermission()
+ .flatMap(permission -> workspaceRepository.findById(workspaceId, permission))
.switchIfEmpty(Mono.error(
new AppsmithException(AppsmithError.NO_RESOURCE_FOUND, FieldName.WORKSPACE, workspaceId)));
@@ -506,8 +508,9 @@ public void generateAndSetPagePolicies(Application application, PageDTO page) {
public Mono<Application> deleteApplication(String id) {
log.debug("Archiving application with id: {}", id);
- Mono<Application> applicationMono = applicationRepository
- .findById(id, applicationPermission.getDeletePermission())
+ Mono<Application> applicationMono = applicationPermission
+ .getDeletePermission()
+ .flatMap(permission -> applicationRepository.findById(id, permission))
.switchIfEmpty(
Mono.error(new AppsmithException(AppsmithError.NO_RESOURCE_FOUND, FieldName.APPLICATION, id)))
.cache();
@@ -521,8 +524,10 @@ public Mono<Application> deleteApplication(String id) {
.flatMapMany(application -> {
GitArtifactMetadata gitData = application.getGitApplicationMetadata();
if (GitUtils.isArtifactConnectedToGit(application.getGitArtifactMetadata())) {
- return applicationService.findAllApplicationsByBaseApplicationId(
- gitData.getDefaultArtifactId(), applicationPermission.getDeletePermission());
+ return applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findAllApplicationsByBaseApplicationId(
+ gitData.getDefaultArtifactId(), permission));
}
return Flux.fromIterable(List.of(application));
})
@@ -554,12 +559,16 @@ public Mono<Application> deleteApplicationByResource(Application application) {
}
protected Mono<Application> deleteApplicationResources(Application application) {
- return actionCollectionService
- .archiveActionCollectionByApplicationId(application.getId(), actionPermission.getDeletePermission())
- .then(newActionService.archiveActionsByApplicationId(
- application.getId(), actionPermission.getDeletePermission()))
- .then(newPageService.archivePagesByApplicationId(
- application.getId(), pagePermission.getDeletePermission()))
+ Mono<AclPermission> actionPermissionMono =
+ actionPermission.getDeletePermission().cache();
+ Mono<AclPermission> pagePermissionMono = pagePermission.getDeletePermission();
+ return actionPermissionMono
+ .flatMap(actionDeletePermission -> actionCollectionService.archiveActionCollectionByApplicationId(
+ application.getId(), actionDeletePermission))
+ .then(actionPermissionMono.flatMap(actionDeletePermission ->
+ newActionService.archiveActionsByApplicationId(application.getId(), actionDeletePermission)))
+ .then(pagePermissionMono.flatMap(pageDeletePermission ->
+ newPageService.archivePagesByApplicationId(application.getId(), pageDeletePermission)))
.then(themeService.archiveApplicationThemes(application))
.flatMap(applicationService::archive);
}
@@ -904,12 +913,19 @@ public Mono<PageDTO> deleteUnpublishedPage(
@Override
public Mono<PageDTO> deleteUnpublishedPage(String id) {
- return deleteUnpublishedPageEx(
- id,
- pagePermission.getDeletePermission(),
- applicationPermission.getReadPermission(),
- actionPermission.getDeletePermission(),
- actionPermission.getDeletePermission());
+ return pagePermission
+ .getDeletePermission()
+ .zipWith(actionPermission.getDeletePermission())
+ .flatMap(tuple -> {
+ AclPermission pageDeletePermission = tuple.getT1();
+ AclPermission actionDeletePermission = tuple.getT2();
+ return deleteUnpublishedPageEx(
+ id,
+ pageDeletePermission,
+ applicationPermission.getReadPermission(),
+ actionDeletePermission,
+ actionDeletePermission);
+ });
}
private Mono<PageDTO> deleteUnpublishedPageEx(
@@ -1478,12 +1494,14 @@ private Mono<Boolean> validateDatasourcesForCreatePermission(Mono<Application> a
return datasourceRepository.setUserPermissionsInObject(datasource);
}));
- return UserPermissionUtils.validateDomainObjectPermissionsOrError(
+ return datasourcePermission
+ .getActionCreatePermission()
+ .flatMap(actionCreatePermission -> UserPermissionUtils.validateDomainObjectPermissionsOrError(
datasourceFlux,
FieldName.DATASOURCE,
permissionGroupService.getSessionUserPermissionGroupIds(),
- datasourcePermission.getActionCreatePermission(),
- AppsmithError.APPLICATION_NOT_CLONED_MISSING_PERMISSIONS)
+ actionCreatePermission,
+ AppsmithError.APPLICATION_NOT_CLONED_MISSING_PERMISSIONS))
.thenReturn(Boolean.TRUE);
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/EmailServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/EmailServiceCEImpl.java
index dddb54db6656..dca7285e8382 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/EmailServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/EmailServiceCEImpl.java
@@ -34,11 +34,16 @@ public Mono<Boolean> sendForgotPasswordEmail(String email, String resetUrl, Stri
params.put(RESET_URL, resetUrl);
return emailServiceHelper
.enrichWithBrandParams(params, originHeader)
- .flatMap(updatedParams -> emailSender.sendMail(
- email,
- String.format(FORGOT_PASSWORD_EMAIL_SUBJECT, updatedParams.get(INSTANCE_NAME)),
- emailServiceHelper.getForgotPasswordTemplate(),
- updatedParams));
+ .zipWith(emailServiceHelper.getForgotPasswordTemplate())
+ .flatMap(tuple2 -> {
+ Map<String, String> updatedParams = tuple2.getT1();
+ String forgotPasswordTemplate = tuple2.getT2();
+ return emailSender.sendMail(
+ email,
+ String.format(FORGOT_PASSWORD_EMAIL_SUBJECT, updatedParams.get(INSTANCE_NAME)),
+ forgotPasswordTemplate,
+ updatedParams);
+ });
}
@Override
@@ -55,16 +60,20 @@ public Mono<Boolean> sendInviteUserToWorkspaceEmail(
originHeader,
URLEncoder.encode(invitedUser.getUsername().toLowerCase(), StandardCharsets.UTF_8))
: originHeader;
- String emailSubject = emailServiceHelper.getSubjectJoinWorkspace(workspaceInvitedTo.getName());
+ Mono<String> emailSubjectMono = emailServiceHelper.getSubjectJoinWorkspace(workspaceInvitedTo.getName());
+ Mono<String> workspaceInviteTemplateMono = emailServiceHelper.getWorkspaceInviteTemplate(isNewUser);
Map<String, String> params = getInviteToWorkspaceEmailParams(
workspaceInvitedTo, invitingUser, inviteUrl, assignedPermissionGroup.getName(), isNewUser);
return emailServiceHelper
.enrichWithBrandParams(params, originHeader)
- .flatMap(updatedParams -> emailSender.sendMail(
- invitedUser.getEmail(),
- emailSubject,
- emailServiceHelper.getWorkspaceInviteTemplate(isNewUser),
- updatedParams));
+ .zipWith(Mono.zip(emailSubjectMono, workspaceInviteTemplateMono))
+ .flatMap(objects -> {
+ Map<String, String> updatedParams = objects.getT1();
+ String emailSubject = objects.getT2().getT1();
+ String workspaceInviteTemplate = objects.getT2().getT2();
+ return emailSender.sendMail(
+ invitedUser.getEmail(), emailSubject, workspaceInviteTemplate, updatedParams);
+ });
}
@Override
@@ -73,11 +82,16 @@ public Mono<Boolean> sendEmailVerificationEmail(User user, String verificationUR
params.put(EMAIL_VERIFICATION_URL, verificationURL);
return emailServiceHelper
.enrichWithBrandParams(params, originHeader)
- .flatMap(updatedParams -> emailSender.sendMail(
- user.getEmail(),
- EMAIL_VERIFICATION_EMAIL_SUBJECT,
- emailServiceHelper.getEmailVerificationTemplate(),
- updatedParams));
+ .zipWith(emailServiceHelper.getEmailVerificationTemplate())
+ .flatMap(tuple2 -> {
+ Map<String, String> updatedParams = tuple2.getT1();
+ String emailVerificationTemplate = tuple2.getT2();
+ return emailSender.sendMail(
+ user.getEmail(),
+ EMAIL_VERIFICATION_EMAIL_SUBJECT,
+ emailVerificationTemplate,
+ updatedParams);
+ });
}
@Override
@@ -92,21 +106,28 @@ public Mono<Boolean> sendInstanceAdminInviteEmail(
: originHeader;
params.put(PRIMARY_LINK_URL, inviteUrl);
- String primaryLinkText = emailServiceHelper.getJoinInstanceCtaPrimaryText();
- params.put(PRIMARY_LINK_TEXT, primaryLinkText);
+ Mono<String> primaryLinkTextMono = emailServiceHelper.getJoinInstanceCtaPrimaryText();
if (invitingUser != null) {
params.put(INVITER_FIRST_NAME, StringUtils.defaultIfEmpty(invitingUser.getName(), invitingUser.getEmail()));
}
- return emailServiceHelper.enrichWithBrandParams(params, originHeader).flatMap(updatedParams -> {
- String instanceName = updatedParams.get(INSTANCE_NAME);
- String subject = emailServiceHelper.getSubjectJoinInstanceAsAdmin(instanceName);
- return emailSender.sendMail(
- invitedUser.getEmail(),
- subject,
- emailServiceHelper.getAdminInstanceInviteTemplate(),
- updatedParams);
- });
+ return primaryLinkTextMono
+ .flatMap(primaryLinkText -> {
+ params.put(PRIMARY_LINK_TEXT, primaryLinkText);
+ return emailServiceHelper.enrichWithBrandParams(params, originHeader);
+ })
+ .zipWhen(updatedParams -> {
+ return Mono.zip(
+ emailServiceHelper.getSubjectJoinInstanceAsAdmin(updatedParams.get(INSTANCE_NAME)),
+ emailServiceHelper.getAdminInstanceInviteTemplate());
+ })
+ .flatMap(objects -> {
+ Map<String, String> updatedParams = objects.getT1();
+ String subject = objects.getT2().getT1();
+ String adminInstanceInviteTemplate = objects.getT2().getT2();
+ return emailSender.sendMail(
+ invitedUser.getEmail(), subject, adminInstanceInviteTemplate, updatedParams);
+ });
}
private Map<String, String> getInviteToWorkspaceEmailParams(
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java
index 0539352ff1fc..8cc5c2937d2d 100755
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java
@@ -145,8 +145,9 @@ public Mono<ActionDTO> moveAction(ActionMoveDTO actionMoveDTO) {
final String destinationPageId = actionMoveDTO.getDestinationPageId();
action.setPageId(destinationPageId);
- Mono<NewPage> destinationPageMono = newPageService
- .findById(destinationPageId, pagePermission.getActionCreatePermission())
+ Mono<NewPage> destinationPageMono = pagePermission
+ .getActionCreatePermission()
+ .flatMap(permission -> newPageService.findById(destinationPageId, permission))
.switchIfEmpty(Mono.error(
new AppsmithException(AppsmithError.ACL_NO_RESOURCE_FOUND, FieldName.PAGE, destinationPageId)));
@@ -186,10 +187,10 @@ public Mono<ActionDTO> moveAction(ActionMoveDTO actionMoveDTO) {
.collect(toSet());
})
// fetch the unpublished destination page
- .then(newPageService.findPageById(
- actionMoveDTO.getDestinationPageId(),
- pagePermission.getActionCreatePermission(),
- false))
+ .then(pagePermission
+ .getActionCreatePermission()
+ .flatMap(permission -> newPageService.findPageById(
+ actionMoveDTO.getDestinationPageId(), permission, false)))
.flatMap(page -> {
if (page.getLayouts() == null) {
return Mono.empty();
@@ -339,11 +340,11 @@ public Mono<ActionDTO> createSingleAction(ActionDTO actionDTO, Boolean isJsActio
return Mono.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, FieldName.PAGE_ID));
}
- AclPermission aclPermission =
- isJsAction ? pagePermission.getReadPermission() : pagePermission.getActionCreatePermission();
+ Mono<AclPermission> aclPermissionMono =
+ isJsAction ? Mono.just(pagePermission.getReadPermission()) : pagePermission.getActionCreatePermission();
- return newPageService
- .findById(actionDTO.getPageId(), aclPermission)
+ return aclPermissionMono
+ .flatMap(permission -> newPageService.findById(actionDTO.getPageId(), permission))
.switchIfEmpty(Mono.error(
new AppsmithException(AppsmithError.NO_RESOURCE_FOUND, FieldName.PAGE, actionDTO.getPageId())))
.flatMap(newPage -> {
@@ -427,13 +428,13 @@ protected Mono<NewAction> validateAndGenerateActionDomainBasedOnContext(
}
// If the action is a JS action, then we don't need to validate the page. Fetch the page with read.
// Else fetch the page with create action permission to ensure that the user has the right to create an action
- AclPermission aclPermission =
- isJsAction ? pagePermission.getReadPermission() : pagePermission.getActionCreatePermission();
+ Mono<AclPermission> aclPermissionMono =
+ isJsAction ? Mono.just(pagePermission.getReadPermission()) : pagePermission.getActionCreatePermission();
Mono<NewPage> pageMono = newPage != null
? Mono.just(newPage)
- : newPageService
- .findById(action.getPageId(), aclPermission)
+ : aclPermissionMono
+ .flatMap(permission -> newPageService.findById(action.getPageId(), permission))
.name(GET_PAGE_BY_ID)
.tap(Micrometer.observation(observationRegistry))
.switchIfEmpty(Mono.error(new AppsmithException(
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java
index 5a31f5197d6d..7e6148ad5392 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java
@@ -118,8 +118,9 @@ private void validateApplicationId(ActionCollectionDTO collectionDTO) {
protected Mono<Boolean> checkIfNameAllowedBasedOnContext(ActionCollectionDTO collectionDTO) {
final String pageId = collectionDTO.getPageId();
- Mono<NewPage> pageMono = newPageService
- .findById(pageId, pagePermission.getActionCreatePermission())
+ Mono<NewPage> pageMono = pagePermission
+ .getActionCreatePermission()
+ .flatMap(permission -> newPageService.findById(pageId, permission))
.switchIfEmpty(
Mono.error(new AppsmithException(AppsmithError.ACL_NO_RESOURCE_FOUND, FieldName.PAGE, pageId)))
.cache();
@@ -156,8 +157,9 @@ protected Mono<ActionCollection> validateAndCreateActionCollectionDomain(ActionC
ActionCollection actionCollection = new ActionCollection();
actionCollection.setUnpublishedCollection(collectionDTO);
- return newPageService
- .findById(collectionDTO.getPageId(), pagePermission.getActionCreatePermission())
+ return pagePermission
+ .getActionCreatePermission()
+ .flatMap(permission -> newPageService.findById(collectionDTO.getPageId(), permission))
.map(branchedPage -> {
actionCollection.setRefType(branchedPage.getRefType());
actionCollection.setRefName(branchedPage.getRefName());
@@ -180,8 +182,10 @@ public Mono<ActionCollectionDTO> moveCollection(ActionCollectionMoveDTO actionCo
final String collectionId = actionCollectionMoveDTO.getCollectionId();
final String destinationPageId = actionCollectionMoveDTO.getDestinationPageId();
- Mono<NewPage> destinationPageMono = newPageService
- .findById(actionCollectionMoveDTO.getDestinationPageId(), pagePermission.getActionCreatePermission())
+ Mono<NewPage> destinationPageMono = pagePermission
+ .getActionCreatePermission()
+ .flatMap(permission ->
+ newPageService.findById(actionCollectionMoveDTO.getDestinationPageId(), permission))
.switchIfEmpty(Mono.error(
new AppsmithException(AppsmithError.ACL_NO_RESOURCE_FOUND, FieldName.PAGE, destinationPageId)))
.cache();
@@ -242,10 +246,10 @@ public Mono<ActionCollectionDTO> moveCollection(ActionCollectionMoveDTO actionCo
.collect(toSet());
})
// fetch the unpublished destination page
- .then(newPageService.findPageById(
- actionCollectionMoveDTO.getDestinationPageId(),
- pagePermission.getActionCreatePermission(),
- false))
+ .then(pagePermission
+ .getActionCreatePermission()
+ .flatMap(permission -> newPageService.findPageById(
+ actionCollectionMoveDTO.getDestinationPageId(), permission, false)))
.flatMap(page -> {
if (page.getLayouts() == null) {
return Mono.empty();
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserWorkspaceServiceCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserWorkspaceServiceCE.java
index ad976da77ee0..e3e44ea8e48c 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserWorkspaceServiceCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserWorkspaceServiceCE.java
@@ -22,7 +22,7 @@ Mono<MemberInfoDTO> updatePermissionGroupForMember(
Mono<Map<String, List<MemberInfoDTO>>> getWorkspaceMembers(Set<String> workspaceIds);
- Boolean isLastAdminRoleEntity(PermissionGroup permissionGroup);
+ Mono<Boolean> isLastAdminRoleEntity(PermissionGroup permissionGroup);
Mono<List<Workspace>> getUserWorkspacesByRecentlyUsedOrder(String hostname);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserWorkspaceServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserWorkspaceServiceCEImpl.java
index 239aae4c7da8..7fbf4d10ef16 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserWorkspaceServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/UserWorkspaceServiceCEImpl.java
@@ -41,6 +41,7 @@
import java.util.stream.Stream;
import static com.appsmith.server.helpers.ce.DomainSorter.sortDomainsBasedOnOrderedDomainIds;
+import static java.lang.Boolean.TRUE;
@Slf4j
@Service
@@ -165,8 +166,11 @@ public Mono<MemberInfoDTO> updatePermissionGroupForMember(
.switchIfEmpty(Mono.error(new AppsmithException(
AppsmithError.ACTION_IS_NOT_AUTHORIZED, "Change permissionGroup of a member")))
.single()
- .flatMap(permissionGroup -> {
- if (this.isLastAdminRoleEntity(permissionGroup)) {
+ .zipWhen(permissionGroup -> isLastAdminRoleEntity(permissionGroup))
+ .flatMap(tuple2 -> {
+ PermissionGroup permissionGroup = tuple2.getT1();
+ Boolean isLastAdminRoleEntity = tuple2.getT2();
+ if (TRUE.equals(isLastAdminRoleEntity)) {
return Mono.error(new AppsmithException(AppsmithError.REMOVE_LAST_WORKSPACE_ADMIN_ERROR));
}
return Mono.just(permissionGroup);
@@ -383,9 +387,9 @@ protected Flux<PermissionGroup> getPermissionGroupsForWorkspace(String workspace
}
@Override
- public Boolean isLastAdminRoleEntity(PermissionGroup permissionGroup) {
- return permissionGroup.getName().startsWith(FieldName.ADMINISTRATOR)
- && permissionGroup.getAssignedToUserIds().size() == 1;
+ public Mono<Boolean> isLastAdminRoleEntity(PermissionGroup permissionGroup) {
+ return Mono.just(permissionGroup.getName().startsWith(FieldName.ADMINISTRATOR)
+ && permissionGroup.getAssignedToUserIds().size() == 1);
}
/**
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/WorkspaceServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/WorkspaceServiceCEImpl.java
index cdcd6187a86f..899c7fb05384 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/WorkspaceServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/WorkspaceServiceCEImpl.java
@@ -571,8 +571,9 @@ public Mono<Workspace> archiveById(String workspaceId) {
return applicationRepository.countByWorkspaceId(workspaceId).flatMap(appCount -> {
if (appCount == 0) { // no application found under this workspace
// fetching the workspace first to make sure user has permission to archive
- return repository
- .findById(workspaceId, workspacePermission.getDeletePermission())
+ return workspacePermission
+ .getDeletePermission()
+ .flatMap(permission -> repository.findById(workspaceId, permission))
.switchIfEmpty(Mono.error(new AppsmithException(
AppsmithError.NO_RESOURCE_FOUND, FieldName.WORKSPACE, workspaceId)))
.flatMap(workspace -> {
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionPermissionCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionPermissionCE.java
index 216e1b4c3923..753584443775 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionPermissionCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionPermissionCE.java
@@ -1,9 +1,10 @@
package com.appsmith.server.solutions.ce;
import com.appsmith.server.acl.AclPermission;
+import reactor.core.publisher.Mono;
public interface ActionPermissionCE {
- AclPermission getDeletePermission();
+ Mono<AclPermission> getDeletePermission();
AclPermission getExecutePermission();
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionPermissionCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionPermissionCEImpl.java
index aeb1b9900f4f..5534276ba924 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionPermissionCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ActionPermissionCEImpl.java
@@ -2,6 +2,7 @@
import com.appsmith.server.acl.AclPermission;
import org.springframework.stereotype.Component;
+import reactor.core.publisher.Mono;
import static java.lang.Boolean.TRUE;
@@ -28,7 +29,7 @@ public AclPermission getExecutePermission() {
}
@Override
- public AclPermission getDeletePermission() {
- return AclPermission.MANAGE_ACTIONS;
+ public Mono<AclPermission> getDeletePermission() {
+ return Mono.just(AclPermission.MANAGE_ACTIONS);
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ApplicationPermissionCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ApplicationPermissionCE.java
index 2b1620ed4d13..d50b830bd42b 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ApplicationPermissionCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ApplicationPermissionCE.java
@@ -2,6 +2,7 @@
import com.appsmith.server.acl.AclPermission;
import com.appsmith.server.artifacts.permissions.ArtifactPermission;
+import reactor.core.publisher.Mono;
public interface ApplicationPermissionCE extends ArtifactPermission {
@@ -9,7 +10,7 @@ public interface ApplicationPermissionCE extends ArtifactPermission {
AclPermission getCanCommentPermission();
- AclPermission getPageCreatePermission();
+ Mono<AclPermission> getPageCreatePermission();
AclPermission getManageProtectedBranchPermission();
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ApplicationPermissionCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ApplicationPermissionCEImpl.java
index e0363cf739b7..272a3f061c6a 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ApplicationPermissionCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ApplicationPermissionCEImpl.java
@@ -2,6 +2,7 @@
import com.appsmith.server.acl.AclPermission;
import org.springframework.stereotype.Component;
+import reactor.core.publisher.Mono;
@Component
public class ApplicationPermissionCEImpl implements ApplicationPermissionCE, DomainPermissionCE {
@@ -32,8 +33,8 @@ public AclPermission getExportPermission() {
}
@Override
- public AclPermission getDeletePermission() {
- return AclPermission.MANAGE_APPLICATIONS;
+ public Mono<AclPermission> getDeletePermission() {
+ return Mono.just(AclPermission.MANAGE_APPLICATIONS);
}
@Override
@@ -47,8 +48,8 @@ public AclPermission getCanCommentPermission() {
}
@Override
- public AclPermission getPageCreatePermission() {
- return AclPermission.MANAGE_APPLICATIONS;
+ public Mono<AclPermission> getPageCreatePermission() {
+ return Mono.just(AclPermission.MANAGE_APPLICATIONS);
}
@Override
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ContextPermissionCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ContextPermissionCE.java
index 8539e4053895..4dbb213c261a 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ContextPermissionCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/ContextPermissionCE.java
@@ -1,14 +1,15 @@
package com.appsmith.server.solutions.ce;
import com.appsmith.server.acl.AclPermission;
+import reactor.core.publisher.Mono;
public interface ContextPermissionCE {
- AclPermission getDeletePermission();
+ Mono<AclPermission> getDeletePermission();
AclPermission getEditPermission();
- default AclPermission getActionCreatePermission() {
- return null;
+ default Mono<AclPermission> getActionCreatePermission() {
+ return Mono.empty();
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/CreateDBTablePageSolutionCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/CreateDBTablePageSolutionCEImpl.java
index dbee3a087a03..fc62b66cbca2 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/CreateDBTablePageSolutionCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/CreateDBTablePageSolutionCEImpl.java
@@ -228,8 +228,9 @@ public Mono<CRUDPageResponseDTO> createPageFromDBTable(
// Fetch branched applicationId if connected to git
Mono<NewPage> pageMono = getOrCreatePage(branchedApplicationId, branchedPageId, tableName);
- Mono<DatasourceStorage> datasourceStorageMono = datasourceService
- .findById(datasourceId, datasourcePermission.getActionCreatePermission())
+ Mono<DatasourceStorage> datasourceStorageMono = datasourcePermission
+ .getActionCreatePermission()
+ .flatMap(permission -> datasourceService.findById(datasourceId, permission))
.switchIfEmpty(Mono.error(
new AppsmithException(AppsmithError.ACL_NO_RESOURCE_FOUND, FieldName.DATASOURCE, datasourceId)))
.flatMap(datasource -> datasourceStorageService.findByDatasourceAndEnvironmentIdForExecution(
@@ -500,8 +501,9 @@ private Mono<NewPage> getOrCreatePage(String branchedApplicationId, String branc
});
}
- return applicationService
- .findById(branchedApplicationId, applicationPermission.getPageCreatePermission())
+ return applicationPermission
+ .getPageCreatePermission()
+ .flatMap(permission -> applicationService.findById(branchedApplicationId, permission))
.switchIfEmpty(Mono.error(new AppsmithException(
AppsmithError.NO_RESOURCE_FOUND, FieldName.APPLICATION, branchedApplicationId)))
.flatMap(branchedApplication -> newPageService
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/DatasourcePermissionCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/DatasourcePermissionCE.java
index 317baaa97c43..a29f1e9602d2 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/DatasourcePermissionCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/DatasourcePermissionCE.java
@@ -1,11 +1,12 @@
package com.appsmith.server.solutions.ce;
import com.appsmith.server.acl.AclPermission;
+import reactor.core.publisher.Mono;
public interface DatasourcePermissionCE {
- AclPermission getDeletePermission();
+ Mono<AclPermission> getDeletePermission();
AclPermission getExecutePermission();
- AclPermission getActionCreatePermission();
+ Mono<AclPermission> getActionCreatePermission();
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/DatasourcePermissionCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/DatasourcePermissionCEImpl.java
index 519ca8029a85..651031eba73c 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/DatasourcePermissionCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/DatasourcePermissionCEImpl.java
@@ -2,6 +2,7 @@
import com.appsmith.server.acl.AclPermission;
import org.springframework.stereotype.Component;
+import reactor.core.publisher.Mono;
import static java.lang.Boolean.TRUE;
@@ -18,8 +19,8 @@ public AclPermission getExportPermission(boolean isGitSync, boolean exportWithCo
}
@Override
- public AclPermission getDeletePermission() {
- return AclPermission.MANAGE_DATASOURCES;
+ public Mono<AclPermission> getDeletePermission() {
+ return Mono.just(AclPermission.MANAGE_DATASOURCES);
}
@Override
@@ -33,7 +34,7 @@ public AclPermission getExecutePermission() {
}
@Override
- public AclPermission getActionCreatePermission() {
- return AclPermission.MANAGE_DATASOURCES;
+ public Mono<AclPermission> getActionCreatePermission() {
+ return Mono.just(AclPermission.MANAGE_DATASOURCES);
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/DatasourceStructureSolutionCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/DatasourceStructureSolutionCEImpl.java
index 19fec9feea6e..5c7b147d022e 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/DatasourceStructureSolutionCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/DatasourceStructureSolutionCEImpl.java
@@ -182,8 +182,9 @@ public Mono<DatasourceStructure> getStructure(DatasourceStorage datasourceStorag
@Override
public Mono<ActionExecutionResult> getSchemaPreviewData(
String datasourceId, String environmentId, Template queryTemplate) {
- return datasourceService
- .findById(datasourceId, datasourcePermission.getActionCreatePermission())
+ return datasourcePermission
+ .getActionCreatePermission()
+ .flatMap(permission -> datasourceService.findById(datasourceId, permission))
.zipWhen(datasource -> datasourceService.getTrueEnvironmentId(
datasource.getWorkspaceId(),
environmentId,
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/PagePermissionCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/PagePermissionCEImpl.java
index 51d26f72c779..916e441bc739 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/PagePermissionCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/PagePermissionCEImpl.java
@@ -2,6 +2,7 @@
import com.appsmith.server.acl.AclPermission;
import org.springframework.stereotype.Component;
+import reactor.core.publisher.Mono;
import static java.lang.Boolean.TRUE;
@@ -23,12 +24,12 @@ public AclPermission getExportPermission(boolean isGitSync, boolean exportWithCo
}
@Override
- public AclPermission getDeletePermission() {
- return AclPermission.MANAGE_PAGES;
+ public Mono<AclPermission> getDeletePermission() {
+ return Mono.just(AclPermission.MANAGE_PAGES);
}
@Override
- public AclPermission getActionCreatePermission() {
- return AclPermission.MANAGE_PAGES;
+ public Mono<AclPermission> getActionCreatePermission() {
+ return Mono.just(AclPermission.MANAGE_PAGES);
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/WorkspacePermissionCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/WorkspacePermissionCE.java
index bae21a41fb75..0a7aefcb180f 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/WorkspacePermissionCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/WorkspacePermissionCE.java
@@ -1,11 +1,12 @@
package com.appsmith.server.solutions.ce;
import com.appsmith.server.acl.AclPermission;
+import reactor.core.publisher.Mono;
public interface WorkspacePermissionCE {
- AclPermission getDeletePermission();
+ Mono<AclPermission> getDeletePermission();
- AclPermission getApplicationCreatePermission();
+ Mono<AclPermission> getApplicationCreatePermission();
- AclPermission getDatasourceCreatePermission();
+ Mono<AclPermission> getDatasourceCreatePermission();
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/WorkspacePermissionCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/WorkspacePermissionCEImpl.java
index 9c09aa09864e..b2d3ae08d8dd 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/WorkspacePermissionCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/WorkspacePermissionCEImpl.java
@@ -2,6 +2,7 @@
import com.appsmith.server.acl.AclPermission;
import org.springframework.stereotype.Component;
+import reactor.core.publisher.Mono;
@Component
public class WorkspacePermissionCEImpl implements WorkspacePermissionCE, DomainPermissionCE {
@@ -21,17 +22,17 @@ public AclPermission getExportPermission(boolean isGitSync, boolean exportWithCo
}
@Override
- public AclPermission getDeletePermission() {
- return AclPermission.MANAGE_WORKSPACES;
+ public Mono<AclPermission> getDeletePermission() {
+ return Mono.just(AclPermission.MANAGE_WORKSPACES);
}
@Override
- public AclPermission getApplicationCreatePermission() {
- return AclPermission.WORKSPACE_MANAGE_APPLICATIONS;
+ public Mono<AclPermission> getApplicationCreatePermission() {
+ return Mono.just(AclPermission.WORKSPACE_MANAGE_APPLICATIONS);
}
@Override
- public AclPermission getDatasourceCreatePermission() {
- return AclPermission.WORKSPACE_MANAGE_DATASOURCES;
+ public Mono<AclPermission> getDatasourceCreatePermission() {
+ return Mono.just(AclPermission.WORKSPACE_MANAGE_DATASOURCES);
}
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/FeatureFlaggedMethodInvokerAspectTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/FeatureFlaggedMethodInvokerAspectTest.java
index 49c8607bc577..e7c7c673a8e2 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/FeatureFlaggedMethodInvokerAspectTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/FeatureFlaggedMethodInvokerAspectTest.java
@@ -19,7 +19,6 @@
import java.util.Map;
import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.mockito.ArgumentMatchers.eq;
@SpringBootTest
@@ -108,42 +107,39 @@ void ceEeDiffMethodReturnsFlux_ceImplTest() {
@Test
void ceEeSyncMethod_eeImplTest() {
- CachedFeatures cachedFeatures = new CachedFeatures();
- cachedFeatures.setFeatures(Map.of(FeatureFlagEnum.ORGANIZATION_TEST_FEATURE.name(), Boolean.TRUE));
- Mockito.when(featureFlagService.getCachedOrganizationFeatureFlags()).thenReturn(cachedFeatures);
- String result = testComponent.ceEeSyncMethod("arg_");
- assertEquals("arg_ee_impl_method", result);
+ Mockito.when(featureFlagService.check(eq(FeatureFlagEnum.ORGANIZATION_TEST_FEATURE)))
+ .thenReturn(Mono.just(true));
+ StepVerifier.create(testComponent.ceEeSyncMethod("arg_"))
+ .assertNext(result -> assertEquals("arg_ee_impl_method", result))
+ .verifyComplete();
}
@Test
void ceEeSyncMethod_ceImplTest() {
- String result = testComponent.ceEeSyncMethod("arg_");
- assertEquals("arg_ce_impl_method", result);
+ StepVerifier.create(testComponent.ceEeSyncMethod("arg_"))
+ .assertNext(result -> assertEquals("arg_ce_impl_method", result))
+ .verifyComplete();
}
@Test
void ceEeThrowAppsmithException_eeImplTest() {
- CachedFeatures cachedFeatures = new CachedFeatures();
- cachedFeatures.setFeatures(Map.of(FeatureFlagEnum.ORGANIZATION_TEST_FEATURE.name(), Boolean.TRUE));
- Mockito.when(featureFlagService.getCachedOrganizationFeatureFlags()).thenReturn(cachedFeatures);
- assertThrows(
- AppsmithException.class,
- () -> testComponent.ceEeThrowAppsmithException("arg_"),
- AppsmithError.GENERIC_BAD_REQUEST.getMessage("This is a test exception"));
+ Mockito.when(featureFlagService.check(eq(FeatureFlagEnum.ORGANIZATION_TEST_FEATURE)))
+ .thenReturn(Mono.just(true));
+ StepVerifier.create(testComponent.ceEeThrowAppsmithException("arg_"))
+ .expectErrorMatches(throwable -> throwable instanceof AppsmithException
+ && throwable
+ .getMessage()
+ .equals(AppsmithError.GENERIC_BAD_REQUEST.getMessage("This is a test exception")))
+ .verify();
}
@Test
void ceEeThrowNonAppsmithException_eeImplTest_throwExceptionFromAspect() {
- CachedFeatures cachedFeatures = new CachedFeatures();
- cachedFeatures.setFeatures(Map.of(FeatureFlagEnum.ORGANIZATION_TEST_FEATURE.name(), Boolean.TRUE));
- Mockito.when(featureFlagService.getCachedOrganizationFeatureFlags()).thenReturn(cachedFeatures);
- assertThrows(
- AppsmithException.class,
- () -> testComponent.ceEeThrowNonAppsmithException("arg_"),
- AppsmithError.INVALID_METHOD_LEVEL_ANNOTATION_USAGE.getMessage(
- "FeatureFlagged",
- "TestComponentImpl",
- "ceEeThrowNonAppsmithException",
- "Exception while invoking super class method"));
+ Mockito.when(featureFlagService.check(eq(FeatureFlagEnum.ORGANIZATION_TEST_FEATURE)))
+ .thenReturn(Mono.just(true));
+ StepVerifier.create(testComponent.ceEeThrowNonAppsmithException("arg_"))
+ .expectErrorMatches(throwable -> throwable instanceof RuntimeException
+ && throwable.getMessage().equals("This is a test exception"))
+ .verify();
}
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/component/TestComponentImpl.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/component/TestComponentImpl.java
index 373e0eabf195..5e885bf493d6 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/component/TestComponentImpl.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/component/TestComponentImpl.java
@@ -40,19 +40,19 @@ public Flux<String> ceEeDiffMethodReturnsFlux() {
@Override
@FeatureFlagged(featureFlagName = FeatureFlagEnum.ORGANIZATION_TEST_FEATURE)
- public String ceEeSyncMethod(String arg) {
- return arg + "ee_impl_method";
+ public Mono<String> ceEeSyncMethod(String arg) {
+ return Mono.just(arg + "ee_impl_method");
}
@Override
@FeatureFlagged(featureFlagName = FeatureFlagEnum.ORGANIZATION_TEST_FEATURE)
- public void ceEeThrowAppsmithException(String arg) {
- throw new AppsmithException(AppsmithError.GENERIC_BAD_REQUEST, "This is a test exception");
+ public Mono<Void> ceEeThrowAppsmithException(String arg) {
+ return Mono.error(new AppsmithException(AppsmithError.GENERIC_BAD_REQUEST, "This is a test exception"));
}
@Override
@FeatureFlagged(featureFlagName = FeatureFlagEnum.ORGANIZATION_TEST_FEATURE)
- public void ceEeThrowNonAppsmithException(String arg) {
- throw new RuntimeException("This is a test exception");
+ public Mono<Void> ceEeThrowNonAppsmithException(String arg) {
+ return Mono.error(new RuntimeException("This is a test exception"));
}
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/component/ce/TestComponentCE.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/component/ce/TestComponentCE.java
index a0e5fa62f6a1..b9b27b09c129 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/component/ce/TestComponentCE.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/component/ce/TestComponentCE.java
@@ -13,9 +13,9 @@ public interface TestComponentCE {
Flux<String> ceEeDiffMethodReturnsFlux();
- String ceEeSyncMethod(String arg);
+ Mono<String> ceEeSyncMethod(String arg);
- void ceEeThrowAppsmithException(String arg);
+ Mono<Void> ceEeThrowAppsmithException(String arg);
- void ceEeThrowNonAppsmithException(String arg);
+ Mono<Void> ceEeThrowNonAppsmithException(String arg);
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/component/ce/TestComponentCEImpl.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/component/ce/TestComponentCEImpl.java
index 86755f406afc..f095c4daab16 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/component/ce/TestComponentCEImpl.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/aspect/component/ce/TestComponentCEImpl.java
@@ -27,13 +27,17 @@ public Flux<String> ceEeDiffMethodReturnsFlux() {
}
@Override
- public String ceEeSyncMethod(String arg) {
- return arg + "ce_impl_method";
+ public Mono<String> ceEeSyncMethod(String arg) {
+ return Mono.just(arg + "ce_impl_method");
}
@Override
- public void ceEeThrowAppsmithException(String arg) {}
+ public Mono<Void> ceEeThrowAppsmithException(String arg) {
+ return Mono.empty();
+ }
@Override
- public void ceEeThrowNonAppsmithException(String arg) {}
+ public Mono<Void> ceEeThrowNonAppsmithException(String arg) {
+ return Mono.empty();
+ }
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/fork/ApplicationForkingServiceTests.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/fork/ApplicationForkingServiceTests.java
index fb84d7ea6cb1..e3850b0cbd01 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/fork/ApplicationForkingServiceTests.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/fork/ApplicationForkingServiceTests.java
@@ -610,6 +610,7 @@ public void test6_failForkApplication_noDatasourceCreatePermission() {
.filter(policy -> !policy.getPermission()
.equals(workspacePermission
.getDatasourceCreatePermission()
+ .block()
.getValue()))
.collect(Collectors.toSet());
targetWorkspace.setPolicies(newPoliciesWithoutCreateDatasource);
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/CommonGitServiceCETest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/CommonGitServiceCETest.java
index 8ce36a1fc29c..ca81cd652bbd 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/git/CommonGitServiceCETest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/git/CommonGitServiceCETest.java
@@ -266,8 +266,9 @@ public void setup() throws IOException, GitAPIException {
@AfterEach
public void cleanup() {
Mockito.when(commonGitFileUtils.deleteLocalRepo(any(Path.class))).thenReturn(Mono.just(true));
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/EmailServiceHelperCETest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/EmailServiceHelperCETest.java
index e10befb4c39a..13c08d04c44f 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/EmailServiceHelperCETest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/EmailServiceHelperCETest.java
@@ -46,25 +46,28 @@ public void testEnrichWithBrandParams() {
@Test
void testGetForgotPasswordTemplate() {
- assertThat(emailServiceHelperCE.getForgotPasswordTemplate()).isEqualTo(FORGOT_PASSWORD_TEMPLATE_CE);
+ assertThat(emailServiceHelperCE.getForgotPasswordTemplate().block()).isEqualTo(FORGOT_PASSWORD_TEMPLATE_CE);
}
@Test
void testGetWorkspaceInviteTemplate() {
- assertThat(emailServiceHelperCE.getWorkspaceInviteTemplate(Boolean.TRUE))
+ assertThat(emailServiceHelperCE.getWorkspaceInviteTemplate(Boolean.TRUE).block())
.isEqualTo(INVITE_WORKSPACE_TEMPLATE_NEW_USER_CE);
- assertThat(emailServiceHelperCE.getWorkspaceInviteTemplate(Boolean.FALSE))
+ assertThat(emailServiceHelperCE
+ .getWorkspaceInviteTemplate(Boolean.FALSE)
+ .block())
.isEqualTo(INVITE_WORKSPACE_TEMPLATE_EXISTING_USER_CE);
}
@Test
void testGetEmailVerificationTemplate() {
- assertThat(emailServiceHelperCE.getEmailVerificationTemplate()).isEqualTo(EMAIL_VERIFICATION_EMAIL_TEMPLATE_CE);
+ assertThat(emailServiceHelperCE.getEmailVerificationTemplate().block())
+ .isEqualTo(EMAIL_VERIFICATION_EMAIL_TEMPLATE_CE);
}
@Test
void testGetAdminInstanceInviteTemplate() {
- assertThat(emailServiceHelperCE.getAdminInstanceInviteTemplate())
+ assertThat(emailServiceHelperCE.getAdminInstanceInviteTemplate().block())
.isEqualTo(INSTANCE_ADMIN_INVITE_EMAIL_TEMPLATE);
}
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/ImportArtifactPermissionProviderTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/ImportArtifactPermissionProviderTest.java
index bb85f57382fe..6376e5a3b66e 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/ImportArtifactPermissionProviderTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/helpers/ce/ImportArtifactPermissionProviderTest.java
@@ -16,6 +16,7 @@
import com.appsmith.server.solutions.DomainPermission;
import com.appsmith.server.solutions.PagePermission;
import com.appsmith.server.solutions.WorkspacePermission;
+import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
@@ -27,6 +28,7 @@
import java.util.Set;
import static org.assertj.core.api.Assertions.assertThat;
+import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertTrue;
@@ -61,9 +63,15 @@ public void testCheckPermissionMethods_WhenNoPermissionProvided_ReturnsTrue() {
assertTrue(importArtifactPermissionProvider.hasEditPermission(new NewAction()));
assertTrue(importArtifactPermissionProvider.hasEditPermission(new Datasource()));
- assertTrue(importArtifactPermissionProvider.canCreateDatasource(new Workspace()));
- assertTrue(importArtifactPermissionProvider.canCreateAction(new NewPage()));
- assertTrue(importArtifactPermissionProvider.canCreatePage(new Application()));
+ assertEquals(
+ Boolean.TRUE,
+ importArtifactPermissionProvider
+ .canCreateDatasource(new Workspace())
+ .block());
+ assertEquals(
+ Boolean.TRUE,
+ importArtifactPermissionProvider.canCreateAction(new NewPage()).block());
+ importArtifactPermissionProvider.canCreatePage(new Application()).subscribe(Assertions::assertTrue);
}
@Test
@@ -101,9 +109,14 @@ public void tesHasCreatePermissionOnDomains_WhenPermissionGroupDoesNotMatch_Retu
// we'll create a permission provider for each domain and check if the create permission is false
List<Tuple2<BaseDomain, AclPermission>> domainAndPermissionList = new ArrayList<>();
- domainAndPermissionList.add(Tuples.of(new Application(), applicationPermission.getPageCreatePermission()));
- domainAndPermissionList.add(Tuples.of(new NewPage(), pagePermission.getActionCreatePermission()));
- domainAndPermissionList.add(Tuples.of(new Workspace(), workspacePermission.getDatasourceCreatePermission()));
+ domainAndPermissionList.add(Tuples.of(
+ new Application(),
+ applicationPermission.getPageCreatePermission().block()));
+ domainAndPermissionList.add(Tuples.of(
+ new NewPage(), pagePermission.getActionCreatePermission().block()));
+ domainAndPermissionList.add(Tuples.of(
+ new Workspace(),
+ workspacePermission.getDatasourceCreatePermission().block()));
for (Tuple2<BaseDomain, AclPermission> domainAndPermission : domainAndPermissionList) {
BaseDomain domain = domainAndPermission.getT1();
@@ -112,11 +125,11 @@ public void tesHasCreatePermissionOnDomains_WhenPermissionGroupDoesNotMatch_Retu
createPermissionProviderForDomainCreatePermission(domain, domainAndPermission.getT2());
if (domain instanceof Application) {
- assertFalse(provider.canCreatePage((Application) domain));
+ provider.canCreatePage((Application) domain).subscribe(Assertions::assertFalse);
} else if (domain instanceof NewPage) {
- assertFalse(provider.canCreateAction((NewPage) domain));
+ assertFalse(provider.canCreateAction((NewPage) domain).block());
} else if (domain instanceof Workspace) {
- assertFalse(provider.canCreateDatasource((Workspace) domain));
+ provider.canCreateDatasource((Workspace) domain).subscribe(Assertions::assertFalse);
}
}
}
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/imports/internal/ImportServiceTests.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/imports/internal/ImportServiceTests.java
index 317f121db519..f4ee9f51f368 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/imports/internal/ImportServiceTests.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/imports/internal/ImportServiceTests.java
@@ -4940,6 +4940,7 @@ public void mergeApplicationJsonWithApplication_WhenNoPermissionToCreatePage_Fai
.filter(policy -> !policy.getPermission()
.equals(applicationPermission
.getPageCreatePermission()
+ .block()
.getValue()))
.collect(Collectors.toUnmodifiableSet()));
return applicationRepository.save(application);
@@ -4984,6 +4985,7 @@ public void extractFileAndUpdateNonGitConnectedApplication_WhenNoPermissionToCre
.filter(policy -> !policy.getPermission()
.equals(applicationPermission
.getPageCreatePermission()
+ .block()
.getValue()))
.collect(Collectors.toUnmodifiableSet()));
return applicationRepository.save(application);
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/refactors/ce/RefactoringServiceCETest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/refactors/ce/RefactoringServiceCETest.java
index 6570ca2da9ac..cb4551216b27 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/refactors/ce/RefactoringServiceCETest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/refactors/ce/RefactoringServiceCETest.java
@@ -248,8 +248,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/refactors/ce/RefactoringServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/refactors/ce/RefactoringServiceTest.java
index 9010de1a0e58..ba28358ae46c 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/refactors/ce/RefactoringServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/refactors/ce/RefactoringServiceTest.java
@@ -229,8 +229,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ActionCollectionServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ActionCollectionServiceTest.java
index b31038346352..aa1af9e9901c 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ActionCollectionServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ActionCollectionServiceTest.java
@@ -216,8 +216,9 @@ public void setup() {
@AfterEach
@WithUserDetails(value = "api_user")
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationPageServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationPageServiceTest.java
index 364e3ee7209c..5adb19146244 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationPageServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationPageServiceTest.java
@@ -86,8 +86,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspace.getId(), applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspace.getId(), permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationSnapshotServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationSnapshotServiceTest.java
index 6538471c394e..6c54d8906c17 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationSnapshotServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ApplicationSnapshotServiceTest.java
@@ -77,8 +77,9 @@ public void cleanup() {
// Since no setup is done, hence no cleanup should happen.
return;
}
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspace.getId(), applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspace.getId(), permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/CurlImporterServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/CurlImporterServiceTest.java
index bacca9f82e67..697d6e2e233f 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/CurlImporterServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/CurlImporterServiceTest.java
@@ -207,8 +207,9 @@ public void cleanup() {
// Since, no setup was done if the user context is missing. Hence, no cleanup required.
return;
}
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceContextServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceContextServiceTest.java
index e2dbb66a3a99..e8d6d274fa5e 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceContextServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceContextServiceTest.java
@@ -138,8 +138,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
@@ -188,7 +189,7 @@ public void testDatasourceCache_afterDatasourceDeleted_doesNotReturnOldConnectio
doReturn(Mono.just(datasource))
.when(datasourceRepository)
- .findById("id1", datasourcePermission.getDeletePermission());
+ .findById("id1", datasourcePermission.getDeletePermission().block());
doReturn(Mono.just(datasource))
.when(datasourceRepository)
.findById("id1", datasourcePermission.getExecutePermission());
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceServiceTest.java
index f7739d72e422..06df6669fe29 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceServiceTest.java
@@ -143,8 +143,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceStorageServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceStorageServiceTest.java
index 194181ab43c1..10159b463784 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceStorageServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/DatasourceStorageServiceTest.java
@@ -78,8 +78,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspace.getId(), applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspace.getId(), permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/LayoutActionServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/LayoutActionServiceTest.java
index 4ad9cf33c936..c6bcf1a58375 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/LayoutActionServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/LayoutActionServiceTest.java
@@ -255,8 +255,9 @@ public void setup() {
@AfterEach
void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
@@ -476,13 +477,17 @@ void updateLayout_WhenOnLoadChanged_ActionExecuted() {
})
.verifyComplete();
- StepVerifier.create(newActionService.findById(createdAction1.getId())).assertNext(newAction -> assertThat(
- newAction.getUnpublishedAction().getExecuteOnLoad())
- .isTrue());
+ StepVerifier.create(newActionService.findById(createdAction1.getId()))
+ .assertNext(
+ newAction -> assertThat(newAction.getUnpublishedAction().getExecuteOnLoad())
+ .isTrue())
+ .verifyComplete();
- StepVerifier.create(newActionService.findById(createdAction2.getId())).assertNext(newAction -> assertThat(
- newAction.getUnpublishedAction().getExecuteOnLoad())
- .isFalse());
+ StepVerifier.create(newActionService.findById(createdAction2.getId()))
+ .assertNext(
+ newAction -> assertThat(newAction.getUnpublishedAction().getExecuteOnLoad())
+ .isFalse())
+ .verifyComplete();
dsl = new JSONObject();
dsl.put("widgetName", "firstWidget");
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/LayoutServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/LayoutServiceTest.java
index 8bfc73e2f441..567b2797cd4d 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/LayoutServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/LayoutServiceTest.java
@@ -153,8 +153,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
@@ -524,16 +525,16 @@ private Mono<LayoutDTO> createComplexAppForExecuteOnLoad(Mono<PageDTO> pageMono)
"some dynamic {{\"anIgnoredAction.data:\" + aGetAction.data}}",
"dynamicPost",
"""
- some dynamic {{
- (function(ignoredAction1){
- \tlet a = ignoredAction1.data
- \tlet ignoredAction2 = { data: "nothing" }
- \tlet b = ignoredAction2.data
- \tlet c = "ignoredAction3.data"
- \t// ignoredAction4.data
- \treturn aPostAction.data
- })(anotherPostAction.data)}}
- """,
+ some dynamic {{
+ (function(ignoredAction1){
+ \tlet a = ignoredAction1.data
+ \tlet ignoredAction2 = { data: "nothing" }
+ \tlet b = ignoredAction2.data
+ \tlet c = "ignoredAction3.data"
+ \t// ignoredAction4.data
+ \treturn aPostAction.data
+ })(anotherPostAction.data)}}
+ """,
"dynamicPostWithAutoExec",
"some dynamic {{aPostActionWithAutoExec.data}}",
"dynamicDelete",
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/MockDataServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/MockDataServiceTest.java
index e3b1d4523c0a..b7d9e0274428 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/MockDataServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/MockDataServiceTest.java
@@ -131,8 +131,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/NewPageServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/NewPageServiceTest.java
index b89277c7012a..0879b099653c 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/NewPageServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/NewPageServiceTest.java
@@ -85,8 +85,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/PageServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/PageServiceTest.java
index 0822fc81098c..3a1400042ecb 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/PageServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/PageServiceTest.java
@@ -155,8 +155,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ThemeServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ThemeServiceTest.java
index 0e7e7ce8bb6b..133d9307a4dd 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ThemeServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ThemeServiceTest.java
@@ -107,8 +107,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspace.getId(), applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspace.getId(), permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/UserWorkspaceServiceUnitTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/UserWorkspaceServiceUnitTest.java
index f7ca9468321a..90367c0fd3a4 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/UserWorkspaceServiceUnitTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/UserWorkspaceServiceUnitTest.java
@@ -118,8 +118,9 @@ public void cleanup() {
// Do not proceed with cleanup, because user context doesn't exist.
return;
}
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspace.getId(), applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspace.getId(), permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/ActionServiceCE_Test.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/ActionServiceCE_Test.java
index ee5934ede490..71b7435b6952 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/ActionServiceCE_Test.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/ActionServiceCE_Test.java
@@ -284,8 +284,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/ApplicationServiceCETest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/ApplicationServiceCETest.java
index 6093222abbb7..0104d9999d1d 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/ApplicationServiceCETest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/ApplicationServiceCETest.java
@@ -415,8 +415,9 @@ public void cleanup() {
// Since no setup was done, hence no cleanup needs to happen
return;
}
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
@@ -4171,7 +4172,10 @@ public void cloneApplication_noDatasourceCreateActionPermissions() {
*/
Set<Policy> newPoliciesWithoutEdit = existingPolicies.stream()
.filter(policy -> !policy.getPermission()
- .equals(datasourcePermission.getActionCreatePermission().getValue()))
+ .equals(datasourcePermission
+ .getActionCreatePermission()
+ .block()
+ .getValue()))
.collect(Collectors.toSet());
testDatasource1.setPolicies(newPoliciesWithoutEdit);
Datasource updatedTestDatasource =
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/ThemeImportableServiceCETest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/ThemeImportableServiceCETest.java
index 63d8a7b58a61..245865a87261 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/ThemeImportableServiceCETest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/services/ce/ThemeImportableServiceCETest.java
@@ -88,8 +88,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspace.getId(), applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspace.getId(), permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/AuthenticationServiceTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/AuthenticationServiceTest.java
index 7e2eb4825594..23ef1b3d484a 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/AuthenticationServiceTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/AuthenticationServiceTest.java
@@ -101,8 +101,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspace.getId(), applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspace.getId(), permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/CreateDBTablePageSolutionTests.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/CreateDBTablePageSolutionTests.java
index f409d5e809f9..1e42e70792cc 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/CreateDBTablePageSolutionTests.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/CreateDBTablePageSolutionTests.java
@@ -241,8 +241,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(testWorkspace.getId(), applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(testWorkspace.getId(), permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/DatasourceStructureSolutionTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/DatasourceStructureSolutionTest.java
index 342f4783f95f..f27871c9ba8d 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/DatasourceStructureSolutionTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/DatasourceStructureSolutionTest.java
@@ -126,8 +126,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/DatasourceTriggerSolutionTest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/DatasourceTriggerSolutionTest.java
index 6ad83290dcd3..618d0fb00df2 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/DatasourceTriggerSolutionTest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/DatasourceTriggerSolutionTest.java
@@ -121,8 +121,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ce/ActionExecutionSolutionCETest.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ce/ActionExecutionSolutionCETest.java
index 43cf663f943c..3b1766f87c84 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ce/ActionExecutionSolutionCETest.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/ce/ActionExecutionSolutionCETest.java
@@ -292,8 +292,9 @@ public void setup() {
@AfterEach
public void cleanup() {
- List<Application> deletedApplications = applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ List<Application> deletedApplications = applicationPermission
+ .getDeletePermission()
+ .flatMapMany(permission -> applicationService.findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
diff --git a/app/server/appsmith-server/src/test/utils/com/appsmith/server/git/ArtifactBuilderExtension.java b/app/server/appsmith-server/src/test/utils/com/appsmith/server/git/ArtifactBuilderExtension.java
index 123664de18e6..e1949c278b43 100644
--- a/app/server/appsmith-server/src/test/utils/com/appsmith/server/git/ArtifactBuilderExtension.java
+++ b/app/server/appsmith-server/src/test/utils/com/appsmith/server/git/ArtifactBuilderExtension.java
@@ -94,8 +94,8 @@ public void afterEach(ExtensionContext extensionContext) {
// Because right now we only have checks for apps
// Move this to artifact based model when we fix that
- applicationService
- .findByWorkspaceId(workspaceId, applicationPermission.getDeletePermission())
+ applicationPermission.getDeletePermission().flatMapMany(permission -> applicationService
+ .findByWorkspaceId(workspaceId, permission))
.flatMap(remainingApplication -> applicationPageService.deleteApplication(remainingApplication.getId()))
.collectList()
.block();
|
430a78a7e23f3925227a9a693de091cc67a1a362
|
2024-03-04 16:53:23
|
Shrikant Sharat Kandula
|
chore(deps): bump ip from 2.0.0 to 2.0.1 in /app/client (#31463)
| false
|
bump ip from 2.0.0 to 2.0.1 in /app/client (#31463)
|
chore
|
diff --git a/app/client/yarn.lock b/app/client/yarn.lock
index a284288a4851..aff867a5cd36 100644
--- a/app/client/yarn.lock
+++ b/app/client/yarn.lock
@@ -21441,9 +21441,9 @@ __metadata:
linkType: hard
"ip@npm:^2.0.0":
- version: 2.0.0
- resolution: "ip@npm:2.0.0"
- checksum: cfcfac6b873b701996d71ec82a7dd27ba92450afdb421e356f44044ed688df04567344c36cbacea7d01b1c39a4c732dc012570ebe9bebfb06f27314bca625349
+ version: 2.0.1
+ resolution: "ip@npm:2.0.1"
+ checksum: d765c9fd212b8a99023a4cde6a558a054c298d640fec1020567494d257afd78ca77e37126b1a3ef0e053646ced79a816bf50621d38d5e768cdde0431fa3b0d35
languageName: node
linkType: hard
|
2c3a0991f75934d0cccd211aaf91b5a8b84b5fcb
|
2021-10-11 18:25:03
|
Hetu Nandu
|
feat: setInterval and clearInterval support (#8158)
| false
|
setInterval and clearInterval support (#8158)
|
feat
|
diff --git a/app/client/src/components/editorComponents/ActionCreator/Fields.tsx b/app/client/src/components/editorComponents/ActionCreator/Fields.tsx
index 8e3ef6fc08d3..adccdfa01e43 100644
--- a/app/client/src/components/editorComponents/ActionCreator/Fields.tsx
+++ b/app/client/src/components/editorComponents/ActionCreator/Fields.tsx
@@ -17,6 +17,26 @@ import { NavigationTargetType } from "sagas/ActionExecution/NavigateActionSaga";
/* eslint-disable @typescript-eslint/ban-types */
/* TODO: Function and object types need to be updated to enable the lint rule */
+/**
+ ******** Steps to add a new function *******
+ * In this file:
+ * 1. Create a new entry in ActionType object. This is the name of the function
+ *
+ * 2. Define new fields in FieldType object. This is the field names
+ * for each argument the function accepts.
+ *
+ * 3. Update fieldConfigs with your field's getter, setting and view. getter is
+ * the setting used to extract the field value from the function. setter is used to
+ * set the value in function when the field is updated. View is the component used
+ * to edit the field value
+ *
+ * 4. Update renderField function to change things like field label etc.
+ *
+ * On the index file:
+ * 1. Add the new action entry and its text in the baseOptions array
+ * 2. Attach fields to the new action in the getFieldFromValue function
+ **/
+
const ALERT_STYLE_OPTIONS = [
{ label: "Info", value: "'info'", id: "info" },
{ label: "Success", value: "'success'", id: "success" },
@@ -198,8 +218,6 @@ const enumTypeGetter = (
export const ActionType = {
none: "none",
integration: "integration",
- api: "api",
- query: "query",
showModal: "showModal",
closeModal: "closeModal",
navigateTo: "navigateTo",
@@ -209,6 +227,8 @@ export const ActionType = {
copyToClipboard: "copyToClipboard",
resetWidget: "resetWidget",
jsFunction: "jsFunction",
+ setInterval: "setInterval",
+ clearInterval: "clearInterval",
};
type ActionType = typeof ActionType[keyof typeof ActionType];
@@ -328,6 +348,9 @@ export const FieldType = {
WIDGET_NAME_FIELD: "WIDGET_NAME_FIELD",
RESET_CHILDREN_FIELD: "RESET_CHILDREN_FIELD",
ARGUMENT_KEY_VALUE_FIELD: "ARGUMENT_KEY_VALUE_FIELD",
+ CALLBACK_FUNCTION_FIELD: "CALLBACK_FUNCTION_FIELD",
+ DELAY_FIELD: "DELAY_FIELD",
+ ID_FIELD: "ID_FIELD",
};
type FieldType = typeof FieldType[keyof typeof FieldType];
@@ -373,6 +396,9 @@ const fieldConfigs: FieldConfigs = {
case ActionType.jsFunction:
defaultArgs = option.args ? option.args : [];
break;
+ case ActionType.setInterval:
+ defaultParams = "() => { \n\t // add code here \n}, 5000";
+ break;
default:
break;
}
@@ -551,6 +577,33 @@ const fieldConfigs: FieldConfigs = {
},
view: ViewTypes.SELECTOR_VIEW,
},
+ [FieldType.CALLBACK_FUNCTION_FIELD]: {
+ getter: (value: string) => {
+ return textGetter(value, 0);
+ },
+ setter: (value: string, currentValue: string) => {
+ return textSetter(value, currentValue, 0);
+ },
+ view: ViewTypes.TEXT_VIEW,
+ },
+ [FieldType.DELAY_FIELD]: {
+ getter: (value: string) => {
+ return textGetter(value, 1);
+ },
+ setter: (value: string, currentValue: string) => {
+ return textSetter(value, currentValue, 1);
+ },
+ view: ViewTypes.TEXT_VIEW,
+ },
+ [FieldType.ID_FIELD]: {
+ getter: (value: string) => {
+ return textGetter(value, 2);
+ },
+ setter: (value: string, currentValue: string) => {
+ return textSetter(value, currentValue, 2);
+ },
+ view: ViewTypes.TEXT_VIEW,
+ },
};
function renderField(props: {
@@ -717,6 +770,9 @@ function renderField(props: {
case FieldType.DOWNLOAD_DATA_FIELD:
case FieldType.DOWNLOAD_FILE_NAME_FIELD:
case FieldType.COPY_TEXT_FIELD:
+ case FieldType.CALLBACK_FUNCTION_FIELD:
+ case FieldType.DELAY_FIELD:
+ case FieldType.ID_FIELD:
let fieldLabel = "";
if (fieldType === FieldType.ALERT_TEXT_FIELD) {
fieldLabel = "Message";
@@ -734,6 +790,12 @@ function renderField(props: {
fieldLabel = "File name with extension";
} else if (fieldType === FieldType.COPY_TEXT_FIELD) {
fieldLabel = "Text to be copied to clipboard";
+ } else if (fieldType === FieldType.CALLBACK_FUNCTION_FIELD) {
+ fieldLabel = "Callback function";
+ } else if (fieldType === FieldType.DELAY_FIELD) {
+ fieldLabel = "Delay (ms)";
+ } else if (fieldType === FieldType.ID_FIELD) {
+ fieldLabel = "Id";
}
viewElement = (view as (props: TextViewProps) => JSX.Element)({
label: fieldLabel,
@@ -758,10 +820,8 @@ function Fields(props: {
value: string;
fields: any;
label?: string;
- // apiOptionTree: TreeDropdownOption[];
integrationOptionTree: TreeDropdownOption[];
widgetOptionTree: TreeDropdownOption[];
- // queryOptionTree: TreeDropdownOption[];
modalDropdownList: TreeDropdownOption[];
pageDropdownOptions: TreeDropdownOption[];
depth: number;
diff --git a/app/client/src/components/editorComponents/ActionCreator/index.tsx b/app/client/src/components/editorComponents/ActionCreator/index.tsx
index 29ceacb8c10d..f998f381f710 100644
--- a/app/client/src/components/editorComponents/ActionCreator/index.tsx
+++ b/app/client/src/components/editorComponents/ActionCreator/index.tsx
@@ -66,6 +66,8 @@ import {
NAVIGATE_TO,
EXECUTE_A_QUERY,
NO_ACTION,
+ SET_INTERVAL,
+ CLEAR_INTERVAL,
} from "constants/messages";
/* eslint-disable @typescript-eslint/ban-types */
/* TODO: Function and object types need to be updated to enable the lint rule */
@@ -111,6 +113,14 @@ const baseOptions: any = [
label: createMessage(RESET_WIDGET),
value: ActionType.resetWidget,
},
+ {
+ label: createMessage(SET_INTERVAL),
+ value: ActionType.setInterval,
+ },
+ {
+ label: createMessage(CLEAR_INTERVAL),
+ value: ActionType.clearInterval,
+ },
];
const getBaseOptions = () => {
@@ -334,6 +344,25 @@ function getFieldFromValue(
field: FieldType.COPY_TEXT_FIELD,
});
}
+ if (value.indexOf("setInterval") !== -1) {
+ fields.push(
+ {
+ field: FieldType.CALLBACK_FUNCTION_FIELD,
+ },
+ {
+ field: FieldType.DELAY_FIELD,
+ },
+ {
+ field: FieldType.ID_FIELD,
+ },
+ );
+ }
+
+ if (value.indexOf("clearInterval") !== -1) {
+ fields.push({
+ field: FieldType.ID_FIELD,
+ });
+ }
return fields;
}
diff --git a/app/client/src/constants/messages.ts b/app/client/src/constants/messages.ts
index c995bc94690c..e6dfdd7bfe4c 100644
--- a/app/client/src/constants/messages.ts
+++ b/app/client/src/constants/messages.ts
@@ -402,6 +402,9 @@ export const DOWNLOAD = () => `Download`;
export const COPY_TO_CLIPBOARD = () => `Copy to clipboard`;
export const RESET_WIDGET = () => `Reset widget`;
export const EXECUTE_JS_FUNCTION = () => `Execute a JS function`;
+export const SET_INTERVAL = () => `Set interval`;
+export const CLEAR_INTERVAL = () => `Clear interval`;
+
//js actions
export const JS_ACTION_COPY_SUCCESS = (actionName: string, pageName: string) =>
`${actionName} copied to page ${pageName} successfully`;
diff --git a/app/client/src/entities/DataTree/actionTriggers.ts b/app/client/src/entities/DataTree/actionTriggers.ts
index 0b5314a3c1f6..a2b3e5f90d04 100644
--- a/app/client/src/entities/DataTree/actionTriggers.ts
+++ b/app/client/src/entities/DataTree/actionTriggers.ts
@@ -13,6 +13,8 @@ export enum ActionTriggerType {
DOWNLOAD = "DOWNLOAD",
COPY_TO_CLIPBOARD = "COPY_TO_CLIPBOARD",
RESET_WIDGET_META_RECURSIVE_BY_NAME = "RESET_WIDGET_META_RECURSIVE_BY_NAME",
+ SET_INTERVAL = "SET_INTERVAL",
+ CLEAR_INTERVAL = "CLEAR_INTERVAL",
}
export type PromiseActionDescription = {
@@ -101,6 +103,22 @@ export type ResetWidgetDescription = {
};
};
+export type SetIntervalDescription = {
+ type: ActionTriggerType.SET_INTERVAL;
+ payload: {
+ callback: string;
+ interval: number;
+ id?: string;
+ };
+};
+
+export type ClearIntervalDescription = {
+ type: ActionTriggerType.CLEAR_INTERVAL;
+ payload: {
+ id: string;
+ };
+};
+
export type ActionDescription =
| PromiseActionDescription
| RunPluginActionDescription
@@ -112,4 +130,6 @@ export type ActionDescription =
| StoreValueActionDescription
| DownloadActionDescription
| CopyToClipboardDescription
- | ResetWidgetDescription;
+ | ResetWidgetDescription
+ | SetIntervalDescription
+ | ClearIntervalDescription;
diff --git a/app/client/src/sagas/ActionExecution/ActionExecutionSagas.ts b/app/client/src/sagas/ActionExecution/ActionExecutionSagas.ts
index c6357c176821..69ea05a52723 100644
--- a/app/client/src/sagas/ActionExecution/ActionExecutionSagas.ts
+++ b/app/client/src/sagas/ActionExecution/ActionExecutionSagas.ts
@@ -33,6 +33,10 @@ import {
logActionExecutionError,
TriggerEvaluationError,
} from "sagas/ActionExecution/errorUtils";
+import {
+ clearIntervalSaga,
+ setIntervalSaga,
+} from "sagas/ActionExecution/SetIntervalSaga";
export type TriggerMeta = {
source?: TriggerSource;
@@ -91,6 +95,12 @@ export function* executeActionTriggers(
case ActionTriggerType.RESET_WIDGET_META_RECURSIVE_BY_NAME:
yield call(resetWidgetActionSaga, trigger.payload, triggerMeta);
break;
+ case ActionTriggerType.SET_INTERVAL:
+ yield call(setIntervalSaga, trigger.payload, eventType, triggerMeta);
+ break;
+ case ActionTriggerType.CLEAR_INTERVAL:
+ yield call(clearIntervalSaga, trigger.payload, triggerMeta);
+ break;
default:
log.error("Trigger type unknown", trigger);
throw Error("Trigger type unknown");
diff --git a/app/client/src/sagas/ActionExecution/SetIntervalSaga.ts b/app/client/src/sagas/ActionExecution/SetIntervalSaga.ts
new file mode 100644
index 000000000000..a622ad92dd42
--- /dev/null
+++ b/app/client/src/sagas/ActionExecution/SetIntervalSaga.ts
@@ -0,0 +1,86 @@
+import {
+ ClearIntervalDescription,
+ SetIntervalDescription,
+} from "entities/DataTree/actionTriggers";
+import {
+ executeAppAction,
+ TriggerMeta,
+} from "sagas/ActionExecution/ActionExecutionSagas";
+import { call, delay, spawn } from "redux-saga/effects";
+import { EventType } from "constants/AppsmithActionConstants/ActionConstants";
+import {
+ logActionExecutionError,
+ TriggerFailureError,
+} from "sagas/ActionExecution/errorUtils";
+
+const TIMER_WITHOUT_ID_KEY = "timerWithoutId";
+
+const activeTimers: Record<string, true | string> = {
+ [TIMER_WITHOUT_ID_KEY]: true,
+};
+
+export function* setIntervalSaga(
+ payload: SetIntervalDescription["payload"],
+ eventType: EventType,
+ triggerMeta: TriggerMeta,
+) {
+ if (payload.id) {
+ activeTimers[payload.id] = payload.callback;
+ }
+
+ yield spawn(executeInIntervals, payload, eventType, triggerMeta);
+}
+
+function* executeInIntervals(
+ payload: SetIntervalDescription["payload"],
+ eventType: EventType,
+ triggerMeta: TriggerMeta,
+) {
+ const { callback, id = TIMER_WITHOUT_ID_KEY, interval } = payload;
+ while (
+ // only execute if the id exists in the activeTimers obj
+ id in activeTimers &&
+ /*
+ While editing the callback can change for the same id.
+ At that time we want only execute the new callback
+ so end the loop if the callback is not the same as the one this
+ saga was started
+
+ But if no id is provided, it will always run
+ */
+ (activeTimers[id] === callback || id === TIMER_WITHOUT_ID_KEY)
+ ) {
+ // Even if there is an error, the set interval should still keep
+ // running. This is according to the spec of setInterval
+ try {
+ yield call(executeAppAction, {
+ dynamicString: `{{${callback}}}`,
+ // pass empty object to execute it as a callback function
+ responseData: [{}],
+ event: { type: eventType },
+ triggerPropertyName: triggerMeta.triggerPropertyName,
+ source: triggerMeta.source,
+ });
+ } catch (e) {
+ logActionExecutionError(
+ e.message,
+ triggerMeta.source,
+ triggerMeta.triggerPropertyName,
+ );
+ }
+ yield delay(interval);
+ }
+}
+
+export function* clearIntervalSaga(
+ payload: ClearIntervalDescription["payload"],
+ triggerMeta: TriggerMeta,
+) {
+ if (!(payload.id in activeTimers)) {
+ throw new TriggerFailureError(
+ `Failed to clear interval. No timer active with id "${payload.id}"`,
+ triggerMeta,
+ );
+ }
+ delete activeTimers[payload.id];
+}
diff --git a/app/client/src/sagas/EvaluationsSaga.ts b/app/client/src/sagas/EvaluationsSaga.ts
index 5115b638ab6b..b63fdc6eeb9d 100644
--- a/app/client/src/sagas/EvaluationsSaga.ts
+++ b/app/client/src/sagas/EvaluationsSaga.ts
@@ -355,6 +355,7 @@ function* evaluationChangeListenerSaga() {
// Explicitly shutdown old worker if present
yield call(worker.shutdown);
yield call(worker.start);
+ yield call(worker.request, EVAL_WORKER_ACTIONS.SETUP);
widgetTypeConfigMap = WidgetFactory.getWidgetTypeConfigMap();
const initAction = yield take(FIRST_EVAL_REDUX_ACTIONS);
yield fork(evaluateTreeSaga, initAction.postEvalActions);
@@ -407,7 +408,7 @@ export function* evaluateSnippetSaga(action: any) {
//Result is when trigger is present. Following code will hide the evaluated snippet section
yield put(setEvaluatedSnippet(result));
} else {
- /*
+ /*
JSON.stringify(undefined) is undefined.
We need to set it manually to "undefined" for codeEditor to display it.
*/
diff --git a/app/client/src/utils/DynamicBindingUtils.ts b/app/client/src/utils/DynamicBindingUtils.ts
index 683ec8b6fc02..a04a1273af7c 100644
--- a/app/client/src/utils/DynamicBindingUtils.ts
+++ b/app/client/src/utils/DynamicBindingUtils.ts
@@ -134,6 +134,7 @@ export type EvalError = {
};
export enum EVAL_WORKER_ACTIONS {
+ SETUP = "SETUP",
EVAL_TREE = "EVAL_TREE",
EVAL_ACTION_BINDINGS = "EVAL_ACTION_BINDINGS",
EVAL_TRIGGER = "EVAL_TRIGGER",
@@ -289,6 +290,7 @@ export const unsafeFunctionForEval = [
"setTimeout",
"fetch",
"setInterval",
+ "clearInterval",
"setImmediate",
"XMLHttpRequest",
"importScripts",
diff --git a/app/client/src/utils/autocomplete/EntityDefinitions.ts b/app/client/src/utils/autocomplete/EntityDefinitions.ts
index 37b742ee80c6..aef6dadbd48e 100644
--- a/app/client/src/utils/autocomplete/EntityDefinitions.ts
+++ b/app/client/src/utils/autocomplete/EntityDefinitions.ts
@@ -462,6 +462,14 @@ export const GLOBAL_FUNCTIONS = {
"!doc": "Reset widget values",
"!type": "fn(widgetName: string, resetChildren: boolean) -> void",
},
+ setInterval: {
+ "!doc": "Execute triggers at a given interval",
+ "!type": "fn(callback: fn, interval: number, id?: string) -> void",
+ },
+ clearInterval: {
+ "!doc": "Stop executing a setInterval with id",
+ "!type": "fn(id: string) -> void",
+ },
};
export const getPropsForJSActionEntity = (
diff --git a/app/client/src/workers/Actions.test.ts b/app/client/src/workers/Actions.test.ts
index 92c2bf083c4a..2046de018eaa 100644
--- a/app/client/src/workers/Actions.test.ts
+++ b/app/client/src/workers/Actions.test.ts
@@ -34,6 +34,8 @@ describe("Add functions", () => {
"resetWidget",
"action1.run",
"action1.clear",
+ "setInterval",
+ "clearInterval",
]);
// Action run
diff --git a/app/client/src/workers/Actions.ts b/app/client/src/workers/Actions.ts
index c3c344b33b8d..c11bb3237d51 100644
--- a/app/client/src/workers/Actions.ts
+++ b/app/client/src/workers/Actions.ts
@@ -297,6 +297,28 @@ const DATA_TREE_FUNCTIONS: Record<
]);
},
},
+ setInterval: function(callback: Function, interval: number, id?: string) {
+ return new AppsmithPromise([
+ {
+ type: ActionTriggerType.SET_INTERVAL,
+ payload: {
+ callback: callback.toString(),
+ interval,
+ id,
+ },
+ },
+ ]);
+ },
+ clearInterval: function(id: string) {
+ return new AppsmithPromise([
+ {
+ type: ActionTriggerType.CLEAR_INTERVAL,
+ payload: {
+ id,
+ },
+ },
+ ]);
+ },
};
declare global {
diff --git a/app/client/src/workers/evaluate.test.ts b/app/client/src/workers/evaluate.test.ts
index 9e2e67d54aa6..60c77d455e88 100644
--- a/app/client/src/workers/evaluate.test.ts
+++ b/app/client/src/workers/evaluate.test.ts
@@ -1,4 +1,4 @@
-import evaluate from "workers/evaluate";
+import evaluate, { setupEvaluationEnvironment } from "workers/evaluate";
import {
DataTree,
DataTreeWidget,
@@ -30,6 +30,9 @@ describe("evaluate", () => {
const dataTree: DataTree = {
Input1: widget,
};
+ beforeAll(() => {
+ setupEvaluationEnvironment();
+ });
it("unescapes string before evaluation", () => {
const js = '\\"Hello!\\"';
const response = evaluate(js, {}, {});
diff --git a/app/client/src/workers/evaluate.ts b/app/client/src/workers/evaluate.ts
index 8d451fc82534..8249dbdfa432 100644
--- a/app/client/src/workers/evaluate.ts
+++ b/app/client/src/workers/evaluate.ts
@@ -73,6 +73,22 @@ export const getScriptToEval = (
return `${buffer[0]}${userScript}${buffer[1]}`;
};
+export function setupEvaluationEnvironment() {
+ ///// Adding extra libraries separately
+ extraLibraries.forEach((library) => {
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ // @ts-ignore: No types available
+ self[library.accessor] = library.lib;
+ });
+
+ ///// Remove all unsafe functions
+ unsafeFunctionForEval.forEach((func) => {
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
+ // @ts-ignore: No types available
+ self[func] = undefined;
+ });
+}
+
const beginsWithLineBreakRegex = /^\s+|\s+$/;
export const createGlobalData = (
@@ -147,19 +163,6 @@ export default function evaluate(
}
errors = getLintingErrors(scriptToLint, GLOBAL_DATA, js, scriptType);
- ///// Adding extra libraries separately
- extraLibraries.forEach((library) => {
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
- // @ts-ignore: No types available
- self[library.accessor] = library.lib;
- });
-
- ///// Remove all unsafe functions
- unsafeFunctionForEval.forEach((func) => {
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
- // @ts-ignore: No types available
- self[func] = undefined;
- });
try {
result = eval(script);
if (isTriggerBased) {
diff --git a/app/client/src/workers/evaluation.worker.ts b/app/client/src/workers/evaluation.worker.ts
index b2ae9eae9a2e..14d1494c8fdc 100644
--- a/app/client/src/workers/evaluation.worker.ts
+++ b/app/client/src/workers/evaluation.worker.ts
@@ -21,7 +21,7 @@ import {
} from "./evaluationUtils";
import DataTreeEvaluator from "workers/DataTreeEvaluator";
import ReplayDSL from "workers/ReplayDSL";
-import evaluate from "workers/evaluate";
+import evaluate, { setupEvaluationEnvironment } from "workers/evaluate";
import { Severity } from "entities/AppsmithConsole";
import _ from "lodash";
@@ -71,6 +71,10 @@ ctx.addEventListener(
"message",
messageEventListener((method, requestData: any) => {
switch (method) {
+ case EVAL_WORKER_ACTIONS.SETUP: {
+ setupEvaluationEnvironment();
+ return true;
+ }
case EVAL_WORKER_ACTIONS.EVAL_TREE: {
const {
shouldReplay = true,
|
447e78a2734ffcb420a25dcb2c83bd753a1a4800
|
2024-05-03 18:41:44
|
Ankita Kinger
|
fix: Improving the homepage UI for better user experience (#33148)
| false
|
Improving the homepage UI for better user experience (#33148)
|
fix
|
diff --git a/app/client/src/ce/actions/workspaceActions.ts b/app/client/src/ce/actions/workspaceActions.ts
index b061770c6a01..62a418244568 100644
--- a/app/client/src/ce/actions/workspaceActions.ts
+++ b/app/client/src/ce/actions/workspaceActions.ts
@@ -118,11 +118,6 @@ export const resetSearchEntity = () => ({
type: ReduxActionTypes.SEARCH_WORKSPACE_ENTITIES_RESET,
});
-export const searchWorkspaceEntitiesLoader = (payload: boolean) => ({
- type: ReduxActionTypes.SEARCH_WORKSPACE_ENTITIES_LOADER,
- payload,
-});
-
export const fetchEntitiesOfWorkspace = (payload: { workspaceId?: string }) => {
return {
type: ReduxActionTypes.FETCH_ENTITIES_OF_WORKSPACE_INIT,
diff --git a/app/client/src/ce/constants/ReduxActionConstants.tsx b/app/client/src/ce/constants/ReduxActionConstants.tsx
index 5b6e68104c3b..ce57d81ac922 100644
--- a/app/client/src/ce/constants/ReduxActionConstants.tsx
+++ b/app/client/src/ce/constants/ReduxActionConstants.tsx
@@ -377,7 +377,6 @@ const ActionTypes = {
SAVE_WORKSPACE_SUCCESS: "SAVE_WORKSPACE_SUCCESS",
UPLOAD_WORKSPACE_LOGO: "UPLOAD_WORKSPACE_LOGO",
REMOVE_WORKSPACE_LOGO: "REMOVE_WORKSPACE_LOGO",
- SAVING_WORKSPACE_INFO: "SAVING_WORKSPACE_INFO",
SET_LAST_UPDATED_TIME: "SET_LAST_UPDATED_TIME",
SET_CURRENT_WORKSPACE: "SET_CURRENT_WORKSPACE",
SET_CURRENT_WORKSPACE_ID: "SET_CURRENT_WORKSPACE_ID",
@@ -904,7 +903,6 @@ const ActionTypes = {
"RESET_CURRENT_PLUGIN_ID_FOR_CREATE_NEW_APP",
SEARCH_WORKSPACE_ENTITIES_INIT: "SEARCH_WORKSPACE_ENTITIES_INIT",
SEARCH_WORKSPACE_ENTITIES_SUCCESS: "SEARCH_WORKSPACE_ENTITIES_SUCCESS",
- SEARCH_WORKSPACE_ENTITIES_LOADER: "SEARCH_WORKSPACE_ENTITIES_LOADER",
UPDATE_THEME_SETTING: "UPDATE_THEME_SETTING",
SEARCH_WORKSPACE_ENTITIES_RESET: "SEARCH_WORKSPACE_ENTITIES_RESET",
SET_IDE_EDITOR_VIEW_MODE: "SET_IDE_EDITOR_VIEW_MODE",
diff --git a/app/client/src/ce/pages/Applications/index.tsx b/app/client/src/ce/pages/Applications/index.tsx
index 56dd724ed044..93961b169383 100644
--- a/app/client/src/ce/pages/Applications/index.tsx
+++ b/app/client/src/ce/pages/Applications/index.tsx
@@ -465,7 +465,12 @@ export const ApplicationsWrapper = styled.div<{
margin-left: ${(props) => props.theme.homePage.leftPane.width}px;
width: calc(100% - ${(props) => props.theme.homePage.leftPane.width}px);
scroll-behavior: smooth;
- ${({ isBannerVisible }) => (isBannerVisible ? "margin-top: 48px;" : "")}
+ ${({ isBannerVisible, isMobile }) =>
+ isBannerVisible
+ ? isMobile
+ ? "margin-top: 78px;"
+ : "margin-top: 48px;"
+ : ""}
${({ isMobile }) =>
isMobile
? `padding: ${CONTAINER_WRAPPER_PADDING} 0;`
diff --git a/app/client/src/ce/pages/common/WorkflowSearchItem.tsx b/app/client/src/ce/pages/common/WorkflowSearchItem.tsx
index b928505b0d16..5460a8e5bc51 100644
--- a/app/client/src/ce/pages/common/WorkflowSearchItem.tsx
+++ b/app/client/src/ce/pages/common/WorkflowSearchItem.tsx
@@ -1,10 +1,12 @@
+import type { Workflow } from "@appsmith/constants/WorkflowConstants";
+
interface Props {
- searchedWorkflows: any;
+ workflowsList: Workflow[];
}
const WorkflowSearchItem = (props: Props) => {
// eslint-disable-next-line
- const { searchedWorkflows } = props;
+ const { workflowsList } = props;
return null;
};
diff --git a/app/client/src/ce/reducers/uiReducers/workspaceReducer.ts b/app/client/src/ce/reducers/uiReducers/workspaceReducer.ts
index 6dd14e376c98..8b535f304148 100644
--- a/app/client/src/ce/reducers/uiReducers/workspaceReducer.ts
+++ b/app/client/src/ce/reducers/uiReducers/workspaceReducer.ts
@@ -80,9 +80,7 @@ export const handlers = {
) => {
draftState.loadingStates.isDeletingWorkspace = false;
},
- [ReduxActionTypes.SAVING_WORKSPACE_INFO]: (
- draftState: WorkspaceReduxState,
- ) => {
+ [ReduxActionTypes.SAVE_WORKSPACE_INIT]: (draftState: WorkspaceReduxState) => {
draftState.loadingStates.isSavingWorkspaceInfo = true;
},
[ReduxActionTypes.SAVE_WORKSPACE_SUCCESS]: (
@@ -125,18 +123,6 @@ export const handlers = {
},
};
},
- [ReduxActionTypes.SEARCH_WORKSPACE_ENTITIES_LOADER]: (
- state: WorkspaceReduxState,
- action: ReduxAction<boolean>,
- ) => {
- return {
- ...state,
- loadingStates: {
- ...state.loadingStates,
- isFetchingEntities: action.payload,
- },
- };
- },
[ReduxActionTypes.SEARCH_WORKSPACE_ENTITIES_SUCCESS]: (
state: WorkspaceReduxState,
action: ReduxAction<any>,
diff --git a/app/client/src/ce/sagas/WorkspaceSagas.ts b/app/client/src/ce/sagas/WorkspaceSagas.ts
index d1f8c7a1ed51..a19dcb1799ab 100644
--- a/app/client/src/ce/sagas/WorkspaceSagas.ts
+++ b/app/client/src/ce/sagas/WorkspaceSagas.ts
@@ -40,7 +40,6 @@ import {
DELETE_WORKSPACE_SUCCESSFUL,
} from "@appsmith/constants/messages";
import { toast } from "design-system";
-import { resetSearchEntity } from "@appsmith/actions/workspaceActions";
import { failFastApiCalls } from "sagas/InitSagas";
import { getWorkspaceEntitiesActions } from "@appsmith/utils/workspaceHelpers";
import type { SearchApiResponse } from "@appsmith/types/ApiResponseTypes";
@@ -272,9 +271,6 @@ export function* saveWorkspaceSaga(action: ReduxAction<SaveWorkspaceRequest>) {
export function* deleteWorkspaceSaga(action: ReduxAction<string>) {
try {
- yield put({
- type: ReduxActionTypes.SAVING_WORKSPACE_INFO,
- });
const workspaceId: string = action.payload;
const response: ApiResponse = yield call(
WorkspaceApi.deleteWorkspace,
@@ -406,10 +402,6 @@ export function* deleteWorkspaceLogoSaga(action: ReduxAction<{ id: string }>) {
}
export function* searchWorkspaceEntitiesSaga(action: ReduxAction<any>) {
- if (!action?.payload || !action?.payload?.trim()) {
- yield put(resetSearchEntity());
- return;
- }
try {
const response: SearchApiResponse = yield call(
SearchApi.searchAllEntities,
diff --git a/app/client/src/ce/selectors/workspaceSelectors.tsx b/app/client/src/ce/selectors/workspaceSelectors.tsx
index ec67a6218b09..c2c39511f333 100644
--- a/app/client/src/ce/selectors/workspaceSelectors.tsx
+++ b/app/client/src/ce/selectors/workspaceSelectors.tsx
@@ -80,6 +80,9 @@ export const getSearchedWorkspaces = (state: AppState) =>
export const getSearchedApplications = (state: AppState) =>
state.ui.workspaces.searchEntities?.applications;
+export const getSearchedWorkflows = (state: AppState) =>
+ state.ui.workspaces.searchEntities?.workflows;
+
export const getIsFetchingEntities = (state: AppState) => {
return state.ui.workspaces.loadingStates.isFetchingEntities;
};
diff --git a/app/client/src/pages/common/PageHeader.tsx b/app/client/src/pages/common/PageHeader.tsx
index 28c1de9a48ad..0499b652a2cd 100644
--- a/app/client/src/pages/common/PageHeader.tsx
+++ b/app/client/src/pages/common/PageHeader.tsx
@@ -32,8 +32,9 @@ const StyledPageHeader = styled(StyledHeader)<{
`
padding: 0 12px;
padding-left: 10px;
- `};
- ${({ isBannerVisible }) => isBannerVisible && `top: 40px;`};
+ `};
+ ${({ isBannerVisible, isMobile }) =>
+ isBannerVisible ? (isMobile ? `top: 70px;` : `top: 40px;`) : ""};
`;
interface PageHeaderProps {
diff --git a/app/client/src/pages/common/SearchBar/DesktopEntitySearchField.tsx b/app/client/src/pages/common/SearchBar/DesktopEntitySearchField.tsx
index 3f4f203aa660..b070b62501e7 100644
--- a/app/client/src/pages/common/SearchBar/DesktopEntitySearchField.tsx
+++ b/app/client/src/pages/common/SearchBar/DesktopEntitySearchField.tsx
@@ -27,6 +27,10 @@ const SearchListContainer = styled.div`
flex-direction: column;
padding: 12px;
overflow-y: auto;
+
+ .search-loader {
+ overflow: hidden;
+ }
`;
const DesktopEntitySearchField = (props: any) => {
@@ -34,20 +38,17 @@ const DesktopEntitySearchField = (props: any) => {
const {
applicationsList,
- canShowSearchDropdown,
- handleInputClicked,
handleSearchInput,
isDropdownOpen,
- isFetchingApplications,
isFetchingEntities,
navigateToApplication,
noSearchResults,
searchedPackages,
- searchedWorkflows,
searchInput,
searchInputRef,
searchListContainerRef,
setIsDropdownOpen,
+ workflowsList,
workspacesList,
} = props;
@@ -58,16 +59,18 @@ const DesktopEntitySearchField = (props: any) => {
<SearchContainer isMobile={isMobile}>
<SearchInput
data-testid="t--application-search-input"
- isDisabled={isFetchingApplications}
onChange={handleSearchInput}
- onClick={handleInputClicked}
placeholder={""}
ref={searchInputRef}
value={searchInput}
/>
- {isDropdownOpen && canShowSearchDropdown && (
+ {isDropdownOpen && (
<SearchListContainer ref={searchListContainerRef}>
- {noSearchResults && !isFetchingEntities && (
+ {isFetchingEntities ? (
+ <div className="search-loader">
+ <Spinner />
+ </div>
+ ) : noSearchResults ? (
<div className="no-search-results text-center py-[52px]">
<Icon
className="mb-2"
@@ -82,11 +85,6 @@ const DesktopEntitySearchField = (props: any) => {
Please try again with a <br /> different search query
</Text>
</div>
- )}
- {isFetchingEntities ? (
- <div className="search-loader">
- <Spinner />
- </div>
) : (
<>
<WorkspaceSearchItems
@@ -98,7 +96,7 @@ const DesktopEntitySearchField = (props: any) => {
navigateToApplication={navigateToApplication}
/>
<PackageSearchItem searchedPackages={searchedPackages} />
- <WorkflowSearchItem searchedWorkflows={searchedWorkflows} />
+ <WorkflowSearchItem workflowsList={workflowsList} />
</>
)}
</SearchListContainer>
diff --git a/app/client/src/pages/common/SearchBar/EntitySearchBar.tsx b/app/client/src/pages/common/SearchBar/EntitySearchBar.tsx
index 700c20f62b3b..25b4ed0e9afa 100644
--- a/app/client/src/pages/common/SearchBar/EntitySearchBar.tsx
+++ b/app/client/src/pages/common/SearchBar/EntitySearchBar.tsx
@@ -23,21 +23,19 @@ import MobileSideBar from "pages/common/MobileSidebar";
import {
resetSearchEntity,
searchEntities,
- searchWorkspaceEntitiesLoader,
} from "@appsmith/actions/workspaceActions";
import type { ApplicationPayload } from "@appsmith/constants/ReduxActionConstants";
import { viewerURL } from "@appsmith/RouteBuilder";
import {
getIsFetchingEntities,
getSearchedApplications,
+ getSearchedWorkflows,
getSearchedWorkspaces,
} from "@appsmith/selectors/workspaceSelectors";
import DesktopEntitySearchField from "pages/common/SearchBar/DesktopEntitySearchField";
import MobileEntitySearchField from "pages/common/SearchBar/MobileEntitySearchField";
-import { getIsFetchingApplications } from "@appsmith/selectors/selectedWorkspaceSelectors";
import { getPackagesList } from "@appsmith/selectors/packageSelectors";
import Fuse from "fuse.js";
-import { getWorkflowsList } from "@appsmith/selectors/workflowSelectors";
const HeaderSection = styled.div`
display: flex;
@@ -85,39 +83,67 @@ function EntitySearchBar(props: any) {
const [noSearchResults, setNoSearchResults] = useState(false);
const [isDropdownOpen, setIsDropdownOpen] = useState(false);
const [searchInput, setSearchInput] = useState("");
+ const [isSearching, setIsSearching] = useState(false);
const [isProductUpdatesModalOpen, setIsProductUpdatesModalOpen] =
useState(false);
const [searchedPackages, setSearchedPackages] = useState([]);
- const [searchedWorkflows, setSearchedWorkflows] = useState([]);
const tenantConfig = useSelector(getTenantConfig);
- const applicationsList = useSelector(getSearchedApplications);
const isCreateNewAppFlow = useSelector(
getCurrentApplicationIdForCreateNewApp,
);
const currentApplicationDetails = useSelector(getCurrentApplication);
const selectedTheme = useSelector(getSelectedAppTheme);
- const isFetchingApplications = useSelector(getIsFetchingApplications);
- const isFetchingEntities = useSelector(getIsFetchingEntities);
- const fetchedPackages = useSelector(getPackagesList);
- const fetchedWorkflows = useSelector(getWorkflowsList);
const workspacesList = useSelector(getSearchedWorkspaces);
-
+ const applicationsList = useSelector(getSearchedApplications);
+ const workflowsList = useSelector(getSearchedWorkflows);
+ const fetchedPackages = useSelector(getPackagesList);
+ const isFetchingEntities = useSelector(getIsFetchingEntities);
const location = useLocation();
-
const searchListContainerRef = useRef(null);
- const prevIsFetchingEntitiesRef = useRef<boolean | undefined>(undefined);
const searchInputRef = useRef(null);
- const packageFuzzy = new Fuse(fetchedPackages, {
- keys: ["name"],
- shouldSort: true,
- threshold: 0.5,
- location: 0,
- distance: 100,
+ useEffect(() => {
+ if (searchInput.trim().length > 0) {
+ setIsDropdownOpen(true);
+ } else {
+ setIsDropdownOpen(false);
+ }
+ }, [searchInput]);
+
+ useEffect(() => {
+ if (
+ isDropdownOpen &&
+ !isFetchingEntities &&
+ !workspacesList?.length &&
+ !applicationsList?.length &&
+ !workflowsList?.length &&
+ !searchedPackages?.length
+ ) {
+ setNoSearchResults(true);
+ } else {
+ setNoSearchResults(false);
+ }
+ }, [
+ isFetchingEntities,
+ isDropdownOpen,
+ workspacesList,
+ applicationsList,
+ workflowsList,
+ searchedPackages,
+ ]);
+
+ useEffect(() => {
+ if (!isDropdownOpen) {
+ dispatch(resetSearchEntity());
+ }
+ }, [isDropdownOpen]);
+
+ useOutsideClick(searchListContainerRef, searchInputRef, () => {
+ setIsDropdownOpen(false);
});
- const workflowFuzzy = new Fuse(fetchedWorkflows, {
+ const packageFuzzy = new Fuse(fetchedPackages, {
keys: ["name"],
shouldSort: true,
threshold: 0.5,
@@ -125,32 +151,6 @@ function EntitySearchBar(props: any) {
distance: 100,
});
- const canShowSearchDropdown =
- (noSearchResults && !isFetchingEntities) ||
- isFetchingEntities ||
- !!(
- workspacesList?.length ||
- applicationsList?.length ||
- searchedPackages?.length ||
- searchedWorkflows?.length
- );
-
- function handleInputClicked() {
- if (searchInput?.trim()?.length || !noSearchResults) {
- dispatch(searchEntities(searchInput));
- setIsDropdownOpen(true);
- }
- }
-
- const handleSearchDebounced = useCallback(
- debounce((text: string) => {
- if (text.trim().length !== 0) {
- dispatch(searchEntities(text));
- }
- }, 1000),
- [],
- );
-
function navigateToApplication(applicationId: string) {
const searchedApplication = applicationsList?.find(
(app: ApplicationPayload) => app.id === applicationId,
@@ -162,46 +162,25 @@ function EntitySearchBar(props: any) {
const viewURL = viewerURL({
pageId: defaultPageId,
});
- setIsDropdownOpen(false);
window.location.href = `${viewURL}`;
}
- function handleSearchInput(text: string) {
- setSearchInput(text);
- if (text.trim().length !== 0) dispatch(searchWorkspaceEntitiesLoader(true));
- else dispatch(searchWorkspaceEntitiesLoader(false));
- handleSearchDebounced(text);
- setSearchedPackages(packageFuzzy.search(text));
- setSearchedWorkflows(workflowFuzzy.search(text));
- setIsDropdownOpen(true);
- }
-
- useEffect(() => {
- if (!isDropdownOpen) {
- dispatch(resetSearchEntity());
- }
- }, [isDropdownOpen]);
-
- useEffect(() => {
- const prevIsFetchingEntities = prevIsFetchingEntitiesRef.current;
- if (prevIsFetchingEntities && !isFetchingEntities) {
- if (
- !workspacesList?.length &&
- !applicationsList?.length &&
- !searchedPackages?.length &&
- !searchedWorkflows?.length
- ) {
- setNoSearchResults(true);
- } else {
- setNoSearchResults(false);
+ const handleSearchDebounced = useCallback(
+ debounce((text: string) => {
+ if (text.trim().length !== 0) {
+ dispatch(searchEntities(text));
+ setSearchedPackages(packageFuzzy.search(text));
+ setIsSearching(false);
}
- }
- prevIsFetchingEntitiesRef.current = isFetchingEntities;
- }, [isFetchingEntities]);
+ }, 1000),
+ [],
+ );
- useOutsideClick(searchListContainerRef, searchInputRef, () => {
- setIsDropdownOpen(false);
- });
+ const handleSearchInput = (text: string) => {
+ setIsSearching(true);
+ setSearchInput(text);
+ handleSearchDebounced(text);
+ };
const queryParams = new URLSearchParams(location.search);
const navColorStyle =
@@ -223,19 +202,16 @@ function EntitySearchBar(props: any) {
return showMobileSearchBar && isMobile ? (
<MobileEntitySearchField
applicationsList={applicationsList}
- canShowSearchDropdown={canShowSearchDropdown}
- handleInputClicked={handleInputClicked}
handleSearchInput={handleSearchInput}
isDropdownOpen={isDropdownOpen}
- isFetchingApplications={isFetchingApplications}
- isFetchingEntities={isFetchingEntities}
+ isFetchingEntities={isSearching}
navigateToApplication={navigateToApplication}
noSearchResults={noSearchResults}
searchListContainerRef={searchListContainerRef}
searchedPackages={searchedPackages}
- searchedWorkflows={searchedWorkflows}
setIsDropdownOpen={setIsDropdownOpen}
setShowMobileSearchBar={setShowMobileSearchBar}
+ workflowsList={workflowsList}
workspacesList={workspacesList}
/>
) : (
@@ -286,20 +262,17 @@ function EntitySearchBar(props: any) {
) : (
<DesktopEntitySearchField
applicationsList={applicationsList}
- canShowSearchDropdown={canShowSearchDropdown}
- handleInputClicked={handleInputClicked}
handleSearchInput={handleSearchInput}
isDropdownOpen={isDropdownOpen}
- isFetchingApplications={isFetchingApplications}
- isFetchingEntities={isFetchingEntities}
+ isFetchingEntities={isSearching}
navigateToApplication={navigateToApplication}
noSearchResults={noSearchResults}
searchInput={searchInput}
searchInputRef={searchInputRef}
searchListContainerRef={searchListContainerRef}
searchedPackages={searchedPackages}
- searchedWorkflows={searchedWorkflows}
setIsDropdownOpen={setIsDropdownOpen}
+ workflowsList={workflowsList}
workspacesList={workspacesList}
/>
))}
diff --git a/app/client/src/pages/common/SearchBar/MobileEntitySearchField.tsx b/app/client/src/pages/common/SearchBar/MobileEntitySearchField.tsx
index 3f04e36875f9..ea8bcd57a353 100644
--- a/app/client/src/pages/common/SearchBar/MobileEntitySearchField.tsx
+++ b/app/client/src/pages/common/SearchBar/MobileEntitySearchField.tsx
@@ -19,6 +19,10 @@ const SearchListContainer = styled.div`
flex-direction: column;
padding: 12px;
overflow-y: auto;
+
+ .search-loader {
+ overflow: hidden;
+ }
`;
const MobileSearchInput = styled(SearchInput)`
@@ -34,19 +38,16 @@ const MobileSearchInput = styled(SearchInput)`
function MobileEntitySearchField(props: any) {
const {
applicationsList,
- canShowSearchDropdown,
- handleInputClicked,
handleSearchInput,
isDropdownOpen,
- isFetchingApplications,
isFetchingEntities,
navigateToApplication,
noSearchResults,
searchedPackages,
- searchedWorkflows,
searchListContainerRef,
setIsDropdownOpen,
setShowMobileSearchBar,
+ workflowsList,
workspacesList,
} = props;
@@ -60,9 +61,7 @@ function MobileEntitySearchField(props: any) {
<MobileSearchInput
data-testid="t--application-search-input"
defaultValue=""
- isDisabled={isFetchingApplications}
onChange={handleSearchInput}
- onClick={handleInputClicked}
placeholder={""}
/>
<Button
@@ -74,9 +73,13 @@ function MobileEntitySearchField(props: any) {
startIcon="close-x"
/>
</div>
- {isDropdownOpen && canShowSearchDropdown && (
+ {isDropdownOpen && (
<SearchListContainer ref={searchListContainerRef}>
- {noSearchResults && !isFetchingEntities && (
+ {isFetchingEntities ? (
+ <div className="search-loader">
+ <Spinner />
+ </div>
+ ) : noSearchResults ? (
<div className="no-search-results text-center py-[52px]">
<Icon
className="mb-2"
@@ -91,11 +94,6 @@ function MobileEntitySearchField(props: any) {
Please try again with a <br /> different search query
</Text>
</div>
- )}
- {isFetchingEntities ? (
- <div className="search-loader">
- <Spinner />
- </div>
) : (
<>
<WorkspaceSearchItems
@@ -107,7 +105,7 @@ function MobileEntitySearchField(props: any) {
navigateToApplication={navigateToApplication}
/>
<PackageSearchItem searchedPackages={searchedPackages} />
- <WorkflowSearchItem searchedWorkflows={searchedWorkflows} />
+ <WorkflowSearchItem workflowsList={workflowsList} />
</>
)}
</SearchListContainer>
|
c4c873953b8ced6220c1153297d36e06cf9a7859
|
2022-12-16 14:17:54
|
Rishabh Rathod
|
chore: Remove evalError & values from dataTree (#18649)
| false
|
Remove evalError & values from dataTree (#18649)
|
chore
|
diff --git a/app/client/src/workers/Evaluation/__tests__/evaluationUtils.test.ts b/app/client/src/workers/Evaluation/__tests__/evaluationUtils.test.ts
index 6e66a127dfcb..6d0b9f340f79 100644
--- a/app/client/src/workers/Evaluation/__tests__/evaluationUtils.test.ts
+++ b/app/client/src/workers/Evaluation/__tests__/evaluationUtils.test.ts
@@ -1,4 +1,8 @@
-import { DependencyMap } from "utils/DynamicBindingUtils";
+import {
+ DependencyMap,
+ EvaluationError,
+ PropertyEvaluationErrorType,
+} from "utils/DynamicBindingUtils";
import { RenderModes } from "constants/WidgetConstants";
import { ValidationTypes } from "constants/WidgetValidation";
import {
@@ -9,6 +13,7 @@ import {
} from "entities/DataTree/dataTreeFactory";
import { PrivateWidgets } from "entities/DataTree/types";
import {
+ addErrorToEntityProperty,
DataTreeDiff,
DataTreeDiffEvent,
getAllPaths,
@@ -32,6 +37,8 @@ import InputWidget, {
import { registerWidget } from "utils/WidgetRegisterHelpers";
import { WidgetConfiguration } from "widgets/constants";
import { createNewEntity } from "../dataTreeUtils";
+import DataTreeEvaluator from "workers/common/DataTreeEvaluator";
+import { Severity } from "entities/AppsmithConsole";
// to check if logWarn was called.
// use jest.unmock, if the mock needs to be removed.
@@ -784,3 +791,26 @@ describe("6. Evaluated Datatype of a given value", () => {
expect(findDatatype("a, b, c")).not.toBe("array");
});
});
+
+describe("7. Test addErrorToEntityProperty method", () => {
+ it("Add error to dataTreeEvaluator.evalProps", () => {
+ const dataTreeEvaluator = new DataTreeEvaluator({});
+ const error = {
+ errorMessage: "some error",
+ errorType: PropertyEvaluationErrorType.VALIDATION,
+ raw: "undefined",
+ severity: Severity.ERROR,
+ originalBinding: "",
+ } as EvaluationError;
+ addErrorToEntityProperty({
+ errors: [error],
+ dataTree: dataTreeEvaluator.evalTree,
+ evalProps: dataTreeEvaluator.evalProps,
+ fullPropertyPath: "Api1.data",
+ });
+
+ expect(
+ dataTreeEvaluator.evalProps.Api1.__evaluation__?.errors.data[0],
+ ).toEqual(error);
+ });
+});
diff --git a/app/client/src/workers/Evaluation/dataTreeUtils.ts b/app/client/src/workers/Evaluation/dataTreeUtils.ts
index d8ad0cb69d6a..09952d0837bb 100644
--- a/app/client/src/workers/Evaluation/dataTreeUtils.ts
+++ b/app/client/src/workers/Evaluation/dataTreeUtils.ts
@@ -4,6 +4,9 @@ import {
UnEvalTree,
UnEvalTreeEntityObject,
} from "entities/DataTree/dataTreeFactory";
+import { set } from "lodash";
+import { EvalProps } from "workers/common/DataTreeEvaluator";
+import { removeFunctions } from "./evaluationUtils";
/**
* This method accept an entity object as input and if it has __config__ property than it moves the __config__ to object's prototype
@@ -39,16 +42,35 @@ export function createUnEvalTreeForEval(unevalTree: UnEvalTree) {
*/
export function makeEntityConfigsAsObjProperties(
dataTree: DataTree,
- option = {} as { sanitizeDataTree: boolean },
-) {
- const { sanitizeDataTree = true } = option;
+ option = {} as {
+ sanitizeDataTree?: boolean;
+ evalProps?: EvalProps;
+ },
+): DataTree {
+ const { evalProps, sanitizeDataTree = true } = option;
const newDataTree: DataTree = {};
for (const entityName of Object.keys(dataTree)) {
const entityConfig = Object.getPrototypeOf(dataTree[entityName]) || {};
const entity = dataTree[entityName];
newDataTree[entityName] = { ...entityConfig, ...entity };
}
- return sanitizeDataTree
+ const dataTreeToReturn = sanitizeDataTree
? JSON.parse(JSON.stringify(newDataTree))
: newDataTree;
+
+ if (!evalProps) return dataTreeToReturn;
+
+ const sanitizedEvalProps = removeFunctions(evalProps) as EvalProps;
+ for (const [entityName, entityEvalProps] of Object.entries(
+ sanitizedEvalProps,
+ )) {
+ if (!entityEvalProps.__evaluation__) continue;
+ set(
+ dataTreeToReturn[entityName],
+ "__evaluation__",
+ entityEvalProps.__evaluation__,
+ );
+ }
+
+ return dataTreeToReturn;
}
diff --git a/app/client/src/workers/Evaluation/evaluation.worker.ts b/app/client/src/workers/Evaluation/evaluation.worker.ts
index e147e3eb98da..8db4cc011fe3 100644
--- a/app/client/src/workers/Evaluation/evaluation.worker.ts
+++ b/app/client/src/workers/Evaluation/evaluation.worker.ts
@@ -280,6 +280,9 @@ function eventRequestHandler({
const dataTreeResponse = dataTreeEvaluator.evalAndValidateFirstTree();
dataTree = makeEntityConfigsAsObjProperties(
dataTreeResponse.evalTree,
+ {
+ evalProps: dataTreeEvaluator.evalProps,
+ },
);
} else if (dataTreeEvaluator.hasCyclicalDependency) {
if (dataTreeEvaluator && !isEmpty(allActionValidationConfig)) {
@@ -319,6 +322,9 @@ function eventRequestHandler({
const dataTreeResponse = dataTreeEvaluator.evalAndValidateFirstTree();
dataTree = makeEntityConfigsAsObjProperties(
dataTreeResponse.evalTree,
+ {
+ evalProps: dataTreeEvaluator.evalProps,
+ },
);
} else {
if (dataTreeEvaluator && !isEmpty(allActionValidationConfig)) {
@@ -353,6 +359,9 @@ function eventRequestHandler({
);
dataTree = makeEntityConfigsAsObjProperties(
dataTreeEvaluator.evalTree,
+ {
+ evalProps: dataTreeEvaluator.evalProps,
+ },
);
evalMetaUpdates = JSON.parse(
JSON.stringify(updateResponse.evalMetaUpdates),
@@ -386,7 +395,10 @@ function eventRequestHandler({
}
dataTree = getSafeToRenderDataTree(
- makeEntityConfigsAsObjProperties(unevalTree),
+ makeEntityConfigsAsObjProperties(unevalTree, {
+ sanitizeDataTree: false,
+ evalProps: dataTreeEvaluator?.evalProps,
+ }),
widgetTypeConfigMap,
);
diff --git a/app/client/src/workers/Evaluation/evaluationUtils.ts b/app/client/src/workers/Evaluation/evaluationUtils.ts
index bfa4c09b6f48..709b652ed776 100644
--- a/app/client/src/workers/Evaluation/evaluationUtils.ts
+++ b/app/client/src/workers/Evaluation/evaluationUtils.ts
@@ -28,6 +28,7 @@ import { isObject } from "lodash";
import { DataTreeObjectEntity } from "entities/DataTree/dataTreeFactory";
import { validateWidgetProperty } from "workers/common/DataTreeEvaluator/validationUtils";
import { PrivateWidgets } from "entities/DataTree/types";
+import { EvalProps } from "workers/common/DataTreeEvaluator";
// Dropdown1.options[1].value -> Dropdown1.options[1]
// Dropdown1.options[1] -> Dropdown1.options
@@ -560,11 +561,17 @@ export function getSafeToRenderDataTree(
}, tree);
}
-export const addErrorToEntityProperty = (
- errors: EvaluationError[],
- dataTree: DataTree,
- fullPropertyPath: string,
-) => {
+export const addErrorToEntityProperty = ({
+ dataTree,
+ errors,
+ evalProps,
+ fullPropertyPath,
+}: {
+ errors: EvaluationError[];
+ dataTree: DataTree;
+ fullPropertyPath: string;
+ evalProps: EvalProps;
+}) => {
const { entityName, propertyPath } = getEntityNameAndPropertyPath(
fullPropertyPath,
);
@@ -574,32 +581,34 @@ export const addErrorToEntityProperty = (
const logBlackList = get(dataTree, `${entityName}.logBlackList`, {});
if (propertyPath && !(propertyPath in logBlackList) && !isPrivateEntityPath) {
const errorPath = `${entityName}.${EVAL_ERROR_PATH}['${propertyPath}']`;
- const existingErrors = get(dataTree, errorPath, []) as EvaluationError[];
- set(dataTree, errorPath, existingErrors.concat(errors));
+ const existingErrors = get(evalProps, errorPath, []) as EvaluationError[];
+ set(evalProps, errorPath, existingErrors.concat(errors));
}
return dataTree;
};
-export const resetValidationErrorsForEntityProperty = (
- dataTree: DataTree,
- fullPropertyPath: string,
-) => {
+export const resetValidationErrorsForEntityProperty = ({
+ evalProps,
+ fullPropertyPath,
+}: {
+ fullPropertyPath: string;
+ evalProps: EvalProps;
+}) => {
const { entityName, propertyPath } = getEntityNameAndPropertyPath(
fullPropertyPath,
);
if (propertyPath) {
const errorPath = `${entityName}.${EVAL_ERROR_PATH}['${propertyPath}']`;
const existingErrorsExceptValidation = (_.get(
- dataTree,
+ evalProps,
errorPath,
[],
) as EvaluationError[]).filter(
(error) => error.errorType !== PropertyEvaluationErrorType.VALIDATION,
);
- _.set(dataTree, errorPath, existingErrorsExceptValidation);
+ _.set(evalProps, errorPath, existingErrorsExceptValidation);
}
- return dataTree;
};
// For the times when you need to know if something truly an object like { a: 1, b: 2}
diff --git a/app/client/src/workers/common/DataTreeEvaluator/index.ts b/app/client/src/workers/common/DataTreeEvaluator/index.ts
index 4cb235fdd2ac..cc81e21d13c5 100644
--- a/app/client/src/workers/common/DataTreeEvaluator/index.ts
+++ b/app/client/src/workers/common/DataTreeEvaluator/index.ts
@@ -1,4 +1,5 @@
import {
+ DataTreeEvaluationProps,
DependencyMap,
EvalError,
EvalErrorTypes,
@@ -35,7 +36,6 @@ import {
isDynamicLeaf,
isJSAction,
isWidget,
- removeFunctions,
translateDiffEventToDataTreeDiffEvent,
trimDependantChangePaths,
overrideWidgetProperties,
@@ -106,6 +106,9 @@ import {
import { APP_MODE } from "../../../entities/App";
type SortedDependencies = Array<string>;
+export type EvalProps = {
+ [entityName: string]: DataTreeEvaluationProps;
+};
export default class DataTreeEvaluator {
/**
@@ -147,6 +150,11 @@ export default class DataTreeEvaluator {
validationDependencyMap: DependencyMap = {};
sortedValidationDependencies: SortedDependencies = [];
inverseValidationDependencyMap: DependencyMap = {};
+
+ /**
+ * Sanitized eval values and errors
+ */
+ evalProps: EvalProps = {};
public hasCyclicalDependency = false;
parseJsActionsConfig = {
[APP_MODE.EDIT]: parseJSActions,
@@ -302,7 +310,11 @@ export default class DataTreeEvaluator {
const validationStartTime = performance.now();
// Validate Widgets
- this.setEvalTree(getValidatedTree(evaluatedTree));
+ this.setEvalTree(
+ getValidatedTree(evaluatedTree, {
+ evalProps: this.evalProps,
+ }),
+ );
const validationEndTime = performance.now();
const timeTakenForEvalAndValidateFirstTree = {
@@ -683,7 +695,7 @@ export default class DataTreeEvaluator {
!isATriggerPath &&
(isDynamicValue(unEvalPropertyValue) || isJSAction(entity));
if (propertyPath) {
- set(currentTree, getEvalErrorPath(fullPropertyPath), []);
+ set(this.evalProps, getEvalErrorPath(fullPropertyPath), []);
}
if (requiresEval) {
const evaluationSubstitutionType =
@@ -727,6 +739,7 @@ export default class DataTreeEvaluator {
currentTree,
evalPropertyValue,
unEvalPropertyValue,
+ evalProps: this.evalProps,
});
this.setParsedValue({
@@ -772,11 +785,12 @@ export default class DataTreeEvaluator {
);
}
}
- const safeEvaluatedValue = removeFunctions(evalPropertyValue);
+
+ if (!propertyPath) return currentTree;
set(
- currentTree,
+ this.evalProps,
getEvalValuePath(fullPropertyPath),
- safeEvaluatedValue,
+ evalPropertyValue,
);
set(currentTree, fullPropertyPath, evalPropertyValue);
return currentTree;
@@ -784,7 +798,7 @@ export default class DataTreeEvaluator {
const variableList: Array<string> = get(entity, "variables") || [];
if (variableList.indexOf(propertyPath) > -1) {
const currentEvaluatedValue = get(
- currentTree,
+ this.evalProps,
getEvalValuePath(fullPropertyPath, {
isPopulated: true,
fullPath: true,
@@ -792,7 +806,7 @@ export default class DataTreeEvaluator {
);
if (!currentEvaluatedValue) {
set(
- currentTree,
+ this.evalProps,
getEvalValuePath(fullPropertyPath, {
isPopulated: true,
fullPath: true,
@@ -923,7 +937,12 @@ export default class DataTreeEvaluator {
!toBeSentForEval.includes("console."),
);
if (fullPropertyPath && result.errors.length) {
- addErrorToEntityProperty(result.errors, data, fullPropertyPath);
+ addErrorToEntityProperty({
+ errors: result.errors,
+ evalProps: this.evalProps,
+ fullPropertyPath,
+ dataTree: data,
+ });
}
// if there are any console outputs found from the evaluation, extract them and add them to the logs array
if (
@@ -982,8 +1001,8 @@ export default class DataTreeEvaluator {
);
} catch (error) {
if (fullPropertyPath) {
- addErrorToEntityProperty(
- [
+ addErrorToEntityProperty({
+ errors: [
{
raw: dynamicBinding,
errorType: PropertyEvaluationErrorType.PARSE,
@@ -991,9 +1010,10 @@ export default class DataTreeEvaluator {
severity: Severity.ERROR,
},
],
- data,
+ evalProps: this.evalProps,
fullPropertyPath,
- );
+ dataTree: data,
+ });
}
return undefined;
}
@@ -1114,6 +1134,7 @@ export default class DataTreeEvaluator {
this.oldUnEvalTree,
fullPath,
) as unknown) as string,
+ evalProps: this.evalProps,
});
});
}
@@ -1165,7 +1186,12 @@ export default class DataTreeEvaluator {
}) ?? [];
// saves error in dataTree at fullPropertyPath
// Later errors can consumed by the forms and debugger
- addErrorToEntityProperty(evalErrors, currentTree, fullPropertyPath);
+ addErrorToEntityProperty({
+ errors: evalErrors,
+ evalProps: this.evalProps,
+ fullPropertyPath,
+ dataTree: currentTree,
+ });
}
}
}
diff --git a/app/client/src/workers/common/DataTreeEvaluator/validationUtils.ts b/app/client/src/workers/common/DataTreeEvaluator/validationUtils.ts
index 806f63541cec..7e3d688208b0 100644
--- a/app/client/src/workers/common/DataTreeEvaluator/validationUtils.ts
+++ b/app/client/src/workers/common/DataTreeEvaluator/validationUtils.ts
@@ -13,14 +13,15 @@ import {
addErrorToEntityProperty,
getEntityNameAndPropertyPath,
isWidget,
- removeFunctions,
resetValidationErrorsForEntityProperty,
} from "workers/Evaluation/evaluationUtils";
import { validate } from "workers/Evaluation/validations";
+import { EvalProps } from ".";
export function validateAndParseWidgetProperty({
currentTree,
evalPropertyValue,
+ evalProps,
fullPropertyPath,
unEvalPropertyValue,
widget,
@@ -30,6 +31,7 @@ export function validateAndParseWidgetProperty({
currentTree: DataTree;
evalPropertyValue: unknown;
unEvalPropertyValue: string;
+ evalProps: EvalProps;
}): unknown {
const { propertyPath } = getEntityNameAndPropertyPath(fullPropertyPath);
if (isPathADynamicTrigger(widget, propertyPath)) {
@@ -49,7 +51,10 @@ export function validateAndParseWidgetProperty({
if (isValid) {
evaluatedValue = parsed;
// remove validation errors is already present
- resetValidationErrorsForEntityProperty(currentTree, fullPropertyPath);
+ resetValidationErrorsForEntityProperty({
+ evalProps,
+ fullPropertyPath,
+ });
} else {
evaluatedValue = isUndefined(transformed) ? evalPropertyValue : transformed;
@@ -63,17 +68,20 @@ export function validateAndParseWidgetProperty({
};
}) ?? [];
// Add validation errors
- addErrorToEntityProperty(evalErrors, currentTree, fullPropertyPath);
+ addErrorToEntityProperty({
+ errors: evalErrors,
+ evalProps,
+ fullPropertyPath,
+ dataTree: currentTree,
+ });
}
- // set evaluated value
- const safeEvaluatedValue = removeFunctions(evaluatedValue);
set(
- widget,
+ evalProps,
getEvalValuePath(fullPropertyPath, {
isPopulated: false,
- fullPath: false,
+ fullPath: true,
}),
- safeEvaluatedValue,
+ evaluatedValue,
);
return parsed;
@@ -107,7 +115,11 @@ export function validateActionProperty(
return validate(config, value, {}, "");
}
-export function getValidatedTree(tree: DataTree) {
+export function getValidatedTree(
+ tree: DataTree,
+ option: { evalProps: EvalProps },
+) {
+ const { evalProps } = option;
return Object.keys(tree).reduce((tree, entityKey: string) => {
const parsedEntity = tree[entityKey];
if (!isWidget(parsedEntity)) {
@@ -130,14 +142,13 @@ export function getValidatedTree(tree: DataTree) {
: isUndefined(transformed)
? value
: transformed;
- const safeEvaluatedValue = removeFunctions(evaluatedValue);
set(
- parsedEntity,
+ evalProps,
getEvalValuePath(`${entityKey}.${property}`, {
isPopulated: false,
- fullPath: false,
+ fullPath: true,
}),
- safeEvaluatedValue,
+ evaluatedValue,
);
if (!isValid) {
const evalErrors: EvaluationError[] =
@@ -147,14 +158,15 @@ export function getValidatedTree(tree: DataTree) {
severity: Severity.ERROR,
raw: value,
})) ?? [];
- addErrorToEntityProperty(
- evalErrors,
- tree,
- getEvalErrorPath(`${entityKey}.${property}`, {
+ addErrorToEntityProperty({
+ errors: evalErrors,
+ evalProps,
+ fullPropertyPath: getEvalErrorPath(`${entityKey}.${property}`, {
isPopulated: false,
- fullPath: false,
+ fullPath: true,
}),
- );
+ dataTree: tree,
+ });
}
},
);
|
a6d37625a1e1c6639949cd3e59c892ec0d4c37e4
|
2022-08-01 10:31:34
|
balajisoundar
|
fix: provide access to currentRow in table widget menubutton items (#15457)
| false
|
provide access to currentRow in table widget menubutton items (#15457)
|
fix
|
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/columnTypes/menubutton_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/columnTypes/menubutton_spec.js
new file mode 100644
index 000000000000..55669584d857
--- /dev/null
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/Widgets/TableV2/columnTypes/menubutton_spec.js
@@ -0,0 +1,162 @@
+import { ObjectsRegistry } from "../../../../../../support/Objects/Registry";
+
+const propPane = ObjectsRegistry.PropertyPane;
+
+describe("Custom column alias functionality", () => {
+ before(() => {
+ cy.dragAndDropToCanvas("tablewidgetv2", { x: 150, y: 300 });
+ });
+
+ it("1. should check that menuitems background color property has access to currentRow", () => {
+ cy.openPropertyPane("tablewidgetv2");
+ cy.editColumn("task");
+ cy.changeColumnType("Menu Button");
+ cy.get(".t--add-menu-item-btn").click();
+ cy.get(".t--edit-column-btn").click();
+ cy.get("[data-colindex='1'][data-rowindex='0'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should(
+ "have.css",
+ "background-color",
+ "rgb(255, 255, 255)",
+ );
+ cy.get("[data-colindex='1'][data-rowindex='1'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should(
+ "have.css",
+ "background-color",
+ "rgb(255, 255, 255)",
+ );
+ cy.get(".t--property-control-backgroundcolor .t--js-toggle").click();
+ propPane.UpdatePropertyFieldValue(
+ "Background color",
+ "{{currentRow.step === '#1' ? '#f00' : '#0f0'}}",
+ );
+ cy.wait(2000);
+ cy.get("[data-colindex='1'][data-rowindex='0'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should(
+ "have.css",
+ "background-color",
+ "rgb(255, 0, 0)",
+ );
+ cy.get("[data-colindex='1'][data-rowindex='1'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should(
+ "have.css",
+ "background-color",
+ "rgb(0, 255, 0)",
+ );
+ });
+
+ it("2. should check that menuitems text color property has access to currentRow", () => {
+ cy.get("[data-colindex='1'][data-rowindex='0'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should(
+ "have.css",
+ "color",
+ "rgb(24, 32, 38)",
+ );
+ cy.get("[data-colindex='1'][data-rowindex='1'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should(
+ "have.css",
+ "color",
+ "rgb(24, 32, 38)",
+ );
+ cy.get(".t--property-control-textcolor .t--js-toggle").click();
+ propPane.UpdatePropertyFieldValue(
+ "Text color",
+ "{{currentRow.step === '#1' ? '#f00' : '#0f0'}}",
+ );
+ cy.wait(2000);
+ cy.get("[data-colindex='1'][data-rowindex='0'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should(
+ "have.css",
+ "color",
+ "rgb(255, 0, 0)",
+ );
+ cy.get("[data-colindex='1'][data-rowindex='1'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should(
+ "have.css",
+ "color",
+ "rgb(0, 255, 0)",
+ );
+ });
+
+ it("3. should check that menuitems isDisabled property has access to currentRow", () => {
+ cy.get("[data-colindex='1'][data-rowindex='0'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should(
+ "have.css",
+ "background-color",
+ "rgb(255, 0, 0)",
+ );
+ cy.get("[data-colindex='1'][data-rowindex='1'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should(
+ "have.css",
+ "background-color",
+ "rgb(0, 255, 0)",
+ );
+ cy.get(".t--property-control-disabled .t--js-toggle").click();
+ propPane.UpdatePropertyFieldValue(
+ "Disabled",
+ "{{currentRow.step === '#1'}}",
+ );
+ cy.wait(2000);
+ cy.get("[data-colindex='1'][data-rowindex='0'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should(
+ "have.css",
+ "background-color",
+ "rgb(250, 250, 250)",
+ );
+ cy.get("[data-colindex='1'][data-rowindex='1'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should(
+ "have.css",
+ "background-color",
+ "rgb(0, 255, 0)",
+ );
+ });
+
+ it("4. should check that menuitems visible property has access to currentRow", () => {
+ cy.get("[data-colindex='1'][data-rowindex='0'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should("exist");
+ cy.get("[data-colindex='1'][data-rowindex='1'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should("exist");
+ cy.get(".t--property-control-visible .t--js-toggle").click();
+ propPane.UpdatePropertyFieldValue(
+ "Visible",
+ "{{currentRow.step === '#1'}}",
+ );
+ cy.wait(2000);
+ cy.get("[data-colindex='1'][data-rowindex='0'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should("exist");
+ cy.get("[data-colindex='1'][data-rowindex='1'] .bp3-button").click({
+ force: true,
+ });
+ cy.get(".table-menu-button-popover li a").should("not.exist");
+ });
+});
diff --git a/app/client/src/widgets/TableWidgetV2/component/cellComponents/MenuButtonCell.tsx b/app/client/src/widgets/TableWidgetV2/component/cellComponents/MenuButtonCell.tsx
index c13685e4c2fb..8b4c0d5db5a4 100644
--- a/app/client/src/widgets/TableWidgetV2/component/cellComponents/MenuButtonCell.tsx
+++ b/app/client/src/widgets/TableWidgetV2/component/cellComponents/MenuButtonCell.tsx
@@ -25,6 +25,7 @@ function MenuButton({
menuItems,
menuVariant,
onCommandClick,
+ rowIndex,
}: MenuButtonProps): JSX.Element {
const handlePropagation = (
e: React.MouseEvent<HTMLDivElement, MouseEvent>,
@@ -53,6 +54,7 @@ function MenuButton({
menuItems={{ ...menuItems }}
menuVariant={menuVariant}
onItemClicked={onItemClicked}
+ rowIndex={rowIndex}
/>
</div>
);
@@ -71,6 +73,7 @@ export interface RenderMenuButtonProps extends BaseCellComponentProps {
boxShadow?: string;
iconName?: IconName;
iconAlign?: Alignment;
+ rowIndex: number;
}
export function MenuButtonCell(props: RenderMenuButtonProps) {
diff --git a/app/client/src/widgets/TableWidgetV2/component/cellComponents/menuButtonTableComponent.tsx b/app/client/src/widgets/TableWidgetV2/component/cellComponents/menuButtonTableComponent.tsx
index 98772ca6f206..c34a2f282915 100644
--- a/app/client/src/widgets/TableWidgetV2/component/cellComponents/menuButtonTableComponent.tsx
+++ b/app/client/src/widgets/TableWidgetV2/component/cellComponents/menuButtonTableComponent.tsx
@@ -25,6 +25,10 @@ import { MenuItems } from "../Constants";
import tinycolor from "tinycolor2";
import { Colors } from "constants/Colors";
import orderBy from "lodash/orderBy";
+import {
+ getBooleanPropertyValue,
+ getPropertyValue,
+} from "widgets/TableWidgetV2/widget/utilities";
const MenuButtonContainer = styled.div`
width: 100%;
@@ -197,15 +201,16 @@ interface PopoverContentProps {
menuItems: MenuItems;
onItemClicked: (onClick: string | undefined) => void;
isCompact?: boolean;
+ rowIndex: number;
}
function PopoverContent(props: PopoverContentProps) {
- const { isCompact, menuItems: itemsObj, onItemClicked } = props;
+ const { isCompact, menuItems: itemsObj, onItemClicked, rowIndex } = props;
if (!itemsObj) return <StyledMenu />;
const visibleItems = Object.keys(itemsObj)
.map((itemKey) => itemsObj[itemKey])
- .filter((item) => item.isVisible);
+ .filter((item) => getBooleanPropertyValue(item.isVisible, rowIndex));
const items = orderBy(visibleItems, ["index"], ["asc"]);
@@ -224,8 +229,10 @@ function PopoverContent(props: PopoverContentProps) {
return (
<BaseMenuItem
- backgroundColor={backgroundColor || "#FFFFFF"}
- disabled={isDisabled}
+ backgroundColor={
+ getPropertyValue(backgroundColor, rowIndex) || "#FFFFFF"
+ }
+ disabled={getBooleanPropertyValue(isDisabled, rowIndex)}
icon={
iconAlign !== Alignment.RIGHT ? (
<Icon color={iconColor} icon={iconName || undefined} />
@@ -244,7 +251,7 @@ function PopoverContent(props: PopoverContentProps) {
}
onClick={() => onItemClicked(onClick)}
text={label}
- textColor={textColor}
+ textColor={getPropertyValue(textColor, rowIndex)}
/>
);
});
@@ -306,6 +313,7 @@ export interface MenuButtonComponentProps {
iconName?: IconName;
iconAlign?: Alignment;
onItemClicked: (onClick: string | undefined) => void;
+ rowIndex: number;
}
function MenuButtonTableComponent(props: MenuButtonComponentProps) {
@@ -322,6 +330,7 @@ function MenuButtonTableComponent(props: MenuButtonComponentProps) {
menuItems,
menuVariant,
onItemClicked,
+ rowIndex,
} = props;
return (
@@ -341,6 +350,7 @@ function MenuButtonTableComponent(props: MenuButtonComponentProps) {
isCompact={isCompact}
menuItems={menuItems}
onItemClicked={onItemClicked}
+ rowIndex={rowIndex}
/>
}
disabled={isDisabled}
diff --git a/app/client/src/widgets/TableWidgetV2/widget/index.tsx b/app/client/src/widgets/TableWidgetV2/widget/index.tsx
index 482e116a8e75..8b4f5d7e899d 100644
--- a/app/client/src/widgets/TableWidgetV2/widget/index.tsx
+++ b/app/client/src/widgets/TableWidgetV2/widget/index.tsx
@@ -1425,6 +1425,7 @@ class TableWidgetV2 extends BaseWidget<TableWidgetProps, WidgetState> {
eventType: EventType.ON_CLICK,
})
}
+ rowIndex={originalIndex}
textColor={cellProperties.textColor}
textSize={cellProperties.textSize}
verticalAlignment={cellProperties.verticalAlignment}
diff --git a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/ButtonProperties.ts b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/ButtonProperties.ts
index 2ac1661f4267..ed7e77766e39 100644
--- a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/ButtonProperties.ts
+++ b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/ButtonProperties.ts
@@ -275,6 +275,7 @@ export default {
propertyName: "menuVariant",
label: "Menu Variant",
controlType: "DROP_DOWN",
+ customJSControl: "TABLE_COMPUTE_VALUE",
helpText: "Sets the variant of the menu button",
options: [
{
@@ -297,15 +298,19 @@ export default {
},
isBindProperty: true,
isTriggerProperty: false,
+ defaultValue: ButtonVariantTypes.PRIMARY,
validation: {
- type: ValidationTypes.TEXT,
+ type: ValidationTypes.TABLE_PROPERTY,
params: {
- default: ButtonVariantTypes.PRIMARY,
- allowedValues: [
- ButtonVariantTypes.PRIMARY,
- ButtonVariantTypes.SECONDARY,
- ButtonVariantTypes.TERTIARY,
- ],
+ type: ValidationTypes.TEXT,
+ params: {
+ default: ButtonVariantTypes.PRIMARY,
+ allowedValues: [
+ ButtonVariantTypes.PRIMARY,
+ ButtonVariantTypes.SECONDARY,
+ ButtonVariantTypes.TERTIARY,
+ ],
+ },
},
},
},
diff --git a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/MenuItems.ts b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/MenuItems.ts
index 84f80c1918f8..a7a26953109a 100644
--- a/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/MenuItems.ts
+++ b/app/client/src/widgets/TableWidgetV2/widget/propertyConfig/PanelConfig/MenuItems.ts
@@ -46,30 +46,56 @@ export default {
helpText: "Sets the background color of a menu item",
label: "Background color",
controlType: "PRIMARY_COLUMNS_COLOR_PICKER_V2",
+ customJSControl: "TABLE_COMPUTE_VALUE",
isJSConvertible: true,
isBindProperty: true,
isTriggerProperty: false,
dependencies: ["primaryColumns", "columnOrder"],
- validation: { type: ValidationTypes.TEXT },
+ validation: {
+ type: ValidationTypes.TABLE_PROPERTY,
+ params: {
+ type: ValidationTypes.TEXT,
+ params: {
+ regex: /^(?![<|{{]).+/,
+ },
+ },
+ },
},
{
propertyName: "textColor",
helpText: "Sets the text color of a menu item",
label: "Text color",
controlType: "PRIMARY_COLUMNS_COLOR_PICKER_V2",
- isBindProperty: false,
+ customJSControl: "TABLE_COMPUTE_VALUE",
+ isJSConvertible: true,
+ isBindProperty: true,
isTriggerProperty: false,
dependencies: ["primaryColumns", "columnOrder"],
+ validation: {
+ type: ValidationTypes.TABLE_PROPERTY,
+ params: {
+ type: ValidationTypes.TEXT,
+ params: {
+ regex: /^(?![<|{{]).+/,
+ },
+ },
+ },
},
{
propertyName: "isDisabled",
helpText: "Disables input to the widget",
label: "Disabled",
controlType: "SWITCH",
+ customJSControl: "TABLE_COMPUTE_VALUE",
isJSConvertible: true,
isBindProperty: true,
isTriggerProperty: false,
- validation: { type: ValidationTypes.BOOLEAN },
+ validation: {
+ type: ValidationTypes.TABLE_PROPERTY,
+ params: {
+ type: ValidationTypes.BOOLEAN,
+ },
+ },
dependencies: ["primaryColumns", "columnOrder"],
},
{
@@ -77,10 +103,16 @@ export default {
helpText: "Controls the visibility of the widget",
label: "Visible",
controlType: "SWITCH",
+ customJSControl: "TABLE_COMPUTE_VALUE",
isJSConvertible: true,
isBindProperty: true,
isTriggerProperty: false,
- validation: { type: ValidationTypes.BOOLEAN },
+ validation: {
+ type: ValidationTypes.TABLE_PROPERTY,
+ params: {
+ type: ValidationTypes.BOOLEAN,
+ },
+ },
dependencies: ["primaryColumns", "columnOrder"],
},
],
|
7a24e9326849e9c0bbf6da84f9171bccdc84008b
|
2024-12-17 15:20:44
|
Rudraprasad Das
|
chore: git mod - settings modal (#38155)
| false
|
git mod - settings modal (#38155)
|
chore
|
diff --git a/app/client/src/git/ce/components/ContinuousDelivery/CDUnLicensed/index.tsx b/app/client/src/git/ce/components/ContinuousDelivery/CDUnLicensed/index.tsx
new file mode 100644
index 000000000000..a3eb5e0ac988
--- /dev/null
+++ b/app/client/src/git/ce/components/ContinuousDelivery/CDUnLicensed/index.tsx
@@ -0,0 +1,58 @@
+import {
+ CONFIGURE_CD_DESC,
+ CONFIGURE_CD_TITLE,
+ TRY_APPSMITH_ENTERPRISE,
+ createMessage,
+} from "ee/constants/messages";
+import { Button, Text } from "@appsmith/ads";
+import { useAppsmithEnterpriseLink } from "pages/Editor/gitSync/GitSettingsModal/TabBranch/hooks";
+import React from "react";
+import styled from "styled-components";
+
+export const Container = styled.div`
+ padding-top: 8px;
+ padding-bottom: 16px;
+ overflow: auto;
+ min-height: calc(360px + 52px);
+`;
+
+export const SectionTitle = styled(Text)`
+ font-weight: 600;
+ margin-bottom: 4px;
+`;
+
+export const SectionDesc = styled(Text)`
+ margin-bottom: 12px;
+`;
+
+export const StyledButton = styled(Button)`
+ display: inline-block;
+`;
+
+function CDUnLicensed() {
+ const enterprisePricingLink = useAppsmithEnterpriseLink(
+ "git_continuous_delivery",
+ );
+
+ return (
+ <Container>
+ <SectionTitle kind="heading-s" renderAs="h3">
+ {createMessage(CONFIGURE_CD_TITLE)}
+ </SectionTitle>
+ <SectionDesc kind="body-m" renderAs="p">
+ {createMessage(CONFIGURE_CD_DESC)}
+ </SectionDesc>
+ <StyledButton
+ href={enterprisePricingLink}
+ kind="primary"
+ renderAs="a"
+ size="md"
+ target="_blank"
+ >
+ {createMessage(TRY_APPSMITH_ENTERPRISE)}
+ </StyledButton>
+ </Container>
+ );
+}
+
+export default CDUnLicensed;
diff --git a/app/client/src/git/ce/components/ContinuousDelivery/index.tsx b/app/client/src/git/ce/components/ContinuousDelivery/index.tsx
new file mode 100644
index 000000000000..90e2fd68c1a1
--- /dev/null
+++ b/app/client/src/git/ce/components/ContinuousDelivery/index.tsx
@@ -0,0 +1,8 @@
+import React from "react";
+import CDUnLicnesed from "./CDUnLicensed";
+
+function ContinuousDelivery() {
+ return <CDUnLicnesed />;
+}
+
+export default ContinuousDelivery;
diff --git a/app/client/src/git/ce/components/DefaultBranch/DefaultBranchView.tsx b/app/client/src/git/ce/components/DefaultBranch/DefaultBranchView.tsx
new file mode 100644
index 000000000000..692c9403cf5f
--- /dev/null
+++ b/app/client/src/git/ce/components/DefaultBranch/DefaultBranchView.tsx
@@ -0,0 +1,153 @@
+import {
+ APPSMITH_ENTERPRISE,
+ DEFAULT_BRANCH,
+ DEFAULT_BRANCH_DESC,
+ UPDATE,
+ createMessage,
+} from "ee/constants/messages";
+import { Button, Link, Option, Select, Text } from "@appsmith/ads";
+import React, { useCallback, useEffect, useMemo, useState } from "react";
+import styled from "styled-components";
+import AnalyticsUtil from "ee/utils/AnalyticsUtil";
+import type { FetchBranchesResponseData } from "git/requests/fetchBranchesRequest.types";
+import noop from "lodash/noop";
+import { useAppsmithEnterpriseUrl } from "git/hooks/useAppsmithEnterpriseUrl";
+
+const Container = styled.div`
+ padding-top: 8px;
+ padding-bottom: 16px;
+`;
+
+const HeadContainer = styled.div`
+ margin-bottom: 16px;
+`;
+
+const BodyContainer = styled.div`
+ display: flex;
+`;
+
+const SectionTitle = styled(Text)`
+ font-weight: 600;
+ margin-bottom: 4px;
+`;
+
+const SectionDesc = styled(Text)`
+ margin-bottom: 4px;
+`;
+
+const StyledSelect = styled(Select)`
+ width: 240px;
+ margin-right: 12px;
+`;
+
+const StyledLink = styled(Link)`
+ display: inline-flex;
+`;
+
+interface DefaultBranchViewProps {
+ branches: FetchBranchesResponseData | null;
+ isGitProtectedFeatureLicensed: boolean;
+ updateDefaultBranch?: (branchName: string) => void;
+}
+
+function DefaultBranchView({
+ branches = null,
+ isGitProtectedFeatureLicensed = false,
+ updateDefaultBranch = noop,
+}: DefaultBranchViewProps) {
+ const [selectedValue, setSelectedValue] = useState<string | undefined>();
+
+ const currentDefaultBranch = useMemo(() => {
+ const defaultBranch = branches?.find((b) => b.default);
+
+ return defaultBranch?.branchName;
+ }, [branches]);
+
+ const enterprisePricingUrl = useAppsmithEnterpriseUrl(
+ "git_branch_protection",
+ );
+
+ const filteredBranches = useMemo(
+ () => branches?.filter((branch) => !branch.branchName.includes("origin/")),
+ [branches],
+ );
+
+ const isUpdateDisabled =
+ !selectedValue || selectedValue === currentDefaultBranch;
+
+ useEffect(
+ function selectedValueOnInitEffect() {
+ const defaultBranch = branches?.find((b) => b.default);
+
+ setSelectedValue(defaultBranch?.branchName);
+ },
+ [branches],
+ );
+
+ const handleGetPopupContainer = useCallback(
+ (triggerNode) => triggerNode.parentNode,
+ [],
+ );
+
+ const handleUpdate = useCallback(() => {
+ if (selectedValue) {
+ AnalyticsUtil.logEvent("GS_DEFAULT_BRANCH_UPDATE", {
+ old_branch: currentDefaultBranch,
+ new_branch: selectedValue,
+ });
+ updateDefaultBranch(selectedValue);
+ }
+ }, [currentDefaultBranch, selectedValue, updateDefaultBranch]);
+
+ return (
+ <Container>
+ <HeadContainer>
+ <SectionTitle kind="heading-s" renderAs="h3">
+ {createMessage(DEFAULT_BRANCH)}
+ </SectionTitle>
+ <SectionDesc kind="body-m" renderAs="p">
+ {createMessage(DEFAULT_BRANCH_DESC)}
+ </SectionDesc>
+ {!isGitProtectedFeatureLicensed && (
+ <SectionDesc kind="body-m" renderAs="p">
+ To change your default branch, try{" "}
+ <StyledLink
+ kind="primary"
+ target="_blank"
+ to={enterprisePricingUrl}
+ >
+ {createMessage(APPSMITH_ENTERPRISE)}
+ </StyledLink>
+ </SectionDesc>
+ )}
+ </HeadContainer>
+ <BodyContainer>
+ <StyledSelect
+ data-testid="t--git-default-branch-select"
+ dropdownMatchSelectWidth
+ getPopupContainer={handleGetPopupContainer}
+ isDisabled={!isGitProtectedFeatureLicensed}
+ onChange={setSelectedValue}
+ value={selectedValue}
+ >
+ {filteredBranches?.map((b) => (
+ <Option key={b.branchName} value={b.branchName}>
+ {b.branchName}
+ </Option>
+ ))}
+ </StyledSelect>
+ <Button
+ data-testid="t--git-default-branch-update-btn"
+ isDisabled={isUpdateDisabled}
+ kind="secondary"
+ onClick={handleUpdate}
+ size="md"
+ >
+ {createMessage(UPDATE)}
+ </Button>
+ </BodyContainer>
+ </Container>
+ );
+}
+
+export default DefaultBranchView;
diff --git a/app/client/src/git/ce/components/DefaultBranch/index.tsx b/app/client/src/git/ce/components/DefaultBranch/index.tsx
new file mode 100644
index 000000000000..1c18109e64fb
--- /dev/null
+++ b/app/client/src/git/ce/components/DefaultBranch/index.tsx
@@ -0,0 +1,14 @@
+import React from "react";
+import { useGitContext } from "git/components/GitContextProvider";
+import DefaultBranchView from "./DefaultBranchView";
+
+export default function DefaultBranch() {
+ const { branches } = useGitContext();
+
+ return (
+ <DefaultBranchView
+ branches={branches}
+ isGitProtectedFeatureLicensed={false}
+ />
+ );
+}
diff --git a/app/client/src/git/ce/components/GitModals/index.tsx b/app/client/src/git/ce/components/GitModals/index.tsx
new file mode 100644
index 000000000000..edf15092c4bd
--- /dev/null
+++ b/app/client/src/git/ce/components/GitModals/index.tsx
@@ -0,0 +1,20 @@
+import ConflictErrorModal from "git/components/ConflictErrorModal";
+import DisableAutocommitModal from "git/components/DisableAutocommitModal";
+import DisconnectModal from "git/components/DisconnectModal";
+import OpsModal from "git/components/OpsModal";
+import SettingsModal from "git/components/SettingsModal";
+import React from "react";
+
+function GitModals() {
+ return (
+ <>
+ <OpsModal />
+ <SettingsModal />
+ <DisconnectModal />
+ <DisableAutocommitModal />
+ <ConflictErrorModal />
+ </>
+ );
+}
+
+export default GitModals;
diff --git a/app/client/src/git/ce/hooks/useDefaultBranch.ts b/app/client/src/git/ce/hooks/useDefaultBranch.ts
new file mode 100644
index 000000000000..6bc27c1c08c0
--- /dev/null
+++ b/app/client/src/git/ce/hooks/useDefaultBranch.ts
@@ -0,0 +1,18 @@
+import { useGitContext } from "git/components/GitContextProvider";
+import { selectDefaultBranch } from "git/store/selectors/gitSingleArtifactSelectors";
+import type { GitRootState } from "git/store/types";
+import { useSelector } from "react-redux";
+
+function useDefaultBranch() {
+ const { artifactDef } = useGitContext();
+
+ const defaultBranch = useSelector((state: GitRootState) =>
+ selectDefaultBranch(state, artifactDef),
+ );
+
+ return {
+ defaultBranch,
+ };
+}
+
+export default useDefaultBranch;
diff --git a/app/client/src/git/ce/sagas/index.ts b/app/client/src/git/ce/sagas/index.ts
new file mode 100644
index 000000000000..091b8e1af65d
--- /dev/null
+++ b/app/client/src/git/ce/sagas/index.ts
@@ -0,0 +1,13 @@
+import type { PayloadAction } from "@reduxjs/toolkit";
+
+export const blockingActionSagas: Record<
+ string,
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ (action: PayloadAction<any>) => Generator<any>
+> = {};
+
+export const nonBlockingActionSagas: Record<
+ string,
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ (action: PayloadAction<any>) => Generator<any>
+> = {};
diff --git a/app/client/src/git/ce/store/actions/index.ts b/app/client/src/git/ce/store/actions/index.ts
new file mode 100644
index 000000000000..f2b34095bf1a
--- /dev/null
+++ b/app/client/src/git/ce/store/actions/index.ts
@@ -0,0 +1,3 @@
+export const gitArtifactCaseReducers = {};
+
+export const gitConfigCaseReducers = {};
diff --git a/app/client/src/git/ce/store/helpers/initialState.ts b/app/client/src/git/ce/store/helpers/initialState.ts
new file mode 100644
index 000000000000..1cff0306011b
--- /dev/null
+++ b/app/client/src/git/ce/store/helpers/initialState.ts
@@ -0,0 +1,9 @@
+import type {
+ GitArtifactAPIResponsesReduxState,
+ GitArtifactUIReduxState,
+} from "../types";
+
+export const gitArtifactUIInitialState: GitArtifactUIReduxState = {};
+
+export const gitArtifactAPIResponsesInitialState: GitArtifactAPIResponsesReduxState =
+ {};
diff --git a/app/client/src/git/ce/store/selectors/gitArtifactSelectors.ts b/app/client/src/git/ce/store/selectors/gitArtifactSelectors.ts
new file mode 100644
index 000000000000..ff8b4c56321a
--- /dev/null
+++ b/app/client/src/git/ce/store/selectors/gitArtifactSelectors.ts
@@ -0,0 +1 @@
+export default {};
diff --git a/app/client/src/git/ce/store/types.ts b/app/client/src/git/ce/store/types.ts
new file mode 100644
index 000000000000..27d2c4e2d710
--- /dev/null
+++ b/app/client/src/git/ce/store/types.ts
@@ -0,0 +1,3 @@
+export interface GitArtifactAPIResponsesReduxState {}
+
+export interface GitArtifactUIReduxState {}
diff --git a/app/client/src/git/components/ConflictError/index.tsx b/app/client/src/git/components/ConflictError/index.tsx
index c5d49533f8ed..babe539e3eb5 100644
--- a/app/client/src/git/components/ConflictError/index.tsx
+++ b/app/client/src/git/components/ConflictError/index.tsx
@@ -1,15 +1,15 @@
import React from "react";
-import { useGitContext } from "../GitContextProvider";
import GitConflictErrorView from "./ConflictErrorView";
+import useMetadata from "git/hooks/useMetadata";
export default function ConflictError() {
- const { gitMetadata } = useGitContext();
+ const { metadata } = useMetadata();
// ! case: learnMoreUrl comes from pullError
const learnMoreUrl =
"https://docs.appsmith.com/advanced-concepts/version-control-with-git";
- const repoUrl = gitMetadata?.browserSupportedRemoteUrl || "";
+ const repoUrl = metadata?.browserSupportedRemoteUrl || "";
return <GitConflictErrorView learnMoreUrl={learnMoreUrl} repoUrl={repoUrl} />;
}
diff --git a/app/client/src/git/components/DangerZone/DangerZoneView.tsx b/app/client/src/git/components/DangerZone/DangerZoneView.tsx
new file mode 100644
index 000000000000..038afe54c10c
--- /dev/null
+++ b/app/client/src/git/components/DangerZone/DangerZoneView.tsx
@@ -0,0 +1,160 @@
+import {
+ AUTOCOMMIT,
+ AUTOCOMMIT_DISABLE,
+ AUTOCOMMIT_ENABLE,
+ AUTOCOMMIT_MESSAGE,
+ DANGER_ZONE,
+ DISCONNECT_GIT,
+ DISCONNECT_GIT_MESSAGE,
+ createMessage,
+} from "ee/constants/messages";
+import { Button, Divider, Text } from "@appsmith/ads";
+import React, { useCallback } from "react";
+import styled from "styled-components";
+import AnalyticsUtil from "ee/utils/AnalyticsUtil";
+import noop from "lodash/noop";
+import type { GitSettingsTab } from "git/constants/enums";
+
+const Container = styled.div`
+ padding-top: 16px;
+ padding-bottom: 16px;
+`;
+
+const HeadContainer = styled.div`
+ margin-bottom: 16px;
+`;
+
+const ZoneContainer = styled.div`
+ border: solid 0.4px var(--ads-v2-color-red-600);
+ padding: 12px;
+ border-radius: 4px;
+`;
+
+const BodyContainer = styled.div`
+ display: flex;
+ align-items: center;
+`;
+
+const BodyInnerContainer = styled.div`
+ flex: 1;
+ margin-right: 32px;
+`;
+
+const SectionTitle = styled(Text)`
+ font-weight: 600;
+`;
+
+const StyledDivider = styled(Divider)`
+ display: block;
+ margin-top: 16px;
+ margin-bottom: 16px;
+`;
+
+interface DangerZoneViewProps {
+ closeDisconnectModal: () => void;
+ isConnectPermitted: boolean;
+ isManageAutocommitPermitted: boolean;
+ isToggleAutocommitLoading: boolean;
+ isAutocommitEnabled: boolean;
+ isFetchMetadataLoading: boolean;
+ openDisconnectModal: () => void;
+ toggleAutocommit: () => void;
+ toggleDisableAutocommitModal: (open: boolean) => void;
+ toggleSettingsModal: (
+ open: boolean,
+ tab?: keyof typeof GitSettingsTab,
+ ) => void;
+}
+
+function DangerZoneView({
+ isAutocommitEnabled = false,
+ isConnectPermitted = false,
+ isFetchMetadataLoading = false,
+ isManageAutocommitPermitted = false,
+ isToggleAutocommitLoading = false,
+ openDisconnectModal = noop,
+ toggleAutocommit = noop,
+ toggleDisableAutocommitModal = noop,
+ toggleSettingsModal = noop,
+}: DangerZoneViewProps) {
+ const handleDisconnect = useCallback(() => {
+ AnalyticsUtil.logEvent("GS_DISCONNECT_GIT_CLICK", {
+ source: "GIT_CONNECTION_MODAL",
+ });
+ toggleSettingsModal(false);
+ openDisconnectModal();
+ }, [openDisconnectModal, toggleSettingsModal]);
+
+ const handleToggleAutocommit = useCallback(() => {
+ if (isAutocommitEnabled) {
+ toggleSettingsModal(false);
+ toggleDisableAutocommitModal(true);
+ } else {
+ toggleAutocommit();
+ AnalyticsUtil.logEvent("GS_AUTO_COMMIT_ENABLED");
+ }
+ }, [
+ isAutocommitEnabled,
+ toggleAutocommit,
+ toggleDisableAutocommitModal,
+ toggleSettingsModal,
+ ]);
+
+ const showAutoCommit = isManageAutocommitPermitted;
+ const showDisconnect = isConnectPermitted;
+ const showDivider = showAutoCommit && showDisconnect;
+
+ return (
+ <Container>
+ <HeadContainer>
+ <SectionTitle kind="heading-s">
+ {createMessage(DANGER_ZONE)}
+ </SectionTitle>
+ </HeadContainer>
+ <ZoneContainer>
+ {showAutoCommit && (
+ <BodyContainer>
+ <BodyInnerContainer>
+ <Text kind="heading-xs" renderAs="p">
+ {createMessage(AUTOCOMMIT)}
+ </Text>
+ <Text renderAs="p">{createMessage(AUTOCOMMIT_MESSAGE)}</Text>
+ </BodyInnerContainer>
+ <Button
+ data-testid="t--git-autocommit-btn"
+ isLoading={isToggleAutocommitLoading || isFetchMetadataLoading}
+ kind={isAutocommitEnabled ? "error" : "secondary"}
+ onClick={handleToggleAutocommit}
+ size="md"
+ >
+ {isAutocommitEnabled
+ ? createMessage(AUTOCOMMIT_DISABLE)
+ : createMessage(AUTOCOMMIT_ENABLE)}
+ </Button>
+ </BodyContainer>
+ )}
+ {showDivider && <StyledDivider />}
+ {showDisconnect && (
+ <BodyContainer>
+ <BodyInnerContainer>
+ <Text kind="heading-xs" renderAs="p">
+ {createMessage(DISCONNECT_GIT)}
+ </Text>
+ <Text renderAs="p">{createMessage(DISCONNECT_GIT_MESSAGE)}</Text>
+ </BodyInnerContainer>
+ <Button
+ data-testid="t--git-disconnect-btn"
+ kind="error"
+ onClick={handleDisconnect}
+ size="md"
+ >
+ {createMessage(DISCONNECT_GIT)}
+ </Button>
+ </BodyContainer>
+ )}
+ </ZoneContainer>
+ </Container>
+ );
+}
+
+export default DangerZoneView;
diff --git a/app/client/src/git/components/DangerZone/index.tsx b/app/client/src/git/components/DangerZone/index.tsx
new file mode 100644
index 000000000000..f745b0410ae7
--- /dev/null
+++ b/app/client/src/git/components/DangerZone/index.tsx
@@ -0,0 +1,38 @@
+import useAutocommit from "git/hooks/useAutocommit";
+import useDisconnect from "git/hooks/useDisconnect";
+import useGitPermissions from "git/hooks/useGitPermissions";
+import useSettings from "git/hooks/useSettings";
+import React from "react";
+import DangerZoneView from "./DangerZoneView";
+import useMetadata from "git/hooks/useMetadata";
+
+function DangerZone() {
+ const { closeDisconnectModal, openDisconnectModal } = useDisconnect();
+ const { isConnectPermitted, isManageAutocommitPermitted } =
+ useGitPermissions();
+ const {
+ isAutocommitEnabled,
+ isToggleAutocommitLoading,
+ toggleAutocommit,
+ toggleAutocommitDisableModal,
+ } = useAutocommit();
+ const { toggleSettingsModal } = useSettings();
+ const { isFetchMetadataLoading } = useMetadata();
+
+ return (
+ <DangerZoneView
+ closeDisconnectModal={closeDisconnectModal}
+ isAutocommitEnabled={isAutocommitEnabled}
+ isConnectPermitted={isConnectPermitted}
+ isFetchMetadataLoading={isFetchMetadataLoading}
+ isManageAutocommitPermitted={isManageAutocommitPermitted}
+ isToggleAutocommitLoading={isToggleAutocommitLoading}
+ openDisconnectModal={openDisconnectModal}
+ toggleAutocommit={toggleAutocommit}
+ toggleDisableAutocommitModal={toggleAutocommitDisableModal}
+ toggleSettingsModal={toggleSettingsModal}
+ />
+ );
+}
+
+export default DangerZone;
diff --git a/app/client/src/git/components/DisableAutocommitModal/DisableAutocommitModalView.tsx b/app/client/src/git/components/DisableAutocommitModal/DisableAutocommitModalView.tsx
new file mode 100644
index 000000000000..cfa814b27792
--- /dev/null
+++ b/app/client/src/git/components/DisableAutocommitModal/DisableAutocommitModalView.tsx
@@ -0,0 +1,85 @@
+import {
+ AUTOCOMMIT_CONFIRM_DISABLE_MESSAGE,
+ AUTOCOMMIT_DISABLE,
+ createMessage,
+} from "ee/constants/messages";
+import {
+ Button,
+ Callout,
+ Modal,
+ ModalBody,
+ ModalContent,
+ ModalFooter,
+ ModalHeader,
+ Text,
+} from "@appsmith/ads";
+import React, { useCallback } from "react";
+import AnalyticsUtil from "ee/utils/AnalyticsUtil";
+import noop from "lodash/noop";
+import styled from "styled-components";
+
+const StyledModalContent = styled(ModalContent)`
+ width: 640px;
+`;
+
+const StyledModalHeader = styled(ModalHeader)`
+ margin: 0;
+`;
+
+interface DisableAutocommitModalViewProps {
+ isAutocommitDisableModalOpen?: boolean;
+ isToggleAutocommitLoading?: boolean;
+ toggleAutocommit?: () => void;
+ toggleAutocommitDisableModal?: (open: boolean) => void;
+}
+
+function DisableAutocommitModalView({
+ isAutocommitDisableModalOpen = false,
+ isToggleAutocommitLoading = false,
+ toggleAutocommit = noop,
+ toggleAutocommitDisableModal = noop,
+}: DisableAutocommitModalViewProps) {
+ const handleDisableAutocommit = useCallback(() => {
+ toggleAutocommit();
+ AnalyticsUtil.logEvent("GS_AUTO_COMMIT_DISABLED");
+ toggleAutocommitDisableModal(false);
+ }, [toggleAutocommit, toggleAutocommitDisableModal]);
+
+ const handleModalOpenChange = useCallback(
+ (open: boolean) => {
+ if (!open) toggleAutocommitDisableModal(false);
+ },
+ [toggleAutocommitDisableModal],
+ );
+
+ return (
+ <Modal
+ onOpenChange={handleModalOpenChange}
+ open={isAutocommitDisableModalOpen}
+ >
+ <StyledModalContent data-testid="t--autocommit-git-modal">
+ <StyledModalHeader>
+ {createMessage(AUTOCOMMIT_DISABLE)}
+ </StyledModalHeader>
+ <ModalBody>
+ <Callout kind="warning">
+ <Text>{createMessage(AUTOCOMMIT_CONFIRM_DISABLE_MESSAGE)}</Text>
+ </Callout>
+ </ModalBody>
+ <ModalFooter>
+ <Button
+ className="t--autocommit-modal-cta-button"
+ isLoading={isToggleAutocommitLoading}
+ kind="primary"
+ onClick={handleDisableAutocommit}
+ size="md"
+ >
+ {createMessage(AUTOCOMMIT_DISABLE)}
+ </Button>
+ </ModalFooter>
+ </StyledModalContent>
+ </Modal>
+ );
+}
+
+export default DisableAutocommitModalView;
diff --git a/app/client/src/git/components/DisableAutocommitModal/index.tsx b/app/client/src/git/components/DisableAutocommitModal/index.tsx
new file mode 100644
index 000000000000..520575f6b5c5
--- /dev/null
+++ b/app/client/src/git/components/DisableAutocommitModal/index.tsx
@@ -0,0 +1,23 @@
+import React from "react";
+import DisableAutocommitModalView from "./DisableAutocommitModalView";
+import useAutocommit from "git/hooks/useAutocommit";
+
+function DisableAutocommitModal() {
+ const {
+ isAutocommitDisableModalOpen,
+ isToggleAutocommitLoading,
+ toggleAutocommit,
+ toggleAutocommitDisableModal,
+ } = useAutocommit();
+
+ return (
+ <DisableAutocommitModalView
+ isAutocommitDisableModalOpen={isAutocommitDisableModalOpen}
+ isToggleAutocommitLoading={isToggleAutocommitLoading}
+ toggleAutocommit={toggleAutocommit}
+ toggleAutocommitDisableModal={toggleAutocommitDisableModal}
+ />
+ );
+}
+
+export default DisableAutocommitModal;
diff --git a/app/client/src/git/components/DisconnectModal/index.test.tsx b/app/client/src/git/components/DisconnectModal/DisconnectModalView.test.tsx
similarity index 86%
rename from app/client/src/git/components/DisconnectModal/index.test.tsx
rename to app/client/src/git/components/DisconnectModal/DisconnectModalView.test.tsx
index 70f6fb14ea26..9f86a461c329 100644
--- a/app/client/src/git/components/DisconnectModal/index.test.tsx
+++ b/app/client/src/git/components/DisconnectModal/DisconnectModalView.test.tsx
@@ -2,7 +2,7 @@ import React from "react";
import { render, screen, fireEvent } from "@testing-library/react";
import "@testing-library/jest-dom";
import AnalyticsUtil from "ee/utils/AnalyticsUtil";
-import DisconnectModal from ".";
+import DisconnectModal from "./DisconnectModalView";
jest.mock("ee/utils/AnalyticsUtil", () => ({
logEvent: jest.fn(),
@@ -10,14 +10,12 @@ jest.mock("ee/utils/AnalyticsUtil", () => ({
describe("DisconnectModal", () => {
const defaultProps = {
- isModalOpen: true,
- disconnectingApp: {
- id: "app123",
- name: "TestApp",
- },
- closeModal: jest.fn(),
- onBackClick: jest.fn(),
- onDisconnect: jest.fn(),
+ closeDisconnectModal: jest.fn(),
+ disconnect: jest.fn(),
+ disconnectArtifactName: "TestApp",
+ isDisconnectLoading: false,
+ isDisconnectModalOpen: true,
+ toggleSettingsModal: jest.fn(),
};
afterEach(() => {
@@ -30,7 +28,7 @@ describe("DisconnectModal", () => {
});
it("should not render the modal when isModalOpen is false", () => {
- render(<DisconnectModal {...defaultProps} isModalOpen={false} />);
+ render(<DisconnectModal {...defaultProps} isDisconnectModalOpen={false} />);
expect(
screen.queryByTestId("t--disconnect-git-modal"),
).not.toBeInTheDocument();
@@ -56,7 +54,7 @@ describe("DisconnectModal", () => {
expect(input).toHaveValue("TestApp");
});
- it("should enable Revoke button when appName matches disconnectingApp.name", () => {
+ it("should enable Revoke button when appName matches disconnectAppName", () => {
render(<DisconnectModal {...defaultProps} />);
const input = screen.getByLabelText("Application name");
const revokeButton = document.getElementsByClassName(
@@ -69,7 +67,7 @@ describe("DisconnectModal", () => {
expect(revokeButton).toBeEnabled();
});
- it("should disable Revoke button when appName does not match disconnectingApp.name", () => {
+ it("should disable Revoke button when appName does not match disconnectAppName", () => {
render(<DisconnectModal {...defaultProps} />);
const input = screen.getByLabelText("Application name");
const revokeButton = document.getElementsByClassName(
@@ -87,7 +85,8 @@ describe("DisconnectModal", () => {
)[0];
fireEvent.click(goBackButton);
- expect(defaultProps.onBackClick).toHaveBeenCalledTimes(1);
+ expect(defaultProps.closeDisconnectModal).toHaveBeenCalledTimes(1);
+ expect(defaultProps.toggleSettingsModal).toHaveBeenCalledTimes(1);
});
it("should call onDisconnect when Revoke button is clicked", () => {
@@ -100,7 +99,7 @@ describe("DisconnectModal", () => {
fireEvent.change(input, { target: { value: "TestApp" } });
fireEvent.click(revokeButton);
- expect(defaultProps.onDisconnect).toHaveBeenCalledTimes(1);
+ expect(defaultProps.disconnect).toHaveBeenCalledTimes(1);
});
it("should disable Revoke button when isRevoking is true", () => {
@@ -115,9 +114,9 @@ describe("DisconnectModal", () => {
fireEvent.click(revokeButton);
// Rerender to reflect state change
- rerender(<DisconnectModal {...defaultProps} />);
+ rerender(<DisconnectModal {...defaultProps} isDisconnectLoading />);
- expect(defaultProps.onDisconnect).toHaveBeenCalledTimes(1);
+ expect(defaultProps.disconnect).toHaveBeenCalledTimes(1);
expect(revokeButton).toBeDisabled();
});
@@ -160,6 +159,6 @@ describe("DisconnectModal", () => {
)[0];
fireEvent.click(revokeButton);
- expect(defaultProps.onDisconnect).not.toHaveBeenCalled();
+ expect(defaultProps.disconnect).not.toHaveBeenCalled();
});
});
diff --git a/app/client/src/git/components/DisconnectModal/DisconnectModalView.tsx b/app/client/src/git/components/DisconnectModal/DisconnectModalView.tsx
new file mode 100644
index 000000000000..e01086623dcc
--- /dev/null
+++ b/app/client/src/git/components/DisconnectModal/DisconnectModalView.tsx
@@ -0,0 +1,152 @@
+import React, { useCallback, useState } from "react";
+import {
+ Button,
+ Callout,
+ Flex,
+ Input,
+ Modal,
+ ModalBody,
+ ModalContent,
+ ModalFooter,
+ ModalHeader,
+ Text,
+} from "@appsmith/ads";
+import {
+ APPLICATION_NAME,
+ createMessage,
+ GIT_REVOKE_ACCESS,
+ GIT_TYPE_REPO_NAME_FOR_REVOKING_ACCESS,
+ GO_BACK,
+ NONE_REVERSIBLE_MESSAGE,
+ REVOKE,
+} from "ee/constants/messages";
+import AnalyticsUtil from "ee/utils/AnalyticsUtil";
+import styled from "styled-components";
+import noop from "lodash/noop";
+import { GitSettingsTab } from "git/constants/enums";
+
+const DOCS_URL =
+ "https://docs.appsmith.com/advanced-concepts/version-control-with-git/disconnect-the-git-repository";
+const DOCS_LINK_PROPS = [
+ {
+ children: "Learn more",
+ to: DOCS_URL,
+ className: "t--disconnect-learn-more",
+ },
+];
+const MODAL_WIDTH = 640;
+
+const StyledModalContent = styled(ModalContent)`
+ width: ${MODAL_WIDTH}px;
+`;
+
+interface DisconnectModalProps {
+ closeDisconnectModal: () => void;
+ disconnect: () => void;
+ disconnectArtifactName: string | null;
+ isDisconnectLoading: boolean;
+ isDisconnectModalOpen: boolean;
+ toggleSettingsModal: (
+ open: boolean,
+ tab?: keyof typeof GitSettingsTab,
+ ) => void;
+}
+
+function DisconnectModalView({
+ closeDisconnectModal = noop,
+ disconnect = noop,
+ disconnectArtifactName = null,
+ isDisconnectLoading = false,
+ isDisconnectModalOpen = false,
+ toggleSettingsModal = noop,
+}: DisconnectModalProps) {
+ const [artifactName, setArtifactName] = useState("");
+
+ const handleClickOnBack = useCallback(() => {
+ closeDisconnectModal();
+ toggleSettingsModal(true, GitSettingsTab.General);
+ }, [closeDisconnectModal, toggleSettingsModal]);
+
+ const handleClickOnDisconnect = useCallback(() => {
+ disconnect();
+ }, [disconnect]);
+
+ const shouldDisableRevokeButton =
+ artifactName !== disconnectArtifactName || isDisconnectLoading;
+
+ const onModalOpenValueChange = useCallback(
+ (open: boolean) => {
+ if (!open) {
+ closeDisconnectModal();
+ }
+ },
+ [closeDisconnectModal],
+ );
+
+ const inputOnBlur = useCallback(
+ (event: React.FocusEvent<Element, Element>) => {
+ AnalyticsUtil.logEvent("GS_MATCHING_REPO_NAME_ON_GIT_DISCONNECT_MODAL", {
+ value: "value" in event.target ? event.target.value : "",
+ expecting: disconnectArtifactName,
+ });
+ },
+ [disconnectArtifactName],
+ );
+
+ const inputOnChange = useCallback((value: string) => {
+ setArtifactName(value);
+ }, []);
+
+ return (
+ <Modal onOpenChange={onModalOpenValueChange} open={isDisconnectModalOpen}>
+ <StyledModalContent data-testid="t--disconnect-git-modal">
+ <ModalHeader>
+ {createMessage(GIT_REVOKE_ACCESS, disconnectArtifactName)}
+ </ModalHeader>
+ <ModalBody>
+ <Flex flexDirection="column" gap="spaces-3">
+ <Text color={"var(--ads-v2-color-fg-emphasis)"} kind="heading-s">
+ {createMessage(
+ GIT_TYPE_REPO_NAME_FOR_REVOKING_ACCESS,
+ disconnectArtifactName,
+ )}
+ </Text>
+ <Input
+ className="t--git-app-name-input"
+ label={createMessage(APPLICATION_NAME)}
+ onBlur={inputOnBlur}
+ onChange={inputOnChange}
+ size="md"
+ value={artifactName}
+ />
+ <Callout kind="error" links={DOCS_LINK_PROPS}>
+ {createMessage(NONE_REVERSIBLE_MESSAGE)}
+ </Callout>
+ </Flex>
+ </ModalBody>
+ <ModalFooter>
+ <Button
+ className="t--git-revoke-back-button"
+ kind="secondary"
+ onClick={handleClickOnBack}
+ size="md"
+ >
+ {createMessage(GO_BACK)}
+ </Button>
+ <Button
+ className="t--git-revoke-button"
+ isDisabled={shouldDisableRevokeButton}
+ isLoading={isDisconnectLoading}
+ kind="primary"
+ onClick={handleClickOnDisconnect}
+ size="md"
+ >
+ {createMessage(REVOKE)}
+ </Button>
+ </ModalFooter>
+ </StyledModalContent>
+ </Modal>
+ );
+}
+
+export default DisconnectModalView;
diff --git a/app/client/src/git/components/DisconnectModal/index.tsx b/app/client/src/git/components/DisconnectModal/index.tsx
index b18750a38422..b96c401c34e7 100644
--- a/app/client/src/git/components/DisconnectModal/index.tsx
+++ b/app/client/src/git/components/DisconnectModal/index.tsx
@@ -1,145 +1,28 @@
-import React, { useCallback, useState } from "react";
-import {
- Button,
- Callout,
- Flex,
- Input,
- Modal,
- ModalBody,
- ModalContent,
- ModalFooter,
- ModalHeader,
- Text,
-} from "@appsmith/ads";
-import {
- APPLICATION_NAME,
- createMessage,
- GIT_REVOKE_ACCESS,
- GIT_TYPE_REPO_NAME_FOR_REVOKING_ACCESS,
- GO_BACK,
- NONE_REVERSIBLE_MESSAGE,
- REVOKE,
-} from "ee/constants/messages";
-import AnalyticsUtil from "ee/utils/AnalyticsUtil";
-import styled from "styled-components";
-
-const DOCS_URL =
- "https://docs.appsmith.com/advanced-concepts/version-control-with-git/disconnect-the-git-repository";
-const DOCS_LINK_PROPS = [
- {
- children: "Learn more",
- to: DOCS_URL,
- className: "t--disconnect-learn-more",
- },
-];
-const MODAL_WIDTH = 640;
-
-interface DisconnectModalProps {
- isModalOpen: boolean;
- disconnectingApp: {
- id: string;
- name: string;
- };
- closeModal: () => void;
- onBackClick: () => void;
- onDisconnect: () => void;
-}
-
-const StyledModalContent = styled(ModalContent)`
- width: ${MODAL_WIDTH}px;
-`;
-
-function DisconnectModal({
- closeModal,
- disconnectingApp,
- isModalOpen,
- onBackClick,
- onDisconnect,
-}: DisconnectModalProps) {
- const [appName, setAppName] = useState("");
- const [isRevoking, setIsRevoking] = useState(false);
-
- const onDisconnectGit = useCallback(() => {
- setIsRevoking(true);
- onDisconnect();
- }, [onDisconnect]);
-
- const shouldDisableRevokeButton =
- disconnectingApp.id === "" ||
- appName !== disconnectingApp.name ||
- isRevoking;
-
- const onModalOpenValueChange = useCallback(
- (open: boolean) => {
- if (!open) {
- closeModal();
- }
- },
- [closeModal],
- );
-
- const inputOnBlur = useCallback(
- (event: React.FocusEvent<Element, Element>) => {
- AnalyticsUtil.logEvent("GS_MATCHING_REPO_NAME_ON_GIT_DISCONNECT_MODAL", {
- value: "value" in event.target ? event.target.value : "",
- expecting: disconnectingApp.name,
- });
- },
- [disconnectingApp.name],
- );
-
- const inputOnChange = useCallback((value: string) => {
- setAppName(value);
- }, []);
+import useDisconnect from "git/hooks/useDisconnect";
+import useSettings from "git/hooks/useSettings";
+import React from "react";
+import DisconnectModalView from "./DisconnectModalView";
+
+function DisconnectModal() {
+ const {
+ closeDisconnectModal,
+ disconnect,
+ disconnectArtifactName,
+ isDisconnectLoading,
+ isDisconnectModalOpen,
+ } = useDisconnect();
+
+ const { toggleSettingsModal } = useSettings();
return (
- <Modal onOpenChange={onModalOpenValueChange} open={isModalOpen}>
- <StyledModalContent data-testid="t--disconnect-git-modal">
- <ModalHeader>
- {createMessage(GIT_REVOKE_ACCESS, disconnectingApp.name)}
- </ModalHeader>
- <ModalBody>
- <Flex flexDirection="column" gap="spaces-1">
- <Text color={"var(--ads-v2-color-fg-emphasis)"} kind="heading-s">
- {createMessage(
- GIT_TYPE_REPO_NAME_FOR_REVOKING_ACCESS,
- disconnectingApp.name,
- )}
- </Text>
- <Input
- className="t--git-app-name-input"
- label={createMessage(APPLICATION_NAME)}
- onBlur={inputOnBlur}
- onChange={inputOnChange}
- size="md"
- value={appName}
- />
- <Callout kind="error" links={DOCS_LINK_PROPS}>
- {createMessage(NONE_REVERSIBLE_MESSAGE)}
- </Callout>
- </Flex>
- </ModalBody>
- <ModalFooter>
- <Button
- className="t--git-revoke-back-button"
- kind="secondary"
- onClick={onBackClick}
- size="md"
- >
- {createMessage(GO_BACK)}
- </Button>
- <Button
- className="t--git-revoke-button"
- isDisabled={shouldDisableRevokeButton}
- kind="primary"
- onClick={onDisconnectGit}
- size="md"
- >
- {createMessage(REVOKE)}
- </Button>
- </ModalFooter>
- </StyledModalContent>
- </Modal>
+ <DisconnectModalView
+ closeDisconnectModal={closeDisconnectModal}
+ disconnect={disconnect}
+ disconnectArtifactName={disconnectArtifactName}
+ isDisconnectLoading={isDisconnectLoading}
+ isDisconnectModalOpen={isDisconnectModalOpen}
+ toggleSettingsModal={toggleSettingsModal}
+ />
);
}
diff --git a/app/client/src/git/components/GitContextProvider/hooks/useGitContextValue.ts b/app/client/src/git/components/GitContextProvider/hooks/useGitContextValue.ts
index 4a11ca17a73e..9b62bc1ba4cf 100644
--- a/app/client/src/git/components/GitContextProvider/hooks/useGitContextValue.ts
+++ b/app/client/src/git/components/GitContextProvider/hooks/useGitContextValue.ts
@@ -1,15 +1,11 @@
import type { GitArtifactType } from "git/constants/enums";
import type { UseGitConnectReturnValue } from "./useGitConnect";
import type { UseGitOpsReturnValue } from "./useGitOps";
-import type { UseGitSettingsReturnValue } from "./useGitSettings";
import type { UseGitBranchesReturnValue } from "./useGitBranches";
import useGitConnect from "./useGitConnect";
import useGitOps from "./useGitOps";
import useGitBranches from "./useGitBranches";
-import useGitSettings from "./useGitSettings";
import { useMemo } from "react";
-import type { UseGitMetadataReturnValue } from "./useGitMetadata";
-import useGitMetadata from "./useGitMetadata";
// internal dependencies
import type { ApplicationPayload } from "entities/Application";
@@ -20,20 +16,22 @@ export interface UseGitContextValueParams {
artifactType: keyof typeof GitArtifactType;
baseArtifactId: string;
artifact: ApplicationPayload | null;
- connectPermitted: boolean;
statusTransformer: (
status: FetchStatusResponseData,
) => StatusTreeStruct[] | null;
}
export interface GitContextValue
- extends UseGitMetadataReturnValue,
- UseGitConnectReturnValue,
+ extends UseGitConnectReturnValue,
UseGitOpsReturnValue,
- UseGitSettingsReturnValue,
UseGitBranchesReturnValue {
+ artifactType: keyof typeof GitArtifactType;
+ baseArtifactId: string;
+ artifactDef: {
+ artifactType: keyof typeof GitArtifactType;
+ baseArtifactId: string;
+ };
artifact: ApplicationPayload | null;
- connectPermitted: boolean;
statusTransformer: (
status: FetchStatusResponseData,
) => StatusTreeStruct[] | null;
@@ -43,30 +41,27 @@ export default function useGitContextValue({
artifact,
artifactType,
baseArtifactId = "",
- connectPermitted,
statusTransformer,
}: UseGitContextValueParams): GitContextValue {
- const basePayload = useMemo(
+ const artifactDef = useMemo(
() => ({ artifactType, baseArtifactId }),
[artifactType, baseArtifactId],
);
- const useGitMetadataReturnValue = useGitMetadata(basePayload);
- const useGitConnectReturnValue = useGitConnect(basePayload);
+ const useGitConnectReturnValue = useGitConnect(artifactDef);
const useGitOpsReturnValue = useGitOps({
- ...basePayload,
+ ...artifactDef,
artifactId: artifact?.id ?? null,
});
- const useGitBranchesReturnValue = useGitBranches(basePayload);
- const useGitSettingsReturnValue = useGitSettings(basePayload);
+ const useGitBranchesReturnValue = useGitBranches(artifactDef);
return {
+ artifactType,
+ baseArtifactId,
+ artifactDef,
statusTransformer,
artifact,
- connectPermitted,
- ...useGitMetadataReturnValue,
...useGitOpsReturnValue,
...useGitBranchesReturnValue,
...useGitConnectReturnValue,
- ...useGitSettingsReturnValue,
};
}
diff --git a/app/client/src/git/components/GitContextProvider/hooks/useGitMetadata.ts b/app/client/src/git/components/GitContextProvider/hooks/useGitMetadata.ts
index aabc125c8382..e69de29bb2d1 100644
--- a/app/client/src/git/components/GitContextProvider/hooks/useGitMetadata.ts
+++ b/app/client/src/git/components/GitContextProvider/hooks/useGitMetadata.ts
@@ -1,45 +0,0 @@
-import type { GitArtifactType } from "git/constants/enums";
-import type { FetchGitMetadataResponseData } from "git/requests/fetchGitMetadataRequest.types";
-import {
- selectGitConnected,
- selectGitMetadata,
-} from "git/store/selectors/gitSingleArtifactSelectors";
-import type { GitApiError, GitRootState } from "git/store/types";
-import { useMemo } from "react";
-import { useSelector } from "react-redux";
-
-interface UseGitMetadataParams {
- artifactType: keyof typeof GitArtifactType;
- baseArtifactId: string;
-}
-
-export interface UseGitMetadataReturnValue {
- gitMetadata: FetchGitMetadataResponseData | null;
- fetchGitMetadataLoading: boolean;
- fetchGitMetadataError: GitApiError | null;
- gitConnected: boolean;
-}
-
-export default function useGitMetadata({
- artifactType,
- baseArtifactId,
-}: UseGitMetadataParams): UseGitMetadataReturnValue {
- const basePayload = useMemo(
- () => ({ artifactType, baseArtifactId }),
- [artifactType, baseArtifactId],
- );
-
- const gitMetadataState = useSelector((state: GitRootState) =>
- selectGitMetadata(state, basePayload),
- );
- const gitConnected = useSelector((state: GitRootState) =>
- selectGitConnected(state, basePayload),
- );
-
- return {
- gitMetadata: gitMetadataState.value,
- fetchGitMetadataLoading: gitMetadataState.loading ?? false,
- fetchGitMetadataError: gitMetadataState.error,
- gitConnected: gitConnected ?? false,
- };
-}
diff --git a/app/client/src/git/components/GitContextProvider/hooks/useGitSettings.ts b/app/client/src/git/components/GitContextProvider/hooks/useGitSettings.ts
deleted file mode 100644
index 521c2dac72c6..000000000000
--- a/app/client/src/git/components/GitContextProvider/hooks/useGitSettings.ts
+++ /dev/null
@@ -1,93 +0,0 @@
-import type { GitArtifactType, GitSettingsTab } from "git/constants/enums";
-import type { FetchProtectedBranchesResponseData } from "git/requests/fetchProtectedBranchesRequest.types";
-import { gitArtifactActions } from "git/store/gitArtifactSlice";
-import {
- selectAutocommitEnabled,
- selectAutocommitPolling,
- selectProtectedBranches,
- selectProtectedMode,
-} from "git/store/selectors/gitSingleArtifactSelectors";
-import type { GitApiError, GitRootState } from "git/store/types";
-import { useMemo } from "react";
-import { useDispatch, useSelector } from "react-redux";
-
-interface UseGitSettingsParams {
- artifactType: keyof typeof GitArtifactType;
- baseArtifactId: string;
-}
-
-export interface UseGitSettingsReturnValue {
- autocommitEnabled: boolean;
- autocommitPolling: boolean;
- protectedBranches: FetchProtectedBranchesResponseData | null;
- fetchProtectedBranchesLoading: boolean;
- fetchProtectedBranchesError: GitApiError | null;
- fetchProtectedBranches: () => void;
- protectedMode: boolean;
- toggleSettingsModal: (
- open: boolean,
- tab: keyof typeof GitSettingsTab,
- ) => void;
-}
-
-export default function useGitSettings({
- artifactType,
- baseArtifactId,
-}: UseGitSettingsParams): UseGitSettingsReturnValue {
- const dispatch = useDispatch();
- const basePayload = useMemo(
- () => ({ artifactType, baseArtifactId }),
- [artifactType, baseArtifactId],
- );
-
- // autocommit
- const autocommitEnabled = useSelector((state: GitRootState) =>
- selectAutocommitEnabled(state, basePayload),
- );
-
- const autocommitPolling = useSelector((state: GitRootState) =>
- selectAutocommitPolling(state, basePayload),
- );
-
- // branch protection
- const protectedBranchesState = useSelector((state: GitRootState) =>
- selectProtectedBranches(state, basePayload),
- );
-
- const fetchProtectedBranches = () => {
- dispatch(
- gitArtifactActions.fetchProtectedBranchesInit({
- ...basePayload,
- }),
- );
- };
-
- const protectedMode = useSelector((state: GitRootState) =>
- selectProtectedMode(state, basePayload),
- );
-
- // ui
- const toggleSettingsModal = (
- open: boolean,
- tab: keyof typeof GitSettingsTab,
- ) => {
- dispatch(
- gitArtifactActions.toggleSettingsModal({
- ...basePayload,
- open,
- tab,
- }),
- );
- };
-
- return {
- autocommitEnabled: autocommitEnabled ?? false,
- autocommitPolling: autocommitPolling ?? false,
- protectedBranches: protectedBranchesState.value,
- fetchProtectedBranchesLoading: protectedBranchesState.loading ?? false,
- fetchProtectedBranchesError: protectedBranchesState.error,
- fetchProtectedBranches,
- protectedMode: protectedMode ?? false,
- toggleSettingsModal,
- };
-}
diff --git a/app/client/src/git/components/GitContextProvider/index.tsx b/app/client/src/git/components/GitContextProvider/index.tsx
index 59d3094476c5..671f3b66a605 100644
--- a/app/client/src/git/components/GitContextProvider/index.tsx
+++ b/app/client/src/git/components/GitContextProvider/index.tsx
@@ -1,9 +1,7 @@
import React, { createContext, useContext } from "react";
-import type {
- GitContextValue,
- UseGitContextValueParams,
-} from "./hooks/useGitContextValue";
import useGitContextValue from "./hooks/useGitContextValue";
+import type { UseGitContextValueParams } from "./hooks/useGitContextValue";
+import type { GitContextValue } from "./hooks/useGitContextValue";
const gitContextInitialValue = {} as GitContextValue;
@@ -15,8 +13,6 @@ export const useGitContext = () => {
interface GitContextProviderProps extends UseGitContextValueParams {
children: React.ReactNode;
- // extra
- // connectPermitted?: boolean;
}
export default function GitContextProvider({
diff --git a/app/client/src/git/components/GitModals.tsx b/app/client/src/git/components/GitModals.tsx
deleted file mode 100644
index 443943ba736d..000000000000
--- a/app/client/src/git/components/GitModals.tsx
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from "react";
-import ConflictErrorModal from "./ConflictErrorModal";
-import OpsModal from "./OpsModal";
-
-export default function GitModals() {
- return (
- <>
- <OpsModal />
- <ConflictErrorModal />
- </>
- );
-}
diff --git a/app/client/src/git/components/LocalProfile/LocalProfileView.tsx b/app/client/src/git/components/LocalProfile/LocalProfileView.tsx
new file mode 100644
index 000000000000..beefbb66b29f
--- /dev/null
+++ b/app/client/src/git/components/LocalProfile/LocalProfileView.tsx
@@ -0,0 +1,322 @@
+import React, { useCallback, useEffect, useMemo } from "react";
+import {
+ AUTHOR_EMAIL_ONLY,
+ AUTHOR_EMAIL_CANNOT_BE_EMPTY,
+ AUTHOR_NAME_ONLY,
+ AUTHOR_NAME_CANNOT_BE_EMPTY,
+ FORM_VALIDATION_INVALID_EMAIL,
+ GIT_USER_SETTINGS_TITLE,
+ UPDATE,
+ USE_DEFAULT_CONFIGURATION,
+ createMessage,
+} from "ee/constants/messages";
+import styled, { keyframes } from "styled-components";
+import { Button, Input, Switch, Text } from "@appsmith/ads";
+import type { SubmitHandler } from "react-hook-form";
+import { Controller, useForm } from "react-hook-form";
+import { noop, omit } from "lodash";
+import type { FetchLocalProfileResponseData } from "git/requests/fetchLocalProfileRequest.types";
+import type { FetchGlobalProfileResponseData } from "git/requests/fetchGlobalProfileRequest.types";
+
+const Container = styled.div`
+ padding-top: 8px;
+ padding-bottom: 8px;
+`;
+
+const HeadContainer = styled.div`
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ margin-bottom: 12px;
+`;
+
+const BodyContainer = styled.div`
+ display: flex;
+ align-items: flex-end;
+`;
+
+const InputContainer = styled.div`
+ margin-right: 12px;
+ width: 240px;
+`;
+
+const SectionTitle = styled(Text)`
+ font-weight: 600;
+`;
+
+const loadingKeyframe = keyframes`
+ 100% {
+ transform: translateX(100%);
+ }
+`;
+
+const DummyLabel = styled.div`
+ height: 17px;
+ width: 100px;
+ margin-bottom: 8px;
+ border-radius: 4px;
+ background-color: var(--ads-color-black-100);
+ position: relative;
+
+ overflow: hidden;
+
+ &::after {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ transform: translateX(-100%);
+ background-image: linear-gradient(
+ 90deg,
+ rgba(255, 255, 255, 0) 0,
+ rgba(255, 255, 255, 0.5) 20%,
+ rgba(255, 255, 255, 0.8) 60%,
+ rgba(255, 255, 255, 0)
+ );
+ animation: ${loadingKeyframe} 5s infinite;
+ content: "";
+ }
+`;
+
+const DummyInput = styled.div`
+ height: 36px;
+ border-radius: 4px;
+ background-color: linear-gradient(
+ 90deg,
+ var(--ads-color-black-200) 0%,
+ rgba(240, 240, 240, 0) 100%
+ );
+ background-color: var(--ads-color-black-100);
+ position: relative;
+
+ overflow: hidden;
+
+ &::after {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ transform: translateX(-100%);
+ background-image: linear-gradient(
+ 90deg,
+ rgba(255, 255, 255, 0) 0,
+ rgba(255, 255, 255, 0.5) 20%,
+ rgba(255, 255, 255, 0.8) 60%,
+ rgba(255, 255, 255, 0)
+ );
+ animation: ${loadingKeyframe} 5s infinite;
+ content: "";
+ }
+`;
+
+const DummyField = () => {
+ return (
+ <div style={{ width: "100%" }}>
+ <DummyLabel />
+ <DummyInput />
+ </div>
+ );
+};
+
+interface AuthorInfo {
+ authorName: string;
+ authorEmail: string;
+ useGlobalProfile: boolean;
+}
+
+interface LocalProfileProps {
+ fetchGlobalProfile: () => void;
+ fetchLocalProfile: () => void;
+ globalProfile: FetchGlobalProfileResponseData | null;
+ isFetchGlobalProfileLoading: boolean;
+ isFetchLocalProfileLoading: boolean;
+ localProfile: FetchLocalProfileResponseData | null;
+ updateLocalProfile: (data: AuthorInfo) => void;
+}
+
+function LocalProfileView({
+ fetchGlobalProfile = noop,
+ fetchLocalProfile = noop,
+ globalProfile = null,
+ isFetchGlobalProfileLoading = false,
+ isFetchLocalProfileLoading = false,
+ localProfile = null,
+ updateLocalProfile = noop,
+}: LocalProfileProps) {
+ const {
+ control,
+ formState: { errors },
+ handleSubmit,
+ register,
+ setValue,
+ watch,
+ } = useForm<AuthorInfo>();
+
+ const useGlobalProfile = watch("useGlobalProfile");
+ const authorName = watch("authorName");
+ const authorEmail = watch("authorEmail");
+
+ const isLoading = isFetchGlobalProfileLoading || isFetchLocalProfileLoading;
+
+ useEffect(function fetchProfilesOnInitEffect() {
+ fetchGlobalProfile();
+ fetchLocalProfile();
+ }, []);
+
+ useEffect(
+ function setDefaultProfileOnInitEffect() {
+ if (!isLoading) {
+ setValue("useGlobalProfile", !!localProfile?.useGlobalProfile);
+ }
+ },
+ [isLoading, setValue],
+ );
+
+ useEffect(
+ function setValuesOnDefaultProfileChangeEffect() {
+ if (!isLoading) {
+ if (!useGlobalProfile && localProfile) {
+ setValue("authorName", localProfile.authorName);
+ setValue("authorEmail", localProfile.authorEmail);
+ } else if (globalProfile) {
+ setValue("authorName", globalProfile.authorName);
+ setValue("authorEmail", globalProfile.authorEmail);
+ }
+ }
+ },
+ [isLoading, useGlobalProfile],
+ );
+
+ const onSubmit: SubmitHandler<AuthorInfo> = (data) => {
+ if (data.useGlobalProfile && localProfile) {
+ data.authorName = localProfile.authorName;
+ data.authorEmail = localProfile.authorEmail;
+ }
+
+ updateLocalProfile(data);
+ };
+
+ const isSubmitAllowed = useMemo(() => {
+ if (!isLoading) {
+ if (useGlobalProfile) {
+ return (
+ authorName !== globalProfile?.authorName ||
+ authorEmail !== globalProfile?.authorEmail ||
+ useGlobalProfile !== localProfile?.useGlobalProfile
+ );
+ } else {
+ return (
+ authorName !== localProfile?.authorName ||
+ authorEmail !== localProfile?.authorEmail ||
+ useGlobalProfile !== localProfile?.useGlobalProfile
+ );
+ }
+ } else {
+ return false;
+ }
+ }, [
+ isLoading,
+ localProfile,
+ globalProfile,
+ useGlobalProfile,
+ authorName,
+ authorEmail,
+ ]);
+
+ const handleInputChange = useCallback(
+ (key: "authorName" | "authorEmail") => (value: string) => {
+ setValue(key, value);
+ },
+ [setValue],
+ );
+
+ const renderDefaultProfileSwitch = useCallback(
+ ({ field }) => {
+ return (
+ <Switch
+ data-testid="t--git-user-settings-switch"
+ isDisabled={isLoading}
+ {...omit(field, ["value"])}
+ isSelected={field.value}
+ >
+ {createMessage(USE_DEFAULT_CONFIGURATION)}
+ </Switch>
+ );
+ },
+ [isLoading],
+ );
+
+ return (
+ <Container>
+ <form onSubmit={handleSubmit(onSubmit)}>
+ <HeadContainer>
+ <SectionTitle kind="heading-s">
+ {createMessage(GIT_USER_SETTINGS_TITLE)}
+ </SectionTitle>
+ <div>
+ <Controller
+ control={control}
+ name="useGlobalProfile"
+ render={renderDefaultProfileSwitch}
+ />
+ </div>
+ </HeadContainer>
+ <BodyContainer>
+ <InputContainer>
+ {!isLoading ? (
+ <Input
+ data-testid="t--git-user-settings-author-name-input"
+ errorMessage={errors?.authorName?.message}
+ isReadOnly={useGlobalProfile}
+ isValid={!errors?.authorName}
+ label={createMessage(AUTHOR_NAME_ONLY)}
+ size="md"
+ type="text"
+ {...register("authorName", {
+ required: createMessage(AUTHOR_NAME_CANNOT_BE_EMPTY),
+ })}
+ onChange={handleInputChange("authorEmail")}
+ />
+ ) : (
+ <DummyField />
+ )}
+ </InputContainer>
+ <InputContainer>
+ {!isLoading ? (
+ <Input
+ data-testid="t--git-user-settings-author-email-input"
+ errorMessage={errors?.authorEmail?.message}
+ isReadOnly={useGlobalProfile}
+ isValid={!errors?.authorEmail}
+ label={createMessage(AUTHOR_EMAIL_ONLY)}
+ size="md"
+ {...register("authorEmail", {
+ required: createMessage(AUTHOR_EMAIL_CANNOT_BE_EMPTY),
+ pattern: {
+ value: /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/,
+ message: createMessage(FORM_VALIDATION_INVALID_EMAIL),
+ },
+ })}
+ onChange={handleInputChange("authorEmail")}
+ />
+ ) : (
+ <DummyField />
+ )}
+ </InputContainer>
+ <Button
+ isDisabled={!isSubmitAllowed}
+ kind="secondary"
+ size="md"
+ type="submit"
+ >
+ {createMessage(UPDATE)}
+ </Button>
+ </BodyContainer>
+ </form>
+ </Container>
+ );
+}
+
+export default LocalProfileView;
diff --git a/app/client/src/git/components/LocalProfile/index.tsx b/app/client/src/git/components/LocalProfile/index.tsx
new file mode 100644
index 000000000000..221a01ef5969
--- /dev/null
+++ b/app/client/src/git/components/LocalProfile/index.tsx
@@ -0,0 +1,30 @@
+import React from "react";
+import LocalProfileView from "./LocalProfileView";
+import useLocalProfile from "git/hooks/useLocalProfile";
+import useGlobalProfile from "git/hooks/useGlobalProfile";
+
+function LocalProfile() {
+ const {
+ fetchLocalProfile,
+ isFetchLocalProfileLoading,
+ localProfile,
+ updateLocalProfile,
+ } = useLocalProfile();
+
+ const { fetchGlobalProfile, globalProfile, isFetchGlobalProfileLoading } =
+ useGlobalProfile();
+
+ return (
+ <LocalProfileView
+ fetchGlobalProfile={fetchGlobalProfile}
+ fetchLocalProfile={fetchLocalProfile}
+ globalProfile={globalProfile}
+ isFetchGlobalProfileLoading={isFetchGlobalProfileLoading}
+ isFetchLocalProfileLoading={isFetchLocalProfileLoading}
+ localProfile={localProfile}
+ updateLocalProfile={updateLocalProfile}
+ />
+ );
+}
+
+export default LocalProfile;
diff --git a/app/client/src/git/components/OpsModal/TabDeploy/index.tsx b/app/client/src/git/components/OpsModal/TabDeploy/index.tsx
index e363f571f4fe..53d1a8f4c6af 100644
--- a/app/client/src/git/components/OpsModal/TabDeploy/index.tsx
+++ b/app/client/src/git/components/OpsModal/TabDeploy/index.tsx
@@ -1,6 +1,7 @@
import React from "react";
import TabDeployView from "./TabDeployView";
import { useGitContext } from "git/components/GitContextProvider";
+import useMetadata from "git/hooks/useMetadata";
export default function TabDeploy() {
const {
@@ -15,18 +16,18 @@ export default function TabDeploy() {
discardError,
discardLoading,
fetchStatusLoading,
- gitMetadata,
pull,
pullError,
pullLoading,
status,
} = useGitContext();
+ const { metadata } = useMetadata();
const lastDeployedAt = artifact?.lastDeployedAt ?? null;
const isPullFailing = !!pullError;
const statusIsClean = status?.isClean ?? false;
const statusBehindCount = status?.behindCount ?? 0;
- const remoteUrl = gitMetadata?.remoteUrl ?? "";
+ const remoteUrl = metadata?.remoteUrl ?? null;
return (
<TabDeployView
diff --git a/app/client/src/git/components/OpsModal/TabMerge/index.tsx b/app/client/src/git/components/OpsModal/TabMerge/index.tsx
index 204cf25093f3..adeb24ee9914 100644
--- a/app/client/src/git/components/OpsModal/TabMerge/index.tsx
+++ b/app/client/src/git/components/OpsModal/TabMerge/index.tsx
@@ -1,6 +1,7 @@
import React from "react";
import TabMergeView from "./TabMergeView";
import { useGitContext } from "git/components/GitContextProvider";
+import useProtectedBranches from "git/hooks/useProtectedBranches";
export default function TabMerge() {
const {
@@ -16,9 +17,9 @@ export default function TabMerge() {
mergeError,
mergeLoading,
mergeStatus,
- protectedBranches,
status,
} = useGitContext();
+ const { protectedBranches } = useProtectedBranches();
const isStatusClean = status?.isClean ?? false;
diff --git a/app/client/src/git/components/OpsModal/index.tsx b/app/client/src/git/components/OpsModal/index.tsx
index a44e20e5f1ef..1450d74cf7e8 100644
--- a/app/client/src/git/components/OpsModal/index.tsx
+++ b/app/client/src/git/components/OpsModal/index.tsx
@@ -1,24 +1,23 @@
import React from "react";
import OpsModalView from "./OpsModalView";
import { useGitContext } from "../GitContextProvider";
+import useProtectedBranches from "git/hooks/useProtectedBranches";
+import useMetadata from "git/hooks/useMetadata";
export default function OpsModal() {
- const {
- fetchStatus,
- gitMetadata,
- opsModalOpen,
- opsModalTab,
- protectedMode,
- toggleOpsModal,
- } = useGitContext();
+ const { fetchStatus, opsModalOpen, opsModalTab, toggleOpsModal } =
+ useGitContext();
+ const { isProtectedMode } = useProtectedBranches();
- const repoName = gitMetadata?.repoName ?? null;
+ const { metadata } = useMetadata();
+
+ const repoName = metadata?.repoName ?? null;
return (
<OpsModalView
fetchStatus={fetchStatus}
isOpsModalOpen={opsModalOpen}
- isProtectedMode={protectedMode}
+ isProtectedMode={isProtectedMode}
opsModalTab={opsModalTab}
repoName={repoName}
toggleOpsModal={toggleOpsModal}
diff --git a/app/client/src/git/components/ProtectedBranches/ProtectedBranchesView.tsx b/app/client/src/git/components/ProtectedBranches/ProtectedBranchesView.tsx
new file mode 100644
index 000000000000..1eed46b4b595
--- /dev/null
+++ b/app/client/src/git/components/ProtectedBranches/ProtectedBranchesView.tsx
@@ -0,0 +1,207 @@
+import {
+ APPSMITH_ENTERPRISE,
+ BRANCH_PROTECTION,
+ BRANCH_PROTECTION_DESC,
+ LEARN_MORE,
+ UPDATE,
+ createMessage,
+} from "ee/constants/messages";
+import { Button, Link, Option, Select, Text } from "@appsmith/ads";
+import React, { useCallback, useEffect, useMemo, useState } from "react";
+import styled from "styled-components";
+import AnalyticsUtil from "ee/utils/AnalyticsUtil";
+import { DOCS_BRANCH_PROTECTION_URL } from "constants/ThirdPartyConstants";
+import { GIT_REMOTE_BRANCH_PREFIX } from "git/constants/misc";
+import { useAppsmithEnterpriseUrl } from "git/hooks/useAppsmithEnterpriseUrl";
+import type { FetchBranchesResponseData } from "git/requests/fetchBranchesRequest.types";
+import xor from "lodash/xor";
+import noop from "lodash/noop";
+import type { FetchProtectedBranchesResponseData } from "git/requests/fetchProtectedBranchesRequest.types";
+
+const Container = styled.div`
+ padding-top: 16px;
+ padding-bottom: 16px;
+`;
+
+const HeadContainer = styled.div`
+ margin-bottom: 16px;
+`;
+
+const BodyContainer = styled.div`
+ display: flex;
+`;
+
+const SectionTitle = styled(Text)`
+ font-weight: 600;
+ margin-bottom: 4px;
+`;
+
+const SectionDesc = styled(Text)`
+ margin-bottom: 4px;
+`;
+
+const StyledSelect = styled(Select)`
+ width: 300px;
+ margin-right: 12px;
+`;
+
+const StyledLink = styled(Link)`
+ display: inline-flex;
+`;
+
+interface ProtectedBranchesViewProps {
+ branches: FetchBranchesResponseData | null;
+ defaultBranch: string | null;
+ isProtectedBranchesLicensed: boolean;
+ isUpdateProtectedBranchesLoading: boolean;
+ protectedBranches: FetchProtectedBranchesResponseData | null;
+ updateProtectedBranches?: (branches: string[]) => void;
+}
+
+function ProtectedBranchesView({
+ branches = null,
+ defaultBranch = null,
+ isProtectedBranchesLicensed = false,
+ isUpdateProtectedBranchesLoading = false,
+ protectedBranches = null,
+ updateProtectedBranches = noop,
+}: ProtectedBranchesViewProps) {
+ const [selectedValues, setSelectedValues] = useState<string[]>([]);
+
+ const filteredBranches = useMemo(() => {
+ const returnVal: string[] = [];
+
+ for (const branch of branches ?? []) {
+ if (branch.branchName === defaultBranch) {
+ returnVal.unshift(branch.branchName);
+ } else if (branch.branchName.includes(GIT_REMOTE_BRANCH_PREFIX)) {
+ const localBranchName = branch.branchName.replace(
+ GIT_REMOTE_BRANCH_PREFIX,
+ "",
+ );
+
+ if (!returnVal.includes(localBranchName)) {
+ returnVal.push(
+ branch.branchName.replace(GIT_REMOTE_BRANCH_PREFIX, ""),
+ );
+ }
+ } else {
+ returnVal.push(branch.branchName);
+ }
+ }
+
+ return returnVal;
+ }, [branches, defaultBranch]);
+
+ const isUpdateDisabled = useMemo(() => {
+ const areDifferent = xor(protectedBranches, selectedValues).length > 0;
+
+ return !areDifferent;
+ }, [protectedBranches, selectedValues]);
+
+ const enterprisePricingUrl = useAppsmithEnterpriseUrl(
+ "git_branch_protection",
+ );
+
+ useEffect(
+ function setValueOnInit() {
+ setSelectedValues(protectedBranches ?? []);
+ },
+ [protectedBranches],
+ );
+
+ const sendAnalyticsEvent = useCallback(() => {
+ const eventData = {
+ branches_added: [] as string[],
+ branches_removed: [] as string[],
+ protected_branches: selectedValues,
+ };
+
+ for (const val of selectedValues) {
+ if (!protectedBranches?.includes(val)) {
+ eventData.branches_added.push(val);
+ }
+ }
+
+ for (const val of protectedBranches ?? []) {
+ if (!selectedValues.includes(val)) {
+ eventData.branches_removed.push(val);
+ }
+ }
+
+ AnalyticsUtil.logEvent("GS_PROTECTED_BRANCHES_UPDATE", eventData);
+ }, [protectedBranches, selectedValues]);
+
+ const handleUpdate = useCallback(() => {
+ sendAnalyticsEvent();
+ updateProtectedBranches(selectedValues ?? []);
+ }, [selectedValues, sendAnalyticsEvent, updateProtectedBranches]);
+
+ const handleGetPopupContainer = useCallback(
+ (triggerNode) => triggerNode.parentNode,
+ [],
+ );
+
+ return (
+ <Container>
+ <HeadContainer>
+ <SectionTitle kind="heading-s" renderAs="h3">
+ {createMessage(BRANCH_PROTECTION)}
+ </SectionTitle>
+ <SectionDesc kind="body-m" renderAs="p">
+ {createMessage(BRANCH_PROTECTION_DESC)}{" "}
+ <StyledLink target="_blank" to={DOCS_BRANCH_PROTECTION_URL}>
+ {createMessage(LEARN_MORE)}
+ </StyledLink>
+ </SectionDesc>
+ {!isProtectedBranchesLicensed && (
+ <SectionDesc kind="body-m" renderAs="p">
+ To protect multiple branches, try{" "}
+ <StyledLink
+ kind="primary"
+ target="_blank"
+ to={enterprisePricingUrl}
+ >
+ {createMessage(APPSMITH_ENTERPRISE)}
+ </StyledLink>
+ </SectionDesc>
+ )}
+ </HeadContainer>
+ <BodyContainer>
+ <StyledSelect
+ data-testid="t--git-protected-branches-select"
+ dropdownMatchSelectWidth
+ getPopupContainer={handleGetPopupContainer}
+ isMultiSelect
+ maxTagTextLength={8}
+ onChange={setSelectedValues}
+ value={selectedValues}
+ >
+ {filteredBranches.map((branchName) => (
+ <Option
+ disabled={
+ !isProtectedBranchesLicensed && branchName !== defaultBranch
+ }
+ key={branchName}
+ value={branchName}
+ >
+ {branchName}
+ </Option>
+ ))}
+ </StyledSelect>
+ <Button
+ data-testid="t--git-protected-branches-update-btn"
+ isDisabled={isUpdateDisabled}
+ isLoading={isUpdateProtectedBranchesLoading}
+ kind="secondary"
+ onClick={handleUpdate}
+ size="md"
+ >
+ {createMessage(UPDATE)}
+ </Button>
+ </BodyContainer>
+ </Container>
+ );
+}
+
+export default ProtectedBranchesView;
diff --git a/app/client/src/git/components/ProtectedBranches/index.tsx b/app/client/src/git/components/ProtectedBranches/index.tsx
new file mode 100644
index 000000000000..7da03a947e51
--- /dev/null
+++ b/app/client/src/git/components/ProtectedBranches/index.tsx
@@ -0,0 +1,30 @@
+import React from "react";
+import ProtectedBranchesView from "./ProtectedBranchesView";
+import { useGitContext } from "../GitContextProvider";
+import useProtectedBranches from "git/hooks/useProtectedBranches";
+import useGitFeatureFlags from "git/hooks/useGitFeatureFlags";
+import useDefaultBranch from "git/ee/hooks/useDefaultBranch";
+
+function ProtectedBranches() {
+ const { branches } = useGitContext();
+ const { defaultBranch } = useDefaultBranch();
+ const {
+ isUpdateProtectedBranchesLoading,
+ protectedBranches,
+ updateProtectedBranches,
+ } = useProtectedBranches();
+ const { license_git_branch_protection_enabled } = useGitFeatureFlags();
+
+ return (
+ <ProtectedBranchesView
+ branches={branches}
+ defaultBranch={defaultBranch}
+ isProtectedBranchesLicensed={license_git_branch_protection_enabled}
+ isUpdateProtectedBranchesLoading={isUpdateProtectedBranchesLoading}
+ protectedBranches={protectedBranches}
+ updateProtectedBranches={updateProtectedBranches}
+ />
+ );
+}
+
+export default ProtectedBranches;
diff --git a/app/client/src/git/components/QuickActions/index.tsx b/app/client/src/git/components/QuickActions/index.tsx
index 4e6d8a7a9985..88055bc5ccb4 100644
--- a/app/client/src/git/components/QuickActions/index.tsx
+++ b/app/client/src/git/components/QuickActions/index.tsx
@@ -2,26 +2,30 @@ import React from "react";
import QuickActionsView from "./QuickActionsView";
import { useGitContext } from "../GitContextProvider";
import useStatusChangeCount from "./hooks/useStatusChangeCount";
+import useProtectedBranches from "git/hooks/useProtectedBranches";
+import useGitPermissions from "git/hooks/useGitPermissions";
+import useAutocommit from "git/hooks/useAutocommit";
+import useSettings from "git/hooks/useSettings";
+import useMetadata from "git/hooks/useMetadata";
function QuickActions() {
const {
- autocommitEnabled,
- autocommitPolling,
discard,
discardLoading,
fetchStatusLoading,
- gitConnected,
- protectedMode,
pull,
pullError,
pullLoading,
status,
toggleConnectModal,
toggleOpsModal,
- toggleSettingsModal,
} = useGitContext();
+ const { isGitConnected } = useMetadata();
+ const { isProtectedMode } = useProtectedBranches();
+ const { isConnectPermitted } = useGitPermissions();
+ const { isAutocommitEnabled, isAutocommitPolling } = useAutocommit();
+ const { toggleSettingsModal } = useSettings();
- const connectPermitted = true;
const isPullFailing = !!pullError;
const isStatusClean = status?.isClean ?? false;
const statusBehindCount = status?.behindCount ?? 0;
@@ -30,13 +34,13 @@ function QuickActions() {
return (
<QuickActionsView
discard={discard}
- isAutocommitEnabled={autocommitEnabled}
- isAutocommitPolling={autocommitPolling}
- isConnectPermitted={connectPermitted}
+ isAutocommitEnabled={isAutocommitEnabled}
+ isAutocommitPolling={isAutocommitPolling}
+ isConnectPermitted={isConnectPermitted}
isDiscardLoading={discardLoading}
isFetchStatusLoading={fetchStatusLoading}
- isGitConnected={gitConnected}
- isProtectedMode={protectedMode}
+ isGitConnected={isGitConnected}
+ isProtectedMode={isProtectedMode}
isPullFailing={isPullFailing}
isPullLoading={pullLoading}
isStatusClean={isStatusClean}
diff --git a/app/client/src/git/components/SettingsModal/SettingsModalView.tsx b/app/client/src/git/components/SettingsModal/SettingsModalView.tsx
new file mode 100644
index 000000000000..84693bcc90a3
--- /dev/null
+++ b/app/client/src/git/components/SettingsModal/SettingsModalView.tsx
@@ -0,0 +1,114 @@
+import React, { useCallback } from "react";
+
+import {
+ Modal,
+ ModalBody,
+ ModalContent,
+ ModalHeader,
+ Tab,
+ Tabs,
+ TabsList,
+} from "@appsmith/ads";
+import styled from "styled-components";
+import {
+ BRANCH,
+ CONTINUOUS_DELIVERY,
+ GENERAL,
+ SETTINGS_GIT,
+ createMessage,
+} from "ee/constants/messages";
+import TabGeneral from "./TabGeneral";
+import TabBranch from "./TabBranch";
+import { GitSettingsTab } from "git/constants/enums";
+import TabContinuousDelivery from "./TabContinuousDelivery";
+import noop from "lodash/noop";
+
+const StyledModalContent = styled(ModalContent)`
+ &&& {
+ width: 600px;
+ transform: none !important;
+ top: 100px;
+ left: calc(50% - 300px);
+ max-height: calc(100vh - 200px);
+ }
+`;
+
+interface SettingsModalViewProps {
+ isConnectPermitted: boolean;
+ isManageAutocommitPermitted: boolean;
+ isManageDefaultBranchPermitted: boolean;
+ isManageProtectedBranchesPermitted: boolean;
+ isSettingsModalOpen: boolean;
+ settingsModalTab: keyof typeof GitSettingsTab;
+ toggleSettingsModal: (
+ open: boolean,
+ tab?: keyof typeof GitSettingsTab,
+ ) => void;
+}
+
+function SettingsModalView({
+ isConnectPermitted = false,
+ isManageAutocommitPermitted = false,
+ isManageDefaultBranchPermitted = false,
+ isManageProtectedBranchesPermitted = false,
+ isSettingsModalOpen = false,
+ settingsModalTab = GitSettingsTab.General,
+ toggleSettingsModal = noop,
+}: SettingsModalViewProps) {
+ const showBranchTab =
+ isManageDefaultBranchPermitted || isManageProtectedBranchesPermitted;
+
+ const handleTabKeyChange = useCallback(
+ (tabKey: string) => {
+ toggleSettingsModal(true, tabKey as GitSettingsTab);
+ },
+ [toggleSettingsModal],
+ );
+
+ return (
+ <Modal onOpenChange={toggleSettingsModal} open={isSettingsModalOpen}>
+ <StyledModalContent data-testid="t--git-settings-modal">
+ <ModalHeader>{createMessage(SETTINGS_GIT)}</ModalHeader>
+ <Tabs onValueChange={handleTabKeyChange} value={settingsModalTab}>
+ <TabsList>
+ <Tab data-testid={"t--tab-general"} value={GitSettingsTab.General}>
+ {createMessage(GENERAL)}
+ </Tab>
+ {showBranchTab && (
+ <Tab data-testid={"t--tab-branch"} value={GitSettingsTab.Branch}>
+ {createMessage(BRANCH)}
+ </Tab>
+ )}
+ <Tab
+ data-testid={"t--tab-cd"}
+ value={GitSettingsTab.ContinuousDelivery}
+ >
+ {createMessage(CONTINUOUS_DELIVERY)}
+ </Tab>
+ </TabsList>
+ </Tabs>
+ <ModalBody>
+ {settingsModalTab === GitSettingsTab.General && (
+ <TabGeneral
+ isConnectPermitted={isConnectPermitted}
+ isManageAutocommitPermitted={isManageAutocommitPermitted}
+ />
+ )}
+ {settingsModalTab === GitSettingsTab.Branch && (
+ <TabBranch
+ isManageDefaultBranchPermitted={isManageDefaultBranchPermitted}
+ isManageProtectedBranchesPermitted={
+ isManageProtectedBranchesPermitted
+ }
+ />
+ )}
+ {settingsModalTab === GitSettingsTab.ContinuousDelivery && (
+ <TabContinuousDelivery />
+ )}
+ </ModalBody>
+ </StyledModalContent>
+ </Modal>
+ );
+}
+
+export default SettingsModalView;
diff --git a/app/client/src/git/components/SettingsModal/TabBranch/index.tsx b/app/client/src/git/components/SettingsModal/TabBranch/index.tsx
new file mode 100644
index 000000000000..559685801b09
--- /dev/null
+++ b/app/client/src/git/components/SettingsModal/TabBranch/index.tsx
@@ -0,0 +1,30 @@
+import React from "react";
+import styled from "styled-components";
+import ProtectedBranches from "../../ProtectedBranches";
+import DefaultBranch from "git/ee/components/DefaultBranch";
+
+const Container = styled.div`
+ overflow: auto;
+`;
+
+interface TabBranchProps {
+ isManageDefaultBranchPermitted: boolean;
+ isManageProtectedBranchesPermitted: boolean;
+}
+
+function TabBranch({
+ isManageDefaultBranchPermitted = false,
+ isManageProtectedBranchesPermitted = false,
+}: TabBranchProps) {
+ const showDefaultBranch = isManageDefaultBranchPermitted;
+ const showProtectedBranches = isManageProtectedBranchesPermitted;
+
+ return (
+ <Container>
+ {showDefaultBranch && <DefaultBranch />}
+ {showProtectedBranches && <ProtectedBranches />}
+ </Container>
+ );
+}
+
+export default TabBranch;
diff --git a/app/client/src/git/components/SettingsModal/TabContinuousDelivery/index.tsx b/app/client/src/git/components/SettingsModal/TabContinuousDelivery/index.tsx
new file mode 100644
index 000000000000..f42a4bb11412
--- /dev/null
+++ b/app/client/src/git/components/SettingsModal/TabContinuousDelivery/index.tsx
@@ -0,0 +1,8 @@
+import React from "react";
+import ContinuousDelivery from "git/ee/components/ContinuousDelivery";
+
+function TabContinuosDelivery() {
+ return <ContinuousDelivery />;
+}
+
+export default TabContinuosDelivery;
diff --git a/app/client/src/git/components/SettingsModal/TabGeneral/index.tsx b/app/client/src/git/components/SettingsModal/TabGeneral/index.tsx
new file mode 100644
index 000000000000..7a534137669b
--- /dev/null
+++ b/app/client/src/git/components/SettingsModal/TabGeneral/index.tsx
@@ -0,0 +1,29 @@
+import React from "react";
+import LocalProfile from "../../LocalProfile";
+import DangerZone from "../../DangerZone";
+import styled from "styled-components";
+
+const Container = styled.div`
+ overflow: auto;
+`;
+
+interface TabGeneralProps {
+ isConnectPermitted: boolean;
+ isManageAutocommitPermitted: boolean;
+}
+
+function TabGeneral({
+ isConnectPermitted = false,
+ isManageAutocommitPermitted = false,
+}: TabGeneralProps) {
+ const showDangerZone = isConnectPermitted || isManageAutocommitPermitted;
+
+ return (
+ <Container>
+ <LocalProfile />
+ {showDangerZone && <DangerZone />}
+ </Container>
+ );
+}
+
+export default TabGeneral;
diff --git a/app/client/src/git/components/SettingsModal/index.tsx b/app/client/src/git/components/SettingsModal/index.tsx
new file mode 100644
index 000000000000..47ca695ab500
--- /dev/null
+++ b/app/client/src/git/components/SettingsModal/index.tsx
@@ -0,0 +1,30 @@
+import React from "react";
+import SettingsModalView from "./SettingsModalView";
+import useGitPermissions from "git/hooks/useGitPermissions";
+import useSettings from "git/hooks/useSettings";
+
+function SettingsModal() {
+ const { isSettingsModalOpen, settingsModalTab, toggleSettingsModal } =
+ useSettings();
+
+ const {
+ isConnectPermitted,
+ isManageAutocommitPermitted,
+ isManageDefaultBranchPermitted,
+ isManageProtectedBranchesPermitted,
+ } = useGitPermissions();
+
+ return (
+ <SettingsModalView
+ isConnectPermitted={isConnectPermitted}
+ isManageAutocommitPermitted={isManageAutocommitPermitted}
+ isManageDefaultBranchPermitted={isManageDefaultBranchPermitted}
+ isManageProtectedBranchesPermitted={isManageProtectedBranchesPermitted}
+ isSettingsModalOpen={isSettingsModalOpen}
+ settingsModalTab={settingsModalTab}
+ toggleSettingsModal={toggleSettingsModal}
+ />
+ );
+}
+
+export default SettingsModal;
diff --git a/app/client/src/git/components/index.tsx b/app/client/src/git/components/index.tsx
index ec1d504d030a..1de56f66d1e0 100644
--- a/app/client/src/git/components/index.tsx
+++ b/app/client/src/git/components/index.tsx
@@ -1,2 +1,2 @@
-export { default as GitModals } from "./GitModals";
+export { default as GitModals } from "git/ee/components/GitModals";
export { default as GitQuickActions } from "./QuickActions";
diff --git a/app/client/src/git/constants/enums.ts b/app/client/src/git/constants/enums.ts
index 848521ee58ad..244f2237a760 100644
--- a/app/client/src/git/constants/enums.ts
+++ b/app/client/src/git/constants/enums.ts
@@ -24,6 +24,7 @@ export enum GitOpsTab {
export enum GitSettingsTab {
General = "General",
Branch = "Branch",
+ ContinuousDelivery = "ContinuousDelivery",
}
export enum AutocommitStatusState {
diff --git a/app/client/src/git/constants/misc.ts b/app/client/src/git/constants/misc.ts
index 41621dc726c8..e78ac729c738 100644
--- a/app/client/src/git/constants/misc.ts
+++ b/app/client/src/git/constants/misc.ts
@@ -1 +1,3 @@
+export const GIT_REMOTE_BRANCH_PREFIX = "origin/";
+
export const GIT_BRANCH_QUERY_KEY = "branch";
diff --git a/app/client/src/git/ee/components/ContinuousDelivery/CDUnLicensed/index.tsx b/app/client/src/git/ee/components/ContinuousDelivery/CDUnLicensed/index.tsx
new file mode 100644
index 000000000000..4cd038c19dfe
--- /dev/null
+++ b/app/client/src/git/ee/components/ContinuousDelivery/CDUnLicensed/index.tsx
@@ -0,0 +1 @@
+export { default } from "git/ce/components/ContinuousDelivery/CDUnLicensed";
diff --git a/app/client/src/git/ee/components/ContinuousDelivery/index.tsx b/app/client/src/git/ee/components/ContinuousDelivery/index.tsx
new file mode 100644
index 000000000000..db73f3553add
--- /dev/null
+++ b/app/client/src/git/ee/components/ContinuousDelivery/index.tsx
@@ -0,0 +1 @@
+export { default } from "git/ce/components/ContinuousDelivery";
diff --git a/app/client/src/git/ee/components/DefaultBranch/index.tsx b/app/client/src/git/ee/components/DefaultBranch/index.tsx
new file mode 100644
index 000000000000..8f607db275ed
--- /dev/null
+++ b/app/client/src/git/ee/components/DefaultBranch/index.tsx
@@ -0,0 +1 @@
+export { default } from "git/ce/components/DefaultBranch";
diff --git a/app/client/src/git/ee/components/GitModals/index.tsx b/app/client/src/git/ee/components/GitModals/index.tsx
new file mode 100644
index 000000000000..3c70bddffe10
--- /dev/null
+++ b/app/client/src/git/ee/components/GitModals/index.tsx
@@ -0,0 +1 @@
+export { default } from "git/ce/components/GitModals";
diff --git a/app/client/src/git/ee/hooks/useDefaultBranch.ts b/app/client/src/git/ee/hooks/useDefaultBranch.ts
new file mode 100644
index 000000000000..0337ec9f6600
--- /dev/null
+++ b/app/client/src/git/ee/hooks/useDefaultBranch.ts
@@ -0,0 +1 @@
+export { default } from "git/ce/hooks/useDefaultBranch";
diff --git a/app/client/src/git/ee/sagas/index.ts b/app/client/src/git/ee/sagas/index.ts
new file mode 100644
index 000000000000..e2e51a6c89fd
--- /dev/null
+++ b/app/client/src/git/ee/sagas/index.ts
@@ -0,0 +1 @@
+export * from "git/ce/sagas";
diff --git a/app/client/src/git/ee/store/actions/index.ts b/app/client/src/git/ee/store/actions/index.ts
new file mode 100644
index 000000000000..f668b546032a
--- /dev/null
+++ b/app/client/src/git/ee/store/actions/index.ts
@@ -0,0 +1 @@
+export * from "git/ce/store/actions";
diff --git a/app/client/src/git/ee/store/helpers/initialState.ts b/app/client/src/git/ee/store/helpers/initialState.ts
new file mode 100644
index 000000000000..56d5d4e5f0cc
--- /dev/null
+++ b/app/client/src/git/ee/store/helpers/initialState.ts
@@ -0,0 +1 @@
+export * from "git/ce/store/helpers/initialState";
diff --git a/app/client/src/git/ee/store/selectors/gitArtifactSelectors.ts b/app/client/src/git/ee/store/selectors/gitArtifactSelectors.ts
new file mode 100644
index 000000000000..b8d74236d065
--- /dev/null
+++ b/app/client/src/git/ee/store/selectors/gitArtifactSelectors.ts
@@ -0,0 +1 @@
+export * from "git/ce/store/selectors/gitArtifactSelectors";
diff --git a/app/client/src/git/ee/store/types.ts b/app/client/src/git/ee/store/types.ts
new file mode 100644
index 000000000000..67f9996d0639
--- /dev/null
+++ b/app/client/src/git/ee/store/types.ts
@@ -0,0 +1 @@
+export type * from "git/ce/store/types";
diff --git a/app/client/src/git/hooks/useAppsmithEnterpriseUrl.ts b/app/client/src/git/hooks/useAppsmithEnterpriseUrl.ts
new file mode 100644
index 000000000000..7313c2bb1e71
--- /dev/null
+++ b/app/client/src/git/hooks/useAppsmithEnterpriseUrl.ts
@@ -0,0 +1,23 @@
+import { getInstanceId } from "ee/selectors/tenantSelectors";
+import { useSelector } from "react-redux";
+import { ENTERPRISE_PRICING_PAGE } from "constants/ThirdPartyConstants";
+import { useMemo } from "react";
+import { getUserSource } from "ee/utils/AnalyticsUtil";
+
+export const useAppsmithEnterpriseUrl = (feature: string) => {
+ const instanceId = useSelector(getInstanceId);
+ const source = getUserSource();
+ const constructedUrl = useMemo(() => {
+ const url = new URL(ENTERPRISE_PRICING_PAGE);
+
+ if (source) url.searchParams.append("source", source);
+
+ if (instanceId) url.searchParams.append("instance", instanceId);
+
+ if (feature) url.searchParams.append("feature", feature);
+
+ return url.href;
+ }, [source, instanceId, feature]);
+
+ return constructedUrl;
+};
diff --git a/app/client/src/git/hooks/useAutocommit.ts b/app/client/src/git/hooks/useAutocommit.ts
new file mode 100644
index 000000000000..b342b7442b29
--- /dev/null
+++ b/app/client/src/git/hooks/useAutocommit.ts
@@ -0,0 +1,58 @@
+import { useGitContext } from "git/components/GitContextProvider";
+import { gitArtifactActions } from "git/store/gitArtifactSlice";
+import {
+ selectAutocommitDisableModalOpen,
+ selectAutocommitEnabled,
+ selectAutocommitPolling,
+ selectToggleAutocommitState,
+} from "git/store/selectors/gitSingleArtifactSelectors";
+import type { GitRootState } from "git/store/types";
+import { useCallback } from "react";
+import { useDispatch, useSelector } from "react-redux";
+
+export default function useAutocommit() {
+ const { artifactDef } = useGitContext();
+ const dispatch = useDispatch();
+
+ const toggleAutocommitState = useSelector((state: GitRootState) =>
+ selectToggleAutocommitState(state, artifactDef),
+ );
+
+ const toggleAutocommit = useCallback(() => {
+ dispatch(gitArtifactActions.toggleAutocommitInit(artifactDef));
+ }, [artifactDef, dispatch]);
+
+ const isAutocommitDisableModalOpen = useSelector((state: GitRootState) =>
+ selectAutocommitDisableModalOpen(state, artifactDef),
+ );
+
+ const toggleAutocommitDisableModal = useCallback(
+ (open: boolean) => {
+ dispatch(
+ gitArtifactActions.toggleAutocommitDisableModal({
+ ...artifactDef,
+ open,
+ }),
+ );
+ },
+ [artifactDef, dispatch],
+ );
+
+ const isAutocommitEnabled = useSelector((state: GitRootState) =>
+ selectAutocommitEnabled(state, artifactDef),
+ );
+
+ const isAutocommitPolling = useSelector((state: GitRootState) =>
+ selectAutocommitPolling(state, artifactDef),
+ );
+
+ return {
+ isToggleAutocommitLoading: toggleAutocommitState?.loading ?? false,
+ toggleAutocommitError: toggleAutocommitState?.error ?? null,
+ toggleAutocommit,
+ isAutocommitDisableModalOpen,
+ toggleAutocommitDisableModal,
+ isAutocommitEnabled,
+ isAutocommitPolling,
+ };
+}
diff --git a/app/client/src/git/hooks/useDisconnect.ts b/app/client/src/git/hooks/useDisconnect.ts
new file mode 100644
index 000000000000..36dfd2cf8cf9
--- /dev/null
+++ b/app/client/src/git/hooks/useDisconnect.ts
@@ -0,0 +1,54 @@
+import { useGitContext } from "git/components/GitContextProvider";
+import { gitArtifactActions } from "git/store/gitArtifactSlice";
+import {
+ selectDisconnectArtifactName,
+ selectDisconnectBaseArtifactId,
+ selectDisconnectState,
+} from "git/store/selectors/gitSingleArtifactSelectors";
+import type { GitRootState } from "git/store/types";
+import { useCallback } from "react";
+import { useDispatch, useSelector } from "react-redux";
+
+export default function useDisconnect() {
+ const { artifact, artifactDef } = useGitContext();
+ const artifactName = artifact?.name ?? "";
+
+ const dispatch = useDispatch();
+
+ const disconnectState = useSelector((state: GitRootState) =>
+ selectDisconnectState(state, artifactDef),
+ );
+
+ const disconnect = useCallback(() => {
+ dispatch(gitArtifactActions.disconnectInit(artifactDef));
+ }, [artifactDef, dispatch]);
+
+ const disconnectBaseArtifactId = useSelector((state: GitRootState) =>
+ selectDisconnectBaseArtifactId(state, artifactDef),
+ );
+
+ const disconnectArtifactName = useSelector((state: GitRootState) =>
+ selectDisconnectArtifactName(state, artifactDef),
+ );
+
+ const openDisconnectModal = useCallback(() => {
+ dispatch(
+ gitArtifactActions.openDisconnectModal({ ...artifactDef, artifactName }),
+ );
+ }, [artifactDef, artifactName, dispatch]);
+
+ const closeDisconnectModal = useCallback(() => {
+ dispatch(gitArtifactActions.closeDisconnectModal(artifactDef));
+ }, [artifactDef, dispatch]);
+
+ return {
+ isDisconnectLoading: disconnectState?.loading ?? false,
+ disconnectError: disconnectState?.error ?? null,
+ disconnect,
+ isDisconnectModalOpen: !!disconnectBaseArtifactId,
+ disconnectBaseArtifactId,
+ disconnectArtifactName,
+ openDisconnectModal,
+ closeDisconnectModal,
+ };
+}
diff --git a/app/client/src/git/hooks/useGitFeatureFlags.ts b/app/client/src/git/hooks/useGitFeatureFlags.ts
new file mode 100644
index 000000000000..ea13f756a796
--- /dev/null
+++ b/app/client/src/git/hooks/useGitFeatureFlags.ts
@@ -0,0 +1,16 @@
+import { FEATURE_FLAG } from "ee/entities/FeatureFlag";
+import { useFeatureFlag } from "utils/hooks/useFeatureFlag";
+
+export default function useGitFeatureFlags() {
+ const license_git_branch_protection_enabled = useFeatureFlag(
+ FEATURE_FLAG.license_git_branch_protection_enabled,
+ );
+ const license_git_continuous_delivery_enabled = useFeatureFlag(
+ FEATURE_FLAG.license_git_continuous_delivery_enabled,
+ );
+
+ return {
+ license_git_branch_protection_enabled,
+ license_git_continuous_delivery_enabled,
+ };
+}
diff --git a/app/client/src/git/hooks/useGitPermissions.ts b/app/client/src/git/hooks/useGitPermissions.ts
new file mode 100644
index 000000000000..3279dcd3e00e
--- /dev/null
+++ b/app/client/src/git/hooks/useGitPermissions.ts
@@ -0,0 +1,61 @@
+import {
+ hasConnectToGitPermission,
+ hasManageAutoCommitPermission,
+ hasManageDefaultBranchPermission,
+ hasManageProtectedBranchesPermission,
+} from "ee/utils/permissionHelpers";
+import { useGitContext } from "git/components/GitContextProvider";
+import { GitArtifactType } from "git/constants/enums";
+import { useMemo } from "react";
+
+export default function useGitPermissions() {
+ const { artifact, artifactDef } = useGitContext();
+ const { artifactType } = artifactDef;
+
+ const isConnectPermitted = useMemo(() => {
+ if (artifact) {
+ if (artifactType === GitArtifactType.Application) {
+ return hasConnectToGitPermission(artifact.userPermissions);
+ }
+ }
+
+ return false;
+ }, [artifact, artifactType]);
+
+ const isManageDefaultBranchPermitted = useMemo(() => {
+ if (artifact) {
+ if (artifactType === GitArtifactType.Application) {
+ return hasManageDefaultBranchPermission(artifact.userPermissions);
+ }
+ }
+
+ return false;
+ }, [artifact, artifactType]);
+
+ const isManageProtectedBranchesPermitted = useMemo(() => {
+ if (artifact) {
+ if (artifactType === GitArtifactType.Application) {
+ return hasManageProtectedBranchesPermission(artifact.userPermissions);
+ }
+ }
+
+ return false;
+ }, [artifact, artifactType]);
+
+ const isManageAutocommitPermitted = useMemo(() => {
+ if (artifact) {
+ if (artifactType === GitArtifactType.Application) {
+ return hasManageAutoCommitPermission(artifact.userPermissions);
+ }
+ }
+
+ return false;
+ }, [artifact, artifactType]);
+
+ return {
+ isConnectPermitted,
+ isManageDefaultBranchPermitted,
+ isManageProtectedBranchesPermitted,
+ isManageAutocommitPermitted,
+ };
+}
diff --git a/app/client/src/git/hooks/useGlobalProfile.ts b/app/client/src/git/hooks/useGlobalProfile.ts
new file mode 100644
index 000000000000..f319f9c1f5db
--- /dev/null
+++ b/app/client/src/git/hooks/useGlobalProfile.ts
@@ -0,0 +1,42 @@
+import type { UpdateGlobalProfileRequestParams } from "git/requests/updateGlobalProfileRequest.types";
+import { gitConfigActions } from "git/store/gitConfigSlice";
+import {
+ selectFetchGlobalProfileState,
+ selectUpdateGlobalProfileState,
+} from "git/store/selectors/gitConfigSelectors";
+
+import type { GitRootState } from "git/store/types";
+import { useCallback } from "react";
+import { useDispatch, useSelector } from "react-redux";
+
+export default function useGlobalProfile() {
+ const dispatch = useDispatch();
+ const fetchGlobalProfileState = useSelector((state: GitRootState) =>
+ selectFetchGlobalProfileState(state),
+ );
+
+ const fetchGlobalProfile = useCallback(() => {
+ dispatch(gitConfigActions.fetchGlobalProfileInit());
+ }, [dispatch]);
+
+ const updateGlobalProfileState = useSelector((state: GitRootState) =>
+ selectUpdateGlobalProfileState(state),
+ );
+
+ const updateGlobalProfile = useCallback(
+ (params: UpdateGlobalProfileRequestParams) => {
+ dispatch(gitConfigActions.updateGlobalProfileInit(params));
+ },
+ [dispatch],
+ );
+
+ return {
+ globalProfile: fetchGlobalProfileState?.value ?? null,
+ isFetchGlobalProfileLoading: fetchGlobalProfileState?.loading ?? false,
+ fetchGlobalProfileError: fetchGlobalProfileState?.error ?? null,
+ fetchGlobalProfile,
+ isUpdateGlobalProfileLoading: updateGlobalProfileState?.loading ?? false,
+ updateGlobalProfileError: updateGlobalProfileState?.error ?? null,
+ updateGlobalProfile,
+ };
+}
diff --git a/app/client/src/git/hooks/useLocalProfile.ts b/app/client/src/git/hooks/useLocalProfile.ts
new file mode 100644
index 000000000000..e770ad6356bc
--- /dev/null
+++ b/app/client/src/git/hooks/useLocalProfile.ts
@@ -0,0 +1,50 @@
+import { useGitContext } from "git/components/GitContextProvider";
+import type { UpdateLocalProfileRequestParams } from "git/requests/updateLocalProfileRequest.types";
+import { gitArtifactActions } from "git/store/gitArtifactSlice";
+import {
+ selectFetchLocalProfileState,
+ selectUpdateLocalProfileState,
+} from "git/store/selectors/gitSingleArtifactSelectors";
+import type { GitRootState } from "git/store/types";
+import { useCallback } from "react";
+import { useDispatch, useSelector } from "react-redux";
+
+export default function useLocalProfile() {
+ const { artifactDef } = useGitContext();
+
+ const dispatch = useDispatch();
+
+ const fetchLocalProfileState = useSelector((state: GitRootState) =>
+ selectFetchLocalProfileState(state, artifactDef),
+ );
+
+ const fetchLocalProfile = useCallback(() => {
+ dispatch(gitArtifactActions.fetchLocalProfileInit(artifactDef));
+ }, [artifactDef, dispatch]);
+
+ const updateLocalProfileState = useSelector((state: GitRootState) =>
+ selectUpdateLocalProfileState(state, artifactDef),
+ );
+
+ const updateLocalProfile = useCallback(
+ (params: UpdateLocalProfileRequestParams) => {
+ dispatch(
+ gitArtifactActions.updateLocalProfileInit({
+ ...artifactDef,
+ ...params,
+ }),
+ );
+ },
+ [artifactDef, dispatch],
+ );
+
+ return {
+ localProfile: fetchLocalProfileState?.value ?? null,
+ isFetchLocalProfileLoading: fetchLocalProfileState?.loading ?? false,
+ fetchLocalProfileError: fetchLocalProfileState?.error ?? null,
+ fetchLocalProfile,
+ isUpdateLocalProfileLoading: updateLocalProfileState?.loading ?? false,
+ updateLocalProfileError: updateLocalProfileState?.error ?? null,
+ updateLocalProfile,
+ };
+}
diff --git a/app/client/src/git/hooks/useMetadata.ts b/app/client/src/git/hooks/useMetadata.ts
new file mode 100644
index 000000000000..15ed4346dea3
--- /dev/null
+++ b/app/client/src/git/hooks/useMetadata.ts
@@ -0,0 +1,26 @@
+import { useGitContext } from "git/components/GitContextProvider";
+import {
+ selectGitConnected,
+ selectMetadataState,
+} from "git/store/selectors/gitSingleArtifactSelectors";
+import type { GitRootState } from "git/store/types";
+import { useSelector } from "react-redux";
+
+export default function useMetadata() {
+ const { artifactDef } = useGitContext();
+
+ const metadataState = useSelector((state: GitRootState) =>
+ selectMetadataState(state, artifactDef),
+ );
+
+ const isGitConnected = useSelector((state: GitRootState) =>
+ selectGitConnected(state, artifactDef),
+ );
+
+ return {
+ metadata: metadataState.value ?? null,
+ isFetchMetadataLoading: metadataState.loading ?? false,
+ fetchMetadataError: metadataState.error ?? null,
+ isGitConnected,
+ };
+}
diff --git a/app/client/src/git/hooks/useProtectedBranches.ts b/app/client/src/git/hooks/useProtectedBranches.ts
new file mode 100644
index 000000000000..3d26df24066e
--- /dev/null
+++ b/app/client/src/git/hooks/useProtectedBranches.ts
@@ -0,0 +1,53 @@
+import { useGitContext } from "git/components/GitContextProvider";
+import { gitArtifactActions } from "git/store/gitArtifactSlice";
+import {
+ selectFetchProtectedBranchesState,
+ selectProtectedMode,
+ selectUpdateProtectedBranchesState,
+} from "git/store/selectors/gitSingleArtifactSelectors";
+import type { GitRootState } from "git/store/types";
+import { useDispatch, useSelector } from "react-redux";
+
+function useProtectedBranches() {
+ const { artifactDef } = useGitContext();
+
+ const dispatch = useDispatch();
+
+ const fetchProtectedBranchesState = useSelector((state: GitRootState) =>
+ selectFetchProtectedBranchesState(state, artifactDef),
+ );
+
+ const fetchProtectedBranches = () => {
+ dispatch(gitArtifactActions.fetchProtectedBranchesInit(artifactDef));
+ };
+
+ const updateProtectedBranchesState = useSelector((state: GitRootState) =>
+ selectUpdateProtectedBranchesState(state, artifactDef),
+ );
+
+ const updateProtectedBranches = (branches: string[]) => {
+ dispatch(
+ gitArtifactActions.updateProtectedBranchesInit({
+ ...artifactDef,
+ branchNames: branches,
+ }),
+ );
+ };
+
+ const isProtectedMode = useSelector((state: GitRootState) =>
+ selectProtectedMode(state, artifactDef),
+ );
+
+ return {
+ protectedBranches: fetchProtectedBranchesState.value,
+ isFetchProtectedBranchesLoading: fetchProtectedBranchesState.loading,
+ fetchProtectedBranchesError: fetchProtectedBranchesState.error,
+ fetchProtectedBranches,
+ isUpdateProtectedBranchesLoading: updateProtectedBranchesState.loading,
+ updateProtectedBranchesError: updateProtectedBranchesState.error,
+ updateProtectedBranches,
+ isProtectedMode,
+ };
+}
+
+export default useProtectedBranches;
diff --git a/app/client/src/git/hooks/useSettings.ts b/app/client/src/git/hooks/useSettings.ts
new file mode 100644
index 000000000000..d94f9c0e530b
--- /dev/null
+++ b/app/client/src/git/hooks/useSettings.ts
@@ -0,0 +1,42 @@
+import { useGitContext } from "git/components/GitContextProvider";
+import { GitSettingsTab } from "git/constants/enums";
+import { gitArtifactActions } from "git/store/gitArtifactSlice";
+import {
+ selectSettingsModalOpen,
+ selectSettingsModalTab,
+} from "git/store/selectors/gitSingleArtifactSelectors";
+import type { GitRootState } from "git/store/types";
+import { useCallback } from "react";
+import { useDispatch, useSelector } from "react-redux";
+
+export default function useSettings() {
+ const { artifactDef } = useGitContext();
+
+ const dispatch = useDispatch();
+
+ const settingsModalOpen = useSelector((state: GitRootState) =>
+ selectSettingsModalOpen(state, artifactDef),
+ );
+
+ const settingsModalTab = useSelector((state: GitRootState) =>
+ selectSettingsModalTab(state, artifactDef),
+ );
+
+ const toggleSettingsModal = useCallback(
+ (
+ open: boolean,
+ tab: keyof typeof GitSettingsTab = GitSettingsTab.General,
+ ) => {
+ dispatch(
+ gitArtifactActions.toggleSettingsModal({ ...artifactDef, open, tab }),
+ );
+ },
+ [artifactDef, dispatch],
+ );
+
+ return {
+ isSettingsModalOpen: settingsModalOpen ?? false,
+ settingsModalTab: settingsModalTab ?? GitSettingsTab.General,
+ toggleSettingsModal,
+ };
+}
diff --git a/app/client/src/git/requests/disconnectRequest.types.ts b/app/client/src/git/requests/disconnectRequest.types.ts
index 34ac4728a324..2cbf5969ccca 100644
--- a/app/client/src/git/requests/disconnectRequest.types.ts
+++ b/app/client/src/git/requests/disconnectRequest.types.ts
@@ -1,3 +1,7 @@
-export interface DisconnectResponse {
+import type { ApiResponse } from "api/types";
+
+export interface DisconnectResponseData {
[key: string]: string;
}
+
+export type DisconnectResponse = ApiResponse<DisconnectResponseData>;
diff --git a/app/client/src/git/requests/fetchGitMetadataRequest.ts b/app/client/src/git/requests/fetchMetadataRequest.ts
similarity index 54%
rename from app/client/src/git/requests/fetchGitMetadataRequest.ts
rename to app/client/src/git/requests/fetchMetadataRequest.ts
index 7b3376b8ef0e..72c7762af4c4 100644
--- a/app/client/src/git/requests/fetchGitMetadataRequest.ts
+++ b/app/client/src/git/requests/fetchMetadataRequest.ts
@@ -1,10 +1,10 @@
import Api from "api/Api";
import { GIT_BASE_URL } from "./constants";
import type { AxiosPromise } from "axios";
-import type { FetchGitMetadataResponse } from "./fetchGitMetadataRequest.types";
+import type { FetchMetadataResponse } from "./fetchMetadataRequest.types";
-export default async function fetchGitMetadataRequest(
+export default async function fetchMetadataRequest(
baseApplicationId: string,
-): AxiosPromise<FetchGitMetadataResponse> {
+): AxiosPromise<FetchMetadataResponse> {
return Api.get(`${GIT_BASE_URL}/metadata/app/${baseApplicationId}`);
}
diff --git a/app/client/src/git/requests/fetchGitMetadataRequest.types.ts b/app/client/src/git/requests/fetchMetadataRequest.types.ts
similarity index 74%
rename from app/client/src/git/requests/fetchGitMetadataRequest.types.ts
rename to app/client/src/git/requests/fetchMetadataRequest.types.ts
index c532052e9793..f93568cc9f08 100644
--- a/app/client/src/git/requests/fetchGitMetadataRequest.types.ts
+++ b/app/client/src/git/requests/fetchMetadataRequest.types.ts
@@ -1,6 +1,6 @@
import type { ApiResponse } from "api/types";
-export interface FetchGitMetadataResponseData {
+export interface FetchMetadataResponseData {
branchName: string;
defaultBranchName: string;
remoteUrl: string;
@@ -16,5 +16,4 @@ export interface FetchGitMetadataResponseData {
isAutoDeploymentEnabled?: boolean;
}
-export type FetchGitMetadataResponse =
- ApiResponse<FetchGitMetadataResponseData>;
+export type FetchMetadataResponse = ApiResponse<FetchMetadataResponseData>;
diff --git a/app/client/src/git/requests/toggleAutocommitRequest.types.ts b/app/client/src/git/requests/toggleAutocommitRequest.types.ts
index 9dc99ed84528..21c13075ca09 100644
--- a/app/client/src/git/requests/toggleAutocommitRequest.types.ts
+++ b/app/client/src/git/requests/toggleAutocommitRequest.types.ts
@@ -1 +1,6 @@
-export type ToggleAutocommitResponse = boolean;
+import type { ApiResponse } from "api/types";
+
+export type ToggleAutocommitResponseData = boolean;
+
+export type ToggleAutocommitResponse =
+ ApiResponse<ToggleAutocommitResponseData>;
diff --git a/app/client/src/git/requests/updateProtectedBranchesRequest.types.ts b/app/client/src/git/requests/updateProtectedBranchesRequest.types.ts
index fff7073624e4..c59faa8f249e 100644
--- a/app/client/src/git/requests/updateProtectedBranchesRequest.types.ts
+++ b/app/client/src/git/requests/updateProtectedBranchesRequest.types.ts
@@ -1,5 +1,10 @@
+import type { ApiResponse } from "api/types";
+
export interface UpdateProtectedBranchesRequestParams {
branchNames: string[];
}
-export type UpdateProtectedBranchesResponse = string[];
+export type UpdateProtectedBranchesResponseData = string[];
+
+export type UpdateProtectedBranchesResponse =
+ ApiResponse<UpdateProtectedBranchesResponseData>;
diff --git a/app/client/src/git/sagas/disconnectSaga.ts b/app/client/src/git/sagas/disconnectSaga.ts
new file mode 100644
index 000000000000..3dc25f1ff079
--- /dev/null
+++ b/app/client/src/git/sagas/disconnectSaga.ts
@@ -0,0 +1,61 @@
+import { captureException } from "@sentry/react";
+import { fetchAllApplicationsOfWorkspace } from "ee/actions/applicationActions";
+import { GitOpsTab } from "git/constants/enums";
+import { GIT_BRANCH_QUERY_KEY } from "git/constants/misc";
+import disconnectRequest from "git/requests/disconnectRequest";
+import type { DisconnectResponse } from "git/requests/disconnectRequest.types";
+import { gitArtifactActions } from "git/store/gitArtifactSlice";
+import type { GitArtifactPayloadAction } from "git/store/types";
+import log from "loglevel";
+import { call, put } from "redux-saga/effects";
+import { validateResponse } from "sagas/ErrorSagas";
+import history from "utils/history";
+
+export default function* disconnectSaga(action: GitArtifactPayloadAction) {
+ const { artifactType, baseArtifactId } = action.payload;
+ const artifactDef = { artifactType, baseArtifactId };
+ let response: DisconnectResponse | undefined;
+
+ try {
+ response = yield call(disconnectRequest, baseArtifactId);
+ const isValidResponse: boolean = yield validateResponse(response);
+
+ if (response && isValidResponse) {
+ yield put(gitArtifactActions.disconnectSuccess(artifactDef));
+ const url = new URL(window.location.href);
+
+ url.searchParams.delete(GIT_BRANCH_QUERY_KEY);
+ history.push(url.toString().slice(url.origin.length));
+ yield put(gitArtifactActions.closeDisconnectModal(artifactDef));
+ // !case: why?
+ // yield put(importAppViaGitStatusReset());
+ yield put(
+ gitArtifactActions.toggleOpsModal({
+ ...artifactDef,
+ open: false,
+ tab: GitOpsTab.Deploy,
+ }),
+ );
+ yield put(fetchAllApplicationsOfWorkspace());
+
+ // ! case: why?
+ // if (applicationId !== application?.id) {
+ // yield put(
+ // setIsGitSyncModalOpen({
+ // isOpen: true,
+ // tab: GitSyncModalTab.GIT_CONNECTION,
+ // }),
+ // );
+ // }
+ }
+ } catch (e) {
+ if (response && response.responseMeta.error) {
+ const { error } = response.responseMeta;
+
+ yield put(gitArtifactActions.disconnectError({ ...artifactDef, error }));
+ } else {
+ log.error(e);
+ captureException(e);
+ }
+ }
+}
diff --git a/app/client/src/git/sagas/fetchGitMetadataSaga.ts b/app/client/src/git/sagas/fetchMetadataSaga.ts
similarity index 65%
rename from app/client/src/git/sagas/fetchGitMetadataSaga.ts
rename to app/client/src/git/sagas/fetchMetadataSaga.ts
index a91122b83682..3e2029b6c6b8 100644
--- a/app/client/src/git/sagas/fetchGitMetadataSaga.ts
+++ b/app/client/src/git/sagas/fetchMetadataSaga.ts
@@ -1,26 +1,24 @@
import { captureException } from "@sentry/react";
-import fetchGitMetadataRequest from "git/requests/fetchGitMetadataRequest";
-import type { FetchGitMetadataResponse } from "git/requests/fetchGitMetadataRequest.types";
+import fetchMetadataRequest from "git/requests/fetchMetadataRequest";
+import type { FetchMetadataResponse } from "git/requests/fetchMetadataRequest.types";
import { gitArtifactActions } from "git/store/gitArtifactSlice";
import type { GitArtifactPayloadAction } from "git/store/types";
import log from "loglevel";
import { call, put } from "redux-saga/effects";
import { validateResponse } from "sagas/ErrorSagas";
-export default function* fetchGitMetadataSaga(
- action: GitArtifactPayloadAction,
-) {
+export default function* fetchMetadataSaga(action: GitArtifactPayloadAction) {
const { artifactType, baseArtifactId } = action.payload;
const basePayload = { artifactType, baseArtifactId };
- let response: FetchGitMetadataResponse | undefined;
+ let response: FetchMetadataResponse | undefined;
try {
- response = yield call(fetchGitMetadataRequest, baseArtifactId);
+ response = yield call(fetchMetadataRequest, baseArtifactId);
const isValidResponse: boolean = yield validateResponse(response, false);
if (response && isValidResponse) {
yield put(
- gitArtifactActions.fetchGitMetadataSuccess({
+ gitArtifactActions.fetchMetadataSuccess({
...basePayload,
responseData: response.data,
}),
@@ -31,7 +29,7 @@ export default function* fetchGitMetadataSaga(
const { error } = response.responseMeta;
yield put(
- gitArtifactActions.fetchGitMetadataError({
+ gitArtifactActions.fetchMetadataError({
...basePayload,
error,
}),
diff --git a/app/client/src/git/sagas/index.ts b/app/client/src/git/sagas/index.ts
index acb2111a7520..4b2ca0720b0d 100644
--- a/app/client/src/git/sagas/index.ts
+++ b/app/client/src/git/sagas/index.ts
@@ -18,23 +18,32 @@ import fetchLocalProfileSaga from "./fetchLocalProfileSaga";
import updateLocalProfileSaga from "./updateLocalProfileSaga";
import updateGlobalProfileSaga from "./updateGlobalProfileSaga";
import initGitForEditorSaga from "./initGitSaga";
-import fetchGitMetadataSaga from "./fetchGitMetadataSaga";
import triggerAutocommitSaga from "./triggerAutocommitSaga";
import fetchStatusSaga from "./fetchStatusSaga";
import fetchProtectedBranchesSaga from "./fetchProtectedBranchesSaga";
import pullSaga from "./pullSaga";
import fetchMergeStatusSaga from "./fetchMergeStatusSaga";
+import updateProtectedBranchesSaga from "./updateProtectedBranchesSaga";
+import fetchMetadataSaga from "./fetchMetadataSaga";
+import toggleAutocommitSaga from "./toggleAutocommitSaga";
+import disconnectSaga from "./disconnectSaga";
-const gitRequestBlockingActions: Record<
+import {
+ blockingActionSagas as blockingActionSagasExtended,
+ nonBlockingActionSagas as nonBlockingActionSagasExtended,
+} from "git/ee/sagas";
+
+const blockingActionSagas: Record<
string,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(action: PayloadAction<any>) => Generator<any>
> = {
// init
- [gitArtifactActions.fetchGitMetadataInit.type]: fetchGitMetadataSaga,
+ [gitArtifactActions.fetchMetadataInit.type]: fetchMetadataSaga,
// connect
[gitArtifactActions.connectInit.type]: connectSaga,
+ [gitArtifactActions.disconnectInit.type]: disconnectSaga,
// ops
[gitArtifactActions.commitInit.type]: commitSaga,
@@ -45,27 +54,36 @@ const gitRequestBlockingActions: Record<
// branches
[gitArtifactActions.fetchBranchesInit.type]: fetchBranchesSaga,
- // settings
+ // user profiles
[gitArtifactActions.fetchLocalProfileInit.type]: fetchLocalProfileSaga,
[gitArtifactActions.updateLocalProfileInit.type]: updateLocalProfileSaga,
[gitConfigActions.fetchGlobalProfileInit.type]: fetchGlobalProfileSaga,
[gitConfigActions.updateGlobalProfileInit.type]: updateGlobalProfileSaga,
+ // protected branches
+ [gitArtifactActions.fetchProtectedBranchesInit.type]:
+ fetchProtectedBranchesSaga,
+ [gitArtifactActions.updateProtectedBranchesInit.type]:
+ updateProtectedBranchesSaga,
+
// autocommit
[gitArtifactActions.triggerAutocommitInit.type]: triggerAutocommitSaga,
+
+ // EE
+ ...blockingActionSagasExtended,
};
-const gitRequestNonBlockingActions: Record<
+const nonBlockingActionSagas: Record<
string,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(action: PayloadAction<any>) => Generator<any>
> = {
// init
[gitArtifactActions.initGitForEditor.type]: initGitForEditorSaga,
+ [gitArtifactActions.toggleAutocommitInit.type]: toggleAutocommitSaga,
- // settings
- [gitArtifactActions.fetchProtectedBranchesInit.type]:
- fetchProtectedBranchesSaga,
+ // EE
+ ...nonBlockingActionSagasExtended,
};
/**
@@ -79,21 +97,21 @@ const gitRequestNonBlockingActions: Record<
* */
function* watchGitBlockingRequests() {
const gitActionChannel: TakeableChannel<unknown> = yield actionChannel(
- objectKeys(gitRequestBlockingActions),
+ objectKeys(blockingActionSagas),
);
while (true) {
const action: PayloadAction<unknown> = yield take(gitActionChannel);
- yield call(gitRequestBlockingActions[action.type], action);
+ yield call(blockingActionSagas[action.type], action);
}
}
function* watchGitNonBlockingRequests() {
- const keys = objectKeys(gitRequestNonBlockingActions);
+ const keys = objectKeys(nonBlockingActionSagas);
for (const actionType of keys) {
- yield takeLatest(actionType, gitRequestNonBlockingActions[actionType]);
+ yield takeLatest(actionType, nonBlockingActionSagas[actionType]);
}
}
diff --git a/app/client/src/git/sagas/initGitSaga.ts b/app/client/src/git/sagas/initGitSaga.ts
index c0177f32f5bd..2c62fd31851b 100644
--- a/app/client/src/git/sagas/initGitSaga.ts
+++ b/app/client/src/git/sagas/initGitSaga.ts
@@ -14,8 +14,8 @@ export default function* initGitForEditorSaga(
if (artifactType === GitArtifactType.Application) {
if (!!artifact.gitApplicationMetadata) {
- yield put(gitArtifactActions.fetchGitMetadataInit(basePayload));
- yield take(gitArtifactActions.fetchGitMetadataSuccess.type);
+ yield put(gitArtifactActions.fetchMetadataInit(basePayload));
+ yield take(gitArtifactActions.fetchMetadataSuccess.type);
yield put(
gitArtifactActions.triggerAutocommitInit({
...basePayload,
diff --git a/app/client/src/git/sagas/toggleAutocommitSaga.ts b/app/client/src/git/sagas/toggleAutocommitSaga.ts
new file mode 100644
index 000000000000..cf8b0e923c67
--- /dev/null
+++ b/app/client/src/git/sagas/toggleAutocommitSaga.ts
@@ -0,0 +1,37 @@
+import { captureException } from "@sentry/react";
+import toggleAutocommitRequest from "git/requests/toggleAutocommitRequest";
+import type { ToggleAutocommitResponse } from "git/requests/toggleAutocommitRequest.types";
+import { gitArtifactActions } from "git/store/gitArtifactSlice";
+import type { GitArtifactPayloadAction } from "git/store/types";
+import log from "loglevel";
+import { call, put } from "redux-saga/effects";
+import { validateResponse } from "sagas/ErrorSagas";
+
+export default function* toggleAutocommitSaga(
+ action: GitArtifactPayloadAction,
+) {
+ const { artifactType, baseArtifactId } = action.payload;
+ const artifactDef = { artifactType, baseArtifactId };
+ let response: ToggleAutocommitResponse | undefined;
+
+ try {
+ response = yield call(toggleAutocommitRequest, baseArtifactId);
+ const isValidResponse: boolean = yield validateResponse(response);
+
+ if (isValidResponse) {
+ yield put(gitArtifactActions.toggleAutocommitSuccess(artifactDef));
+ yield put(gitArtifactActions.fetchMetadataInit(artifactDef));
+ }
+ } catch (e) {
+ if (response && response.responseMeta.error) {
+ const { error } = response.responseMeta;
+
+ yield put(
+ gitArtifactActions.toggleAutocommitError({ ...artifactDef, error }),
+ );
+ } else {
+ log.error(e);
+ captureException(e);
+ }
+ }
+}
diff --git a/app/client/src/git/sagas/triggerAutocommitSaga.ts b/app/client/src/git/sagas/triggerAutocommitSaga.ts
index c69452acf94b..d0b316f594ec 100644
--- a/app/client/src/git/sagas/triggerAutocommitSaga.ts
+++ b/app/client/src/git/sagas/triggerAutocommitSaga.ts
@@ -88,10 +88,11 @@ function* pollAutocommitProgressSaga(params: PollAutocommitProgressParams) {
yield put(gitArtifactActions.pollAutocommitProgressStart(basePayload));
while (true) {
- progressResponse = yield put(
- gitArtifactActions.fetchAutocommitProgressInit(basePayload),
+ yield put(gitArtifactActions.fetchAutocommitProgressInit(basePayload));
+ progressResponse = yield call(
+ fetchAutocommitProgressRequest,
+ baseArtifactId,
);
- yield call(fetchAutocommitProgressRequest, baseArtifactId);
const isValidResponse: boolean =
yield validateResponse(progressResponse);
diff --git a/app/client/src/git/sagas/updateProtectedBranchesSaga.ts b/app/client/src/git/sagas/updateProtectedBranchesSaga.ts
new file mode 100644
index 000000000000..3f7bd121270e
--- /dev/null
+++ b/app/client/src/git/sagas/updateProtectedBranchesSaga.ts
@@ -0,0 +1,52 @@
+import { captureException } from "@sentry/react";
+import updateProtectedBranchesRequest from "git/requests/updateProtectedBranchesRequest";
+import type {
+ UpdateProtectedBranchesRequestParams,
+ UpdateProtectedBranchesResponse,
+} from "git/requests/updateProtectedBranchesRequest.types";
+import type { UpdateProtectedBranchesInitPayload } from "git/store/actions/updateProtectedBranchesActions";
+import { gitArtifactActions } from "git/store/gitArtifactSlice";
+import type { GitArtifactPayloadAction } from "git/store/types";
+import log from "loglevel";
+import { call, put } from "redux-saga/effects";
+import { validateResponse } from "sagas/ErrorSagas";
+
+export default function* updateProtectedBranchesSaga(
+ action: GitArtifactPayloadAction<UpdateProtectedBranchesInitPayload>,
+) {
+ const { artifactType, baseArtifactId } = action.payload;
+ const artifactDef = { artifactType, baseArtifactId };
+ let response: UpdateProtectedBranchesResponse | undefined;
+
+ try {
+ const params: UpdateProtectedBranchesRequestParams = {
+ branchNames: action.payload.branchNames,
+ };
+
+ response = yield call(
+ updateProtectedBranchesRequest,
+ baseArtifactId,
+ params,
+ );
+ const isValidResponse: boolean = yield validateResponse(response);
+
+ if (response && isValidResponse) {
+ yield put(gitArtifactActions.updateProtectedBranchesSuccess(artifactDef));
+ yield put(gitArtifactActions.fetchProtectedBranchesInit(artifactDef));
+ }
+ } catch (e) {
+ if (response && response.responseMeta.error) {
+ const { error } = response.responseMeta;
+
+ yield put(
+ gitArtifactActions.updateProtectedBranchesError({
+ ...artifactDef,
+ error,
+ }),
+ );
+ } else {
+ log.error(e);
+ captureException(e);
+ }
+ }
+}
diff --git a/app/client/src/git/store/actions/fetchGitMetadataActions.ts b/app/client/src/git/store/actions/fetchMetadataActions.ts
similarity index 54%
rename from app/client/src/git/store/actions/fetchGitMetadataActions.ts
rename to app/client/src/git/store/actions/fetchMetadataActions.ts
index 6bbb8d41d380..176413dfbaaa 100644
--- a/app/client/src/git/store/actions/fetchGitMetadataActions.ts
+++ b/app/client/src/git/store/actions/fetchMetadataActions.ts
@@ -1,18 +1,16 @@
import type { GitAsyncErrorPayload, GitAsyncSuccessPayload } from "../types";
import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
-import type { FetchGitMetadataResponseData } from "git/requests/fetchGitMetadataRequest.types";
+import type { FetchMetadataResponseData } from "git/requests/fetchMetadataRequest.types";
-export const fetchGitMetadataInitAction = createSingleArtifactAction(
- (state) => {
- state.apiResponses.metadata.loading = true;
- state.apiResponses.metadata.error = null;
+export const fetchMetadataInitAction = createSingleArtifactAction((state) => {
+ state.apiResponses.metadata.loading = true;
+ state.apiResponses.metadata.error = null;
- return state;
- },
-);
+ return state;
+});
-export const fetchGitMetadataSuccessAction = createSingleArtifactAction<
- GitAsyncSuccessPayload<FetchGitMetadataResponseData>
+export const fetchMetadataSuccessAction = createSingleArtifactAction<
+ GitAsyncSuccessPayload<FetchMetadataResponseData>
>((state, action) => {
state.apiResponses.metadata.loading = false;
state.apiResponses.metadata.value = action.payload.responseData;
@@ -20,7 +18,7 @@ export const fetchGitMetadataSuccessAction = createSingleArtifactAction<
return state;
});
-export const fetchGitMetadataErrorAction =
+export const fetchMetadataErrorAction =
createSingleArtifactAction<GitAsyncErrorPayload>((state, action) => {
const { error } = action.payload;
diff --git a/app/client/src/git/store/actions/initGitActions.ts b/app/client/src/git/store/actions/initGitActions.ts
index 5ba453b0edaf..d93cf955eeec 100644
--- a/app/client/src/git/store/actions/initGitActions.ts
+++ b/app/client/src/git/store/actions/initGitActions.ts
@@ -1,11 +1,11 @@
-import type { FetchGitMetadataResponseData } from "git/requests/fetchGitMetadataRequest.types";
+import type { FetchMetadataResponseData } from "git/requests/fetchMetadataRequest.types";
import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
export interface InitGitForEditorPayload {
artifact: {
id: string;
baseId: string;
- gitApplicationMetadata?: Partial<FetchGitMetadataResponseData>;
+ gitApplicationMetadata?: Partial<FetchMetadataResponseData>;
};
}
diff --git a/app/client/src/git/store/actions/uiActions.ts b/app/client/src/git/store/actions/uiActions.ts
index c4e47fe2fe33..6780ee64a4bb 100644
--- a/app/client/src/git/store/actions/uiActions.ts
+++ b/app/client/src/git/store/actions/uiActions.ts
@@ -1,46 +1,43 @@
import type { GitOpsTab, GitSettingsTab } from "git/constants/enums";
import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
-interface ToggleRepoLimitModalPayload {
+// connect modal
+export interface ToggleConnectModalPayload {
open: boolean;
}
-export const toggleRepoLimitErrorModalAction =
- createSingleArtifactAction<ToggleRepoLimitModalPayload>((state, action) => {
+export const toggleConnectModalAction =
+ createSingleArtifactAction<ToggleConnectModalPayload>((state, action) => {
const { open } = action.payload;
- state.ui.repoLimitErrorModal.open = open;
+ state.ui.connectModal.open = open;
return state;
});
-interface ToggleConflictErrorModalPayload {
- open: boolean;
+// disconnect modal
+export interface OpenDisconnectModalPayload {
+ artifactName: string;
}
-export const toggleConflictErrorModalAction =
- createSingleArtifactAction<ToggleConflictErrorModalPayload>(
- (state, action) => {
- const { open } = action.payload;
-
- state.ui.conflictErrorModalOpen = open;
-
- return state;
- },
- );
-
-interface BranchListPopupPayload {
- open: boolean;
-}
+export const openDisconnectModalAction =
+ createSingleArtifactAction<OpenDisconnectModalPayload>((state, action) => {
+ state.ui.disconnectBaseArtifactId = action.payload.baseArtifactId;
+ state.ui.disconnectArtifactName = action.payload.artifactName;
-export const toggleBranchListPopupAction =
- createSingleArtifactAction<BranchListPopupPayload>((state, action) => {
- const { open } = action.payload;
+ return state;
+ });
- state.ui.branchListPopup.open = open;
+export const closeDisconnectModalAction = createSingleArtifactAction(
+ (state) => {
+ state.ui.disconnectBaseArtifactId = null;
+ state.ui.disconnectArtifactName = null;
return state;
- });
+ },
+);
+
+// ops modal
export interface ToggleOpsModalPayload {
open: boolean;
@@ -57,6 +54,7 @@ export const toggleOpsModalAction =
return state;
});
+// settings modal
export interface ToggleSettingsModalPayload {
open: boolean;
tab: keyof typeof GitSettingsTab;
@@ -66,21 +64,67 @@ export const toggleSettingsModalAction =
createSingleArtifactAction<ToggleSettingsModalPayload>((state, action) => {
const { open, tab } = action.payload;
- state.ui.settingsModal.open = open;
- state.ui.settingsModal.tab = tab;
+ state.ui.settingsModalOpen = open;
+ state.ui.settingsModalTab = tab;
return state;
});
-export interface ToggleConnectModalPayload {
+// autocommit modal
+interface ToggleAutocommitDisableModalPayload {
open: boolean;
}
-export const toggleConnectModalAction =
- createSingleArtifactAction<ToggleConnectModalPayload>((state, action) => {
+export const toggleAutocommitDisableModalAction =
+ createSingleArtifactAction<ToggleAutocommitDisableModalPayload>(
+ (state, action) => {
+ const { open } = action.payload;
+
+ state.ui.autocommitDisableModalOpen = open;
+
+ return state;
+ },
+ );
+
+// branch popup
+interface BranchListPopupPayload {
+ open: boolean;
+}
+
+export const toggleBranchListPopupAction =
+ createSingleArtifactAction<BranchListPopupPayload>((state, action) => {
const { open } = action.payload;
- state.ui.connectModal.open = open;
+ state.ui.branchListPopup.open = open;
return state;
});
+
+// error modals
+interface ToggleRepoLimitModalPayload {
+ open: boolean;
+}
+
+export const toggleRepoLimitErrorModalAction =
+ createSingleArtifactAction<ToggleRepoLimitModalPayload>((state, action) => {
+ const { open } = action.payload;
+
+ state.ui.repoLimitErrorModal.open = open;
+
+ return state;
+ });
+
+interface ToggleConflictErrorModalPayload {
+ open: boolean;
+}
+
+export const toggleConflictErrorModalAction =
+ createSingleArtifactAction<ToggleConflictErrorModalPayload>(
+ (state, action) => {
+ const { open } = action.payload;
+
+ state.ui.conflictErrorModalOpen = open;
+
+ return state;
+ },
+ );
diff --git a/app/client/src/git/store/actions/updateGlobalProfileActions.ts b/app/client/src/git/store/actions/updateGlobalProfileActions.ts
index 58dcd8570367..b4d25b0b57d7 100644
--- a/app/client/src/git/store/actions/updateGlobalProfileActions.ts
+++ b/app/client/src/git/store/actions/updateGlobalProfileActions.ts
@@ -5,7 +5,14 @@ import type { PayloadAction } from "@reduxjs/toolkit";
export interface UpdateGlobalProfileInitPayload
extends UpdateGlobalProfileRequestParams {}
-export const updateGlobalProfileInitAction = (state: GitConfigReduxState) => {
+type UpdateGlobalProfileInitAction = (
+ state: GitConfigReduxState,
+ action: PayloadAction<UpdateGlobalProfileInitPayload>,
+) => GitConfigReduxState;
+
+export const updateGlobalProfileInitAction: UpdateGlobalProfileInitAction = (
+ state,
+) => {
state.updateGlobalProfile.loading = true;
state.updateGlobalProfile.error = null;
diff --git a/app/client/src/git/store/actions/updateProtectedBranchesActions.ts b/app/client/src/git/store/actions/updateProtectedBranchesActions.ts
index 8a90e5889d8d..6e45bf0dcca5 100644
--- a/app/client/src/git/store/actions/updateProtectedBranchesActions.ts
+++ b/app/client/src/git/store/actions/updateProtectedBranchesActions.ts
@@ -1,14 +1,17 @@
+import type { UpdateProtectedBranchesRequestParams } from "git/requests/updateProtectedBranchesRequest.types";
import { createSingleArtifactAction } from "../helpers/createSingleArtifactAction";
import type { GitArtifactErrorPayloadAction } from "../types";
-export const updateProtectedBranchesInitAction = createSingleArtifactAction(
- (state) => {
+export interface UpdateProtectedBranchesInitPayload
+ extends UpdateProtectedBranchesRequestParams {}
+
+export const updateProtectedBranchesInitAction =
+ createSingleArtifactAction<UpdateProtectedBranchesInitPayload>((state) => {
state.apiResponses.updateProtectedBranches.loading = true;
state.apiResponses.updateProtectedBranches.error = null;
return state;
- },
-);
+ });
export const updateProtectedBranchesSuccessAction = createSingleArtifactAction(
(state) => {
diff --git a/app/client/src/git/store/gitArtifactSlice.ts b/app/client/src/git/store/gitArtifactSlice.ts
index 16aa5d6d4162..75c3e64403b1 100644
--- a/app/client/src/git/store/gitArtifactSlice.ts
+++ b/app/client/src/git/store/gitArtifactSlice.ts
@@ -1,4 +1,3 @@
-/* eslint-disable padding-line-between-statements */
import { createSlice } from "@reduxjs/toolkit";
import type { GitArtifactReduxState } from "./types";
import { mountAction, unmountAction } from "./actions/mountActions";
@@ -8,10 +7,10 @@ import {
connectSuccessAction,
} from "./actions/connectActions";
import {
- fetchGitMetadataErrorAction,
- fetchGitMetadataInitAction,
- fetchGitMetadataSuccessAction,
-} from "./actions/fetchGitMetadataActions";
+ fetchMetadataErrorAction,
+ fetchMetadataInitAction,
+ fetchMetadataSuccessAction,
+} from "./actions/fetchMetadataActions";
import {
fetchBranchesErrorAction,
fetchBranchesInitAction,
@@ -60,6 +59,9 @@ import {
toggleSettingsModalAction,
toggleRepoLimitErrorModalAction,
toggleConflictErrorModalAction,
+ openDisconnectModalAction,
+ closeDisconnectModalAction,
+ toggleAutocommitDisableModalAction,
} from "./actions/uiActions";
import {
checkoutBranchErrorAction,
@@ -111,6 +113,12 @@ import {
fetchAutocommitProgressInitAction,
fetchAutocommitProgressSuccessAction,
} from "./actions/fetchAutocommitProgressActions";
+import { gitArtifactCaseReducers } from "git/ee/store/actions";
+import {
+ disconnectErrorAction,
+ disconnectInitAction,
+ disconnectSuccessAction,
+} from "./actions/disconnectActions";
const initialState: GitArtifactReduxState = {};
@@ -123,15 +131,20 @@ export const gitArtifactSlice = createSlice({
initGitForEditor: initGitForEditorAction,
mount: mountAction,
unmount: unmountAction,
- fetchGitMetadataInit: fetchGitMetadataInitAction,
- fetchGitMetadataSuccess: fetchGitMetadataSuccessAction,
- fetchGitMetadataError: fetchGitMetadataErrorAction,
+ fetchMetadataInit: fetchMetadataInitAction,
+ fetchMetadataSuccess: fetchMetadataSuccessAction,
+ fetchMetadataError: fetchMetadataErrorAction,
// connect
connectInit: connectInitAction,
connectSuccess: connectSuccessAction,
connectError: connectErrorAction,
+ disconnectInit: disconnectInitAction,
+ disconnectSuccess: disconnectSuccessAction,
+ disconnectError: disconnectErrorAction,
toggleConnectModal: toggleConnectModalAction,
+ openDisconnectModal: openDisconnectModalAction,
+ closeDisconnectModal: closeDisconnectModalAction,
toggleRepoLimitErrorModal: toggleRepoLimitErrorModalAction,
// git ops
@@ -201,6 +214,9 @@ export const gitArtifactSlice = createSlice({
fetchAutocommitProgressError: fetchAutocommitProgressErrorAction,
pollAutocommitProgressStart: pollAutocommitProgressStartAction,
pollAutocommitProgressStop: pollAutocommitProgressStopAction,
+ toggleAutocommitDisableModal: toggleAutocommitDisableModalAction,
+
+ ...gitArtifactCaseReducers,
},
});
diff --git a/app/client/src/git/store/helpers/gitSingleArtifactInitialState.ts b/app/client/src/git/store/helpers/gitSingleArtifactInitialState.ts
index 9266e852ff7a..605ed2748668 100644
--- a/app/client/src/git/store/helpers/gitSingleArtifactInitialState.ts
+++ b/app/client/src/git/store/helpers/gitSingleArtifactInitialState.ts
@@ -1,3 +1,7 @@
+import {
+ gitArtifactAPIResponsesInitialState as gitArtifactAPIResponsesInitialStateExtended,
+ gitArtifactUIInitialState as gitArtifactUIInitialStateExtended,
+} from "git/ee/store/helpers/initialState";
import {
GitConnectStep,
GitImportStep,
@@ -15,6 +19,8 @@ const gitSingleArtifactInitialUIState: GitSingleArtifactUIReduxState = {
open: false,
step: GitConnectStep.Provider,
},
+ disconnectBaseArtifactId: null,
+ disconnectArtifactName: null,
importModal: {
open: false,
step: GitImportStep.Provider,
@@ -24,16 +30,16 @@ const gitSingleArtifactInitialUIState: GitSingleArtifactUIReduxState = {
},
opsModalOpen: false,
opsModalTab: GitOpsTab.Deploy,
+ settingsModalOpen: false,
+ settingsModalTab: GitSettingsTab.General,
+ autocommitDisableModalOpen: false,
+ autocommitPolling: false,
conflictErrorModalOpen: false,
- settingsModal: {
- open: false,
- tab: GitSettingsTab.General,
- },
repoLimitErrorModal: {
open: false,
},
- autocommitModalOpen: false,
- autocommitPolling: false,
+ // EE
+ ...gitArtifactUIInitialStateExtended,
};
const gitSingleArtifactInitialAPIResponses: GitSingleArtifactAPIResponsesReduxState =
@@ -133,6 +139,8 @@ const gitSingleArtifactInitialAPIResponses: GitSingleArtifactAPIResponsesReduxSt
loading: false,
error: null,
},
+ // EE
+ ...gitArtifactAPIResponsesInitialStateExtended,
};
export const gitSingleArtifactInitialState: GitSingleArtifactReduxState = {
diff --git a/app/client/src/git/store/selectors/gitConfigSelectors.ts b/app/client/src/git/store/selectors/gitConfigSelectors.ts
new file mode 100644
index 000000000000..be31a23cda5e
--- /dev/null
+++ b/app/client/src/git/store/selectors/gitConfigSelectors.ts
@@ -0,0 +1,12 @@
+import type { GitRootState } from "../types";
+
+export const selectGitConfig = (state: GitRootState) => {
+ return state.git.config;
+};
+
+// global profile
+export const selectFetchGlobalProfileState = (state: GitRootState) =>
+ selectGitConfig(state).globalProfile;
+
+export const selectUpdateGlobalProfileState = (state: GitRootState) =>
+ selectGitConfig(state).updateGlobalProfile;
diff --git a/app/client/src/git/store/selectors/gitSingleArtifactSelectors.ts b/app/client/src/git/store/selectors/gitSingleArtifactSelectors.ts
index 4ff29711e662..a42338ee507c 100644
--- a/app/client/src/git/store/selectors/gitSingleArtifactSelectors.ts
+++ b/app/client/src/git/store/selectors/gitSingleArtifactSelectors.ts
@@ -1,12 +1,12 @@
import type { GitArtifactType } from "git/constants/enums";
import type { GitRootState } from "../types";
-interface GitArtifactDef {
+export interface GitArtifactDef {
artifactType: keyof typeof GitArtifactType;
baseArtifactId: string;
}
-export const selectSingleArtifact = (
+export const selectGitArtifact = (
state: GitRootState,
artifactDef: GitArtifactDef,
) => {
@@ -16,57 +16,73 @@ export const selectSingleArtifact = (
};
// metadata
-export const selectGitMetadata = (
+export const selectMetadataState = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.apiResponses.metadata;
+) => selectGitArtifact(state, artifactDef)?.apiResponses.metadata;
export const selectGitConnected = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => !!selectGitMetadata(state, artifactDef).value;
+) => !!selectMetadataState(state, artifactDef)?.value;
+
+// CONNECT
+export const selectDisconnectState = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectGitArtifact(state, artifactDef)?.apiResponses.disconnect;
+
+export const selectDisconnectBaseArtifactId = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectGitArtifact(state, artifactDef)?.ui.disconnectBaseArtifactId;
+
+export const selectDisconnectArtifactName = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectGitArtifact(state, artifactDef)?.ui.disconnectArtifactName;
// git ops
export const selectCommit = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.apiResponses?.commit;
+) => selectGitArtifact(state, artifactDef)?.apiResponses?.commit;
export const selectDiscard = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.apiResponses?.discard;
+) => selectGitArtifact(state, artifactDef)?.apiResponses?.discard;
export const selectStatus = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.apiResponses?.status;
+) => selectGitArtifact(state, artifactDef)?.apiResponses?.status;
export const selectMerge = (state: GitRootState, artifactDef: GitArtifactDef) =>
- selectSingleArtifact(state, artifactDef)?.apiResponses?.merge;
+ selectGitArtifact(state, artifactDef)?.apiResponses?.merge;
export const selectMergeStatus = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.apiResponses?.mergeStatus;
+) => selectGitArtifact(state, artifactDef)?.apiResponses?.mergeStatus;
export const selectPull = (state: GitRootState, artifactDef: GitArtifactDef) =>
- selectSingleArtifact(state, artifactDef)?.apiResponses?.pull;
+ selectGitArtifact(state, artifactDef)?.apiResponses?.pull;
export const selectOpsModalOpen = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.ui.opsModalOpen;
+) => selectGitArtifact(state, artifactDef)?.ui.opsModalOpen;
export const selectOpsModalTab = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.ui.opsModalTab;
+) => selectGitArtifact(state, artifactDef)?.ui.opsModalTab;
export const selectConflictErrorModalOpen = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.ui.conflictErrorModalOpen;
+) => selectGitArtifact(state, artifactDef)?.ui.conflictErrorModalOpen;
// git branches
@@ -74,7 +90,7 @@ export const selectCurrentBranch = (
state: GitRootState,
artifactDef: GitArtifactDef,
) => {
- const gitMetadataState = selectGitMetadata(state, artifactDef).value;
+ const gitMetadataState = selectMetadataState(state, artifactDef).value;
return gitMetadataState?.branchName;
};
@@ -82,50 +98,99 @@ export const selectCurrentBranch = (
export const selectBranches = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.apiResponses?.branches;
+) => selectGitArtifact(state, artifactDef)?.apiResponses?.branches;
export const selectCreateBranch = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.apiResponses?.createBranch;
+) => selectGitArtifact(state, artifactDef)?.apiResponses?.createBranch;
export const selectDeleteBranch = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.apiResponses?.deleteBranch;
+) => selectGitArtifact(state, artifactDef)?.apiResponses?.deleteBranch;
export const selectCheckoutBranch = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.apiResponses.checkoutBranch;
+) => selectGitArtifact(state, artifactDef)?.apiResponses.checkoutBranch;
+
+// SETTINGS
+
+// local profile
+export const selectFetchLocalProfileState = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectGitArtifact(state, artifactDef)?.apiResponses.localProfile ?? null;
+
+export const selectUpdateLocalProfileState = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectGitArtifact(state, artifactDef)?.apiResponses.updateLocalProfile;
// autocommit
+export const selectToggleAutocommitState = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectGitArtifact(state, artifactDef)?.apiResponses.toggleAutocommit;
+
+export const selectAutocommitDisableModalOpen = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectGitArtifact(state, artifactDef)?.ui.autocommitDisableModalOpen;
+
export const selectAutocommitEnabled = (
state: GitRootState,
artifactDef: GitArtifactDef,
) => {
- const gitMetadata = selectGitMetadata(state, artifactDef).value;
+ const gitMetadata = selectMetadataState(state, artifactDef).value;
- return gitMetadata?.autoCommitConfig?.enabled;
+ return gitMetadata?.autoCommitConfig?.enabled ?? false;
};
export const selectAutocommitPolling = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.ui.autocommitPolling;
+) => selectGitArtifact(state, artifactDef)?.ui.autocommitPolling;
+
+// default branch
+export const selectDefaultBranch = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectMetadataState(state, artifactDef)?.value?.defaultBranchName ?? null;
// protected branches
-export const selectProtectedBranches = (
+export const selectFetchProtectedBranchesState = (
state: GitRootState,
artifactDef: GitArtifactDef,
-) => selectSingleArtifact(state, artifactDef)?.apiResponses.protectedBranches;
+) => selectGitArtifact(state, artifactDef)?.apiResponses.protectedBranches;
+
+export const selectUpdateProtectedBranchesState = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) =>
+ selectGitArtifact(state, artifactDef)?.apiResponses.updateProtectedBranches;
export const selectProtectedMode = (
state: GitRootState,
artifactDef: GitArtifactDef,
) => {
const currentBranch = selectCurrentBranch(state, artifactDef);
- const protectedBranches = selectProtectedBranches(state, artifactDef).value;
+ const protectedBranches = selectFetchProtectedBranchesState(
+ state,
+ artifactDef,
+ ).value;
- return protectedBranches?.includes(currentBranch ?? "");
+ return protectedBranches?.includes(currentBranch ?? "") ?? false;
};
+
+// settings modal
+export const selectSettingsModalOpen = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectGitArtifact(state, artifactDef)?.ui.settingsModalOpen;
+
+export const selectSettingsModalTab = (
+ state: GitRootState,
+ artifactDef: GitArtifactDef,
+) => selectGitArtifact(state, artifactDef)?.ui.settingsModalTab;
diff --git a/app/client/src/git/store/types.ts b/app/client/src/git/store/types.ts
index f023e916ea2e..3c439ac128c7 100644
--- a/app/client/src/git/store/types.ts
+++ b/app/client/src/git/store/types.ts
@@ -11,9 +11,13 @@ import type { FetchBranchesResponseData } from "../requests/fetchBranchesRequest
import type { FetchLocalProfileResponseData } from "../requests/fetchLocalProfileRequest.types";
import type { FetchStatusResponseData } from "git/requests/fetchStatusRequest.types";
import type { FetchMergeStatusResponseData } from "git/requests/fetchMergeStatusRequest.types";
-import type { FetchGitMetadataResponseData } from "git/requests/fetchGitMetadataRequest.types";
+import type { FetchMetadataResponseData } from "git/requests/fetchMetadataRequest.types";
import type { FetchProtectedBranchesResponseData } from "git/requests/fetchProtectedBranchesRequest.types";
import type { ApiResponseError } from "api/types";
+import type {
+ GitArtifactAPIResponsesReduxState as GitArtifactAPIResponsesReduxStateExtended,
+ GitArtifactUIReduxState as GitArtifactUIReduxStateExtended,
+} from "git/ee/store/types";
export type GitSSHKey = Record<string, unknown>;
@@ -22,18 +26,19 @@ export interface GitApiError extends ApiResponseError {
referenceDoc?: string;
title?: string;
}
-interface GitAsyncState<T = unknown> {
+export interface GitAsyncState<T = unknown> {
value: T | null;
loading: boolean;
error: GitApiError | null;
}
-interface GitAsyncStateWithoutValue {
+export interface GitAsyncStateWithoutValue {
loading: boolean;
error: GitApiError | null;
}
-export interface GitSingleArtifactAPIResponsesReduxState {
- metadata: GitAsyncState<FetchGitMetadataResponseData>;
+export interface GitSingleArtifactAPIResponsesReduxState
+ extends GitArtifactAPIResponsesReduxStateExtended {
+ metadata: GitAsyncState<FetchMetadataResponseData>;
connect: GitAsyncStateWithoutValue;
status: GitAsyncState<FetchStatusResponseData>;
commit: GitAsyncStateWithoutValue;
@@ -57,11 +62,14 @@ export interface GitSingleArtifactAPIResponsesReduxState {
generateSSHKey: GitAsyncStateWithoutValue;
}
-export interface GitSingleArtifactUIReduxState {
+export interface GitSingleArtifactUIReduxState
+ extends GitArtifactUIReduxStateExtended {
connectModal: {
open: boolean;
step: keyof typeof GitConnectStep;
};
+ disconnectBaseArtifactId: string | null;
+ disconnectArtifactName: string | null;
importModal: {
open: boolean;
step: keyof typeof GitImportStep;
@@ -71,16 +79,14 @@ export interface GitSingleArtifactUIReduxState {
};
opsModalOpen: boolean;
opsModalTab: keyof typeof GitOpsTab;
+ settingsModalOpen: boolean;
+ settingsModalTab: keyof typeof GitSettingsTab;
+ autocommitDisableModalOpen: boolean;
+ autocommitPolling: boolean;
conflictErrorModalOpen: boolean;
- settingsModal: {
- open: boolean;
- tab: keyof typeof GitSettingsTab;
- };
repoLimitErrorModal: {
open: boolean;
};
- autocommitPolling: boolean;
- autocommitModalOpen: boolean;
}
export interface GitSingleArtifactReduxState {
ui: GitSingleArtifactUIReduxState;
|
c87fd20b02efbf0b39b81b98a372acd724026af3
|
2022-09-08 15:04:12
|
Dhruvik Neharia
|
feat: Update QR Scanner Themes to Code Scanner Themes (#16595)
| false
|
Update QR Scanner Themes to Code Scanner Themes (#16595)
|
feat
|
diff --git a/app/server/appsmith-server/src/main/resources/system-themes.json b/app/server/appsmith-server/src/main/resources/system-themes.json
index 19bab7d64a5c..b0613d626c7d 100644
--- a/app/server/appsmith-server/src/main/resources/system-themes.json
+++ b/app/server/appsmith-server/src/main/resources/system-themes.json
@@ -281,7 +281,7 @@
"fillColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
- "QR_SCANNER_WIDGET": {
+ "CODE_SCANNER_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none"
@@ -684,7 +684,7 @@
"fillColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
- "QR_SCANNER_WIDGET": {
+ "CODE_SCANNER_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none"
@@ -1082,7 +1082,7 @@
"fillColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
- "QR_SCANNER_WIDGET": {
+ "CODE_SCANNER_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none"
@@ -1476,7 +1476,7 @@
"fillColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
- "QR_SCANNER_WIDGET": {
+ "CODE_SCANNER_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none"
@@ -1870,7 +1870,7 @@
"fillColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
- "QR_SCANNER_WIDGET": {
+ "CODE_SCANNER_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none"
@@ -2264,7 +2264,7 @@
"fillColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
- "QR_SCANNER_WIDGET": {
+ "CODE_SCANNER_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none"
@@ -2658,7 +2658,7 @@
"fillColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
- "QR_SCANNER_WIDGET": {
+ "CODE_SCANNER_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none"
@@ -3052,7 +3052,7 @@
"fillColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}"
},
- "QR_SCANNER_WIDGET": {
+ "CODE_SCANNER_WIDGET": {
"buttonColor": "{{appsmith.theme.colors.primaryColor}}",
"borderRadius": "{{appsmith.theme.borderRadius.appBorderRadius}}",
"boxShadow": "none"
|
091c1463090f08a95963d704406cc13d49d4c11b
|
2025-03-12 23:54:56
|
Ankita Kinger
|
chore: Refactoring focus strategy to get the correct key name on history removal for all IDEs (#39689)
| false
|
Refactoring focus strategy to get the correct key name on history removal for all IDEs (#39689)
|
chore
|
diff --git a/app/client/src/ce/navigation/FocusSetters.ts b/app/client/src/ce/navigation/AppIDEFocusSetters.ts
similarity index 100%
rename from app/client/src/ce/navigation/FocusSetters.ts
rename to app/client/src/ce/navigation/AppIDEFocusSetters.ts
diff --git a/app/client/src/ce/navigation/FocusElements/AppIDE.ts b/app/client/src/ce/navigation/FocusElements/AppIDE.ts
index 9286194b85b9..040480abdd39 100644
--- a/app/client/src/ce/navigation/FocusElements/AppIDE.ts
+++ b/app/client/src/ce/navigation/FocusElements/AppIDE.ts
@@ -55,10 +55,10 @@ import {
setSelectedEntityUrl,
setSelectedJSObject,
setSelectedQuery,
-} from "ee/navigation/FocusSetters";
+} from "ee/navigation/AppIDEFocusSetters";
import { getFirstDatasourceId } from "selectors/datasourceSelectors";
import { FocusElement, FocusElementConfigType } from "navigation/FocusElements";
-import type { FocusElementsConfigList } from "sagas/FocusRetentionSaga";
+import type { FocusElementsConfigList } from "ee/navigation/FocusStrategy/types";
import { ActionExecutionResizerHeight } from "PluginActionEditor/components/PluginActionResponse/constants";
import {
getPluginActionConfigSelectedTab,
diff --git a/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.ts b/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.ts
index a358014d55ff..fe90514245f8 100644
--- a/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.ts
+++ b/app/client/src/ce/navigation/FocusStrategy/AppIDEFocusStrategy.ts
@@ -1,5 +1,8 @@
import { all, select, take } from "redux-saga/effects";
-import type { FocusPath, FocusStrategy } from "sagas/FocusRetentionSaga";
+import type {
+ FocusPath,
+ FocusStrategy,
+} from "ee/navigation/FocusStrategy/types";
import type { AppsmithLocationState } from "utils/history";
import { NavigationMethod } from "utils/history";
import type { FocusEntityInfo } from "navigation/FocusEntity";
@@ -288,6 +291,13 @@ export const AppIDEFocusStrategy: FocusStrategy = {
// We do not have to add any query params because this url is used as the key
return parentUrl.split("?")[0];
},
+ getUrlKey: function* (url: string) {
+ const branch: string | undefined = yield select(
+ selectGitApplicationCurrentBranch,
+ );
+
+ return `${url}#${branch}`;
+ },
*waitForPathLoad(currentPath: string, previousPath?: string) {
if (previousPath) {
// When page is changing, there may be some items still not loaded,
diff --git a/app/client/src/ce/navigation/FocusStrategy/NoIDEFocusStrategy.ts b/app/client/src/ce/navigation/FocusStrategy/NoIDEFocusStrategy.ts
index 11a1d37ae3dd..e9f6d0ee3d06 100644
--- a/app/client/src/ce/navigation/FocusStrategy/NoIDEFocusStrategy.ts
+++ b/app/client/src/ce/navigation/FocusStrategy/NoIDEFocusStrategy.ts
@@ -1,4 +1,4 @@
-import type { FocusStrategy } from "sagas/FocusRetentionSaga";
+import type { FocusStrategy } from "ee/navigation/FocusStrategy/types";
import NoIDEFocusElements from "../FocusElements/NoIDE";
export const NoIDEFocusStrategy: FocusStrategy = {
focusElements: NoIDEFocusElements,
@@ -8,8 +8,11 @@ export const NoIDEFocusStrategy: FocusStrategy = {
*getEntitiesForStore() {
return [];
},
- getEntityParentUrl(): string {
+ getEntityParentUrl: (): string => {
return "";
},
+ getUrlKey: function* (url: string) {
+ return url;
+ },
*waitForPathLoad() {},
};
diff --git a/app/client/src/ce/navigation/FocusStrategy/types.ts b/app/client/src/ce/navigation/FocusStrategy/types.ts
new file mode 100644
index 000000000000..d4bf16562ee1
--- /dev/null
+++ b/app/client/src/ce/navigation/FocusStrategy/types.ts
@@ -0,0 +1,50 @@
+import type { FocusEntityInfo } from "navigation/FocusEntity";
+import type { FocusEntity } from "navigation/FocusEntity";
+import type { FocusElementConfig } from "navigation/FocusElements";
+import type { AppsmithLocationState } from "utils/history";
+
+export interface FocusPath {
+ key: string;
+ entityInfo: FocusEntityInfo;
+}
+
+export type FocusElementsConfigList = {
+ [key in FocusEntity]?: FocusElementConfig[];
+};
+
+export interface FocusStrategy {
+ focusElements: FocusElementsConfigList;
+ /** based on the route change, what states need to be set in the upcoming route **/
+ getEntitiesForSet: (
+ previousPath: string,
+ currentPath: string,
+ state: AppsmithLocationState,
+ // TODO: Fix this the next time the file is edited
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ ) => Generator<any, Array<FocusPath>, any>;
+ /** based on the route change, what states need to be stored for the previous route **/
+ getEntitiesForStore: (
+ path: string,
+ currentPath: string,
+ // TODO: Fix this the next time the file is edited
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ ) => Generator<any, Array<FocusPath>, any>;
+ /** For entities with hierarchy, return the parent entity path for storing its state **/
+ getEntityParentUrl: (
+ entityInfo: FocusEntityInfo,
+ parentEntity: FocusEntity,
+ ) => string;
+ /** Get focus history key for the URL */
+ getUrlKey: (
+ url: string,
+ // TODO: Fix this the next time the file is edited
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ ) => Generator<any, string, any>;
+ /** Define a wait (saga) before we start setting states **/
+ waitForPathLoad: (
+ currentPath: string,
+ previousPath: string,
+ // TODO: Fix this the next time the file is edited
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
+ ) => Generator<any, void, any>;
+}
diff --git a/app/client/src/ce/sagas/DatasourcesSagas.ts b/app/client/src/ce/sagas/DatasourcesSagas.ts
index a3230c23cff5..5f41d17faf4a 100644
--- a/app/client/src/ce/sagas/DatasourcesSagas.ts
+++ b/app/client/src/ce/sagas/DatasourcesSagas.ts
@@ -447,7 +447,7 @@ export function* deleteDatasourceSaga(
const isValidResponse: boolean = yield validateResponse(response);
if (isValidResponse) {
- const currentUrl = `${window.location.pathname}`;
+ const currentUrl = window.location.pathname;
yield call(handleDatasourceDeleteRedirect, id);
yield call(FocusRetention.handleRemoveFocusHistory, currentUrl);
diff --git a/app/client/src/ee/navigation/AppIDEFocusSetters.ts b/app/client/src/ee/navigation/AppIDEFocusSetters.ts
new file mode 100644
index 000000000000..9d5b562d5771
--- /dev/null
+++ b/app/client/src/ee/navigation/AppIDEFocusSetters.ts
@@ -0,0 +1 @@
+export * from "ce/navigation/AppIDEFocusSetters";
diff --git a/app/client/src/ee/navigation/FocusSetters.ts b/app/client/src/ee/navigation/FocusSetters.ts
deleted file mode 100644
index c3eb13e44f83..000000000000
--- a/app/client/src/ee/navigation/FocusSetters.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from "ce/navigation/FocusSetters";
diff --git a/app/client/src/ee/navigation/FocusStrategy/types.ts b/app/client/src/ee/navigation/FocusStrategy/types.ts
new file mode 100644
index 000000000000..fcfa8800593e
--- /dev/null
+++ b/app/client/src/ee/navigation/FocusStrategy/types.ts
@@ -0,0 +1 @@
+export * from "ce/navigation/FocusStrategy/types";
diff --git a/app/client/src/sagas/FocusRetentionSaga.ts b/app/client/src/sagas/FocusRetentionSaga.ts
index 5a2470347937..9e4bac0258f9 100644
--- a/app/client/src/sagas/FocusRetentionSaga.ts
+++ b/app/client/src/sagas/FocusRetentionSaga.ts
@@ -21,47 +21,10 @@ import type { Plugin } from "entities/Plugin";
import { getIDETypeByUrl } from "ee/entities/IDE/utils";
import { getIDEFocusStrategy } from "ee/navigation/FocusStrategy";
import { IDE_TYPE } from "ee/IDE/Interfaces/IDETypes";
-import { selectGitApplicationCurrentBranch } from "selectors/gitModSelectors";
-
-export interface FocusPath {
- key: string;
- entityInfo: FocusEntityInfo;
-}
-
-export type FocusElementsConfigList = {
- [key in FocusEntity]?: FocusElementConfig[];
-};
-
-export interface FocusStrategy {
- focusElements: FocusElementsConfigList;
- /** based on the route change, what states need to be set in the upcoming route **/
- getEntitiesForSet: (
- previousPath: string,
- currentPath: string,
- state: AppsmithLocationState,
- // TODO: Fix this the next time the file is edited
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- ) => Generator<any, Array<FocusPath>, any>;
- /** based on the route change, what states need to be stored for the previous route **/
- getEntitiesForStore: (
- path: string,
- currentPath: string,
- // TODO: Fix this the next time the file is edited
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- ) => Generator<any, Array<FocusPath>, any>;
- /** For entities with hierarchy, return the parent entity path for storing its state **/
- getEntityParentUrl: (
- entityInfo: FocusEntityInfo,
- parentEntity: FocusEntity,
- ) => string;
- /** Define a wait (saga) before we start setting states **/
- waitForPathLoad: (
- currentPath: string,
- previousPath: string,
- // TODO: Fix this the next time the file is edited
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
- ) => Generator<any, void, any>;
-}
+import type {
+ FocusPath,
+ FocusStrategy,
+} from "ee/navigation/FocusStrategy/types";
/**
* Context switching works by restoring the states of ui elements to as they were
@@ -123,23 +86,27 @@ class FocusRetention {
}
public *handleRemoveFocusHistory(url: string) {
- const branch: string | undefined = yield select(
- selectGitApplicationCurrentBranch,
- );
const removeKeys: string[] = [];
+ const entityKey: string = yield call(this.focusStrategy.getUrlKey, url);
const focusEntityInfo = identifyEntityFromPath(url);
- removeKeys.push(`${url}#${branch}`);
+ removeKeys.push(entityKey);
const parentElement = FocusStoreHierarchy[focusEntityInfo.entity];
if (parentElement) {
- const parentPath = this.focusStrategy.getEntityParentUrl(
+ const parentUrl: string = yield call(
+ this.focusStrategy.getEntityParentUrl,
focusEntityInfo,
parentElement,
);
- removeKeys.push(`${parentPath}#${branch}`);
+ const parentEntityKey: string = yield call(
+ this.focusStrategy.getUrlKey,
+ parentUrl,
+ );
+
+ removeKeys.push(parentEntityKey);
}
for (const key of removeKeys) {
|
1235e5a7a54433c9c384850bcb0d7756aad204a0
|
2021-11-05 02:18:40
|
Rishabh Rathod
|
fix: git merge (#8892)
| false
|
git merge (#8892)
|
fix
|
diff --git a/app/client/src/api/GitSyncAPI.tsx b/app/client/src/api/GitSyncAPI.tsx
index 80657cc632e8..37a3c13d5b17 100644
--- a/app/client/src/api/GitSyncAPI.tsx
+++ b/app/client/src/api/GitSyncAPI.tsx
@@ -68,9 +68,10 @@ class GitSyncAPI extends Api {
destinationBranch,
sourceBranch,
}: MergeBranchPayload): AxiosPromise<ApiResponse> {
- return Api.post(
- `${GitSyncAPI.baseURL}/merge/${applicationId}?sourceBranch=${sourceBranch}&destinationBranch=${destinationBranch}`,
- );
+ return Api.post(`${GitSyncAPI.baseURL}/merge/${applicationId}`, {
+ sourceBranch,
+ destinationBranch,
+ });
}
static connect(payload: ConnectToGitPayload, applicationId: string) {
diff --git a/app/client/src/pages/Editor/gitSync/Tabs/Merge.tsx b/app/client/src/pages/Editor/gitSync/Tabs/Merge.tsx
index d64e7991fd84..c13551cd6687 100644
--- a/app/client/src/pages/Editor/gitSync/Tabs/Merge.tsx
+++ b/app/client/src/pages/Editor/gitSync/Tabs/Merge.tsx
@@ -1,4 +1,4 @@
-import React, { useMemo, useState, useCallback } from "react";
+import React, { useMemo, useState, useCallback, useEffect } from "react";
import { Title, Caption, Space } from "../components/StyledComponents";
import Dropdown from "components/ads/Dropdown";
@@ -11,38 +11,20 @@ import { ReactComponent as MergeIcon } from "assets/icons/ads/git-merge.svg";
import { ReactComponent as LeftArrow } from "assets/icons/ads/arrow-left-1.svg";
import styled from "styled-components";
-// import * as log from "loglevel";
import Button, { Size } from "components/ads/Button";
import { useSelector, useDispatch } from "react-redux";
import { getCurrentAppGitMetaData } from "selectors/applicationSelectors";
import { getGitBranches } from "selectors/gitSyncSelectors";
import { DropdownOptions } from "../../GeneratePage/components/constants";
-import { mergeBranchInit } from "../../../../actions/gitSyncActions";
+import { mergeBranchInit, fetchBranchesInit } from "actions/gitSyncActions";
+import { getFetchingBranches } from "../../../../selectors/gitSyncSelectors";
const Row = styled.div`
display: flex;
align-items: center;
`;
-// mock data
-const listOfBranchesExceptCurrentBranch = [
- {
- label: "Feature/new",
- value: "Feature/new",
- },
- {
- label: "FeatureA",
- value: "FeatureA",
- },
- {
- label: "FeatureB",
- value: "FeatureB",
- },
- {
- label: "FeatureC",
- value: "FeatureC",
- },
-];
+const DEFAULT_OPTION = "--Select--";
export default function Merge() {
const gitMetaData = useSelector(getCurrentAppGitMetaData);
@@ -50,7 +32,10 @@ export default function Merge() {
const dispatch = useDispatch();
const currentBranch = gitMetaData?.branchName;
- const [selectedBranch, setSelectedBranch] = useState(currentBranch);
+ const [selectedBranchOption, setSelectedBranchOption] = useState({
+ label: DEFAULT_OPTION,
+ value: DEFAULT_OPTION,
+ });
const branchList = useMemo(() => {
const listOfBranches: DropdownOptions = [];
@@ -59,12 +44,12 @@ export default function Merge() {
if (!branchObj.default) {
listOfBranches.push({
label: branchObj.branchName,
- data: { idDefault: branchObj.default },
+ value: branchObj.branchName,
});
} else {
listOfBranches.unshift({
label: branchObj.branchName,
- data: { idDefault: branchObj.default },
+ value: branchObj.branchName,
});
}
}
@@ -78,15 +63,23 @@ export default function Merge() {
};
const mergeHandler = useCallback(() => {
- if (currentBranch && selectedBranch) {
+ if (currentBranch && selectedBranchOption.value) {
dispatch(
mergeBranchInit({
sourceBranch: currentBranch,
- destinationBranch: selectedBranch,
+ destinationBranch: selectedBranchOption.value,
}),
);
}
- }, [currentBranch, selectedBranch, dispatch]);
+ }, [currentBranch, selectedBranchOption.value, dispatch]);
+
+ useEffect(() => {
+ dispatch(fetchBranchesInit());
+ }, []);
+
+ const isFetchingBranches = useSelector(getFetchingBranches);
+
+ const mergeBtnDisabled = DEFAULT_OPTION === selectedBranchOption.value;
return (
<>
@@ -99,11 +92,12 @@ export default function Merge() {
<Space horizontal size={3} />
<Dropdown
fillOptions
+ isLoading={isFetchingBranches}
onSelect={(value?: string) => {
- setSelectedBranch(value);
+ if (value) setSelectedBranchOption({ label: value, value: value });
}}
- options={listOfBranchesExceptCurrentBranch || branchList}
- selected={{ label: selectedBranch, value: selectedBranch }}
+ options={branchList}
+ selected={selectedBranchOption}
showLabelOnly
width={"220px"}
/>
@@ -121,8 +115,10 @@ export default function Merge() {
</Row>
<Space size={10} />
<Button
+ disabled={mergeBtnDisabled}
onClick={mergeHandler}
size={Size.medium}
+ tag="button"
text={createMessage(MERGE_CHANGES)}
width="max-content"
/>
|
cd96013b6885e0b7bb1f8046e1727c77b5b83beb
|
2023-05-04 00:19:40
|
Nidhi
|
fix: Updated Template to create datasourceConfigurationStructureList (#22873)
| false
|
Updated Template to create datasourceConfigurationStructureList (#22873)
|
fix
|
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitSync/GitSyncedApps_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitSync/GitSyncedApps_spec.js
index 16d609e64aae..1b038316ec60 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitSync/GitSyncedApps_spec.js
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Git/GitSync/GitSyncedApps_spec.js
@@ -31,13 +31,7 @@ describe("Git sync apps", function () {
});
it("1. Generate postgreSQL crud page , connect to git, clone the page, rename page with special character in it", () => {
cy.NavigateToHome();
- cy.get(homePage.createNew).first().click({ force: true });
-
- cy.wait("@createNewApplication").should(
- "have.nested.property",
- "response.body.responseMeta.status",
- 201,
- );
+ _.homePage.CreateNewApplication();
// create New App and generate Postgres CRUD page
cy.get(generatePage.generateCRUDPageActionCard).click();
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/LeaveWorkspaceTest_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/LeaveWorkspaceTest_spec.js
index eca283702057..06127df8b107 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/LeaveWorkspaceTest_spec.js
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/LeaveWorkspaceTest_spec.js
@@ -10,10 +10,11 @@ describe("Leave workspace test spec", function () {
cy.get("@guid").then((uid) => {
newWorkspaceName = "LeaveWorkspace" + uid;
_.homePage.CreateNewWorkspace(newWorkspaceName);
+ cy.get(_.homePage._homeIcon).click();
cy.openWorkspaceOptionsPopup(newWorkspaceName);
// verify leave workspace is visible
- cy.contains("Leave Workspace").scrollIntoView().click({ force: true });
- cy.contains("Are you sure").scrollIntoView().click({ force: true });
+ cy.contains("Leave Workspace").click();
+ cy.contains("Are you sure").click();
cy.wait("@leaveWorkspaceApiCall").then((httpResponse) => {
expect(httpResponse.status).to.equal(400);
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL2_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL2_Spec.ts
index 2760caa648d1..14943665e849 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL2_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL2_Spec.ts
@@ -124,13 +124,13 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => {
updateNVerify(6, 4, newStoreSecret as string);
});
- table.SelectTableRow(18);
- dataSources.AssertJSONFormHeader(18, 0, "store_id");
- generateStoresSecretInfo(18);
+ table.SelectTableRow(17);
+ dataSources.AssertJSONFormHeader(17, 0, "store_id");
+ generateStoresSecretInfo(17);
cy.get("@secretInfo").then(($secretInfo) => {
newStoreSecret = $secretInfo;
cy.log("newStoreSecret is : " + newStoreSecret);
- updateNVerify(18, 4, newStoreSecret as string);
+ updateNVerify(17, 4, newStoreSecret as string);
});
//Hidden field bug - to add here aft secret codes are updated for some fields!
@@ -197,11 +197,22 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => {
table.NavigateToNextPage(); //page 2
agHelper.Sleep(3000); //wait for table navigation to take effect!
- table.WaitForTableEmpty(); //page 2
+ table.WaitUntilTableLoad(); //page 2
+ agHelper.AssertElementVisible(locator._jsonFormWidget); // JSON form should be present
+
+ table.NavigateToNextPage(); //page 3
+ agHelper.Sleep(3000); //wait for table navigation to take effect!
+ table.WaitForTableEmpty(); //page 3
agHelper.AssertElementAbsence(locator._jsonFormWidget); //JSON form also should not be present
//Try to add via to Insert Modal - JSON fields not showing correct fields, Open bug 14122
+ // Go back to page 2
+ table.NavigateToPreviousPage();
+ agHelper.Sleep(3000); //wait for table navigation to take effect!
+ table.WaitUntilTableLoad();
+
+ // Go back to page 1
table.NavigateToPreviousPage();
agHelper.Sleep(3000); //wait for table navigation to take effect!
table.WaitUntilTableLoad();
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/CreateDBTablePageSolutionImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/CreateDBTablePageSolutionImpl.java
index b23a773549cb..18b08687e63f 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/CreateDBTablePageSolutionImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/CreateDBTablePageSolutionImpl.java
@@ -30,10 +30,11 @@ public CreateDBTablePageSolutionImpl(DatasourceService datasourceService,
PluginExecutorHelper pluginExecutorHelper,
DatasourcePermission datasourcePermission,
ApplicationPermission applicationPermission,
- PagePermission pagePermission) {
+ PagePermission pagePermission,
+ DatasourceStructureSolution datasourceStructureSolution) {
super(datasourceService, newPageService, layoutActionService, applicationPageService, applicationService,
pluginService, analyticsService, sessionUserService, responseUtils, pluginExecutorHelper,
- datasourcePermission, applicationPermission, pagePermission);
+ datasourcePermission, applicationPermission, pagePermission, datasourceStructureSolution);
}
}
\ No newline at end of file
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/CreateDBTablePageSolutionCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/CreateDBTablePageSolutionCEImpl.java
index 7de6cfed4958..9b11b17aab50 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/CreateDBTablePageSolutionCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/solutions/ce/CreateDBTablePageSolutionCEImpl.java
@@ -40,6 +40,7 @@
import com.appsmith.server.services.SessionUserService;
import com.appsmith.server.solutions.ApplicationPermission;
import com.appsmith.server.solutions.DatasourcePermission;
+import com.appsmith.server.solutions.DatasourceStructureSolution;
import com.appsmith.server.solutions.PagePermission;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
@@ -87,6 +88,7 @@ public class CreateDBTablePageSolutionCEImpl implements CreateDBTablePageSolutio
private final DatasourcePermission datasourcePermission;
private final ApplicationPermission applicationPermission;
private final PagePermission pagePermission;
+ private final DatasourceStructureSolution datasourceStructureSolution;
private static final String FILE_PATH = "CRUD-DB-Table-Template-Application.json";
@@ -204,13 +206,16 @@ public Mono<CRUDPageResponseDTO> createPageFromDBTable(String defaultPageId,
return datasourceMono
.zipWhen(datasource -> Mono.zip(
pageMono,
- pluginService.findById(datasource.getPluginId())
+ pluginService.findById(datasource.getPluginId()),
+ datasourceStructureSolution.getStructure(datasource, false, null)
)
)
.flatMap(tuple -> {
Datasource datasource = tuple.getT1();
NewPage page = tuple.getT2().getT1();
Plugin plugin = tuple.getT2().getT2();
+ DatasourceStructure datasourceStructure = tuple.getT2().getT3();
+
final String layoutId = page.getUnpublishedPage().getLayouts().get(0).getId();
final String savedPageId = page.getId();
@@ -296,7 +301,7 @@ public Mono<CRUDPageResponseDTO> createPageFromDBTable(String defaultPageId,
.findAny()
.orElse(null);
- Table table = getTable(templateDatasourceConfigurationStructure, tableName);
+ Table table = getTable(datasourceStructure, tableName);
if (table == null) {
return Mono.error(
new AppsmithException(AppsmithError.NO_RESOURCE_FOUND, FieldName.DATASOURCE_STRUCTURE, datasource.getName())
@@ -473,16 +478,15 @@ private Mono<NewPage> getOrCreatePage(String defaultApplicationId, String defaul
}
/**
- * @param datasourceConfigurationStructure resource from which table has to be filtered
+ * @param datasourceStructure resource from which table has to be filtered
* @param tableName to filter the available tables in the datasource
* @return Table from the provided datasource if structure is present
*/
- private Table getTable(DatasourceConfigurationStructure datasourceConfigurationStructure, String tableName) {
+ private Table getTable(DatasourceStructure datasourceStructure, String tableName) {
/*
1. Get structure from datasource
2. Filter by tableName
*/
- DatasourceStructure datasourceStructure = datasourceConfigurationStructure.getStructure();
if (datasourceStructure != null) {
return datasourceStructure.getTables()
.stream()
diff --git a/app/server/appsmith-server/src/main/resources/CRUD-DB-Table-Template-Application.json b/app/server/appsmith-server/src/main/resources/CRUD-DB-Table-Template-Application.json
index 1917c205185e..5ff6151d437e 100644
--- a/app/server/appsmith-server/src/main/resources/CRUD-DB-Table-Template-Application.json
+++ b/app/server/appsmith-server/src/main/resources/CRUD-DB-Table-Template-Application.json
@@ -1 +1 @@
-{"editModeTheme":{"new":true,"isSystemTheme":true,"displayName":"Modern","name":"Default"},"datasourceList":[{"isConfigured":true,"new":true,"invalids":[],"pluginId":"amazons3-plugin","isValid":true,"name":"AmazonS3 CRUD","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528942","structure":{}},{"isConfigured":true,"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"Appsmith Release","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528a53","structure":{}},{"isConfigured":true,"new":true,"invalids":[],"pluginId":"firestore-plugin","isValid":true,"name":"FBTemplateDB","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d70450952893f","structure":{}},{"isConfigured":true,"new":true,"invalids":[],"pluginId":"google-sheets-plugin","isValid":true,"name":"Google Sheet","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528941","structure":{}},{"isConfigured":true,"new":true,"invalids":[],"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d70450952893c","structure":{"tables":[{"schema":"public","columns":[{"defaultValue":"nextval('aforce_roster_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"email","type":"text","isAutogenerated":false},{"name":"name","type":"text","isAutogenerated":false},{"name":"registration_date","type":"date","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"aforce_roster_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"aforce_heroes\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"aforce_heroes\" (\"email\", \"name\", \"registration_date\")\n VALUES ('', '', '2019-07-01');"},{"title":"UPDATE","body":"UPDATE public.\"aforce_heroes\" SET\n \"email\" = '',\n \"name\" = '',\n \"registration_date\" = '2019-07-01'\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"aforce_heroes\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.aforce_heroes","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('aforce_issue_upvote_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"link","type":"text","isAutogenerated":false},{"name":"comment","type":"text","isAutogenerated":false},{"name":"author","type":"text","isAutogenerated":false},{"defaultValue":"CURRENT_TIMESTAMP","name":"created_at","type":"timestamp","isAutogenerated":false},{"name":"issue_id","type":"int4","isAutogenerated":false},{"defaultValue":"'None'::text","name":"comm_status","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"aforce_issue_upvote_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"aforce_issue_upvote\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"aforce_issue_upvote\" (\"link\", \"comment\", \"author\", \"issue_id\")\n VALUES ('', '', '', 1);"},{"title":"UPDATE","body":"UPDATE public.\"aforce_issue_upvote\" SET\n \"link\" = '',\n \"comment\" = '',\n \"author\" = '',\n \"issue_id\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"aforce_issue_upvote\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.aforce_issue_upvote","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('aforce_roster_id_seq1'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"start_date","type":"date","isAutogenerated":false},{"name":"hero_id","type":"int4","isAutogenerated":false},{"name":"end_date","type":"date","isAutogenerated":false},{"name":"support_team","type":"text","isAutogenerated":false},{"name":"pod","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"aforce_roster_pkey1","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"aforce_roster\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"aforce_roster\" (\"start_date\", \"hero_id\", \"end_date\", \"support_team\", \"pod\")\n VALUES ('2019-07-01', 1, '2019-07-01', '', '');"},{"title":"UPDATE","body":"UPDATE public.\"aforce_roster\" SET\n \"start_date\" = '2019-07-01',\n \"hero_id\" = 1,\n \"end_date\" = '2019-07-01',\n \"support_team\" = '',\n \"pod\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"aforce_roster\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.aforce_roster","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('discord_messages_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"msg_id","type":"text","isAutogenerated":false},{"name":"created_at","type":"date","isAutogenerated":false},{"name":"author","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"discord_messages_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"discord_messages\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"discord_messages\" (\"msg_id\", \"created_at\", \"author\")\n VALUES ('', '2019-07-01', '');"},{"title":"UPDATE","body":"UPDATE public.\"discord_messages\" SET\n \"msg_id\" = '',\n \"created_at\" = '2019-07-01',\n \"author\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"discord_messages\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.discord_messages","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('email_issues_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"from","type":"text","isAutogenerated":false},{"name":"body","type":"text","isAutogenerated":false},{"name":"created_at","type":"timestamptz","isAutogenerated":false},{"name":"subject","type":"text","isAutogenerated":false},{"name":"is_tagged","type":"bool","isAutogenerated":false},{"name":"assignee","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"email_issues_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"email_issues\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"email_issues\" (\"from\", \"body\", \"created_at\", \"subject\", \"is_tagged\", \"assignee\")\n VALUES ('', '', TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET', '', '', '');"},{"title":"UPDATE","body":"UPDATE public.\"email_issues\" SET\n \"from\" = '',\n \"body\" = '',\n \"created_at\" = TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET',\n \"subject\" = '',\n \"is_tagged\" = '',\n \"assignee\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"email_issues\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.email_issues","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('github_issues_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"upvotes","type":"int4","isAutogenerated":false},{"name":"closed_date","type":"date","isAutogenerated":false},{"name":"created_date","type":"date","isAutogenerated":false},{"name":"assignee","type":"text","isAutogenerated":false},{"name":"state","type":"text","isAutogenerated":false},{"name":"issue_creator_id","type":"text","isAutogenerated":false},{"name":"title","type":"text","isAutogenerated":false},{"name":"issue_number","type":"int4","isAutogenerated":false},{"name":"label_arr","type":"_text","isAutogenerated":false},{"name":"total_reactions","type":"int4","isAutogenerated":false},{"name":"unique_commentors","type":"int4","isAutogenerated":false},{"name":"updated_at","type":"timestamp","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"github_issues_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"github_issues\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"github_issues\" (\"upvotes\", \"closed_date\", \"created_date\", \"assignee\", \"state\", \"issue_creator_id\", \"title\", \"issue_number\", \"label_arr\", \"total_reactions\", \"unique_commentors\", \"updated_at\")\n VALUES (1, '2019-07-01', '2019-07-01', '', '', '', '', 1, '', 1, 1, TIMESTAMP '2019-07-01 10:00:00');"},{"title":"UPDATE","body":"UPDATE public.\"github_issues\" SET\n \"upvotes\" = 1,\n \"closed_date\" = '2019-07-01',\n \"created_date\" = '2019-07-01',\n \"assignee\" = '',\n \"state\" = '',\n \"issue_creator_id\" = '',\n \"title\" = '',\n \"issue_number\" = 1,\n \"label_arr\" = '',\n \"total_reactions\" = 1,\n \"unique_commentors\" = 1,\n \"updated_at\" = TIMESTAMP '2019-07-01 10:00:00'\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"github_issues\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.github_issues","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('issue_db_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"github_issue_id","type":"int4","isAutogenerated":false},{"name":"author","type":"text","isAutogenerated":false},{"name":"created_at","type":"timestamp","isAutogenerated":false},{"name":"title","type":"text","isAutogenerated":false},{"name":"description","type":"text","isAutogenerated":false},{"name":"labels","type":"_text","isAutogenerated":false},{"name":"type","type":"text","isAutogenerated":false},{"name":"state","type":"text","isAutogenerated":false},{"name":"answer","type":"text","isAutogenerated":false},{"name":"link","type":"text","isAutogenerated":false},{"name":"states","type":"_text","isAutogenerated":false},{"defaultValue":"'None'::text","name":"priority_status","type":"text","isAutogenerated":false},{"defaultValue":"'Idle'::text","name":"issue_status","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"issue_db_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"global_issues\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"global_issues\" (\"github_issue_id\", \"author\", \"created_at\", \"title\", \"description\", \"labels\", \"type\", \"state\", \"answer\", \"link\", \"states\")\n VALUES (1, '', TIMESTAMP '2019-07-01 10:00:00', '', '', '', '', '', '', '', '');"},{"title":"UPDATE","body":"UPDATE public.\"global_issues\" SET\n \"github_issue_id\" = 1,\n \"author\" = '',\n \"created_at\" = TIMESTAMP '2019-07-01 10:00:00',\n \"title\" = '',\n \"description\" = '',\n \"labels\" = '',\n \"type\" = '',\n \"state\" = '',\n \"answer\" = '',\n \"link\" = '',\n \"states\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"global_issues\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.global_issues","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('issue_upvote_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"link","type":"text","isAutogenerated":false},{"name":"comment","type":"text","isAutogenerated":false},{"name":"author","type":"text","isAutogenerated":false},{"name":"created_at","type":"timestamp","isAutogenerated":false},{"name":"issue_id","type":"int4","isAutogenerated":false},{"defaultValue":"'None'::text","name":"issue_comm_status","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"issue_upvote_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"issue_upvote\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"issue_upvote\" (\"link\", \"comment\", \"author\", \"created_at\", \"issue_id\")\n VALUES ('', '', '', TIMESTAMP '2019-07-01 10:00:00', 1);"},{"title":"UPDATE","body":"UPDATE public.\"issue_upvote\" SET\n \"link\" = '',\n \"comment\" = '',\n \"author\" = '',\n \"created_at\" = TIMESTAMP '2019-07-01 10:00:00',\n \"issue_id\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"issue_upvote\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.issue_upvote","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('product_comments_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"comment","type":"text","isAutogenerated":false},{"name":"author","type":"varchar","isAutogenerated":false},{"defaultValue":"CURRENT_TIMESTAMP","name":"created_at","type":"timestamp","isAutogenerated":false},{"name":"issue_id","type":"int4","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"product_comments_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"product_comments\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"product_comments\" (\"comment\", \"author\", \"issue_id\")\n VALUES ('', '', 1);"},{"title":"UPDATE","body":"UPDATE public.\"product_comments\" SET\n \"comment\" = '',\n \"author\" = '',\n \"issue_id\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"product_comments\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.product_comments","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('sample_apps_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"title","type":"varchar","isAutogenerated":false},{"name":"description","type":"text","isAutogenerated":false},{"name":"link","type":"text","isAutogenerated":false},{"name":"author","type":"varchar","isAutogenerated":false},{"defaultValue":"CURRENT_DATE","name":"created_at","type":"timestamp","isAutogenerated":false},{"name":"categories","type":"text","isAutogenerated":false},{"name":"tags","type":"text","isAutogenerated":false},{"name":"status","type":"text","isAutogenerated":false},{"name":"isdeleted","type":"bool","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"sample_apps_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"sample_apps\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"sample_apps\" (\"title\", \"description\", \"link\", \"author\", \"categories\", \"tags\", \"status\", \"isdeleted\")\n VALUES ('', '', '', '', '', '', '', '');"},{"title":"UPDATE","body":"UPDATE public.\"sample_apps\" SET\n \"title\" = '',\n \"description\" = '',\n \"link\" = '',\n \"author\" = '',\n \"categories\" = '',\n \"tags\" = '',\n \"status\" = '',\n \"isdeleted\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"sample_apps\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.sample_apps","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('standup_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"name","type":"text","isAutogenerated":false},{"name":"yesterday","type":"text","isAutogenerated":false},{"name":"today","type":"text","isAutogenerated":false},{"name":"blocked","type":"text","isAutogenerated":false},{"name":"date","type":"date","isAutogenerated":false},{"name":"pod","type":"text","isAutogenerated":false},{"name":"dayrating","type":"int4","isAutogenerated":false},{"name":"restrating","type":"int4","isAutogenerated":false},{"name":"focusrating","type":"int4","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"standup_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"standup\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"standup\" (\"name\", \"yesterday\", \"today\", \"blocked\", \"date\", \"pod\", \"dayrating\", \"restrating\", \"focusrating\")\n VALUES ('', '', '', '', '2019-07-01', '', 1, 1, 1);"},{"title":"UPDATE","body":"UPDATE public.\"standup\" SET\n \"name\" = '',\n \"yesterday\" = '',\n \"today\" = '',\n \"blocked\" = '',\n \"date\" = '2019-07-01',\n \"pod\" = '',\n \"dayrating\" = 1,\n \"restrating\" = 1,\n \"focusrating\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"standup\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.standup","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('support_tickets_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"description","type":"varchar","isAutogenerated":false},{"name":"created_at","type":"timestamptz","isAutogenerated":false},{"name":"author","type":"text","isAutogenerated":false},{"name":"user","type":"text","isAutogenerated":false},{"name":"comments","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"support_tickets_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"support_tickets\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"support_tickets\" (\"description\", \"created_at\", \"author\", \"user\", \"comments\")\n VALUES ('', TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET', '', '', '');"},{"title":"UPDATE","body":"UPDATE public.\"support_tickets\" SET\n \"description\" = '',\n \"created_at\" = TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET',\n \"author\" = '',\n \"user\" = '',\n \"comments\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"support_tickets\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.support_tickets","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('template_table_col1_seq'::regclass)","name":"col1","type":"int4","isAutogenerated":true},{"name":"col2","type":"text","isAutogenerated":false},{"name":"col3","type":"int4","isAutogenerated":false},{"name":"col4","type":"bool","isAutogenerated":false},{"name":"col5","type":"float8","isAutogenerated":false},{"name":"col6","type":"date","isAutogenerated":false},{"name":"col7","type":"json","isAutogenerated":false},{"name":"col8","type":"varchar","isAutogenerated":false},{"name":"col9","type":"numeric","isAutogenerated":false},{"name":"col10","type":"text","isAutogenerated":false},{"name":"col11","type":"text","isAutogenerated":false},{"name":"col12","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["col1"],"name":"template_table_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"template_table\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"template_table\" (\"col2\", \"col3\", \"col4\", \"col5\", \"col6\", \"col7\", \"col8\", \"col9\", \"col10\", \"col11\", \"col12\")\n VALUES ('', 1, '', 1.0, '2019-07-01', '', '', '', '', '', '');"},{"title":"UPDATE","body":"UPDATE public.\"template_table\" SET\n \"col2\" = '',\n \"col3\" = 1,\n \"col4\" = '',\n \"col5\" = 1.0,\n \"col6\" = '2019-07-01',\n \"col7\" = '',\n \"col8\" = '',\n \"col9\" = '',\n \"col10\" = '',\n \"col11\" = '',\n \"col12\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"template_table\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.template_table","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('ticket_tags_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"ticket_id","type":"int4","isAutogenerated":false},{"name":"github_tag_id","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"ticket_tags_pkey","type":"primary key"},{"fromColumns":["ticket_id"],"name":"ticket_id_fk","toColumns":["support_tickets.id"],"type":"foreign key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"ticket_tags\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"ticket_tags\" (\"ticket_id\", \"github_tag_id\")\n VALUES (1, '');"},{"title":"UPDATE","body":"UPDATE public.\"ticket_tags\" SET\n \"ticket_id\" = 1,\n \"github_tag_id\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"ticket_tags\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.ticket_tags","type":"TABLE"}]}},{"isConfigured":true,"new":true,"invalids":[],"pluginId":"mongo-plugin","isValid":true,"name":"Mock_Mongo","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"5f7add8687af934ed846dd6a_61c43332e89bc475f3cae797","structure":{"tables":[{"columns":[{"name":"_id","type":"ObjectId","isAutogenerated":true},{"name":"col1","type":"String","isAutogenerated":false},{"name":"col2","type":"String","isAutogenerated":false},{"name":"col3","type":"String","isAutogenerated":false},{"name":"col4","type":"String","isAutogenerated":false}],"keys":[],"templates":[{"configuration":{"find":{"query":"{ \"col1\": \"test\"}","limit":"10","sort":"{\"_id\": 1}"},"collection":"template_table","command":"FIND","smartSubstitution":true},"title":"Find","body":"{\n \"find\": \"template_table\",\n \"filter\": {\n \"col1\": \"test\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n"},{"configuration":{"find":{"query":"{\"_id\": ObjectId(\"id_to_query_with\")}"},"collection":"template_table","command":"FIND","smartSubstitution":true},"title":"Find by ID","body":"{\n \"find\": \"template_table\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n"},{"configuration":{"insert":{"documents":"[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"col1\": \"new value\",\n \"col2\": \"new value\",\n \"col3\": \"new value\",\n \"col4\": \"new value\",\n}]"},"collection":"template_table","command":"INSERT","smartSubstitution":true},"title":"Insert","body":"{\n \"insert\": \"template_table\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"col1\": \"new value\",\n \"col2\": \"new value\",\n \"col3\": \"new value\",\n \"col4\": \"new value\",\n }\n ]\n}\n"},{"configuration":{"updateMany":{"query":"{ \"_id\": ObjectId(\"id_of_document_to_update\") }","limit":"ALL","update":"{ \"$set\": { \"col1\": \"new value\" } }"},"collection":"template_table","command":"UPDATE","smartSubstitution":true},"title":"Update","body":"{\n \"update\": \"template_table\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"col1\": \"new value\" } }\n }\n ]\n}\n"},{"configuration":{"collection":"template_table","delete":{"query":"{ \"_id\": ObjectId(\"id_of_document_to_delete\") }","limit":"SINGLE"},"command":"DELETE","smartSubstitution":true},"title":"Delete","body":"{\n \"delete\": \"template_table\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n"}],"name":"template_table","type":"COLLECTION"},{"columns":[{"name":"_id","type":"ObjectId","isAutogenerated":true},{"name":"createdAt","type":"Date","isAutogenerated":false},{"name":"email","type":"String","isAutogenerated":false},{"name":"name","type":"String","isAutogenerated":false},{"name":"role","type":"String","isAutogenerated":false},{"name":"status","type":"Object","isAutogenerated":false}],"keys":[],"templates":[{"configuration":{"find":{"query":"{ \"email\": \"[email protected]\"}","limit":"10","sort":"{\"_id\": 1}"},"collection":"users","command":"FIND","smartSubstitution":true},"title":"Find","body":"{\n \"find\": \"users\",\n \"filter\": {\n \"email\": \"[email protected]\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n"},{"configuration":{"find":{"query":"{\"_id\": ObjectId(\"id_to_query_with\")}"},"collection":"users","command":"FIND","smartSubstitution":true},"title":"Find by ID","body":"{\n \"find\": \"users\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n"},{"configuration":{"insert":{"documents":"[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"email\": \"new value\",\n \"name\": \"new value\",\n \"role\": \"new value\",\n \"status\": {},\n}]"},"collection":"users","command":"INSERT","smartSubstitution":true},"title":"Insert","body":"{\n \"insert\": \"users\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"email\": \"new value\",\n \"name\": \"new value\",\n \"role\": \"new value\",\n \"status\": {},\n }\n ]\n}\n"},{"configuration":{"updateMany":{"query":"{ \"_id\": ObjectId(\"id_of_document_to_update\") }","limit":"ALL","update":"{ \"$set\": { \"email\": \"new value\" } }"},"collection":"users","command":"UPDATE","smartSubstitution":true},"title":"Update","body":"{\n \"update\": \"users\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"email\": \"new value\" } }\n }\n ]\n}\n"},{"configuration":{"collection":"users","delete":{"query":"{ \"_id\": ObjectId(\"id_of_document_to_delete\") }","limit":"SINGLE"},"command":"DELETE","smartSubstitution":true},"title":"Delete","body":"{\n \"delete\": \"users\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n"}],"name":"users","type":"COLLECTION"},{"columns":[{"name":"_id","type":"ObjectId","isAutogenerated":true},{"name":"createdAt","type":"Date","isAutogenerated":false},{"name":"currentLimit","type":"Integer","isAutogenerated":false},{"name":"featureName","type":"String","isAutogenerated":false},{"name":"key","type":"Integer","isAutogenerated":false},{"name":"limit","type":"Integer","isAutogenerated":false},{"name":"subscriptionId","type":"ObjectId","isAutogenerated":true}],"keys":[],"templates":[{"configuration":{"find":{"query":"{ \"featureName\": \"Okuneva Inc\"}","limit":"10","sort":"{\"_id\": 1}"},"collection":"orgs","command":"FIND","smartSubstitution":true},"title":"Find","body":"{\n \"find\": \"orgs\",\n \"filter\": {\n \"featureName\": \"Okuneva Inc\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n"},{"configuration":{"find":{"query":"{\"_id\": ObjectId(\"id_to_query_with\")}"},"collection":"orgs","command":"FIND","smartSubstitution":true},"title":"Find by ID","body":"{\n \"find\": \"orgs\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n"},{"configuration":{"insert":{"documents":"[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currentLimit\": 1,\n \"featureName\": \"new value\",\n \"key\": 1,\n \"limit\": 1,\n \"subscriptionId\": ObjectId(\"a_valid_object_id_hex\"),\n}]"},"collection":"orgs","command":"INSERT","smartSubstitution":true},"title":"Insert","body":"{\n \"insert\": \"orgs\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currentLimit\": 1,\n \"featureName\": \"new value\",\n \"key\": 1,\n \"limit\": 1,\n \"subscriptionId\": ObjectId(\"a_valid_object_id_hex\"),\n }\n ]\n}\n"},{"configuration":{"updateMany":{"query":"{ \"_id\": ObjectId(\"id_of_document_to_update\") }","limit":"ALL","update":"{ \"$set\": { \"featureName\": \"new value\" } }"},"collection":"orgs","command":"UPDATE","smartSubstitution":true},"title":"Update","body":"{\n \"update\": \"orgs\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"featureName\": \"new value\" } }\n }\n ]\n}\n"},{"configuration":{"collection":"orgs","delete":{"query":"{ \"_id\": ObjectId(\"id_of_document_to_delete\") }","limit":"SINGLE"},"command":"DELETE","smartSubstitution":true},"title":"Delete","body":"{\n \"delete\": \"orgs\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n"}],"name":"orgs","type":"COLLECTION"},{"columns":[{"name":"_id","type":"ObjectId","isAutogenerated":true},{"name":"createdAt","type":"Date","isAutogenerated":false},{"name":"createdBy","type":"ObjectId","isAutogenerated":true},{"name":"domain","type":"String","isAutogenerated":false},{"name":"name","type":"String","isAutogenerated":false},{"name":"numUsers","type":"Integer","isAutogenerated":false},{"name":"orgId","type":"ObjectId","isAutogenerated":true}],"keys":[],"templates":[{"configuration":{"find":{"query":"{ \"domain\": \"adolph.biz\"}","limit":"10","sort":"{\"_id\": 1}"},"collection":"apps","command":"FIND","smartSubstitution":true},"title":"Find","body":"{\n \"find\": \"apps\",\n \"filter\": {\n \"domain\": \"adolph.biz\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n"},{"configuration":{"find":{"query":"{\"_id\": ObjectId(\"id_to_query_with\")}"},"collection":"apps","command":"FIND","smartSubstitution":true},"title":"Find by ID","body":"{\n \"find\": \"apps\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n"},{"configuration":{"insert":{"documents":"[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"createdBy\": ObjectId(\"a_valid_object_id_hex\"),\n \"domain\": \"new value\",\n \"name\": \"new value\",\n \"numUsers\": 1,\n \"orgId\": ObjectId(\"a_valid_object_id_hex\"),\n}]"},"collection":"apps","command":"INSERT","smartSubstitution":true},"title":"Insert","body":"{\n \"insert\": \"apps\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"createdBy\": ObjectId(\"a_valid_object_id_hex\"),\n \"domain\": \"new value\",\n \"name\": \"new value\",\n \"numUsers\": 1,\n \"orgId\": ObjectId(\"a_valid_object_id_hex\"),\n }\n ]\n}\n"},{"configuration":{"updateMany":{"query":"{ \"_id\": ObjectId(\"id_of_document_to_update\") }","limit":"ALL","update":"{ \"$set\": { \"domain\": \"new value\" } }"},"collection":"apps","command":"UPDATE","smartSubstitution":true},"title":"Update","body":"{\n \"update\": \"apps\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"domain\": \"new value\" } }\n }\n ]\n}\n"},{"configuration":{"collection":"apps","delete":{"query":"{ \"_id\": ObjectId(\"id_of_document_to_delete\") }","limit":"SINGLE"},"command":"DELETE","smartSubstitution":true},"title":"Delete","body":"{\n \"delete\": \"apps\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n"}],"name":"apps","type":"COLLECTION"},{"columns":[{"name":"_id","type":"ObjectId","isAutogenerated":true},{"name":"createdAt","type":"Date","isAutogenerated":false},{"name":"currency","type":"String","isAutogenerated":false},{"name":"mrr","type":"String","isAutogenerated":false},{"name":"name","type":"String","isAutogenerated":false},{"name":"renewalDate","type":"Date","isAutogenerated":false},{"name":"status","type":"String","isAutogenerated":false},{"name":"statusOfApp","type":"Object","isAutogenerated":false}],"keys":[],"templates":[{"configuration":{"find":{"query":"{ \"currency\": \"RUB\"}","limit":"10","sort":"{\"_id\": 1}"},"collection":"subscriptions","command":"FIND","smartSubstitution":true},"title":"Find","body":"{\n \"find\": \"subscriptions\",\n \"filter\": {\n \"currency\": \"RUB\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n"},{"configuration":{"find":{"query":"{\"_id\": ObjectId(\"id_to_query_with\")}"},"collection":"subscriptions","command":"FIND","smartSubstitution":true},"title":"Find by ID","body":"{\n \"find\": \"subscriptions\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n"},{"configuration":{"insert":{"documents":"[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currency\": \"new value\",\n \"mrr\": \"new value\",\n \"name\": \"new value\",\n \"renewalDate\": new Date(\"2019-07-01\"),\n \"status\": \"new value\",\n \"statusOfApp\": {},\n}]"},"collection":"subscriptions","command":"INSERT","smartSubstitution":true},"title":"Insert","body":"{\n \"insert\": \"subscriptions\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currency\": \"new value\",\n \"mrr\": \"new value\",\n \"name\": \"new value\",\n \"renewalDate\": new Date(\"2019-07-01\"),\n \"status\": \"new value\",\n \"statusOfApp\": {},\n }\n ]\n}\n"},{"configuration":{"updateMany":{"query":"{ \"_id\": ObjectId(\"id_of_document_to_update\") }","limit":"ALL","update":"{ \"$set\": { \"currency\": \"new value\" } }"},"collection":"subscriptions","command":"UPDATE","smartSubstitution":true},"title":"Update","body":"{\n \"update\": \"subscriptions\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"currency\": \"new value\" } }\n }\n ]\n}\n"},{"configuration":{"collection":"subscriptions","delete":{"query":"{ \"_id\": ObjectId(\"id_of_document_to_delete\") }","limit":"SINGLE"},"command":"DELETE","smartSubstitution":true},"title":"Delete","body":"{\n \"delete\": \"subscriptions\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n"}],"name":"subscriptions","type":"COLLECTION"}]}},{"isConfigured":true,"new":true,"invalids":[],"pluginId":"redis-plugin","isValid":true,"name":"RedisTemplateApps","messages":[],"userPermissions":["execute:datasources","manage:datasources","read:datasources"],"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528943","structure":{}}],"actionList":[{"new":false,"pluginType":"SAAS","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"pluginSpecifiedTemplates":[{"value":"UPDATE","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"","key":"rowOffset"},{"value":"{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":true,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[9].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"name":"Google Sheet","messages":[],"id":"Google Sheet","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"pluginId":"google-sheets-plugin","id":"Google Sheets_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"pluginSpecifiedTemplates":[{"value":"UPDATE","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"","key":"rowOffset"},{"value":"{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":true,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[9].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"name":"Google Sheet","messages":[],"id":"Google Sheet","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efa"},{"new":false,"pluginType":"SAAS","unpublishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"pluginSpecifiedTemplates":[{"value":"GET","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"{{data_table.pageSize}}","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"{{(data_table.pageNo - 1) * data_table.pageSize}}","key":"rowOffset"},{"key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"},{"value":[{}],"key":"where"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.pageSize","(data_table.pageNo - 1) * data_table.pageSize"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"messages":[],"id":"Google Sheet","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"pluginId":"google-sheets-plugin","id":"Google Sheets_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"pluginSpecifiedTemplates":[{"value":"GET","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"{{data_table.pageSize}}","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"{{(data_table.pageNo - 1) * data_table.pageSize}}","key":"rowOffset"},{"key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"},{"value":[{}],"key":"where"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.pageSize","(data_table.pageNo - 1) * data_table.pageSize"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"messages":[],"id":"Google Sheet","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f02"},{"new":false,"pluginType":"SAAS","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"pluginSpecifiedTemplates":[{"value":"DELETE_ROW","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"{{data_table.pageSize}}","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"{{(data_table.pageNo - 1) * data_table.pageSize}}","key":"rowOffset"},{"key":"rowObject"},{"key":"rowObjects"},{"value":"{{data_table.triggeredRow.rowIndex}}","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[6].value"},{"key":"pluginSpecifiedTemplates[8].value"},{"key":"pluginSpecifiedTemplates[11].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.pageSize","data_table.triggeredRow.rowIndex","(data_table.pageNo - 1) * data_table.pageSize"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"messages":[],"id":"Google Sheet","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"pluginId":"google-sheets-plugin","id":"Google Sheets_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"pluginSpecifiedTemplates":[{"value":"DELETE_ROW","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"{{data_table.pageSize}}","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"{{(data_table.pageNo - 1) * data_table.pageSize}}","key":"rowOffset"},{"key":"rowObject"},{"key":"rowObjects"},{"value":"{{data_table.triggeredRow.rowIndex}}","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[6].value"},{"key":"pluginSpecifiedTemplates[8].value"},{"key":"pluginSpecifiedTemplates[11].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.pageSize","data_table.triggeredRow.rowIndex","(data_table.pageNo - 1) * data_table.pageSize"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"messages":[],"id":"Google Sheet","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f04"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"query":{"data":"{ _id: ObjectId('{{data_table.selectedRow._id}}') }","viewType":"component","componentData":"{ _id: ObjectId('{{data_table.selectedRow._id}}') }"},"limit":{"data":"SINGLE","viewType":"component","componentData":"SINGLE"},"update":{"data":"{\n $set:{{update_form.formData}}\n}","viewType":"component","componentData":"{\n \"col1\" : {{update_col_1.text}},\n\t\"col2\" : {{update_col_2.text}},\n \"col3\" : {{update_col_3.text}},\n \"col4\" : {{update_col_4.text}}\n}"}},"find":{"query":{"data":""},"limit":{"data":""},"skip":{"data":""},"sort":{"data":""},"projection":{"data":""}},"count":{"query":{"data":""}},"insert":{"documents":{"data":""}},"distinct":{"query":{"data":""},"key":{"data":""}},"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"delete":{"query":{"data":""},"limit":{"data":"SINGLE"}},"command":{"data":"UPDATE","viewType":"component","componentData":"UPDATE"},"smartSubstitution":{"data":true,"viewType":"component","componentData":true},"misc":{"formToNativeQuery":{"data":"{\n \"update\": \"template_table\",\n \"updates\": [{\n \"q\": { _id: ObjectId('{{data_table.selectedRow._id}}') },\n \"u\": {\n $set:{{update_form.formData}}\n},\n \"multi\": false,\n }]\n}\n","status":"SUCCESS"}},"aggregate":{"limit":{"data":"10"},"arrayPipelines":{"data":""}}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[{"key":"formData.updateMany.update.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","update_col_2.text","update_form.formData","data_table.selectedRow._id","update_col_1.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"mongo-plugin","isValid":true,"name":"Mock_Mongo","messages":[],"id":"Mock_Mongo","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"pluginId":"mongo-plugin","id":"MongoDB_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"query":{"data":"{ _id: ObjectId('{{data_table.selectedRow._id}}') }","viewType":"component","componentData":"{ _id: ObjectId('{{data_table.selectedRow._id}}') }"},"limit":{"data":"SINGLE","viewType":"component","componentData":"SINGLE"},"update":{"data":"{\n $set:{{update_form.formData}}\n}","viewType":"component","componentData":"{\n \"col1\" : {{update_col_1.text}},\n\t\"col2\" : {{update_col_2.text}},\n \"col3\" : {{update_col_3.text}},\n \"col4\" : {{update_col_4.text}}\n}"}},"find":{"query":{"data":""},"limit":{"data":""},"skip":{"data":""},"sort":{"data":""},"projection":{"data":""}},"count":{"query":{"data":""}},"insert":{"documents":{"data":""}},"distinct":{"query":{"data":""},"key":{"data":""}},"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"delete":{"query":{"data":""},"limit":{"data":"SINGLE"}},"command":{"data":"UPDATE","viewType":"component","componentData":"UPDATE"},"smartSubstitution":{"data":true,"viewType":"component","componentData":true},"misc":{"formToNativeQuery":{"data":"{\n \"update\": \"template_table\",\n \"updates\": [{\n \"q\": { _id: ObjectId('{{data_table.selectedRow._id}}') },\n \"u\": {\n $set:{{update_form.formData}}\n},\n \"multi\": false,\n }]\n}\n","status":"SUCCESS"}},"aggregate":{"limit":{"data":"10"},"arrayPipelines":{"data":""}}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[{"key":"formData.updateMany.update.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","update_col_2.text","update_form.formData","data_table.selectedRow._id","update_col_1.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"mongo-plugin","isValid":true,"name":"Mock_Mongo","messages":[],"id":"Mock_Mongo","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f08"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"keys *"},"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"new":false,"pluginId":"redis-plugin","isValid":true,"messages":[],"id":"RedisTemplateApps","userPermissions":[]},"validName":"FetchKeys","name":"FetchKeys","messages":[]},"pluginId":"redis-plugin","id":"Redis_FetchKeys","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"keys *"},"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"new":false,"pluginId":"redis-plugin","isValid":true,"messages":[],"id":"RedisTemplateApps","userPermissions":[]},"validName":"FetchKeys","name":"FetchKeys","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f13"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"set {{insert_key_input.text}} \"{{insert_value_input.text}}\""},"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_key_input.text","insert_value_input.text"],"datasource":{"new":false,"pluginId":"redis-plugin","isValid":true,"messages":[],"id":"RedisTemplateApps","userPermissions":[]},"validName":"InsertKey","name":"InsertKey","messages":[]},"pluginId":"redis-plugin","id":"Redis_InsertKey","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"set {{insert_key_input.text}} \"{{insert_value_input.text}}\""},"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_key_input.text","insert_value_input.text"],"datasource":{"new":false,"pluginId":"redis-plugin","isValid":true,"messages":[],"id":"RedisTemplateApps","userPermissions":[]},"validName":"InsertKey","name":"InsertKey","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f14"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"SELECT * FROM public.template_table\nWHERE \"col2\" ilike '%{{data_table.searchText || \"\"}}%'\nORDER BY \"{{data_table.sortOrder.column || 'col1'}}\" {{data_table.sortOrder.order || 'ASC'}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || 'ASC'","data_table.pageSize","data_table.searchText || \"\"","(data_table.pageNo - 1) * data_table.pageSize"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"id":"Internal DB","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"pluginId":"postgres-plugin","id":"PostgreSQL_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"SELECT * FROM public.template_table\nWHERE \"col2\" ilike '%{{data_table.searchText || \"\"}}%'\nORDER BY \"{{data_table.sortOrder.column || 'col1'}}\" {{data_table.sortOrder.order || 'ASC'}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || 'ASC'","data_table.pageSize","data_table.searchText || \"\"","(data_table.pageNo - 1) * data_table.pageSize"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"id":"Internal DB","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f1a"},{"new":false,"pluginType":"API","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/datasources/{{this.params.id}}/structure","headers":[],"paginationType":"NONE","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"httpMethod":"GET","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"confirmBeforeExecute":false,"jsonPathKeys":["this.params.id"],"datasource":{"new":false,"pluginId":"restapi-plugin","isValid":true,"messages":[],"id":"Appsmith Release","userPermissions":[]},"validName":"get_datasource_structure","name":"get_datasource_structure","messages":[]},"pluginId":"restapi-plugin","id":"Admin_get_datasource_structure","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/datasources/{{this.params.id}}/structure","headers":[],"paginationType":"NONE","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"httpMethod":"GET","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"confirmBeforeExecute":false,"jsonPathKeys":["this.params.id"],"datasource":{"new":false,"pluginId":"restapi-plugin","isValid":true,"messages":[],"id":"Appsmith Release","userPermissions":[]},"validName":"get_datasource_structure","name":"get_datasource_structure","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f00"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"DELETE FROM public.template_table\n WHERE col1 = {{data_table.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"pluginId":"postgres-plugin","id":"SQL_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"DELETE FROM public.template_table\n WHERE col1 = {{data_table.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f01"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"insert":{"documents":{"data":"{{insert_form.formData}}","viewType":"component","componentData":"{\n \"col1\": {{insert_col_input1.text}}, \n \"col2\": {{insert_col_input2.text}}, \n \"col3\": {{insert_col_input3.text}}, \n \"col4\": {{insert_col_input4.text}}\n}"}},"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"command":{"data":"INSERT","viewType":"component","componentData":"INSERT"},"smartSubstitution":{"data":true,"viewType":"component","componentData":true},"misc":{"formToNativeQuery":{"data":"{\n \"insert\": \"template_table\",\n \"documents\": {{insert_form.formData}}\n}\n","status":"SUCCESS"}}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[{"key":"formData.insert.documents.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input4.text","insert_col_input3.text","insert_form.formData","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"mongo-plugin","isValid":true,"messages":[],"id":"Mock_Mongo","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"pluginId":"mongo-plugin","id":"MongoDB_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"insert":{"documents":{"data":"{{insert_form.formData}}","viewType":"component","componentData":"{\n \"col1\": {{insert_col_input1.text}}, \n \"col2\": {{insert_col_input2.text}}, \n \"col3\": {{insert_col_input3.text}}, \n \"col4\": {{insert_col_input4.text}}\n}"}},"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"command":{"data":"INSERT","viewType":"component","componentData":"INSERT"},"smartSubstitution":{"data":true,"viewType":"component","componentData":true},"misc":{"formToNativeQuery":{"data":"{\n \"insert\": \"template_table\",\n \"documents\": {{insert_form.formData}}\n}\n","status":"SUCCESS"}}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[{"key":"formData.insert.documents.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input4.text","insert_col_input3.text","insert_form.formData","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"mongo-plugin","isValid":true,"messages":[],"id":"Mock_Mongo","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f09"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{}","viewType":"component","componentData":"{}"},"path":{"data":"{{data_table.selectedRow._ref.path}}","viewType":"component","componentData":"{{data_table.selectedRow._ref.path}}"},"prev":{"data":"{}","viewType":"component","componentData":"{}"},"orderBy":{"data":"FORM","viewType":"component","componentData":"FORM"},"limitDocuments":{"data":"UPDATE","viewType":"component","componentData":"UPDATE"},"body":{"data":"{{update_form.formData}}","viewType":"component","componentData":"{\n\t\"col1\": \"{{update_col_1.text}}\",\n\t\"col2\": \"{{update_col_2.text}}\",\n\t\"col3\": \"{{update_col_3.text}}\",\n\t\"col4\": \"{{update_col_4.text}}\",\n\t\"col5\": \"{{update_col_5.text}}\"\n}"},"command":{"data":"UPDATE_DOCUMENT","viewType":"component","componentData":"UPDATE_DOCUMENT"},"smartSubstitution":"false"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.body.data"},{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","update_col_2.text","data_table.selectedRow._ref.path","update_form.formData","update_col_1.text","update_col_5.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"firestore-plugin","isValid":true,"messages":[],"id":"FBTemplateDB","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"pluginId":"firestore-plugin","id":"Firestore_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{}","viewType":"component","componentData":"{}"},"path":{"data":"{{data_table.selectedRow._ref.path}}","viewType":"component","componentData":"{{data_table.selectedRow._ref.path}}"},"prev":{"data":"{}","viewType":"component","componentData":"{}"},"orderBy":{"data":"FORM","viewType":"component","componentData":"FORM"},"limitDocuments":{"data":"UPDATE","viewType":"component","componentData":"UPDATE"},"body":{"data":"{{update_form.formData}}","viewType":"component","componentData":"{\n\t\"col1\": \"{{update_col_1.text}}\",\n\t\"col2\": \"{{update_col_2.text}}\",\n\t\"col3\": \"{{update_col_3.text}}\",\n\t\"col4\": \"{{update_col_4.text}}\",\n\t\"col5\": \"{{update_col_5.text}}\"\n}"},"command":{"data":"UPDATE_DOCUMENT","viewType":"component","componentData":"UPDATE_DOCUMENT"},"smartSubstitution":"false"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.body.data"},{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_col_3.text","update_col_2.text","data_table.selectedRow._ref.path","update_form.formData","update_col_1.text","update_col_5.text","update_col_4.text"],"datasource":{"new":false,"pluginId":"firestore-plugin","isValid":true,"messages":[],"id":"FBTemplateDB","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0f"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{{data_table.tableData[data_table.tableData.length - 1]}}","viewType":"component","componentData":"{{SelectQuery.data[SelectQuery.data.length - 1]}}"},"timestampValuePath":{"data":"","viewType":"component","componentData":""},"path":{"data":"template_table","viewType":"component","componentData":"template_table"},"startAfter":{"data":"{{SelectQuery.data[SelectQuery.data.length - 1]}}","viewType":"component","componentData":"{{SelectQuery.data[SelectQuery.data.length - 1]}}"},"endBefore":{"data":"{{SelectQuery.data[0]}}","viewType":"component","componentData":"{{SelectQuery.data[0]}}"},"deleteKeyPath":{"data":"","viewType":"component","componentData":""},"prev":{"data":"{{data_table.tableData[0]}}","viewType":"component","componentData":"{{SelectQuery.data[0]}}"},"orderBy":{"data":"[\"{{(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')}}\"]","viewType":"component","componentData":"[\"{{order_select.selectedOptionValue + key_select.selectedOptionValue}}\"]"},"where":{"data":{"children":[{"condition":"EQ"}]},"viewType":"component"},"limitDocuments":{"data":"{{data_table.pageSize}}","viewType":"component","componentData":"1"},"command":{"data":"GET_COLLECTION","viewType":"component","componentData":"GET_COLLECTION"},"smartSubstitution":"false"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.startAfter.data"},{"key":"formData.endBefore.data"},{"key":"formData.orderBy.data"},{"key":"formData.next.data"},{"key":"formData.prev.data"},{"key":"formData.limitDocuments.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["SelectQuery.data[SelectQuery.data.length - 1]","data_table.tableData[data_table.tableData.length - 1]","data_table.pageSize","data_table.tableData[0]","(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')","order_select.selectedOptionValue + key_select.selectedOptionValue","SelectQuery.data[0]"],"datasource":{"new":false,"pluginId":"firestore-plugin","isValid":true,"messages":[],"id":"FBTemplateDB","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"pluginId":"firestore-plugin","id":"Firestore_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{{data_table.tableData[data_table.tableData.length - 1]}}","viewType":"component","componentData":"{{SelectQuery.data[SelectQuery.data.length - 1]}}"},"timestampValuePath":{"data":"","viewType":"component","componentData":""},"path":{"data":"template_table","viewType":"component","componentData":"template_table"},"startAfter":{"data":"{{SelectQuery.data[SelectQuery.data.length - 1]}}","viewType":"component","componentData":"{{SelectQuery.data[SelectQuery.data.length - 1]}}"},"endBefore":{"data":"{{SelectQuery.data[0]}}","viewType":"component","componentData":"{{SelectQuery.data[0]}}"},"deleteKeyPath":{"data":"","viewType":"component","componentData":""},"prev":{"data":"{{data_table.tableData[0]}}","viewType":"component","componentData":"{{SelectQuery.data[0]}}"},"orderBy":{"data":"[\"{{(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')}}\"]","viewType":"component","componentData":"[\"{{order_select.selectedOptionValue + key_select.selectedOptionValue}}\"]"},"where":{"data":{"children":[{"condition":"EQ"}]},"viewType":"component"},"limitDocuments":{"data":"{{data_table.pageSize}}","viewType":"component","componentData":"1"},"command":{"data":"GET_COLLECTION","viewType":"component","componentData":"GET_COLLECTION"},"smartSubstitution":"false"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.startAfter.data"},{"key":"formData.endBefore.data"},{"key":"formData.orderBy.data"},{"key":"formData.next.data"},{"key":"formData.prev.data"},{"key":"formData.limitDocuments.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["SelectQuery.data[SelectQuery.data.length - 1]","data_table.tableData[data_table.tableData.length - 1]","data_table.pageSize","data_table.tableData[0]","(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')","order_select.selectedOptionValue + key_select.selectedOptionValue","SelectQuery.data[0]"],"datasource":{"new":false,"pluginId":"firestore-plugin","isValid":true,"messages":[],"id":"FBTemplateDB","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f12"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"INSERT INTO public.template_table (\n\t\"col1\",\n\t\"col2\",\n\t\"col3\",\n\t\"col4\",\n\t\"col5\",\n\t\"col6\",\n\t\"col7\",\n\t\"col8\",\n\t\"col9\",\n\t\"col10\",\n\t\"col11\",\n\t\"col12\"\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_form.formData.col1","insert_form.formData.col2","insert_form.formData.col3","insert_form.formData.col8","insert_form.formData.col9","insert_form.formData.col10","insert_form.formData.col4","insert_form.formData.col5","insert_form.formData.col6","insert_form.formData.col11","insert_form.formData.col7","insert_form.formData.col12"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"id":"Internal DB","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"pluginId":"postgres-plugin","id":"PostgreSQL_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"INSERT INTO public.template_table (\n\t\"col1\",\n\t\"col2\",\n\t\"col3\",\n\t\"col4\",\n\t\"col5\",\n\t\"col6\",\n\t\"col7\",\n\t\"col8\",\n\t\"col9\",\n\t\"col10\",\n\t\"col11\",\n\t\"col12\"\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_form.formData.col1","insert_form.formData.col2","insert_form.formData.col3","insert_form.formData.col8","insert_form.formData.col9","insert_form.formData.col10","insert_form.formData.col4","insert_form.formData.col5","insert_form.formData.col6","insert_form.formData.col11","insert_form.formData.col7","insert_form.formData.col12"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"id":"Internal DB","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f1b"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"SELECT * FROM public.template_table\nWHERE col2 like '%{{data_table.searchText || \"\"}}%'\nORDER BY {{data_table.sortOrder.column || 'col1'}} {{data_table.sortOrder.order || \"ASC\"}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || \"ASC\"","data_table.pageSize","data_table.searchText || \"\"","(data_table.pageNo - 1) * data_table.pageSize"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"pluginId":"postgres-plugin","id":"SQL_SelectQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"SELECT * FROM public.template_table\nWHERE col2 like '%{{data_table.searchText || \"\"}}%'\nORDER BY {{data_table.sortOrder.column || 'col1'}} {{data_table.sortOrder.order || \"ASC\"}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || \"ASC\"","data_table.pageSize","data_table.searchText || \"\"","(data_table.pageNo - 1) * data_table.pageSize"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"messages":[],"id":"Internal DB","userPermissions":[]},"validName":"SelectQuery","name":"SelectQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531ef8"},{"new":false,"pluginType":"SAAS","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"pluginSpecifiedTemplates":[{"value":"APPEND","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"","key":"rowOffset"},{"value":"{{insert_form.formData}}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":true,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[9].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_form.formData"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"messages":[],"id":"Google Sheet","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"pluginId":"google-sheets-plugin","id":"Google Sheets_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"pluginSpecifiedTemplates":[{"value":"APPEND","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"","key":"rowOffset"},{"value":"{{insert_form.formData}}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":true,"key":"smartSubstitution"}]},"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[{"key":"pluginSpecifiedTemplates[9].value"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_form.formData"],"datasource":{"new":false,"pluginId":"google-sheets-plugin","isValid":true,"messages":[],"id":"Google Sheet","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efb"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":100000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}","viewType":"component","componentData":"{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}"},"create":{"dataType":{"data":"YES","viewType":"component","componentData":"YES"},"expiry":{"data":"5","viewType":"component","componentData":"5"}},"body":{"data":"{{FilePicker.files[this.params.fileIndex]}}","viewType":"component","componentData":"{{FilePicker.files[this.params.fileIndex]}}"},"command":{"data":"UPLOAD_FILE_FROM_BODY","viewType":"component","componentData":"UPLOAD_FILE_FROM_BODY"}}},"userPermissions":[],"pageId":"S3","invalids":["'Query timeout' field must be an integer between 0 and 60000"],"dynamicBindingPathList":[{"key":"formData.body.data"},{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name","FilePicker.files[this.params.fileIndex]"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"CreateFile","name":"CreateFile","messages":[]},"pluginId":"amazons3-plugin","id":"S3_CreateFile","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":100000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}","viewType":"component","componentData":"{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}"},"create":{"dataType":{"data":"YES","viewType":"component","componentData":"YES"},"expiry":{"data":"5","viewType":"component","componentData":"5"}},"body":{"data":"{{FilePicker.files[this.params.fileIndex]}}","viewType":"component","componentData":"{{FilePicker.files[this.params.fileIndex]}}"},"command":{"data":"UPLOAD_FILE_FROM_BODY","viewType":"component","componentData":"UPLOAD_FILE_FROM_BODY"}}},"userPermissions":[],"pageId":"S3","invalids":["'Query timeout' field must be an integer between 0 and 60000"],"dynamicBindingPathList":[{"key":"formData.body.data"},{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name","FilePicker.files[this.params.fileIndex]"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"CreateFile","name":"CreateFile","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efc"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"path":"","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"body":{"data":"{\n\t\"data\": \"\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"\"\n}"},"list":{"prefix":{"data":"{{search_input.text}}","viewType":"component","componentData":"{{search_input.text}}"},"where":{"data":{"condition":"AND","children":[{"condition":"EQ"}]},"viewType":"component","componentData":{"condition":"AND","children":[{"condition":"EQ"}]}},"sortBy":{"data":[{"column":"","order":"Ascending"}]},"expiry":{"data":"{{ 60 * 24 }}","viewType":"component","componentData":"{{ 60 * 24 }}"},"signedUrl":{"data":"YES","viewType":"component","componentData":"YES"},"unSignedUrl":{"data":"YES","viewType":"component","componentData":"YES"}},"command":{"data":"LIST","viewType":"component","componentData":"LIST"}}},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.list.prefix.data"},{"key":"formData.list.expiry.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["60 * 24","search_input.text"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"name":"AmazonS3 CRUD","messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"ListFiles","name":"ListFiles","messages":[]},"pluginId":"amazons3-plugin","id":"S3_ListFiles","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"path":"","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"body":{"data":"{\n\t\"data\": \"\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"\"\n}"},"list":{"prefix":{"data":"{{search_input.text}}","viewType":"component","componentData":"{{search_input.text}}"},"where":{"data":{"condition":"AND","children":[{"condition":"EQ"}]},"viewType":"component","componentData":{"condition":"AND","children":[{"condition":"EQ"}]}},"sortBy":{"data":[{"column":"","order":"Ascending"}]},"expiry":{"data":"{{ 60 * 24 }}","viewType":"component","componentData":"{{ 60 * 24 }}"},"signedUrl":{"data":"YES","viewType":"component","componentData":"YES"},"unSignedUrl":{"data":"YES","viewType":"component","componentData":"YES"}},"command":{"data":"LIST","viewType":"component","componentData":"LIST"}}},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.list.prefix.data"},{"key":"formData.list.expiry.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["60 * 24","search_input.text"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"name":"AmazonS3 CRUD","messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"ListFiles","name":"ListFiles","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efd"},{"new":false,"pluginType":"API","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/1iyoffhcy2d9mw0stqcmtdpmeaz8xvgf","headers":[{"value":"application/json","key":"content-type"}],"paginationType":"NONE","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n\t\"app\": {{ {...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList.map((source) => { return {...source, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } }},\n\t\"branch\": \"update-crud-template\"\n} ","httpMethod":"POST","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":true,"jsonPathKeys":["{...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList.map((source) => { return {...source, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) }"],"datasource":{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"DEFAULT_REST_DATASOURCE","messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://hook.eu1.make.com"}},"validName":"update_template","name":"update_template","messages":[]},"pluginId":"restapi-plugin","id":"Admin_update_template","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/1iyoffhcy2d9mw0stqcmtdpmeaz8xvgf","headers":[{"value":"application/json","key":"content-type"}],"paginationType":"NONE","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n\t\"app\": {{ {...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList.map((source) => { return {...source, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } }},\n\t\"branch\": \"update-crud-template\"\n} ","httpMethod":"POST","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":true,"jsonPathKeys":["{...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList.map((source) => { return {...source, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) }"],"datasource":{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"DEFAULT_REST_DATASOURCE","messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://hook.eu1.make.com"}},"validName":"update_template","name":"update_template","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efe"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"UPDATE public.template_table SET\n\t\tcol2 = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\tcol3 = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n col4 = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\tcol5 = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\tcol6 = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\tcol7 = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\tcol8 = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\tcol9 = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\tcol10 = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\tcol11 = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\tcol12 = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n WHERE col1 = {{data_table.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9","update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7","update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10","update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12","update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3","update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2","update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8","update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11","update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6","update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4","update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5","data_table.selectedRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"id":"Internal DB","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"pluginId":"postgres-plugin","id":"SQL_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"UPDATE public.template_table SET\n\t\tcol2 = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\tcol3 = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n col4 = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\tcol5 = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\tcol6 = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\tcol7 = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\tcol8 = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\tcol9 = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\tcol10 = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\tcol11 = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\tcol12 = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n WHERE col1 = {{data_table.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9","update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7","update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10","update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12","update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3","update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2","update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8","update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11","update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6","update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4","update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5","data_table.selectedRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"id":"Internal DB","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f03"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"find":{"query":{"data":"{ col2: /{{data_table.searchText||\"\"}}/i }","viewType":"component","componentData":"{ col2: /{{data_table.searchText||\"\"}}/i }"},"limit":{"data":"{{data_table.pageSize}}","viewType":"component","componentData":"{{data_table.pageSize}}"},"skip":{"data":"{{(data_table.pageNo - 1) * data_table.pageSize}}","viewType":"component","componentData":"{{(data_table.pageNo - 1) * data_table.pageSize}}"},"sort":{"data":"{ \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n}","viewType":"component","componentData":"{ \n{{key_select.selectedOptionValue}}: {{order_select.selectedOptionValue}} \n}"}},"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"command":{"data":"FIND","viewType":"component","componentData":"FIND"},"smartSubstitution":{"data":false,"viewType":"component","componentData":false},"misc":{"formToNativeQuery":{"data":"{\n \"find\": \"template_table\",\n \"filter\": { col2: /{{data_table.searchText||\"\"}}/i },\n \"sort\": { \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n},\n \"skip\": {{(data_table.pageNo - 1) * data_table.pageSize}},\n \"limit\": {{data_table.pageSize}},\n \"batchSize\": {{data_table.pageSize}}\n}\n","status":"SUCCESS"}}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[{"key":"formData.find.sort.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.sortOrder.column || 'col1'","key_select.selectedOptionValue","data_table.pageSize","data_table.sortOrder.order == \"desc\" ? -1 : 1","data_table.searchText||\"\"","(data_table.pageNo - 1) * data_table.pageSize","order_select.selectedOptionValue"],"datasource":{"new":false,"pluginId":"mongo-plugin","isValid":true,"messages":[],"id":"Mock_Mongo","userPermissions":[]},"validName":"FindQuery","name":"FindQuery","messages":[]},"pluginId":"mongo-plugin","id":"MongoDB_FindQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"find":{"query":{"data":"{ col2: /{{data_table.searchText||\"\"}}/i }","viewType":"component","componentData":"{ col2: /{{data_table.searchText||\"\"}}/i }"},"limit":{"data":"{{data_table.pageSize}}","viewType":"component","componentData":"{{data_table.pageSize}}"},"skip":{"data":"{{(data_table.pageNo - 1) * data_table.pageSize}}","viewType":"component","componentData":"{{(data_table.pageNo - 1) * data_table.pageSize}}"},"sort":{"data":"{ \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n}","viewType":"component","componentData":"{ \n{{key_select.selectedOptionValue}}: {{order_select.selectedOptionValue}} \n}"}},"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"command":{"data":"FIND","viewType":"component","componentData":"FIND"},"smartSubstitution":{"data":false,"viewType":"component","componentData":false},"misc":{"formToNativeQuery":{"data":"{\n \"find\": \"template_table\",\n \"filter\": { col2: /{{data_table.searchText||\"\"}}/i },\n \"sort\": { \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n},\n \"skip\": {{(data_table.pageNo - 1) * data_table.pageSize}},\n \"limit\": {{data_table.pageSize}},\n \"batchSize\": {{data_table.pageSize}}\n}\n","status":"SUCCESS"}}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[{"key":"formData.find.sort.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.sortOrder.column || 'col1'","key_select.selectedOptionValue","data_table.pageSize","data_table.sortOrder.order == \"desc\" ? -1 : 1","data_table.searchText||\"\"","(data_table.pageNo - 1) * data_table.pageSize","order_select.selectedOptionValue"],"datasource":{"new":false,"pluginId":"mongo-plugin","isValid":true,"messages":[],"id":"Mock_Mongo","userPermissions":[]},"validName":"FindQuery","name":"FindQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f06"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"template_table/{{data_table.selectedRow._ref}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"delete":{"query":{"data":"{ _id: ObjectId('{{data_table.triggeredRow._id}}') }","viewType":"component","componentData":"{ _id: ObjectId('{{data_table.triggeredRow._id}}') }"},"limit":{"data":"SINGLE","viewType":"component","componentData":"SINGLE"}},"command":{"data":"DELETE","viewType":"component","componentData":"DELETE"},"smartSubstitution":{"data":true,"viewType":"component","componentData":true}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow._ref","data_table.triggeredRow._id"],"datasource":{"new":false,"pluginId":"mongo-plugin","isValid":true,"messages":[],"id":"Mock_Mongo","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"pluginId":"mongo-plugin","id":"MongoDB_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"template_table/{{data_table.selectedRow._ref}}","paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"delete":{"query":{"data":"{ _id: ObjectId('{{data_table.triggeredRow._id}}') }","viewType":"component","componentData":"{ _id: ObjectId('{{data_table.triggeredRow._id}}') }"},"limit":{"data":"SINGLE","viewType":"component","componentData":"SINGLE"}},"command":{"data":"DELETE","viewType":"component","componentData":"DELETE"},"smartSubstitution":{"data":true,"viewType":"component","componentData":true}}},"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow._ref","data_table.triggeredRow._id"],"datasource":{"new":false,"pluginId":"mongo-plugin","isValid":true,"messages":[],"id":"Mock_Mongo","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f07"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{}","viewType":"component","componentData":"{}"},"path":{"data":"{{data_table.triggeredRow._ref.path}}","viewType":"component","componentData":"{{data_table.triggeredRow._ref.path}}"},"prev":{"data":"{}","viewType":"component","componentData":"{}"},"orderBy":{"data":"FORM","viewType":"component","componentData":"FORM"},"limitDocuments":{"data":"DELETE","viewType":"component","componentData":"DELETE"},"command":{"data":"DELETE_DOCUMENT","viewType":"component","componentData":"DELETE_DOCUMENT"},"smartSubstitution":"false"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow._ref.path","data_table.selectedRow._id"],"datasource":{"new":false,"pluginId":"firestore-plugin","isValid":true,"messages":[],"id":"FBTemplateDB","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"pluginId":"firestore-plugin","id":"Firestore_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{}","viewType":"component","componentData":"{}"},"path":{"data":"{{data_table.triggeredRow._ref.path}}","viewType":"component","componentData":"{{data_table.triggeredRow._ref.path}}"},"prev":{"data":"{}","viewType":"component","componentData":"{}"},"orderBy":{"data":"FORM","viewType":"component","componentData":"FORM"},"limitDocuments":{"data":"DELETE","viewType":"component","componentData":"DELETE"},"command":{"data":"DELETE_DOCUMENT","viewType":"component","componentData":"DELETE_DOCUMENT"},"smartSubstitution":"false"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow._ref.path","data_table.selectedRow._id"],"datasource":{"new":false,"pluginId":"firestore-plugin","isValid":true,"messages":[],"id":"FBTemplateDB","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f10"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{}","viewType":"component","componentData":"{}"},"path":{"data":"template_table","viewType":"component","componentData":"template_table"},"prev":{"data":"{}","viewType":"component","componentData":"{}"},"orderBy":{"data":"FORM","viewType":"component","componentData":"FORM"},"limitDocuments":{"data":"INSERT","viewType":"component","componentData":"INSERT"},"body":{"data":"{{insert_form.formData}}","viewType":"component","componentData":"{\n\t\"col1\": \"{{insert_col_input1.text}}\",\n\t\"col2\": \"{{insert_col_input2.text}}\",\n\t\"col3\": \"{{insert_col_input3.text}}\",\n\t\"col4\": \"{{insert_col_input4.text}}\",\n\t\"col5\": \"{{insert_col_input5.text}}\"\n}"},"command":{"data":"ADD_TO_COLLECTION","viewType":"component","componentData":"ADD_TO_COLLECTION"},"smartSubstitution":"false"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.body.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_form.formData","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"firestore-plugin","isValid":true,"messages":[],"id":"FBTemplateDB","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"pluginId":"firestore-plugin","id":"Firestore_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{}","viewType":"component","componentData":"{}"},"path":{"data":"template_table","viewType":"component","componentData":"template_table"},"prev":{"data":"{}","viewType":"component","componentData":"{}"},"orderBy":{"data":"FORM","viewType":"component","componentData":"FORM"},"limitDocuments":{"data":"INSERT","viewType":"component","componentData":"INSERT"},"body":{"data":"{{insert_form.formData}}","viewType":"component","componentData":"{\n\t\"col1\": \"{{insert_col_input1.text}}\",\n\t\"col2\": \"{{insert_col_input2.text}}\",\n\t\"col3\": \"{{insert_col_input3.text}}\",\n\t\"col4\": \"{{insert_col_input4.text}}\",\n\t\"col5\": \"{{insert_col_input5.text}}\"\n}"},"command":{"data":"ADD_TO_COLLECTION","viewType":"component","componentData":"ADD_TO_COLLECTION"},"smartSubstitution":"false"}},"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.body.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input5.text","insert_col_input4.text","insert_col_input3.text","insert_form.formData","insert_col_input2.text"],"datasource":{"new":false,"pluginId":"firestore-plugin","isValid":true,"messages":[],"id":"FBTemplateDB","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f11"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"set {{data_table.selectedRow.result}} \"{{update_value_input.text}}\""},"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_value_input.text","data_table.selectedRow.result"],"datasource":{"new":false,"pluginId":"redis-plugin","isValid":true,"messages":[],"id":"RedisTemplateApps","userPermissions":[]},"validName":"UpdateKey","name":"UpdateKey","messages":[]},"pluginId":"redis-plugin","id":"Redis_UpdateKey","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"set {{data_table.selectedRow.result}} \"{{update_value_input.text}}\""},"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_value_input.text","data_table.selectedRow.result"],"datasource":{"new":false,"pluginId":"redis-plugin","isValid":true,"messages":[],"id":"RedisTemplateApps","userPermissions":[]},"validName":"UpdateKey","name":"UpdateKey","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f15"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"del {{data_table.triggeredRow.result}}"},"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow.result"],"datasource":{"new":false,"pluginId":"redis-plugin","isValid":true,"messages":[],"id":"RedisTemplateApps","userPermissions":[]},"validName":"DeleteKey","name":"DeleteKey","messages":[]},"pluginId":"redis-plugin","id":"Redis_DeleteKey","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"del {{data_table.triggeredRow.result}}"},"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow.result"],"datasource":{"new":false,"pluginId":"redis-plugin","isValid":true,"messages":[],"id":"RedisTemplateApps","userPermissions":[]},"validName":"DeleteKey","name":"DeleteKey","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f16"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"GET {{data_table.selectedRow.result}}"},"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.result"],"datasource":{"new":false,"pluginId":"redis-plugin","isValid":true,"messages":[],"id":"RedisTemplateApps","userPermissions":[]},"validName":"FetchValue","name":"FetchValue","messages":[]},"pluginId":"redis-plugin","id":"Redis_FetchValue","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"GET {{data_table.selectedRow.result}}"},"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.result"],"datasource":{"new":false,"pluginId":"redis-plugin","isValid":true,"messages":[],"id":"RedisTemplateApps","userPermissions":[]},"validName":"FetchValue","name":"FetchValue","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f17"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"DELETE FROM public.template_table\n WHERE \"col1\" = {{data_table.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"id":"Internal DB","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"pluginId":"postgres-plugin","id":"PostgreSQL_DeleteQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"DELETE FROM public.template_table\n WHERE \"col1\" = {{data_table.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"id":"Internal DB","userPermissions":[]},"validName":"DeleteQuery","name":"DeleteQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f18"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"INSERT INTO public.template_table (\n\tcol1,\n\tcol2,\n\tcol3,\n\tcol4,\n\tcol5,\n\tcol6,\n\tcol7,\n\tcol8,\n\tcol9,\n\tcol10,\n\tcol11,\n\tcol12\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_form.formData.col1","insert_form.formData.col2","insert_form.formData.col3","insert_form.formData.col8","insert_form.formData.col9","insert_form.formData.col10","insert_form.formData.col4","insert_form.formData.col5","insert_form.formData.col6","insert_form.formData.col11","insert_form.formData.col7","insert_form.formData.col12"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"id":"Internal DB","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"pluginId":"postgres-plugin","id":"SQL_InsertQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"INSERT INTO public.template_table (\n\tcol1,\n\tcol2,\n\tcol3,\n\tcol4,\n\tcol5,\n\tcol6,\n\tcol7,\n\tcol8,\n\tcol9,\n\tcol10,\n\tcol11,\n\tcol12\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_form.formData.col1","insert_form.formData.col2","insert_form.formData.col3","insert_form.formData.col8","insert_form.formData.col9","insert_form.formData.col10","insert_form.formData.col4","insert_form.formData.col5","insert_form.formData.col6","insert_form.formData.col11","insert_form.formData.col7","insert_form.formData.col12"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"id":"Internal DB","userPermissions":[]},"validName":"InsertQuery","name":"InsertQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531ef9"},{"new":false,"pluginType":"API","unpublishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"path":"/api/v1/applications/export/61764fbeba7e887d03bc3631","headers":[{"value":"text/plain","key":"content-type"}],"paginationType":"NONE","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"apiContentType":"text/plain"},"httpMethod":"GET","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"new":false,"pluginId":"restapi-plugin","isValid":true,"name":"Appsmith Release","messages":[],"id":"Appsmith Release","userPermissions":[]},"validName":"get_exported_app","name":"get_exported_app","messages":[]},"pluginId":"restapi-plugin","id":"Admin_get_exported_app","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"path":"/api/v1/applications/export/61764fbeba7e887d03bc3631","headers":[{"value":"text/plain","key":"content-type"}],"paginationType":"NONE","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"apiContentType":"text/plain"},"httpMethod":"GET","pluginSpecifiedTemplates":[{"value":false}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"new":false,"pluginId":"restapi-plugin","isValid":true,"name":"Appsmith Release","messages":[],"id":"Appsmith Release","userPermissions":[]},"validName":"get_exported_app","name":"get_exported_app","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531eff"},{"new":false,"pluginType":"API","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/pages/crud-page","headers":[{"value":"application/json","key":"Content-Type"},{"value":"SESSION=8672681f-c3dc-4373-8503-ccbe30aae89d;","key":"Cookie"}],"paginationType":"PAGE_NO","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n \"tableName\": \"{{tableName_input.text}}\",\n \"datasourceId\": \"{{datasource_input.text}}\",\n \"applicationId\" : \"{{app_input.text}}\",\n\t\t\"searchColumn\": \"{{search_col_input.text}}\",\n\t\t\"columns\": \"{{select_cols_input.text}}\"\n}","httpMethod":"POST"},"userPermissions":[],"pageId":"Page Generator","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["select_cols_input.text","datasource_input.text","app_input.text","search_col_input.text","tableName_input.text"],"datasource":{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"DEFAULT_REST_DATASOURCE","messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://release.app.appsmith.com"}},"validName":"generate_sql_app","name":"generate_sql_app","messages":[]},"pluginId":"restapi-plugin","id":"Page Generator_generate_sql_app","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/pages/crud-page","headers":[{"value":"application/json","key":"Content-Type"},{"value":"SESSION=8672681f-c3dc-4373-8503-ccbe30aae89d;","key":"Cookie"}],"paginationType":"PAGE_NO","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n \"tableName\": \"{{tableName_input.text}}\",\n \"datasourceId\": \"{{datasource_input.text}}\",\n \"applicationId\" : \"{{app_input.text}}\",\n\t\t\"searchColumn\": \"{{search_col_input.text}}\",\n\t\t\"columns\": \"{{select_cols_input.text}}\"\n}","httpMethod":"POST"},"userPermissions":[],"pageId":"Page Generator","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["select_cols_input.text","datasource_input.text","app_input.text","search_col_input.text","tableName_input.text"],"datasource":{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"DEFAULT_REST_DATASOURCE","messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://release.app.appsmith.com"}},"validName":"generate_sql_app","name":"generate_sql_app","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f05"},{"new":false,"pluginType":"API","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/pages/crud-page","headers":[{"value":"application/json","key":"Content-Type"},{"value":"SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc","key":"Cookie"}],"paginationType":"PAGE_NO","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]}}\",\n \"applicationId\" : \"untitled-application-1\",\n\t\t\"searchColumn\" : \"{{search_keys_input.text}}\"\n}","httpMethod":"POST"},"userPermissions":[],"pageId":"Page Generator","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]","collection_input.text","search_keys_input.text"],"datasource":{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"DEFAULT_REST_DATASOURCE","messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://release.app.appsmith.com"}},"validName":"generate_mongo_app","name":"generate_mongo_app","messages":[]},"pluginId":"restapi-plugin","id":"Page Generator_generate_mongo_app","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/pages/crud-page","headers":[{"value":"application/json","key":"Content-Type"},{"value":"SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc","key":"Cookie"}],"paginationType":"PAGE_NO","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]}}\",\n \"applicationId\" : \"untitled-application-1\",\n\t\t\"searchColumn\" : \"{{search_keys_input.text}}\"\n}","httpMethod":"POST"},"userPermissions":[],"pageId":"Page Generator","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]","collection_input.text","search_keys_input.text"],"datasource":{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"DEFAULT_REST_DATASOURCE","messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://release.app.appsmith.com"}},"validName":"generate_mongo_app","name":"generate_mongo_app","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0a"},{"new":false,"pluginType":"API","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/pages/crud-page","headers":[{"value":"application/json","key":"Content-Type"},{"value":"SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc","key":"Cookie"}],"paginationType":"PAGE_NO","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]}}\",\n \"applicationId\" : \"{{gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]}}\"\n}","httpMethod":"POST"},"userPermissions":[],"pageId":"Page Generator","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]","gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]","collection_input.text"],"datasource":{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"DEFAULT_REST_DATASOURCE","messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://release.app.appsmith.com"}},"validName":"generate_gsheet_app","name":"generate_gsheet_app","messages":[]},"pluginId":"restapi-plugin","id":"Page Generator_generate_gsheet_app","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/pages/crud-page","headers":[{"value":"application/json","key":"Content-Type"},{"value":"SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc","key":"Cookie"}],"paginationType":"PAGE_NO","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]}}\",\n \"applicationId\" : \"{{gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]}}\"\n}","httpMethod":"POST"},"userPermissions":[],"pageId":"Page Generator","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]","gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]","collection_input.text"],"datasource":{"new":true,"invalids":[],"pluginId":"restapi-plugin","isValid":true,"name":"DEFAULT_REST_DATASOURCE","messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://release.app.appsmith.com"}},"validName":"generate_gsheet_app","name":"generate_gsheet_app","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0b"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{File_List.selectedItem.fileName}}","viewType":"component","componentData":"{{File_List.selectedItem.fileName}}"},"body":{"data":"{\n\t\"data\": \"null\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"null\"\n}"},"command":{"data":"DELETE_FILE","viewType":"component","componentData":"DELETE_FILE"}}},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["File_List.selectedItem.fileName"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"DeleteFile","name":"DeleteFile","messages":[]},"pluginId":"amazons3-plugin","id":"S3_DeleteFile","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{File_List.selectedItem.fileName}}","viewType":"component","componentData":"{{File_List.selectedItem.fileName}}"},"body":{"data":"{\n\t\"data\": \"null\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"null\"\n}"},"command":{"data":"DELETE_FILE","viewType":"component","componentData":"DELETE_FILE"}}},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["File_List.selectedItem.fileName"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"DeleteFile","name":"DeleteFile","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0c"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{File_List.selectedItem.fileName}}","viewType":"component","componentData":"{{File_List.selectedItem.fileName}}"},"read":{"dataType":{"data":"YES","viewType":"component","componentData":"YES"}},"body":{"data":"{\n\t\"data\": \"\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"\"\n}"},"command":{"data":"READ_FILE","viewType":"component","componentData":"READ_FILE"}}},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["File_List.selectedItem.fileName"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"ReadFile","name":"ReadFile","messages":[]},"pluginId":"amazons3-plugin","id":"S3_ReadFile","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{File_List.selectedItem.fileName}}","viewType":"component","componentData":"{{File_List.selectedItem.fileName}}"},"read":{"dataType":{"data":"YES","viewType":"component","componentData":"YES"}},"body":{"data":"{\n\t\"data\": \"\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"\"\n}"},"command":{"data":"READ_FILE","viewType":"component","componentData":"READ_FILE"}}},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["File_List.selectedItem.fileName"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"ReadFile","name":"ReadFile","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0d"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{update_file_name.text}}","viewType":"component","componentData":"{{update_file_name.text}}"},"create":{"dataType":{"data":"YES","viewType":"component","componentData":"YES"},"expiry":{"data":"5","viewType":"component","componentData":"5"}},"body":{"data":"{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}"},"command":{"data":"UPLOAD_FILE_FROM_BODY","viewType":"component","componentData":"UPLOAD_FILE_FROM_BODY"}}},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.body.data"},{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_file_picker.files.length ? update_file_picker.files[0].data : \"\"","update_file_name.text"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"UpdateFile","name":"UpdateFile","messages":[]},"pluginId":"amazons3-plugin","id":"S3_UpdateFile","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{update_file_name.text}}","viewType":"component","componentData":"{{update_file_name.text}}"},"create":{"dataType":{"data":"YES","viewType":"component","componentData":"YES"},"expiry":{"data":"5","viewType":"component","componentData":"5"}},"body":{"data":"{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}"},"command":{"data":"UPLOAD_FILE_FROM_BODY","viewType":"component","componentData":"UPLOAD_FILE_FROM_BODY"}}},"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.body.data"},{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_file_picker.files.length ? update_file_picker.files[0].data : \"\"","update_file_name.text"],"datasource":{"new":false,"pluginId":"amazons3-plugin","isValid":true,"messages":[],"id":"AmazonS3 CRUD","userPermissions":[]},"validName":"UpdateFile","name":"UpdateFile","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0e"},{"new":false,"pluginType":"DB","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"UPDATE public.template_table SET\n\t\t\"col2\" = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\t\"col3\" = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n \"col4\" = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\t\"col5\" = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\t\"col6\" = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\t\"col7\" = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\t\"col8\" = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\t\"col9\" = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\t\"col10\" = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\t\"col11\" = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\t\"col12\" = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n\tWHERE \"col1\" = {{data_table.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9","update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7","update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10","update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12","update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3","update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2","update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8","update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11","update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6","update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4","update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5","data_table.selectedRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"id":"Internal DB","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"pluginId":"postgres-plugin","id":"PostgreSQL_UpdateQuery","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"UPDATE public.template_table SET\n\t\t\"col2\" = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\t\"col3\" = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n \"col4\" = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\t\"col5\" = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\t\"col6\" = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\t\"col7\" = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\t\"col8\" = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\t\"col9\" = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\t\"col10\" = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\t\"col11\" = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\t\"col12\" = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n\tWHERE \"col1\" = {{data_table.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9","update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7","update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10","update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12","update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3","update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2","update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8","update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11","update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6","update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4","update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5","data_table.selectedRow.col1"],"datasource":{"new":false,"pluginId":"postgres-plugin","isValid":true,"name":"Internal DB","messages":[],"id":"Internal DB","userPermissions":[]},"validName":"UpdateQuery","name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f19"},{"new":false,"pluginType":"API","unpublishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/users/me","headers":[{"value":"_hjid=41cedd95-19f9-438a-8b6e-f2c4d7fb086b; SL_C_23361dd035530_KEY=c370af0df0edf38360adbefbdc47d2b42ea137c9; SL_C_23361dd035530_VID=P3kBR7eMjg; ajs_anonymous_id=e6ef9c9b-3407-4374-81ab-6bafef26a4d1; [email protected]; intercom-id-y10e7138=50e190b7-b24e-4bef-b320-3c47a3c91006; amplitude_id_fef1e872c952688acd962d30aa545b9eappsmith.com=eyJkZXZpY2VJZCI6IjIxNWJlMWRkLTNjMGQtNDY5NS05YzRmLTFjYTM4MjNhNzM5NlIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTYzNjI1ODEwMjkyNCwibGFzdEV2ZW50VGltZSI6MTYzNjI1ODEwMzE3MywiZXZlbnRJZCI6NSwiaWRlbnRpZnlJZCI6MSwic2VxdWVuY2VOdW1iZXIiOjZ9; _ga=GA1.2.526957763.1633412376; _gid=GA1.2.1610516593.1636258104; _ga_0JZ9C3M56S=GS1.1.1636258103.3.1.1636258646.0; SESSION=09ae7c78-ca84-4a38-916a-f282893efb40; mp_70b8ea94d623dd857fb555a76d11f944_mixpanel=%7B%22distinct_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24device_id%22%3A%20%2217c91e75170277-051d4ff86c77bb-1d3b6650-168000-17c91e75171dc2%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22mp_lib%22%3A%20%22Segment%3A%20web%22%2C%22%24user_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22mp_name_tag%22%3A%20%22nidhi%40appsmith.com%22%2C%22userId%22%3A%20%22nidhi%40appsmith.com%22%2C%22source%22%3A%20%22cloud%22%2C%22id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24email%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24first_name%22%3A%20%22Nidhi%22%2C%22%24last_name%22%3A%20%22Nair%22%2C%22%24name%22%3A%20%22Nidhi%20Nair%22%7D; SL_C_23361dd035530_SID=3VIjO5jKCt; intercom-session-y10e7138=WnhwMVl4VmVIUDFPVkgxUDVidm8wOXUzNjZ2elJ0OWx2a21Qc3NCYk1zenNEa0dzMkswWFlpanM4YXNxY2pQYi0taFpkWkR6K0xLUFJyUVFRSkMwZ3pUUT09--376a7fef0d7774b3284b94fb4c1ea1c8e2305afe; _hjAbsoluteSessionInProgress=1","key":"Cookie"}],"paginationType":"NONE","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"","httpMethod":"GET","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"new":false,"pluginId":"restapi-plugin","isValid":true,"messages":[],"id":"Appsmith Release","userPermissions":[]},"validName":"get_user","name":"get_user","messages":[]},"pluginId":"restapi-plugin","id":"Admin_get_user","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/users/me","headers":[{"value":"_hjid=41cedd95-19f9-438a-8b6e-f2c4d7fb086b; SL_C_23361dd035530_KEY=c370af0df0edf38360adbefbdc47d2b42ea137c9; SL_C_23361dd035530_VID=P3kBR7eMjg; ajs_anonymous_id=e6ef9c9b-3407-4374-81ab-6bafef26a4d1; [email protected]; intercom-id-y10e7138=50e190b7-b24e-4bef-b320-3c47a3c91006; amplitude_id_fef1e872c952688acd962d30aa545b9eappsmith.com=eyJkZXZpY2VJZCI6IjIxNWJlMWRkLTNjMGQtNDY5NS05YzRmLTFjYTM4MjNhNzM5NlIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTYzNjI1ODEwMjkyNCwibGFzdEV2ZW50VGltZSI6MTYzNjI1ODEwMzE3MywiZXZlbnRJZCI6NSwiaWRlbnRpZnlJZCI6MSwic2VxdWVuY2VOdW1iZXIiOjZ9; _ga=GA1.2.526957763.1633412376; _gid=GA1.2.1610516593.1636258104; _ga_0JZ9C3M56S=GS1.1.1636258103.3.1.1636258646.0; SESSION=09ae7c78-ca84-4a38-916a-f282893efb40; mp_70b8ea94d623dd857fb555a76d11f944_mixpanel=%7B%22distinct_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24device_id%22%3A%20%2217c91e75170277-051d4ff86c77bb-1d3b6650-168000-17c91e75171dc2%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22mp_lib%22%3A%20%22Segment%3A%20web%22%2C%22%24user_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22mp_name_tag%22%3A%20%22nidhi%40appsmith.com%22%2C%22userId%22%3A%20%22nidhi%40appsmith.com%22%2C%22source%22%3A%20%22cloud%22%2C%22id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24email%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24first_name%22%3A%20%22Nidhi%22%2C%22%24last_name%22%3A%20%22Nair%22%2C%22%24name%22%3A%20%22Nidhi%20Nair%22%7D; SL_C_23361dd035530_SID=3VIjO5jKCt; intercom-session-y10e7138=WnhwMVl4VmVIUDFPVkgxUDVidm8wOXUzNjZ2elJ0OWx2a21Qc3NCYk1zenNEa0dzMkswWFlpanM4YXNxY2pQYi0taFpkWkR6K0xLUFJyUVFRSkMwZ3pUUT09--376a7fef0d7774b3284b94fb4c1ea1c8e2305afe; _hjAbsoluteSessionInProgress=1","key":"Cookie"}],"paginationType":"NONE","queryParameters":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"","httpMethod":"GET","pluginSpecifiedTemplates":[{"value":true}]},"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"new":false,"pluginId":"restapi-plugin","isValid":true,"messages":[],"id":"Appsmith Release","userPermissions":[]},"validName":"get_user","name":"get_user","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb773acd5d7045095322ff"},{"new":false,"pluginType":"JS","unpublishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","jsArguments":[],"isAsync":true,"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}"},"userPermissions":[],"fullyQualifiedName":"Utils.myFun2","pageId":"Admin","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}"],"datasource":{"new":true,"pluginId":"js-plugin","isValid":true,"name":"UNUSED_DATASOURCE","messages":[],"userPermissions":[]},"validName":"Utils.myFun2","clientSideExecution":true,"name":"myFun2","messages":[],"collectionId":"Admin_Utils"},"pluginId":"js-plugin","id":"Admin_Utils.myFun2","userPermissions":["read:actions","execute:actions","manage:actions"],"publishedAction":{"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","jsArguments":[],"isAsync":true,"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}"},"userPermissions":[],"fullyQualifiedName":"Utils.myFun2","pageId":"Admin","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}"],"datasource":{"new":true,"pluginId":"js-plugin","isValid":true,"name":"UNUSED_DATASOURCE","messages":[],"userPermissions":[]},"validName":"Utils.myFun2","clientSideExecution":true,"name":"myFun2","messages":[],"collectionId":"Admin_Utils"},"gitSyncId":"61764fbeba7e887d03bc3631_624e8fab729a2b0934685de0"}],"clientSchemaVersion":1,"publishedDefaultPageName":"Admin","unpublishedDefaultPageName":"Admin","pageOrder":["Admin","PostgreSQL","Page Generator","MongoDB","SQL","Google Sheets","Firestore","S3","Redis"],"publishedTheme":{"new":true,"isSystemTheme":true,"displayName":"Modern","name":"Default"},"publishedPageOrder":["Admin","PostgreSQL","Page Generator","MongoDB","SQL","Google Sheets","Firestore","S3","Redis"],"invisibleActionFields":{"Admin_get_datasource_structure":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Admin_get_exported_app":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"S3_UpdateFile":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"PostgreSQL_DeleteQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"SQL_DeleteQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Redis_UpdateKey":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Redis_FetchValue":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"PostgreSQL_InsertQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Page Generator_generate_mongo_app":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Redis_DeleteKey":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Admin_get_user":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Firestore_SelectQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"MongoDB_UpdateQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"SQL_UpdateQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"S3_ListFiles":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Firestore_DeleteQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Google Sheets_UpdateQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"MongoDB_FindQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"SQL_SelectQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"MongoDB_DeleteQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"PostgreSQL_SelectQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Page Generator_generate_sql_app":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Google Sheets_InsertQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Page Generator_generate_gsheet_app":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"MongoDB_InsertQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Firestore_UpdateQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Google Sheets_DeleteQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"S3_DeleteFile":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"S3_CreateFile":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Redis_FetchKeys":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"PostgreSQL_UpdateQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Admin_update_template":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Google Sheets_SelectQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Firestore_InsertQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Redis_InsertKey":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"S3_ReadFile":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false},"Admin_Utils.myFun2":{"unpublishedUserSetOnLoad":true,"publishedUserSetOnLoad":true},"SQL_InsertQuery":{"unpublishedUserSetOnLoad":false,"publishedUserSetOnLoad":false}},"serverSchemaVersion":4,"unpublishedLayoutmongoEscapedWidgets":{"MongoDB":["data_table"]},"pageList":[{"publishedPage":{"name":"Admin","userPermissions":[],"layouts":[{"new":false,"id":"Admin","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"JS","confirmBeforeExecute":false,"jsonPathKeys":["async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}"],"clientSideExecution":true,"name":"Utils.myFun2","timeoutInMillisecond":10000,"id":"Admin_Utils.myFun2","collectionId":"Admin_Utils"},{"pluginType":"API","confirmBeforeExecute":false,"jsonPathKeys":[],"name":"get_exported_app","timeoutInMillisecond":10000,"id":"Admin_get_exported_app"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1120,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"boxShadow":"NONE","widgetName":"Container7","borderColor":"transparent","isCanvas":true,"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":87,"bottomRow":94,"parentRowSpace":10,"type":"CONTAINER_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":17.9375,"dynamicTriggerPathList":[],"leftColumn":11,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas12","rightColumn":430.5,"detachFromLayout":true,"displayName":"Canvas","widgetId":"f5ga14rmty","containerStyle":"none","topRow":0,"bottomRow":390,"parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"9ervv0ae6d","minHeight":400,"renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"widgetName":"Text38","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":3.05078125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"YourCompany","key":"gbfdctoduz","rightColumn":14,"textAlign":"LEFT","widgetId":"jd3kv1k6ou","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"f5ga14rmty","renderMode":"CANVAS","isLoading":false,"fontSize":"HEADING2"},{"widgetName":"Button5","onClick":"{{navigateTo('1 Track Applications', {})}}","buttonColor":"#FFFFFF","displayName":"Button","iconSVG":"/static/media/icon.cca02633.svg","topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"BUTTON_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":11.93359375,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":50,"dynamicBindingPathList":[],"text":"Track Applications","isDisabled":false,"key":"c3vy6jijoj","rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"txbmxg3r0f","isVisible":true,"recaptchaType":"V3","version":1,"parentId":"f5ga14rmty","renderMode":"CANVAS","isLoading":false,"borderRadius":"ROUNDED","buttonVariant":"PRIMARY","placement":"CENTER"},{"widgetName":"Button5Copy","onClick":"{{navigateTo('2 Application Upload', {})}}","buttonColor":"#FFFFFF","displayName":"Button","iconSVG":"/static/media/icon.cca02633.svg","topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"BUTTON_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":11.93359375,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":37,"dynamicBindingPathList":[],"text":"Application Upload","isDisabled":false,"key":"c3vy6jijoj","rightColumn":50,"isDefaultClickDisabled":true,"widgetId":"u16z17a8jy","isVisible":true,"recaptchaType":"V3","version":1,"parentId":"f5ga14rmty","renderMode":"CANVAS","isLoading":false,"borderRadius":"ROUNDED","buttonVariant":"PRIMARY","placement":"CENTER"}],"key":"zogzl76zd8"}],"borderWidth":"0","key":"zhft13af0w","backgroundColor":"#FFFFFF","rightColumn":55,"widgetId":"9ervv0ae6d","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"borderRadius":"15"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Form1","backgroundColor":"#FFFFFF","rightColumn":45,"borderColor":"#2E3D49","dynamicPropertyPathList":[{"key":"borderRadius"}],"widgetId":"hdpwx2szs0","topRow":5,"bottomRow":86,"parentRowSpace":10,"isVisible":true,"type":"FORM_WIDGET","parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"borderRadius":"5px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":554.75,"detachFromLayout":true,"widgetId":"kwx6oz4fub","containerStyle":"none","topRow":0,"bottomRow":800,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"hdpwx2szs0","minHeight":810,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text1","rightColumn":44,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"7fqtlu52np","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#2E3D49","version":1,"parentId":"kwx6oz4fub","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Update App Template"},{"boxShadow":"none","widgetName":"Text2","topRow":10,"bottomRow":71,"parentRowSpace":10,"type":"TEXT_WIDGET","animateLoading":true,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"{{JSON.stringify(get_exported_app.data)}}","labelTextSize":"0.875rem","rightColumn":63,"textAlign":"LEFT","widgetId":"w2l08fshj2","isVisible":true,"fontStyle":"BOLD","textColor":"#2E3D49","version":1,"parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Button1","onClick":"{{Utils.myFun2()}}","dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#2E3D49","topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":44,"dynamicBindingPathList":[],"text":"Refresh","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":63,"isDefaultClickDisabled":true,"iconName":"refresh","widgetId":"2vtg0qdlqv","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0.375rem","buttonVariant":"SECONDARY","iconAlign":"left"},{"boxShadow":"none","widgetName":"Button2","onClick":"{{update_template.run(() => showAlert('Template Updated','success'), () => {})}}","dynamicPropertyPathList":[{"key":"isDisabled"}],"buttonColor":"#2E3D49","topRow":73,"bottomRow":77,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":1,"dynamicBindingPathList":[{"key":"isDisabled"}],"text":"Deploy","isDisabled":"{{get_exported_app.data.exportedApplication === undefined}}","labelTextSize":"0.875rem","rightColumn":63,"isDefaultClickDisabled":true,"iconName":"airplane","widgetId":"jg23u09rwk","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0.375rem","buttonVariant":"PRIMARY","iconAlign":"left"},{"boxShadow":"none","widgetName":"Text4","topRow":5,"bottomRow":10,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"⚠️ Please create a branch named update-crud-template before deploying and run test cases on it","labelTextSize":"0.875rem","rightColumn":63,"backgroundColor":"#DD4B34","textAlign":"CENTER","widgetId":"fanskapltd","isVisible":true,"fontStyle":"","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0px","fontSize":"1rem"}]}],"borderWidth":"1"},{"boxShadow":"none","widgetName":"datasource_arr","topRow":1,"bottomRow":35,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"[\n{ \"name\":\"mongo-plugin\",\n\"id\": \"61d6b292053d041e6d486fbb\"\n},\n{ \"name\":\"postgres-plugin\",\n\"id\": \"61764f91ba7e887d03bc35d3\"\n}\n]","labelTextSize":"0.875rem","rightColumn":12,"textAlign":"LEFT","widgetId":"znji9afu2q","isVisible":false,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"0","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"}]}}],"slug":"admin","isHidden":false},"new":true,"unpublishedPage":{"name":"Admin","userPermissions":[],"layouts":[{"new":false,"id":"Admin","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"JS","confirmBeforeExecute":false,"jsonPathKeys":["async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}"],"clientSideExecution":true,"name":"Utils.myFun2","timeoutInMillisecond":10000,"id":"Admin_Utils.myFun2","collectionId":"Admin_Utils"},{"pluginType":"API","confirmBeforeExecute":false,"jsonPathKeys":[],"name":"get_exported_app","timeoutInMillisecond":10000,"id":"Admin_get_exported_app"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1120,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"boxShadow":"NONE","widgetName":"Container7","borderColor":"transparent","isCanvas":true,"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":87,"bottomRow":94,"parentRowSpace":10,"type":"CONTAINER_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":17.9375,"dynamicTriggerPathList":[],"leftColumn":11,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas12","rightColumn":430.5,"detachFromLayout":true,"displayName":"Canvas","widgetId":"f5ga14rmty","containerStyle":"none","topRow":0,"bottomRow":390,"parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"9ervv0ae6d","minHeight":400,"renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"widgetName":"Text38","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":3.05078125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"YourCompany","key":"gbfdctoduz","rightColumn":14,"textAlign":"LEFT","widgetId":"jd3kv1k6ou","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"f5ga14rmty","renderMode":"CANVAS","isLoading":false,"fontSize":"HEADING2"},{"widgetName":"Button5","onClick":"{{navigateTo('1 Track Applications', {})}}","buttonColor":"#FFFFFF","displayName":"Button","iconSVG":"/static/media/icon.cca02633.svg","topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"BUTTON_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":11.93359375,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":50,"dynamicBindingPathList":[],"text":"Track Applications","isDisabled":false,"key":"c3vy6jijoj","rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"txbmxg3r0f","isVisible":true,"recaptchaType":"V3","version":1,"parentId":"f5ga14rmty","renderMode":"CANVAS","isLoading":false,"borderRadius":"ROUNDED","buttonVariant":"PRIMARY","placement":"CENTER"},{"widgetName":"Button5Copy","onClick":"{{navigateTo('2 Application Upload', {})}}","buttonColor":"#FFFFFF","displayName":"Button","iconSVG":"/static/media/icon.cca02633.svg","topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"BUTTON_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":11.93359375,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":37,"dynamicBindingPathList":[],"text":"Application Upload","isDisabled":false,"key":"c3vy6jijoj","rightColumn":50,"isDefaultClickDisabled":true,"widgetId":"u16z17a8jy","isVisible":true,"recaptchaType":"V3","version":1,"parentId":"f5ga14rmty","renderMode":"CANVAS","isLoading":false,"borderRadius":"ROUNDED","buttonVariant":"PRIMARY","placement":"CENTER"}],"key":"zogzl76zd8"}],"borderWidth":"0","key":"zhft13af0w","backgroundColor":"#FFFFFF","rightColumn":55,"widgetId":"9ervv0ae6d","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"borderRadius":"15"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Form1","backgroundColor":"#FFFFFF","rightColumn":45,"borderColor":"#2E3D49","dynamicPropertyPathList":[{"key":"borderRadius"}],"widgetId":"hdpwx2szs0","topRow":5,"bottomRow":86,"parentRowSpace":10,"isVisible":true,"type":"FORM_WIDGET","parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"borderRadius":"5px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":554.75,"detachFromLayout":true,"widgetId":"kwx6oz4fub","containerStyle":"none","topRow":0,"bottomRow":800,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"hdpwx2szs0","minHeight":810,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text1","rightColumn":44,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"7fqtlu52np","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#2E3D49","version":1,"parentId":"kwx6oz4fub","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Update App Template"},{"boxShadow":"none","widgetName":"Text2","topRow":10,"bottomRow":71,"parentRowSpace":10,"type":"TEXT_WIDGET","animateLoading":true,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"{{JSON.stringify(get_exported_app.data)}}","labelTextSize":"0.875rem","rightColumn":63,"textAlign":"LEFT","widgetId":"w2l08fshj2","isVisible":true,"fontStyle":"BOLD","textColor":"#2E3D49","version":1,"parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Button1","onClick":"{{Utils.myFun2()}}","dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#2E3D49","topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":44,"dynamicBindingPathList":[],"text":"Refresh","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":63,"isDefaultClickDisabled":true,"iconName":"refresh","widgetId":"2vtg0qdlqv","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0.375rem","buttonVariant":"SECONDARY","iconAlign":"left"},{"boxShadow":"none","widgetName":"Button2","onClick":"{{update_template.run(() => showAlert('Template Updated','success'), () => {})}}","dynamicPropertyPathList":[{"key":"isDisabled"}],"buttonColor":"#2E3D49","topRow":73,"bottomRow":77,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":1,"dynamicBindingPathList":[{"key":"isDisabled"}],"text":"Deploy","isDisabled":"{{get_exported_app.data.exportedApplication === undefined}}","labelTextSize":"0.875rem","rightColumn":63,"isDefaultClickDisabled":true,"iconName":"airplane","widgetId":"jg23u09rwk","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0.375rem","buttonVariant":"PRIMARY","iconAlign":"left"},{"boxShadow":"none","widgetName":"Text4","topRow":5,"bottomRow":10,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"⚠️ Please create a branch named update-crud-template before deploying and run test cases on it","labelTextSize":"0.875rem","rightColumn":63,"backgroundColor":"#DD4B34","textAlign":"CENTER","widgetId":"fanskapltd","isVisible":true,"fontStyle":"","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0px","fontSize":"1rem"}]}],"borderWidth":"1"},{"boxShadow":"none","widgetName":"datasource_arr","topRow":1,"bottomRow":35,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"[\n{ \"name\":\"mongo-plugin\",\n\"id\": \"61d6b292053d041e6d486fbb\"\n},\n{ \"name\":\"postgres-plugin\",\n\"id\": \"61764f91ba7e887d03bc35d3\"\n}\n]","labelTextSize":"0.875rem","rightColumn":12,"textAlign":"LEFT","widgetId":"znji9afu2q","isVisible":false,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"0","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"}]}}],"slug":"admin","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc3"},{"publishedPage":{"name":"Google Sheets","userPermissions":[],"layouts":[{"new":false,"id":"Google Sheets","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"SAAS","confirmBeforeExecute":false,"jsonPathKeys":["data_table.pageSize","(data_table.pageNo - 1) * data_table.pageSize"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"Google Sheets_SelectQuery"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"object","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"entry 5","cellBoxShadow":"none","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"is 2","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"new 3","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"This 12","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"entry 5","col2":"is 2","col3":"new 3","col1":"This 12"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating row!\\n${error}`,'error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row Id: {{data_table.selectedRow.rowIndex}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":40,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"title"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"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.col4.borderRadius"},{"key":"boxShadow"},{"key":"borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"rowIndex\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"tn9ri7ylp2","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{data_table.selectedRow!==undefined}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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}}"},{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#2E3D4955","backgroundColor":"#FFFFFF","rightColumn":40,"dynamicPropertyPathList":[{"key":"borderRadius"}],"widgetId":"mvubsemxfo","topRow":0,"bottomRow":86,"containerStyle":"card","parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":860,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"data_table","columnOrder":["col1","col2","col3","col4","customColumn1","rowIndex"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"isVisibleDownload":true,"topRow":5,"bottomRow":84,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","animateLoading":true,"parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"}],"dynamicBindingPathList":[{"key":"tableData"},{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"primaryColumns.rowIndex.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col1.computedValue"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"primaryColumns.customColumn1.borderRadius"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"boxShadow":"none","isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"0.875rem","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"rowIndex":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.rowIndex))}}","textSize":"0.875rem","index":4,"isVisible":false,"label":"rowIndex","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"rowIndex","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col4","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col1","verticalAlignment":"CENTER"}},"delimiter":",","derivedColumns":{"customColumn1":{"boxShadow":"none","isDerived":true,"computedValue":"","onClick":"{{deleteQuery.run()}}","textSize":"0.875rem","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"labelTextSize":"0.875rem","rightColumn":64,"textSize":"0.875rem","widgetId":"jabdu9f16g","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"horizontalAlignment":"LEFT","isVisibleSearch":true,"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}}","isVisiblePagination":true,"primaryColumnId":"rowIndex","verticalAlignment":"CENTER","columnSizeMap":{"task":245,"step":62,"status":75,"col1":140}},{"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"}],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":39,"textAlign":"LEFT","widgetId":"urzv99hdc8","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"typ9jslblf","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"8b67sbqskr","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}]}],"borderWidth":"0"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text11","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"35yoxo4oec","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete Row"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":48,"dynamicPropertyPathList":[],"buttonColor":"#3f3f46","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"delete_button","onClick":"{{(function () {\nDeleteQuery.run(() =>{ showAlert('Row successfully deleted!','success');\tSelectQuery.run();\n}, () => showAlert('Something went wrong! Please check debugger for more info.','error'));\ncloseModal('Delete_Modal');\n})()}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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","widgetId":"48uac29g6e","isVisible":true,"fontStyle":"","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"borderRadius":"0px","fontSize":"1rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"entry 5","cellBoxShadow":"none","fieldType":"Text Input"},"rowIndex":{"labelTextSize":"0.875rem","identifier":"rowIndex","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rowIndex))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"rowIndex","isVisible":false,"label":"Row Index","originalIdentifier":"rowIndex","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":4,"isDisabled":false,"sourceData":"0","cellBoxShadow":"none","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"is 2","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"new 3","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"This 12","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"entry 5","rowIndex":"0","col2":"is 2","col3":"new 3","col1":"This 12"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"insert_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"onSubmit"},{"key":"borderRadius"}],"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":59,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"schema.__root_schema__.children.rowIndex.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"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.col4.borderRadius"},{"key":"schema.__root_schema__.children.rowIndex.accentColor"},{"key":"schema.__root_schema__.children.rowIndex.borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"4amgm2y5ph","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}}"}],"isDisabled":false}],"width":532,"height":600}]}}],"slug":"google-sheets","isHidden":false},"new":true,"unpublishedPage":{"name":"Google Sheets","userPermissions":[],"layouts":[{"new":false,"id":"Google Sheets","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"SAAS","confirmBeforeExecute":false,"jsonPathKeys":["data_table.pageSize","(data_table.pageNo - 1) * data_table.pageSize"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"Google Sheets_SelectQuery"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"object","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"entry 5","cellBoxShadow":"none","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"is 2","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"new 3","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"This 12","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"entry 5","col2":"is 2","col3":"new 3","col1":"This 12"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating row!\\n${error}`,'error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row Id: {{data_table.selectedRow.rowIndex}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":40,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"title"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"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.col4.borderRadius"},{"key":"boxShadow"},{"key":"borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"rowIndex\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"tn9ri7ylp2","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{data_table.selectedRow!==undefined}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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}}"},{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#2E3D4955","backgroundColor":"#FFFFFF","rightColumn":40,"dynamicPropertyPathList":[{"key":"borderRadius"}],"widgetId":"mvubsemxfo","topRow":0,"bottomRow":86,"containerStyle":"card","parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":860,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"data_table","columnOrder":["col1","col2","col3","col4","customColumn1","rowIndex"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"isVisibleDownload":true,"topRow":5,"bottomRow":84,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","animateLoading":true,"parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"}],"dynamicBindingPathList":[{"key":"tableData"},{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"primaryColumns.rowIndex.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col1.computedValue"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"primaryColumns.customColumn1.borderRadius"}],"leftColumn":0,"primaryColumns":{"customColumn1":{"isCellVisible":true,"boxShadow":"none","isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"0.875rem","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"rowIndex":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.rowIndex))}}","textSize":"0.875rem","index":4,"isVisible":false,"label":"rowIndex","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"rowIndex","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col4","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col1","verticalAlignment":"CENTER"}},"delimiter":",","derivedColumns":{"customColumn1":{"boxShadow":"none","isDerived":true,"computedValue":"","onClick":"{{deleteQuery.run()}}","textSize":"0.875rem","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"labelTextSize":"0.875rem","rightColumn":64,"textSize":"0.875rem","widgetId":"jabdu9f16g","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"horizontalAlignment":"LEFT","isVisibleSearch":true,"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}}","isVisiblePagination":true,"primaryColumnId":"rowIndex","verticalAlignment":"CENTER","columnSizeMap":{"task":245,"step":62,"status":75,"col1":140}},{"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"}],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":39,"textAlign":"LEFT","widgetId":"urzv99hdc8","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"typ9jslblf","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"8b67sbqskr","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}]}],"borderWidth":"0"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text11","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"35yoxo4oec","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete Row"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":48,"dynamicPropertyPathList":[],"buttonColor":"#3f3f46","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"delete_button","onClick":"{{(function () {\nDeleteQuery.run(() =>{ showAlert('Row successfully deleted!','success');\tSelectQuery.run();\n}, () => showAlert('Something went wrong! Please check debugger for more info.','error'));\ncloseModal('Delete_Modal');\n})()}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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","widgetId":"48uac29g6e","isVisible":true,"fontStyle":"","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"borderRadius":"0px","fontSize":"1rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"entry 5","cellBoxShadow":"none","fieldType":"Text Input"},"rowIndex":{"labelTextSize":"0.875rem","identifier":"rowIndex","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rowIndex))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"rowIndex","isVisible":false,"label":"Row Index","originalIdentifier":"rowIndex","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":4,"isDisabled":false,"sourceData":"0","cellBoxShadow":"none","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"is 2","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"new 3","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"This 12","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"entry 5","rowIndex":"0","col2":"is 2","col3":"new 3","col1":"This 12"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"insert_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"onSubmit"},{"key":"borderRadius"}],"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":59,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"schema.__root_schema__.children.rowIndex.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"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.col4.borderRadius"},{"key":"schema.__root_schema__.children.rowIndex.accentColor"},{"key":"schema.__root_schema__.children.rowIndex.borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"4amgm2y5ph","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}}"}],"isDisabled":false}],"width":532,"height":600}]}}],"slug":"google-sheets","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc1"},{"publishedPage":{"name":"Firestore","userPermissions":[],"layouts":[{"new":false,"id":"Firestore","userPermissions":[],"layoutOnLoadActions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"#03B365","dataType":"object","cellBorderRadius":"0px","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"0px","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"","cellBoxShadow":"none","fieldType":"Text Input"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col5","isVisible":true,"label":"Col 5","originalIdentifier":"col5","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":4,"isDisabled":false,"sourceData":"","cellBoxShadow":"none","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"","cellBoxShadow":"none","fieldType":"Text Input"},"__primaryKey__":{"labelTextSize":"0.875rem","identifier":"__primaryKey__","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.__primaryKey__))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"__primaryKey__","isVisible":true,"label":"Primary Key","originalIdentifier":"__primaryKey__","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":5,"isDisabled":false,"sourceData":"","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"","col5":"","col2":"","col3":"","__primaryKey__":"","col1":""},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.children.key2.defaultValue"},{"key":"isVisible"},{"key":"borderRadius"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating row!','error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":40,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.children.__primaryKey__.defaultValue"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"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.col4.borderRadius"},{"key":"schema.__root_schema__.children.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"},{"key":"schema.__root_schema__.children.__primaryKey__.accentColor"},{"key":"schema.__root_schema__.children.__primaryKey__.borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"_ref\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"pfyg9tlwj1","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow.col1}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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}}"},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":86,"parentRowSpace":10,"type":"CONTAINER_WIDGET","shouldScrollContents":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"boxShadow"},{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":860,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"lqa75t4x8s","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"rc610d47lm","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},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"data_table","onSort":"{{SelectQuery.run()}}","columnOrder":["_ref","col4","col5","col2","col3","col1","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":5,"bottomRow":84,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns._ref.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col1.computedValue"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"leftColumn":0,"primaryColumns":{"_ref":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._ref.id))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"_ref","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"_ref","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"boxShadow":"none","isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"0.875rem","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col4","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"col5","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col5","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":6,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"col1","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col1","verticalAlignment":"CENTER"}},"delimiter":",","derivedColumns":{"customColumn1":{"boxShadow":"none","isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"0.875rem","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"labelTextSize":"0.875rem","rightColumn":64,"textSize":"0.875rem","widgetId":"jabdu9f16g","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"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}}","isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"_ref":251,"step":62,"id":228,"status":75}},{"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"}],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":53,"textAlign":"LEFT","widgetId":"urzv99hdc8","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Alert_text","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"35yoxo4oec","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete Row"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":46,"dynamicPropertyPathList":[],"buttonColor":"#3f3f46","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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","widgetId":"48uac29g6e","isVisible":true,"fontStyle":"","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"borderRadius":"0px","fontSize":"1rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"#03B365","dataType":"object","cellBorderRadius":"0px","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"0px","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"4","cellBoxShadow":"none","fieldType":"Text Input"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col5","isVisible":true,"label":"Col 5","originalIdentifier":"col5","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":5,"isDisabled":false,"sourceData":"5","cellBoxShadow":"none","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"new","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"neighbour","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"Hello","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"4","col5":"5","col2":"new","col3":"neighbour","col1":"Hello"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"insert_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"onSubmit"},{"key":"borderRadius"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{InsertQuery.run(() => SelectQuery.run(() => resetWidget('Insert_Modal')), () => {})}}","topRow":0,"bottomRow":59,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"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.col4.borderRadius"},{"key":"schema.__root_schema__.children.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\", \"_ref\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"qljqxmx394","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}}"}],"isDisabled":false}],"width":532,"height":600}]}}],"slug":"firestore","isHidden":false},"new":true,"unpublishedPage":{"name":"Firestore","userPermissions":[],"layouts":[{"new":false,"id":"Firestore","userPermissions":[],"layoutOnLoadActions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"#03B365","dataType":"object","cellBorderRadius":"0px","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"0px","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"","cellBoxShadow":"none","fieldType":"Text Input"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col5","isVisible":true,"label":"Col 5","originalIdentifier":"col5","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":4,"isDisabled":false,"sourceData":"","cellBoxShadow":"none","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"","cellBoxShadow":"none","fieldType":"Text Input"},"__primaryKey__":{"labelTextSize":"0.875rem","identifier":"__primaryKey__","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.__primaryKey__))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"__primaryKey__","isVisible":true,"label":"Primary Key","originalIdentifier":"__primaryKey__","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":5,"isDisabled":false,"sourceData":"","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"","col5":"","col2":"","col3":"","__primaryKey__":"","col1":""},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.children.key2.defaultValue"},{"key":"isVisible"},{"key":"borderRadius"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating row!','error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":40,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.children.__primaryKey__.defaultValue"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"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.col4.borderRadius"},{"key":"schema.__root_schema__.children.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"},{"key":"schema.__root_schema__.children.__primaryKey__.accentColor"},{"key":"schema.__root_schema__.children.__primaryKey__.borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"_ref\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"pfyg9tlwj1","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow.col1}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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}}"},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":86,"parentRowSpace":10,"type":"CONTAINER_WIDGET","shouldScrollContents":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"boxShadow"},{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":860,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"lqa75t4x8s","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"rc610d47lm","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},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"data_table","onSort":"{{SelectQuery.run()}}","columnOrder":["_ref","col4","col5","col2","col3","col1","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":5,"bottomRow":84,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns._ref.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col1.computedValue"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"leftColumn":0,"primaryColumns":{"_ref":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._ref.id))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"_ref","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"_ref","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"boxShadow":"none","isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"0.875rem","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col4","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"col5","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col5","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":6,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"col1","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col1","verticalAlignment":"CENTER"}},"delimiter":",","derivedColumns":{"customColumn1":{"boxShadow":"none","isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"0.875rem","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"labelTextSize":"0.875rem","rightColumn":64,"textSize":"0.875rem","widgetId":"jabdu9f16g","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"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}}","isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"_ref":251,"step":62,"id":228,"status":75}},{"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"}],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":53,"textAlign":"LEFT","widgetId":"urzv99hdc8","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":40,"widgetId":"mvubsemxfo","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Alert_text","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"35yoxo4oec","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete Row"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":46,"dynamicPropertyPathList":[],"buttonColor":"#3f3f46","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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","widgetId":"48uac29g6e","isVisible":true,"fontStyle":"","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"borderRadius":"0px","fontSize":"1rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"#03B365","dataType":"object","cellBorderRadius":"0px","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"0px","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"4","cellBoxShadow":"none","fieldType":"Text Input"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col5","isVisible":true,"label":"Col 5","originalIdentifier":"col5","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":5,"isDisabled":false,"sourceData":"5","cellBoxShadow":"none","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"new","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"neighbour","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"Hello","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"4","col5":"5","col2":"new","col3":"neighbour","col1":"Hello"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"insert_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"onSubmit"},{"key":"borderRadius"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{InsertQuery.run(() => SelectQuery.run(() => resetWidget('Insert_Modal')), () => {})}}","topRow":0,"bottomRow":59,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"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.col4.borderRadius"},{"key":"schema.__root_schema__.children.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\", \"_ref\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"qljqxmx394","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}}"}],"isDisabled":false}],"width":532,"height":600}]}}],"slug":"firestore","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc7"},{"publishedPage":{"name":"PostgreSQL","userPermissions":[],"layouts":[{"new":false,"id":"PostgreSQL","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || 'ASC'","data_table.pageSize","data_table.searchText || \"\"","(data_table.pageNo - 1) * data_table.pageSize"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"PostgreSQL_SelectQuery"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1280,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#fff","backgroundColor":"#FFFFFF","rightColumn":39,"dynamicPropertyPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"widgetId":"mvubsemxfo","topRow":0,"bottomRow":86,"containerStyle":"card","parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":860,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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"}],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":54,"textAlign":"LEFT","widgetId":"urzv99hdc8","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"},{"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},{"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},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","onSort":"{{SelectQuery.run()}}","isVisibleDownload":true,"iconSVG":"/static/media/icon.db8a9cbd.svg","topRow":5,"isSortable":true,"onPageChange":"{{SelectQuery.run()}}","type":"TABLE_WIDGET","animateLoading":true,"dynamicBindingPathList":[{"key":"tableData"},{"key":"primaryColumns.col1.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"derivedColumns.customColumn1.buttonLabel"},{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"primaryColumns.col6.computedValue"},{"key":"primaryColumns.col7.computedValue"},{"key":"primaryColumns.col8.computedValue"},{"key":"primaryColumns.col9.computedValue"},{"key":"primaryColumns.col10.computedValue"},{"key":"primaryColumns.col11.computedValue"},{"key":"primaryColumns.col12.computedValue"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"primaryColumns.customColumn1.borderRadius"}],"leftColumn":0,"delimiter":",","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}}","primaryColumnId":"col1","columnSizeMap":{"task":245,"step":62,"status":75},"widgetName":"data_table","defaultPageSize":0,"columnOrder":["col1","col2","col3","col4","col5","col6","col7","col8","col9","col10","col11","col12","customColumn1"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"displayName":"Table","bottomRow":84,"parentRowSpace":10,"defaultSelectedRow":"0","hideCard":false,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn1.onClick"},{"key":"onPageChange"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"primaryColumns":{"col12":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col12))}}","textSize":"0.875rem","index":11,"isVisible":true,"label":"col12","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col12","isDisabled":false,"verticalAlignment":"CENTER"},"col11":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col11))}}","textSize":"0.875rem","index":10,"isVisible":true,"label":"col11","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col11","isDisabled":false,"verticalAlignment":"CENTER"},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"},"col8":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col8))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"col8","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col8","isDisabled":false,"verticalAlignment":"CENTER"},"col9":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col9))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"col9","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col9","isDisabled":false,"verticalAlignment":"CENTER"},"col6":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col6))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"col6","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col6","isDisabled":false,"verticalAlignment":"CENTER"},"col10":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col10))}}","textSize":"0.875rem","index":9,"isVisible":true,"label":"col10","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col10","isDisabled":false,"verticalAlignment":"CENTER"},"col7":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col7))}}","textSize":"0.875rem","index":6,"isVisible":true,"label":"col7","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col7","isDisabled":false,"verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col5","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col5","isDisabled":false,"verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col2","isDisabled":false,"verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"verticalAlignment":"CENTER"}},"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.sanitizedTableData.map((currentRow) => ( '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":"m2y9g15vra","tableData":"{{SelectQuery.data}}","label":"Data","searchKey":"","parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"renderMode":"CANVAS","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER"}]}],"borderWidth":"0"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Alert_text","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"35yoxo4oec","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete Row"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":46,"dynamicPropertyPathList":[],"buttonColor":"#2E3D49","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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","widgetId":"48uac29g6e","isVisible":true,"fontStyle":"","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"borderRadius":"0px","fontSize":"1rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":630,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":604,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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":"{{appsmith.theme.boxShadow.appBoxShadow}}","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":59,"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":"boxShadow"},{"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\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"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}}"}],"isDisabled":false}],"width":532,"height":604},{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"boolean","accessor":"col4","isVisible":true,"label":"Col 4","alignWidget":"LEFT","originalIdentifier":"col4","children":{},"position":3,"isDisabled":false,"sourceData":true,"fieldType":"Switch"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"number","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,"fieldType":"Number Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_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":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#fff","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row col1: {{data_table.selectedRow.col1}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":39,"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":"isVisible"},{"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.col3.accentColor"},{"key":"schema.__root_schema__.children.col3.borderRadius"},{"key":"schema.__root_schema__.children.col4.accentColor"},{"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":"title"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.borderRadius"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.col2.accentColor"},{"key":"schema.__root_schema__.children.col2.borderRadius"},{"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"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":64,"autoGenerateForm":true,"widgetId":"y5cjzuxnb3","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow.col1}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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}}"}]}}],"slug":"postgresql","isHidden":false},"new":true,"unpublishedPage":{"name":"PostgreSQL","userPermissions":[],"layouts":[{"new":false,"id":"PostgreSQL","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || 'ASC'","data_table.pageSize","data_table.searchText || \"\"","(data_table.pageNo - 1) * data_table.pageSize"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"PostgreSQL_SelectQuery"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1280,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#fff","backgroundColor":"#FFFFFF","rightColumn":39,"dynamicPropertyPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"widgetId":"mvubsemxfo","topRow":0,"bottomRow":86,"containerStyle":"card","parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":860,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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"}],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":54,"textAlign":"LEFT","widgetId":"urzv99hdc8","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"},{"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},{"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},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","onSort":"{{SelectQuery.run()}}","isVisibleDownload":true,"iconSVG":"/static/media/icon.db8a9cbd.svg","topRow":5,"isSortable":true,"onPageChange":"{{SelectQuery.run()}}","type":"TABLE_WIDGET","animateLoading":true,"dynamicBindingPathList":[{"key":"tableData"},{"key":"primaryColumns.col1.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"derivedColumns.customColumn1.buttonLabel"},{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"primaryColumns.col6.computedValue"},{"key":"primaryColumns.col7.computedValue"},{"key":"primaryColumns.col8.computedValue"},{"key":"primaryColumns.col9.computedValue"},{"key":"primaryColumns.col10.computedValue"},{"key":"primaryColumns.col11.computedValue"},{"key":"primaryColumns.col12.computedValue"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"primaryColumns.customColumn1.borderRadius"}],"leftColumn":0,"delimiter":",","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}}","primaryColumnId":"col1","columnSizeMap":{"task":245,"step":62,"status":75},"widgetName":"data_table","defaultPageSize":0,"columnOrder":["col1","col2","col3","col4","col5","col6","col7","col8","col9","col10","col11","col12","customColumn1"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"displayName":"Table","bottomRow":84,"parentRowSpace":10,"defaultSelectedRow":"0","hideCard":false,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn1.onClick"},{"key":"onPageChange"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"primaryColumns":{"col12":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col12))}}","textSize":"0.875rem","index":11,"isVisible":true,"label":"col12","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col12","isDisabled":false,"verticalAlignment":"CENTER"},"col11":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col11))}}","textSize":"0.875rem","index":10,"isVisible":true,"label":"col11","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col11","isDisabled":false,"verticalAlignment":"CENTER"},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"},"col8":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col8))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"col8","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col8","isDisabled":false,"verticalAlignment":"CENTER"},"col9":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col9))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"col9","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col9","isDisabled":false,"verticalAlignment":"CENTER"},"col6":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col6))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"col6","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col6","isDisabled":false,"verticalAlignment":"CENTER"},"col10":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col10))}}","textSize":"0.875rem","index":9,"isVisible":true,"label":"col10","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col10","isDisabled":false,"verticalAlignment":"CENTER"},"col7":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col7))}}","textSize":"0.875rem","index":6,"isVisible":true,"label":"col7","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col7","isDisabled":false,"verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col5","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col5","isDisabled":false,"verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col2","isDisabled":false,"verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col3","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"verticalAlignment":"CENTER"}},"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.sanitizedTableData.map((currentRow) => ( '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":"m2y9g15vra","tableData":"{{SelectQuery.data}}","label":"Data","searchKey":"","parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"renderMode":"CANVAS","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER"}]}],"borderWidth":"0"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Alert_text","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"35yoxo4oec","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete Row"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":46,"dynamicPropertyPathList":[],"buttonColor":"#2E3D49","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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","widgetId":"48uac29g6e","isVisible":true,"fontStyle":"","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"borderRadius":"0px","fontSize":"1rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":630,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":604,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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":"{{appsmith.theme.boxShadow.appBoxShadow}}","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":59,"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":"boxShadow"},{"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\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"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}}"}],"isDisabled":false}],"width":532,"height":604},{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"boolean","accessor":"col4","isVisible":true,"label":"Col 4","alignWidget":"LEFT","originalIdentifier":"col4","children":{},"position":3,"isDisabled":false,"sourceData":true,"fieldType":"Switch"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"number","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,"fieldType":"Number Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_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":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#fff","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row col1: {{data_table.selectedRow.col1}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":39,"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":"isVisible"},{"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.col3.accentColor"},{"key":"schema.__root_schema__.children.col3.borderRadius"},{"key":"schema.__root_schema__.children.col4.accentColor"},{"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":"title"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.borderRadius"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.col2.accentColor"},{"key":"schema.__root_schema__.children.col2.borderRadius"},{"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"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":64,"autoGenerateForm":true,"widgetId":"y5cjzuxnb3","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow.col1}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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}}"}]}}],"slug":"postgresql","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc8"},{"publishedPage":{"name":"Page Generator","userPermissions":[],"layouts":[{"new":false,"id":"Page Generator","userPermissions":[],"layoutOnLoadActions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1120,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Tabs1","rightColumn":45,"widgetId":"jalvzswyyk","accentColor":"{{appsmith.theme.colors.primaryColor}}","topRow":11,"bottomRow":55,"defaultTab":"SQL","parentRowSpace":10,"shouldShowTabs":true,"tabsObj":{"tab1":{"widgetId":"nyka98xqpv","index":0,"label":"SQL","id":"tab1","isVisible":true},"tab2":{"widgetId":"neexe4fljs","index":1,"label":"GSheet","id":"tab2","isVisible":true},"tab7qxuerb9p7":{"widgetId":"4yqoh4fjmv","id":"tab7qxuerb9p7","label":"Mongo","isVisible":true}},"isVisible":true,"type":"TABS_WIDGET","version":3,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":16,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"tabId":"tab1","labelTextSize":"0.875rem","boxShadow":"none","tabName":"SQL","rightColumn":634,"widgetName":"Canvas2","detachFromLayout":true,"widgetId":"nyka98xqpv","topRow":0,"bottomRow":400,"parentRowSpace":1,"type":"CANVAS_WIDGET","parentId":"jalvzswyyk","isLoading":false,"renderMode":"CANVAS","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text2","topRow":3,"bottomRow":7,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Datasource ID","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","widgetId":"957c72jpan","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text4","topRow":17,"bottomRow":21,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Table Name","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","widgetId":"nz74xi3ae3","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text6","topRow":21,"bottomRow":25,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Columns to Select","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","widgetId":"s1i89k31f5","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text7","topRow":29,"bottomRow":33,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Column to Search","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","widgetId":"rbacxz6brz","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"resetFormOnClick":false,"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"FormButton1","onClick":"{{generate_sql_app.run(() => showAlert('Page Created!','success'), () => {})}}","rightColumn":63,"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"n6220hgzzs","topRow":33,"bottomRow":37,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"nyka98xqpv","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":47,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Generate"},{"boxShadow":"none","widgetName":"datasource_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":3,"bottomRow":7,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"widgetId":"fk5njkiu28","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"tableName_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":17,"bottomRow":21,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"widgetId":"v6vho5uqct","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"select_cols_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":21,"bottomRow":25,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"widgetId":"e1j5kngy1t","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"search_col_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":29,"bottomRow":33,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"widgetId":"cqxwse0717","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"app_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":7.0791015625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"r1onz3oq9w","labelTextSize":"0.875rem","isRequired":false,"rightColumn":64,"widgetId":"26c0iltpjr","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"Text16","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"overflow":"NONE","parentColumnSpace":7.0791015625,"dynamicTriggerPathList":[],"fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"App ID","key":"99ilu0uxi8","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","widgetId":"242g7dtr9t","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"}]},{"tabId":"tab2","labelTextSize":"0.875rem","boxShadow":"none","tabName":"GSheet","rightColumn":634,"widgetName":"Canvas3","detachFromLayout":true,"widgetId":"neexe4fljs","topRow":0,"bottomRow":400,"parentRowSpace":1,"type":"CANVAS_WIDGET","parentId":"jalvzswyyk","isLoading":false,"renderMode":"CANVAS","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text8","topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"DataSource URL","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","widgetId":"3ghywz6tk6","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text9","topRow":8,"bottomRow":12,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"SpreadSheet URL","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","widgetId":"r6o12im1qd","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text10","topRow":15,"bottomRow":19,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Sheet Name","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","widgetId":"k0ul3uaoph","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text11","topRow":22,"bottomRow":26,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Table Header Index","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","widgetId":"l1r1tfbx6y","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Button1","onClick":"{{generate_gsheet_app.run()}}","buttonColor":"#03B365","topRow":30,"bottomRow":34,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Generate","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":62,"isDefaultClickDisabled":true,"widgetId":"zzsh2d5rns","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","buttonVariant":"PRIMARY"},{"boxShadow":"none","widgetName":"gsheet_ds_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":1,"bottomRow":5,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"widgetId":"j61fbsst0i","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"spreadsheet_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":8,"bottomRow":12,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"widgetId":"vm21ddffi6","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"sheet_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":15,"bottomRow":19,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"widgetId":"5r5hxd2qs8","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"header_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":22,"bottomRow":26,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"widgetId":"z3nz99y80l","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""}]},{"tabId":"tab7qxuerb9p7","boxShadow":"none","widgetName":"Canvas4","topRow":1,"bottomRow":400,"parentRowSpace":1,"canExtend":false,"type":"CANVAS_WIDGET","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","widgetName":"Text12","topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Datasource URL","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"4l1uqhf2au","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text13","topRow":8,"bottomRow":12,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Collection Name","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"0y3rz6ufib","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text14","topRow":15,"bottomRow":19,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Keys to Fetch","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"s1fhjft9to","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text15","topRow":22,"bottomRow":26,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Key to Search","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"rwi67ouhe1","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Button2","onClick":"{{generate_mongo_app.run()}}","buttonColor":"#03B365","topRow":29,"bottomRow":33,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Generate","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":62,"isDefaultClickDisabled":true,"widgetId":"6ui5kmqebf","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","buttonVariant":"PRIMARY"},{"boxShadow":"none","widgetName":"mongo_ds_url","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":1,"bottomRow":5,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"widgetId":"3iwx4ppimv","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"collection_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":8,"bottomRow":12,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"widgetId":"82uk5g7krv","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"fetch_keys_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":15,"bottomRow":19,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"widgetId":"jx1zxum47l","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"search_keys_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":22,"bottomRow":26,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":28.9375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"widgetId":"24223uwmke","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":""}],"labelTextSize":"0.875rem","tabName":"Mongo","rightColumn":574.5625,"detachFromLayout":true,"widgetId":"4yqoh4fjmv","containerStyle":"none","isVisible":true,"version":1,"parentId":"jalvzswyyk","isLoading":false,"borderRadius":"0px"}]}]}}],"slug":"page-generator","isHidden":false},"new":true,"unpublishedPage":{"name":"Page Generator","userPermissions":[],"layouts":[{"new":false,"id":"Page Generator","userPermissions":[],"layoutOnLoadActions":[],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":1120,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Tabs1","rightColumn":45,"widgetId":"jalvzswyyk","accentColor":"{{appsmith.theme.colors.primaryColor}}","topRow":11,"bottomRow":55,"defaultTab":"SQL","parentRowSpace":10,"shouldShowTabs":true,"tabsObj":{"tab1":{"widgetId":"nyka98xqpv","index":0,"label":"SQL","id":"tab1","isVisible":true},"tab2":{"widgetId":"neexe4fljs","index":1,"label":"GSheet","id":"tab2","isVisible":true},"tab7qxuerb9p7":{"widgetId":"4yqoh4fjmv","id":"tab7qxuerb9p7","label":"Mongo","isVisible":true}},"isVisible":true,"type":"TABS_WIDGET","version":3,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":16,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"tabId":"tab1","labelTextSize":"0.875rem","boxShadow":"none","tabName":"SQL","rightColumn":634,"widgetName":"Canvas2","detachFromLayout":true,"widgetId":"nyka98xqpv","topRow":0,"bottomRow":400,"parentRowSpace":1,"type":"CANVAS_WIDGET","parentId":"jalvzswyyk","isLoading":false,"renderMode":"CANVAS","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text2","topRow":3,"bottomRow":7,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Datasource ID","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","widgetId":"957c72jpan","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text4","topRow":17,"bottomRow":21,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Table Name","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","widgetId":"nz74xi3ae3","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text6","topRow":21,"bottomRow":25,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Columns to Select","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","widgetId":"s1i89k31f5","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text7","topRow":29,"bottomRow":33,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Column to Search","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","widgetId":"rbacxz6brz","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"resetFormOnClick":false,"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"FormButton1","onClick":"{{generate_sql_app.run(() => showAlert('Page Created!','success'), () => {})}}","rightColumn":63,"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"n6220hgzzs","topRow":33,"bottomRow":37,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"nyka98xqpv","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":47,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Generate"},{"boxShadow":"none","widgetName":"datasource_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":3,"bottomRow":7,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"widgetId":"fk5njkiu28","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"tableName_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":17,"bottomRow":21,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"widgetId":"v6vho5uqct","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"select_cols_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":21,"bottomRow":25,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"widgetId":"e1j5kngy1t","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"search_col_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":29,"bottomRow":33,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"widgetId":"cqxwse0717","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"app_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":7.0791015625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"r1onz3oq9w","labelTextSize":"0.875rem","isRequired":false,"rightColumn":64,"widgetId":"26c0iltpjr","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"Text16","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"overflow":"NONE","parentColumnSpace":7.0791015625,"dynamicTriggerPathList":[],"fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"App ID","key":"99ilu0uxi8","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","widgetId":"242g7dtr9t","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"}]},{"tabId":"tab2","labelTextSize":"0.875rem","boxShadow":"none","tabName":"GSheet","rightColumn":634,"widgetName":"Canvas3","detachFromLayout":true,"widgetId":"neexe4fljs","topRow":0,"bottomRow":400,"parentRowSpace":1,"type":"CANVAS_WIDGET","parentId":"jalvzswyyk","isLoading":false,"renderMode":"CANVAS","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text8","topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"DataSource URL","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","widgetId":"3ghywz6tk6","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text9","topRow":8,"bottomRow":12,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"SpreadSheet URL","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","widgetId":"r6o12im1qd","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text10","topRow":15,"bottomRow":19,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Sheet Name","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","widgetId":"k0ul3uaoph","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text11","topRow":22,"bottomRow":26,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Table Header Index","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","widgetId":"l1r1tfbx6y","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Button1","onClick":"{{generate_gsheet_app.run()}}","buttonColor":"#03B365","topRow":30,"bottomRow":34,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Generate","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":62,"isDefaultClickDisabled":true,"widgetId":"zzsh2d5rns","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","buttonVariant":"PRIMARY"},{"boxShadow":"none","widgetName":"gsheet_ds_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":1,"bottomRow":5,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"widgetId":"j61fbsst0i","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"spreadsheet_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":8,"bottomRow":12,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"widgetId":"vm21ddffi6","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"sheet_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":15,"bottomRow":19,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"widgetId":"5r5hxd2qs8","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"header_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":22,"bottomRow":26,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"widgetId":"z3nz99y80l","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""}]},{"tabId":"tab7qxuerb9p7","boxShadow":"none","widgetName":"Canvas4","topRow":1,"bottomRow":400,"parentRowSpace":1,"canExtend":false,"type":"CANVAS_WIDGET","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","widgetName":"Text12","topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Datasource URL","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"4l1uqhf2au","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text13","topRow":8,"bottomRow":12,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Collection Name","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"0y3rz6ufib","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text14","topRow":15,"bottomRow":19,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Keys to Fetch","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"s1fhjft9to","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text15","topRow":22,"bottomRow":26,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Key to Search","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"rwi67ouhe1","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Button2","onClick":"{{generate_mongo_app.run()}}","buttonColor":"#03B365","topRow":29,"bottomRow":33,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Generate","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":62,"isDefaultClickDisabled":true,"widgetId":"6ui5kmqebf","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","buttonVariant":"PRIMARY"},{"boxShadow":"none","widgetName":"mongo_ds_url","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":1,"bottomRow":5,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"widgetId":"3iwx4ppimv","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"collection_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":8,"bottomRow":12,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"widgetId":"82uk5g7krv","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"fetch_keys_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":15,"bottomRow":19,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"widgetId":"jx1zxum47l","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"search_keys_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":22,"bottomRow":26,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":28.9375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"widgetId":"24223uwmke","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":""}],"labelTextSize":"0.875rem","tabName":"Mongo","rightColumn":574.5625,"detachFromLayout":true,"widgetId":"4yqoh4fjmv","containerStyle":"none","isVisible":true,"version":1,"parentId":"jalvzswyyk","isLoading":false,"borderRadius":"0px"}]}]}}],"slug":"page-generator","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc4"},{"publishedPage":{"name":"MongoDB","userPermissions":[],"layouts":[{"new":false,"id":"MongoDB","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["data_table.sortOrder.column || 'col1'","key_select.selectedOptionValue","data_table.pageSize","data_table.sortOrder.order == \"desc\" ? -1 : 1","data_table.searchText||\"\"","(data_table.pageNo - 1) * data_table.pageSize","order_select.selectedOptionValue"],"name":"FindQuery","timeoutInMillisecond":10000,"id":"MongoDB_FindQuery"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"object","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"4444","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"new entry 3","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col3","isVisible":true,"label":"Col 3","originalIdentifier":"col3","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":"33","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"111","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"4444","col2":"new entry 3","col3":"33","col1":"111"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#fff","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(\n\t() => FindQuery.run(), \n\t(error) => showAlert(`Error while updating resource!\\n${error}`,'error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Document Id: {{data_table.selectedRow._id}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":39,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col4.accentColor"},{"key":"schema.__root_schema__.children.col4.borderRadius"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col3.accentColor"},{"key":"schema.__root_schema__.children.col3.borderRadius"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"title"},{"key":"borderRadius"},{"key":"boxShadow"},{"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"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"_id\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"0511vwn3zi","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow._id}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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}}"},{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#fff","backgroundColor":"#FFFFFF","rightColumn":39,"dynamicPropertyPathList":[{"key":"borderRadius"}],"widgetId":"mvubsemxfo","topRow":0,"bottomRow":86,"containerStyle":"card","parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":860,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"data_table","onSort":"{{FindQuery.run()}}","columnOrder":["_id","col1","col3","col2","col4","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.borderRadius"}],"isVisibleDownload":true,"topRow":5,"bottomRow":84,"parentRowSpace":10,"onPageChange":"{{FindQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","animateLoading":true,"parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns._id.computedValue"},{"key":"accentColor"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col1.computedValue"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"primaryColumns.customColumn1.borderRadius"}],"leftColumn":0,"primaryColumns":{"appsmith_mongo_escape_id":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._id))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"_id","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"_id","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"boxShadow":"none","isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"0.875rem","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col4","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col3","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col1","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"delimiter":",","derivedColumns":{"customColumn1":{"boxShadow":"none","isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"0.875rem","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"labelTextSize":"0.875rem","rightColumn":64,"textSize":"0.875rem","widgetId":"jabdu9f16g","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"tableData":"{{FindQuery.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{FindQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"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}}","isVisiblePagination":true,"primaryColumnId":"_id","verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"boxShadow":"none","widgetName":"Text16","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":41,"textAlign":"LEFT","widgetId":"urzv99hdc8","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{FindQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"nj85l57r47","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"atgojamsmw","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}]}],"borderWidth":"0"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Alert_text","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"35yoxo4oec","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete Row"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":45,"dynamicPropertyPathList":[],"buttonColor":"#3f3f46","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":33,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => FindQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":45,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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 document?","labelTextSize":"0.875rem","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","isVisible":true,"fontStyle":"","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"borderRadius":"0px","fontSize":"1rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":1,"isDisabled":false,"sourceData":"4444","fieldType":"Text 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","placeholderText":"","position":0,"isDisabled":false,"sourceData":"new entry 3","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col3","isVisible":true,"label":"Col 3","originalIdentifier":"col3","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":"33","fieldType":"Text 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":"string","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"111","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"4444","col2":"new entry 3","col3":"33","col1":"111"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","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":"onSubmit"},{"key":"borderRadius"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{InsertQuery.run(\n\t() => FindQuery.run(\n\t\t() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n${error}`,'error'))\n}}","topRow":0,"bottomRow":59,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Document","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col4.accentColor"},{"key":"schema.__root_schema__.children.col4.borderRadius"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col3.accentColor"},{"key":"schema.__root_schema__.children.col3.borderRadius"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.col2.accentColor"},{"key":"schema.__root_schema__.children.col2.borderRadius"}],"borderWidth":"","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\", \"_id\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"ktpocp4ka2","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}}"}],"isDisabled":false}],"width":532,"height":600}]}}],"slug":"mongodb","isHidden":false},"new":true,"unpublishedPage":{"name":"MongoDB","userPermissions":[],"layouts":[{"new":false,"id":"MongoDB","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["data_table.sortOrder.column || 'col1'","key_select.selectedOptionValue","data_table.pageSize","data_table.sortOrder.order == \"desc\" ? -1 : 1","data_table.searchText||\"\"","(data_table.pageNo - 1) * data_table.pageSize","order_select.selectedOptionValue"],"name":"FindQuery","timeoutInMillisecond":10000,"id":"MongoDB_FindQuery"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"object","cellBorderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"4444","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"new entry 3","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col3","isVisible":true,"label":"Col 3","originalIdentifier":"col3","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":"33","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"111","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"4444","col2":"new entry 3","col3":"33","col1":"111"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#fff","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(\n\t() => FindQuery.run(), \n\t(error) => showAlert(`Error while updating resource!\\n${error}`,'error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Document Id: {{data_table.selectedRow._id}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":39,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col4.accentColor"},{"key":"schema.__root_schema__.children.col4.borderRadius"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col3.accentColor"},{"key":"schema.__root_schema__.children.col3.borderRadius"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"title"},{"key":"borderRadius"},{"key":"boxShadow"},{"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"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"_id\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"0511vwn3zi","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow._id}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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}}"},{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#fff","backgroundColor":"#FFFFFF","rightColumn":39,"dynamicPropertyPathList":[{"key":"borderRadius"}],"widgetId":"mvubsemxfo","topRow":0,"bottomRow":86,"containerStyle":"card","parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":860,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"data_table","onSort":"{{FindQuery.run()}}","columnOrder":["_id","col1","col3","col2","col4","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.borderRadius"}],"isVisibleDownload":true,"topRow":5,"bottomRow":84,"parentRowSpace":10,"onPageChange":"{{FindQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","animateLoading":true,"parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns._id.computedValue"},{"key":"accentColor"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col1.computedValue"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"primaryColumns.customColumn1.borderRadius"}],"leftColumn":0,"primaryColumns":{"appsmith_mongo_escape_id":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._id))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"_id","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"_id","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"boxShadow":"none","isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"0.875rem","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col4","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col3","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col1","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"delimiter":",","derivedColumns":{"customColumn1":{"boxShadow":"none","isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"0.875rem","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"labelTextSize":"0.875rem","rightColumn":64,"textSize":"0.875rem","widgetId":"jabdu9f16g","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"tableData":"{{FindQuery.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{FindQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"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}}","isVisiblePagination":true,"primaryColumnId":"_id","verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"boxShadow":"none","widgetName":"Text16","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":41,"textAlign":"LEFT","widgetId":"urzv99hdc8","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{FindQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"nj85l57r47","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"atgojamsmw","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}]}],"borderWidth":"0"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Alert_text","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"35yoxo4oec","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete Row"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":45,"dynamicPropertyPathList":[],"buttonColor":"#3f3f46","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":33,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => FindQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":45,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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 document?","labelTextSize":"0.875rem","rightColumn":63,"textAlign":"LEFT","widgetId":"48uac29g6e","isVisible":true,"fontStyle":"","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"borderRadius":"0px","fontSize":"1rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":610,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":1,"isDisabled":false,"sourceData":"4444","fieldType":"Text 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","placeholderText":"","position":0,"isDisabled":false,"sourceData":"new entry 3","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col3","isVisible":true,"label":"Col 3","originalIdentifier":"col3","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":"33","fieldType":"Text 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":"string","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"111","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"4444","col2":"new entry 3","col3":"33","col1":"111"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","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":"onSubmit"},{"key":"borderRadius"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{InsertQuery.run(\n\t() => FindQuery.run(\n\t\t() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n${error}`,'error'))\n}}","topRow":0,"bottomRow":59,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Document","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col4.accentColor"},{"key":"schema.__root_schema__.children.col4.borderRadius"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col3.accentColor"},{"key":"schema.__root_schema__.children.col3.borderRadius"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.col2.accentColor"},{"key":"schema.__root_schema__.children.col2.borderRadius"}],"borderWidth":"","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\", \"_id\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"ktpocp4ka2","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}}"}],"isDisabled":false}],"width":532,"height":600}]}}],"slug":"mongodb","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc5"},{"publishedPage":{"name":"SQL","userPermissions":[],"layouts":[{"new":false,"id":"SQL","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || \"ASC\"","data_table.pageSize","data_table.searchText || \"\"","(data_table.pageNo - 1) * data_table.pageSize"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"SQL_SelectQuery"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":910,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"boolean","accessor":"col4","isVisible":true,"label":"Col 4","alignWidget":"LEFT","originalIdentifier":"col4","children":{},"position":3,"isDisabled":false,"sourceData":true,"fieldType":"Switch"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col2","isVisible":true,"label":"col2","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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"number","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,"fieldType":"Number Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_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":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}","topRow":0,"bottomRow":89,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row col1: {{data_table.selectedRow.col1}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":39,"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":"isVisible"},{"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__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"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.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"title"},{"key":"schema.__root_schema__.children.col2.accentColor"},{"key":"schema.__root_schema__.children.col2.borderRadius"},{"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"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"6g4ewsx2v0","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow.col1}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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}}"},{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#fff","backgroundColor":"#FFFFFF","rightColumn":39,"dynamicPropertyPathList":[{"key":"borderRadius"}],"widgetId":"mvubsemxfo","topRow":0,"bottomRow":89,"containerStyle":"card","parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"data_table","onSort":"{{SelectQuery.run()}}","columnOrder":["col1","col2","col3","col4","col5","col6","col7","col8","col9","col10","col11","col12","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.borderRadius"}],"isVisibleDownload":true,"topRow":5,"bottomRow":87,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","animateLoading":true,"parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col6.computedValue"},{"key":"primaryColumns.col7.computedValue"},{"key":"primaryColumns.col8.computedValue"},{"key":"primaryColumns.col9.computedValue"},{"key":"primaryColumns.col10.computedValue"},{"key":"primaryColumns.col11.computedValue"},{"key":"primaryColumns.col12.computedValue"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"primaryColumns.customColumn1.borderRadius"}],"leftColumn":0,"primaryColumns":{"col12":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col12))}}","textSize":"0.875rem","index":11,"isVisible":true,"label":"col12","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col12","isDisabled":false,"verticalAlignment":"CENTER"},"col11":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col11))}}","textSize":"0.875rem","index":10,"isVisible":true,"label":"col11","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col11","isDisabled":false,"verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"boxShadow":"none","isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"0.875rem","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"col8":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col8))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"col8","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col8","isDisabled":false,"verticalAlignment":"CENTER"},"col9":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col9))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"col9","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col9","isDisabled":false,"verticalAlignment":"CENTER"},"col6":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col6))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"col6","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col6","isDisabled":false,"verticalAlignment":"CENTER"},"col10":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col10))}}","textSize":"0.875rem","index":9,"isVisible":true,"label":"col10","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col10","isDisabled":false,"verticalAlignment":"CENTER"},"col7":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col7))}}","textSize":"0.875rem","index":6,"isVisible":true,"label":"col7","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col7","isDisabled":false,"verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col4","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col5","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col5","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","fontStyle":"","textColor":"","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col1","verticalAlignment":"CENTER"}},"delimiter":",","derivedColumns":{"customColumn1":{"boxShadow":"none","isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"0.875rem","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"labelTextSize":"0.875rem","rightColumn":64,"textSize":"0.875rem","widgetId":"jabdu9f16g","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"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}}","isVisiblePagination":true,"primaryColumnId":"col1","verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"boxShadow":"none","widgetName":"Text16","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":55,"textAlign":"LEFT","widgetId":"urzv99hdc8","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"2jj0197tff","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":"borderRadius"},{"key":"buttonColor"}],"buttonVariant":"PRIMARY","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"kby34l9nbb","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}]}],"borderWidth":"0"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Alert_text","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"35yoxo4oec","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete Row"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":46,"dynamicPropertyPathList":[],"buttonColor":"#2E3D49","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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","widgetId":"48uac29g6e","isVisible":true,"fontStyle":"","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"borderRadius":"0px","fontSize":"1rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"number","cellBorderRadius":"0px","accessor":"col5","isVisible":true,"label":"Col 5","originalIdentifier":"col5","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":4,"isDisabled":false,"cellBoxShadow":"none","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":"{{appsmith.theme.boxShadow.appBoxShadow}}","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":"borderRadius"},{"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":58,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"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":"sourceData"},{"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__.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":"boxShadow"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"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.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"},{"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"}],"borderWidth":"","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"w10l8merz2","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}}"}],"isDisabled":false}],"width":532,"height":600}]}}],"slug":"sql","isHidden":false},"new":true,"unpublishedPage":{"name":"SQL","userPermissions":[],"layouts":[{"new":false,"id":"SQL","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || \"ASC\"","data_table.pageSize","data_table.searchText || \"\"","(data_table.pageNo - 1) * data_table.pageSize"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"SQL_SelectQuery"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":910,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"boolean","accessor":"col4","isVisible":true,"label":"Col 4","alignWidget":"LEFT","originalIdentifier":"col4","children":{},"position":3,"isDisabled":false,"sourceData":true,"fieldType":"Switch"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col2","isVisible":true,"label":"col2","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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"number","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,"fieldType":"Number Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_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":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}","topRow":0,"bottomRow":89,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row col1: {{data_table.selectedRow.col1}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":39,"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":"isVisible"},{"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__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"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.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"title"},{"key":"schema.__root_schema__.children.col2.accentColor"},{"key":"schema.__root_schema__.children.col2.borderRadius"},{"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"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"6g4ewsx2v0","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow.col1}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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}}"},{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#fff","backgroundColor":"#FFFFFF","rightColumn":39,"dynamicPropertyPathList":[{"key":"borderRadius"}],"widgetId":"mvubsemxfo","topRow":0,"bottomRow":89,"containerStyle":"card","parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"data_table","onSort":"{{SelectQuery.run()}}","columnOrder":["col1","col2","col3","col4","col5","col6","col7","col8","col9","col10","col11","col12","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.borderRadius"}],"isVisibleDownload":true,"topRow":5,"bottomRow":87,"parentRowSpace":10,"onPageChange":"{{SelectQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","animateLoading":true,"parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col6.computedValue"},{"key":"primaryColumns.col7.computedValue"},{"key":"primaryColumns.col8.computedValue"},{"key":"primaryColumns.col9.computedValue"},{"key":"primaryColumns.col10.computedValue"},{"key":"primaryColumns.col11.computedValue"},{"key":"primaryColumns.col12.computedValue"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"primaryColumns.customColumn1.borderRadius"}],"leftColumn":0,"primaryColumns":{"col12":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col12))}}","textSize":"0.875rem","index":11,"isVisible":true,"label":"col12","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col12","isDisabled":false,"verticalAlignment":"CENTER"},"col11":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col11))}}","textSize":"0.875rem","index":10,"isVisible":true,"label":"col11","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col11","isDisabled":false,"verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"boxShadow":"none","isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"0.875rem","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"col8":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col8))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"col8","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col8","isDisabled":false,"verticalAlignment":"CENTER"},"col9":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col9))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"col9","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col9","isDisabled":false,"verticalAlignment":"CENTER"},"col6":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col6))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"col6","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col6","isDisabled":false,"verticalAlignment":"CENTER"},"col10":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col10))}}","textSize":"0.875rem","index":9,"isVisible":true,"label":"col10","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col10","isDisabled":false,"verticalAlignment":"CENTER"},"col7":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col7))}}","textSize":"0.875rem","index":6,"isVisible":true,"label":"col7","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col7","isDisabled":false,"verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col4","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col5","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col5","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col2","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","fontStyle":"","textColor":"","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col3","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"col1","verticalAlignment":"CENTER"}},"delimiter":",","derivedColumns":{"customColumn1":{"boxShadow":"none","isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"0.875rem","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"labelTextSize":"0.875rem","rightColumn":64,"textSize":"0.875rem","widgetId":"jabdu9f16g","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"tableData":"{{SelectQuery.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{SelectQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"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}}","isVisiblePagination":true,"primaryColumnId":"col1","verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"boxShadow":"none","widgetName":"Text16","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":55,"textAlign":"LEFT","widgetId":"urzv99hdc8","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"59rw5mx0bq","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"2jj0197tff","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":"borderRadius"},{"key":"buttonColor"}],"buttonVariant":"PRIMARY","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"kby34l9nbb","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}]}],"borderWidth":"0"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Modal","rightColumn":45,"detachFromLayout":true,"widgetId":"i3whp03wf0","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Alert_text","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"35yoxo4oec","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete Row"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":46,"dynamicPropertyPathList":[],"buttonColor":"#2E3D49","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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","widgetId":"48uac29g6e","isVisible":true,"fontStyle":"","textColor":"#231F20","version":1,"parentId":"zi8fjakv8o","isLoading":false,"borderRadius":"0px","fontSize":"1rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Insert_Modal","rightColumn":41,"detachFromLayout":true,"widgetId":"vmorzie6eq","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":false,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"number","cellBorderRadius":"0px","accessor":"col5","isVisible":true,"label":"Col 5","originalIdentifier":"col5","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":4,"isDisabled":false,"cellBoxShadow":"none","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":"{{appsmith.theme.boxShadow.appBoxShadow}}","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":"borderRadius"},{"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":58,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"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":"sourceData"},{"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__.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":"boxShadow"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"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.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"},{"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"}],"borderWidth":"","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"autoGenerateForm":true,"widgetId":"w10l8merz2","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}}"}],"isDisabled":false}],"width":532,"height":600}]}}],"slug":"sql","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc0"},{"publishedPage":{"name":"S3","userPermissions":[],"layouts":[{"new":false,"id":"S3","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["60 * 24","search_input.text"],"name":"ListFiles","timeoutInMillisecond":10000,"id":"S3_ListFiles"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":910,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Zoom_Modal2","rightColumn":0,"detachFromLayout":true,"widgetId":"kqxoe40pg6","topRow":89,"bottomRow":89,"parentRowSpace":1,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas9Copy","rightColumn":0,"detachFromLayout":true,"widgetId":"80wzwajsst","topRow":0,"bottomRow":590,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"kqxoe40pg6","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon3Copy","rightColumn":64,"onClick":"{{closeModal('Zoom_Modal2')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"8kw9kfcd5y","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"80wzwajsst","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text15Copy","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"vk710q1v3s","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"80wzwajsst","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Zoom Image"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button13Copy","rightColumn":63,"onClick":"{{closeModal('Zoom_Modal2')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"lfiwss1u3w","topRow":53,"bottomRow":57,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"80wzwajsst","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":47,"dynamicBindingPathList":[],"borderRadius":"0px","buttonVariant":"PRIMARY","text":"Close","isDisabled":false},{"labelTextSize":"0.875rem","image":"{{selected_files.selectedItem.base64}}","boxShadow":"none","widgetName":"Image3Copy","rightColumn":64,"objectFit":"contain","widgetId":"2bewgakjx9","topRow":6,"bottomRow":51,"parentRowSpace":10,"isVisible":true,"type":"IMAGE_WIDGET","version":1,"parentId":"80wzwajsst","isLoading":false,"maxZoomLevel":8,"parentColumnSpace":8,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":1,"dynamicBindingPathList":[{"key":"image"}],"borderRadius":"0px","defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png"}],"isDisabled":false}],"width":532,"height":600},{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container3","borderColor":"#2E3D4955","backgroundColor":"#FFFFFF","rightColumn":37,"dynamicPropertyPathList":[{"key":"borderRadius"}],"widgetId":"th4d9oxy8z","topRow":0,"bottomRow":85,"containerStyle":"card","parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"boxShadow"},{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":634,"detachFromLayout":true,"widgetId":"6tz2s7ivi5","containerStyle":"none","topRow":0,"bottomRow":850,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"th4d9oxy8z","minHeight":830,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"template":{"DownloadIcon":{"boxShadow":"NONE","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":57,"iconName":"download","widgetId":"ljk8fj5jc1","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"},"CopyURLIcon":{"boxShadow":"NONE","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":45,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":51,"iconName":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'duplicate';\n })();\n })}}","widgetId":"d2z5zj56j9","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"},"EditIcon":{"boxShadow":"NONE","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":39,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":45,"iconName":"edit","widgetId":"x5bft8h9vd","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"},"Text21":{"widgetName":"Text21","rightColumn":24,"textAlign":"LEFT","displayName":"Text","iconSVG":"/static/media/icon.e6c93592.svg","widgetId":"nu44q8kd9p","topRow":4,"bottomRow":8,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"hideCard":false,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"text"}],"leftColumn":16,"fontSize":"PARAGRAPH","text":"{{File_List.listData.map((currentItem) => currentItem.id)}}","textStyle":"BODY","key":"xvmvdekk3s"},"Text20":{"widgetName":"Text20","rightColumn":28,"textAlign":"LEFT","displayName":"Text","iconSVG":"/static/media/icon.e6c93592.svg","widgetId":"thgbdemmiw","topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"hideCard":false,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"text"}],"leftColumn":16,"fontSize":"PARAGRAPH","text":"{{File_List.listData.map((currentItem) => currentItem.name)}}","textStyle":"HEADING","key":"xvmvdekk3s"},"Image3":{"widgetName":"Image3","displayName":"Image","iconSVG":"/static/media/icon.52d8fb96.svg","topRow":0,"bottomRow":8.4,"type":"IMAGE_WIDGET","hideCard":false,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","dynamicBindingPathList":[{"key":"image"}],"leftColumn":0,"defaultImage":"https://assets.appsmith.com/widgets/default.png","key":"lsc53q139g","image":"{{File_List.listData.map((currentItem) => currentItem.img)}}","rightColumn":16,"objectFit":"contain","widgetId":"2rrg354q8i","isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"maxZoomLevel":1,"enableDownload":false,"enableRotation":false},"FileListItemImage":{"widgetName":"FileListItemImage","onClick":"{{showModal('Zoom_Modal')}}","dynamicPropertyPathList":[],"topRow":1,"bottomRow":13,"parentRowSpace":10,"type":"IMAGE_WIDGET","parentColumnSpace":19.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":1,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png","image":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.signedUrl;\n })();\n })}}","rightColumn":20,"objectFit":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}","widgetId":"lh1sjszc93","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"enableDownload":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"enableRotation":true,"defaultImage":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","isLoading":false,"maxZoomLevel":1,"enableDownload":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","enableRotation":false},"Container7":{"borderColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}","borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}","borderWidth":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}"},"FileListItemName":{"widgetName":"FileListItemName","rightColumn":63,"textAlign":"LEFT","widgetId":"qyqv89mu1c","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"leftColumn":true,"fontSize":true,"text":true},"topRow":1,"bottomRow":8,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"lcz0rhije8","isLoading":false,"parentColumnSpace":19.0625,"dynamicTriggerPathList":[],"fontFamily":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}","leftColumn":21,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.fileName;\n })();\n })}}"},"DeleteIcon":{"boxShadow":"NONE","widgetName":"DeleteIcon","onClick":"{{showModal('delete_modal')}}","buttonColor":"#DD4B34","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":57,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":63,"iconName":"trash","widgetId":"f8ipd8gbls","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"File_List","listData":"{{ListFiles.data}}","isCanvas":true,"displayName":"List","iconSVG":"/static/media/icon.9925ee17.svg","topRow":10,"bottomRow":83,"parentRowSpace":10,"type":"LIST_WIDGET","hideCard":false,"gridGap":0,"parentColumnSpace":9.67822265625,"dynamicTriggerPathList":[{"key":"template.DownloadIcon.onClick"},{"key":"template.CopyURLIcon.onClick"}],"leftColumn":1,"dynamicBindingPathList":[{"key":"listData"},{"key":"template.FileListItemImage.image"},{"key":"template.FileListItemName.text"},{"key":"template.EditIcon.buttonColor"},{"key":"template.CopyURLIcon.buttonColor"},{"key":"template.DownloadIcon.buttonColor"},{"key":"template.Container7.borderColor"},{"key":"template.Container7.borderWidth"},{"key":"template.Container7.borderRadius"},{"key":"template.CopyURLIcon.iconName"},{"key":"accentColor"},{"key":"template.FileListItemImage.objectFit"},{"key":"boxShadow"},{"key":"borderRadius"},{"key":"template.EditIcon.borderRadius"},{"key":"template.CopyURLIcon.borderRadius"},{"key":"template.DownloadIcon.borderRadius"},{"key":"template.DeleteIcon.borderRadius"},{"key":"template.FileListItemName.fontFamily"},{"key":"template.FileListItemImage.borderRadius"}],"gridType":"vertical","enhancements":true,"children":[{"boxShadow":"none","widgetName":"Canvas14","displayName":"Canvas","topRow":0,"bottomRow":390,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":false,"hideCard":true,"dropDisabled":true,"openParentPropertyPane":true,"minHeight":400,"noPad":true,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","widgetName":"Container7","borderColor":"#2E3D4955","disallowCopy":true,"isCanvas":true,"dynamicPropertyPathList":[{"key":"borderRadius"}],"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":0,"bottomRow":17,"dragDisabled":true,"type":"CONTAINER_WIDGET","hideCard":false,"openParentPropertyPane":true,"isDeletable":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas15","detachFromLayout":true,"displayName":"Canvas","widgetId":"lcz0rhije8","topRow":0,"bottomRow":160,"containerStyle":"none","parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"66oc53smx3","renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"#2E3D49","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":39,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":45,"iconName":"edit","widgetId":"x5bft8h9vd","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"#2E3D49","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":45,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":51,"iconName":"duplicate","widgetId":"d2z5zj56j9","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"#2E3D49","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":57,"iconName":"download","widgetId":"ljk8fj5jc1","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"DeleteIcon","onClick":"{{showModal('delete_modal')}}","buttonColor":"#DD4B34","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":57,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":63,"iconName":"trash","widgetId":"f8ipd8gbls","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"FileListItemName","topRow":0,"bottomRow":7,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":19.0625,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":21,"dynamicBindingPathList":[{"key":"text"},{"key":"fontFamily"}],"text":"{{currentItem.fileName}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","widgetId":"kmwv6dap5n","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"leftColumn":true,"fontSize":true,"text":true},"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"lcz0rhije8","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"FileListItemImage","onClick":"{{showModal('Zoom_Modal')}}","dynamicPropertyPathList":[],"topRow":0,"bottomRow":13,"parentRowSpace":10,"type":"IMAGE_WIDGET","parentColumnSpace":19.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":1,"dynamicBindingPathList":[{"key":"image"},{"key":"borderRadius"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png","labelTextSize":"0.875rem","image":"{{currentItem.signedUrl}}","rightColumn":20,"objectFit":"contain","widgetId":"4laf7e6wer","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"enableDownload":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"enableRotation":true,"defaultImage":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","isLoading":false,"maxZoomLevel":1,"enableDownload":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","enableRotation":false}],"key":"29vrztch46"}],"borderWidth":"1","key":"cw0dtdoe0g","disablePropertyPane":true,"labelTextSize":"0.875rem","backgroundColor":"white","rightColumn":64,"widgetId":"66oc53smx3","containerStyle":"card","isVisible":true,"version":1,"parentId":"sh1yahe7kl","renderMode":"CANVAS","isLoading":false,"borderRadius":"5px"}],"key":"29vrztch46","labelTextSize":"0.875rem","rightColumn":232.27734375,"detachFromLayout":true,"widgetId":"sh1yahe7kl","containerStyle":"none","isVisible":true,"version":1,"parentId":"cjgg2thzom","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px"}],"privateWidgets":{"DownloadIcon":true,"EditIcon":true,"CopyURLIcon":true,"FileListItemImage":true,"FileListItemName":true,"DeleteIcon":true},"key":"x51ms5k6q9","labelTextSize":"0.875rem","backgroundColor":"transparent","rightColumn":63,"itemBackgroundColor":"#F6F7F8","widgetId":"cjgg2thzom","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"parentId":"6tz2s7ivi5","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},{"boxShadow":"none","widgetName":"search_input","dynamicPropertyPathList":[{"key":"onTextChanged"}],"displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":6,"bottomRow":10,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":16.4169921875,"dynamicTriggerPathList":[{"key":"onTextChanged"}],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","placeholderText":"Search File Prefix","isDisabled":false,"key":"auxyd97lu3","validation":"true","labelTextSize":"0.875rem","isRequired":false,"onTextChanged":"{{ListFiles.run()}}","rightColumn":40,"widgetId":"why172fko6","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"6tz2s7ivi5","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"Text6","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":1,"dynamicBindingPathList":[{"key":"fontFamily"}],"text":"template_table Bucket","labelTextSize":"0.875rem","rightColumn":63,"backgroundColor":"","textAlign":"LEFT","widgetId":"t54ituq472","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"6tz2s7ivi5","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"}]}],"borderWidth":"0"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"delete_modal","rightColumn":0,"detachFromLayout":true,"widgetId":"9g0cw9adf8","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas6","rightColumn":0,"detachFromLayout":true,"widgetId":"ozvpoudxz2","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"9g0cw9adf8","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('delete_modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"xkyh49z71e","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"ozvpoudxz2","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text12","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"s1y44xm547","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete File"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button10","rightColumn":48,"onClick":"{{closeModal('delete_modal')}}","isDefaultClickDisabled":true,"buttonColor":"#3f3f46","widgetId":"pi0t67rnwh","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button11","onClick":"{{\nDeleteFile.run(() => {closeModal('delete_modal'); \nListFiles.run();\n});\n}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"hp22uj3dra","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"boxShadow":"none","widgetName":"Text13","topRow":5,"bottomRow":16,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"Are you sure you want to delete the file?\n\n{{File_List.selectedItem.fileName}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","widgetId":"oypa9ad1tg","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Edit_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"usealgbtyj","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas10","rightColumn":0,"detachFromLayout":true,"widgetId":"6i7m9kpuky","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"usealgbtyj","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text17","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"z64z3l112n","topRow":0,"bottomRow":4,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Update File"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button15","rightColumn":44,"onClick":"{{closeModal('Edit_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#3f3f46","widgetId":"trc4e6ylcz","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":32,"dynamicBindingPathList":[],"borderRadius":"0.375rem","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"update_button","onClick":"{{UpdateFile.run(() => {ListFiles.run();resetWidget('update_file_picker');closeModal('Edit_Modal');})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"8lbthc9dml","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":44,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Update","isDisabled":"{{update_file_picker.files.length == 0}}"},{"boxShadow":"none","widgetName":"Text18","topRow":6,"bottomRow":10,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"File Name","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"qb26g34etr","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"update_file_picker","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"FilePicker","iconSVG":"/static/media/icon.7c5ad9c3.svg","topRow":11,"bottomRow":15,"parentRowSpace":10,"allowedFileTypes":[],"type":"FILE_PICKER_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[],"leftColumn":18,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"isDisabled":false,"key":"h2212wpg64","labelTextSize":"0.875rem","isRequired":false,"rightColumn":64,"isDefaultClickDisabled":true,"widgetId":"i8g6khu01a","defaultSelectedFiles":[],"isVisible":true,"label":"Select File","maxFileSize":"10","version":1,"fileDataType":"Base64","parentId":"6i7m9kpuky","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","files":[],"maxNumFiles":1},{"boxShadow":"none","widgetName":"update_file_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":6,"bottomRow":10,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":true,"key":"auxyd97lu3","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":64,"widgetId":"uabsu3mjt3","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"6i7m9kpuky","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":"{{File_List.selectedItem.fileName}}"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container6","borderColor":"#2E3D4955","backgroundColor":"#FFFFFF","rightColumn":64,"dynamicPropertyPathList":[{"key":"borderRadius"}],"widgetId":"yg1iyxq9kd","topRow":0,"bottomRow":85,"containerStyle":"card","parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":37,"dynamicBindingPathList":[{"key":"boxShadow"},{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas13","rightColumn":634,"detachFromLayout":true,"widgetId":"xv97g6rzgq","containerStyle":"none","topRow":0,"bottomRow":820,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"yg1iyxq9kd","minHeight":830,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"template":{"Canvas7":{"widgetName":"Canvas7","rightColumn":256,"detachFromLayout":true,"widgetId":"oqhzaygncs","containerStyle":"none","topRow":0,"bottomRow":400,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"dropDisabled":true,"parentId":"0n30419eso","openParentPropertyPane":true,"minHeight":340,"isLoading":false,"noPad":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":["u3nvgafsdo"]},"update_files_name":{"widgetName":"update_files_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":8,"bottomRow":12,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":11.4580078125,"resetOnSubmit":true,"leftColumn":23,"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'true';\n })();\n })}}","isRequired":false,"rightColumn":43,"widgetId":"yqxzzh2oqi","logBlackList":{"widgetName":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"autoFocus":true,"type":true,"hideCard":true,"minHeight":true,"animateLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"labelStyle":true,"inputType":true,"isDisabled":true,"key":true,"isRequired":true,"rightColumn":true,"widgetId":true,"isVisible":true,"label":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"iconAlign":true,"defaultText":true},"isVisible":true,"label":"","version":2,"parentId":"romgsruzxz","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","iconAlign":"left","defaultText":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.name;\n })();\n })}}"},"Image2":{"image":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.data;\n })();\n })}}","widgetName":"Image2","rightColumn":10,"onClick":"{{showModal('Zoom_Modal2')}}","objectFit":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}","widgetId":"ql8qs2xelx","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"defaultImage":true},"topRow":0,"bottomRow":6,"parentRowSpace":10,"isVisible":true,"type":"IMAGE_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"maxZoomLevel":1,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":0,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png"},"Container4":{"backgroundColor":"white","widgetName":"Container4","rightColumn":64,"borderColor":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}","disallowCopy":true,"widgetId":"u3nvgafsdo","containerStyle":"card","topRow":0,"bottomRow":8,"dragDisabled":true,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"oqhzaygncs","openParentPropertyPane":true,"isDeletable":false,"isLoading":false,"leftColumn":0,"borderRadius":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}","children":["romgsruzxz"],"borderWidth":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}","disablePropertyPane":true},"Canvas8":{"widgetName":"Canvas8","detachFromLayout":true,"widgetId":"romgsruzxz","containerStyle":"none","topRow":0,"bottomRow":180,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"u3nvgafsdo","minHeight":80,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":["vu7fb0dbt8","7zziet357m","ql8qs2xelx"]},"Text14":{"widgetName":"Text14","rightColumn":23,"textAlign":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'LEFT';\n })();\n })}}","widgetId":"vu7fb0dbt8","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"dynamicTriggerPathList":true,"parentColumnSpace":true,"dynamicBindingPathList":true,"leftColumn":true,"fontSize":true,"text":true,"textStyle":true},"topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"romgsruzxz","isLoading":false,"dynamicTriggerPathList":[],"fontFamily":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}","dynamicBindingPathList":[],"leftColumn":11,"fontSize":"PARAGRAPH","text":"File Name","textStyle":"HEADING"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"selected_files","listData":"{{FilePicker.files}}","dynamicPropertyPathList":[{"key":"isVisible"}],"topRow":23,"bottomRow":75,"parentRowSpace":10,"type":"LIST_WIDGET","gridGap":0,"parentColumnSpace":8,"dynamicTriggerPathList":[{"key":"template.Image2.onClick"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"listData"},{"key":"template.update_files_name.defaultText"},{"key":"template.update_files_name.validation"},{"key":"template.Container4.borderWidth"},{"key":"template.Container4.borderRadius"},{"key":"template.Container4.borderColor"},{"key":"template.Image2.image"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"template.Text14.fontFamily"},{"key":"template.update_files_name.borderRadius"}],"gridType":"vertical","enhancements":true,"children":[{"boxShadow":"none","widgetName":"Canvas7","topRow":0,"bottomRow":510,"parentRowSpace":1,"canExtend":false,"type":"CANVAS_WIDGET","dropDisabled":true,"openParentPropertyPane":true,"minHeight":520,"noPad":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","widgetName":"Container4","borderColor":"#2E3D4955","disallowCopy":true,"dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":12,"dragDisabled":true,"type":"CONTAINER_WIDGET","openParentPropertyPane":true,"isDeletable":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas8","detachFromLayout":true,"widgetId":"romgsruzxz","containerStyle":"none","topRow":0,"bottomRow":110,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"u3nvgafsdo","minHeight":120,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text14","topRow":0,"bottomRow":4,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","dynamicBindingPathList":[{"key":"fontFamily"}],"leftColumn":19,"text":"File Name","labelTextSize":"0.875rem","rightColumn":60,"textAlign":"LEFT","widgetId":"vu7fb0dbt8","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"dynamicTriggerPathList":true,"parentColumnSpace":true,"dynamicBindingPathList":true,"leftColumn":true,"fontSize":true,"text":true,"textStyle":true},"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"romgsruzxz","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem","textStyle":"HEADING"},{"boxShadow":"none","widgetName":"Image2","onClick":"{{showModal('Zoom_Modal2')}}","topRow":0,"bottomRow":9,"parentRowSpace":10,"type":"IMAGE_WIDGET","parentColumnSpace":7.3125,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":0,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png","labelTextSize":"0.875rem","image":"{{currentItem.data}}","rightColumn":19,"objectFit":"contain","widgetId":"ql8qs2xelx","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"defaultImage":true},"isVisible":true,"version":1,"parentId":"romgsruzxz","isLoading":false,"maxZoomLevel":1,"borderRadius":"0px"},{"boxShadow":"none","widgetName":"update_files_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":5,"bottomRow":9,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":11.4580078125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"widgetId":"yqxzzh2oqi","logBlackList":{"widgetName":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"autoFocus":true,"type":true,"hideCard":true,"minHeight":true,"animateLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"labelStyle":true,"inputType":true,"isDisabled":true,"key":true,"isRequired":true,"rightColumn":true,"widgetId":true,"isVisible":true,"label":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"iconAlign":true,"defaultText":true},"accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"romgsruzxz","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":"{{currentItem.name}}"}]}],"borderWidth":"1","disablePropertyPane":true,"labelTextSize":"0.875rem","backgroundColor":"white","rightColumn":64,"widgetId":"u3nvgafsdo","containerStyle":"card","isVisible":true,"version":1,"parentId":"oqhzaygncs","isLoading":false,"borderRadius":"5px"}],"labelTextSize":"0.875rem","rightColumn":256,"detachFromLayout":true,"widgetId":"oqhzaygncs","containerStyle":"none","isVisible":true,"version":1,"parentId":"0n30419eso","isLoading":false,"borderRadius":"0px"}],"privateWidgets":{"update_files_name":true,"Image2":true,"Text14":true},"childAutoComplete":{"currentItem":{"data":"","base64":"","name":"","raw":"","id":"","text":"","type":""}},"labelTextSize":"0.875rem","backgroundColor":"","rightColumn":64,"itemBackgroundColor":"#F6F7F8","widgetId":"0n30419eso","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":"{{FilePicker.files.length > 0}}","parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},{"boxShadow":"none","widgetName":"Text9","topRow":6,"bottomRow":10,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Upload Folder","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"LEFT","widgetId":"jc21bnjh92","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text7","rightColumn":64,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"364shivyaz","topRow":0,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":0,"dynamicBindingPathList":[{"key":"fontFamily"}],"borderRadius":"0px","fontSize":"1.5rem","text":"Upload New Files"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"upload_button","onClick":"{{\nFilePicker.files.forEach((file, index) => {\n\tCreateFile.run((response, params) => { showAlert('File Uploaded','success'); \nif (params.isLastFile) {\n\tListFiles.run(() => {closeModal('Upload_Files_Modal'); resetWidget('folder_name', true);\t\t\t\t\tresetWidget('FilePicker', true);\nresetWidget('update_files_name', true);\n})\t\n}\n}, () => showAlert('File Upload Failed','error'), {fileIndex: index, name: selected_files.items[index].update_files_name.text, isLastFile: index == (FilePicker.files.length - 1), });\n\treturn true;\n})\n}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"1uava20nxi","topRow":75,"bottomRow":79,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Upload","isDisabled":"{{ selected_files.items.length == 0 || selected_files.items.map((file) => file.update_files_name.text).includes(\"\") }}"},{"boxShadow":"none","widgetName":"Text19","dynamicPropertyPathList":[{"key":"isVisible"}],"topRow":19,"bottomRow":23,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.0458984375,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"}],"text":"Selected files to upload","labelTextSize":"0.875rem","rightColumn":52,"textAlign":"LEFT","widgetId":"9wh2ereoy9","isVisible":"{{FilePicker.files.length > 0}}","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"0px","fontSize":"1rem"},{"boxShadow":"none","widgetName":"FilePicker","dynamicPropertyPathList":[],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"FilePicker","iconSVG":"/static/media/icon.7c5ad9c3.svg","topRow":13,"bottomRow":17,"parentRowSpace":10,"allowedFileTypes":[],"type":"FILE_PICKER_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":4.86865234375,"dynamicTriggerPathList":[],"leftColumn":16,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"isDisabled":false,"key":"h2212wpg64","onFilesSelected":"","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"8l6lm067zw","defaultSelectedFiles":[],"isVisible":true,"label":"Select Files","maxFileSize":5,"version":1,"fileDataType":"Base64","parentId":"xv97g6rzgq","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","files":[],"maxNumFiles":"3"},{"boxShadow":"none","widgetName":"folder_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":6,"bottomRow":10,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":11.8955078125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":16,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","placeholderText":"folder/sub-folder","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"widgetId":"215nlsqncm","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"xv97g6rzgq","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""}]}],"borderWidth":"0"}]}}],"slug":"s3","isHidden":false},"new":true,"unpublishedPage":{"name":"S3","userPermissions":[],"layouts":[{"new":false,"id":"S3","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["60 * 24","search_input.text"],"name":"ListFiles","timeoutInMillisecond":10000,"id":"S3_ListFiles"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":910,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Zoom_Modal2","rightColumn":0,"detachFromLayout":true,"widgetId":"kqxoe40pg6","topRow":89,"bottomRow":89,"parentRowSpace":1,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas9Copy","rightColumn":0,"detachFromLayout":true,"widgetId":"80wzwajsst","topRow":0,"bottomRow":590,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"kqxoe40pg6","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon3Copy","rightColumn":64,"onClick":"{{closeModal('Zoom_Modal2')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"8kw9kfcd5y","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"80wzwajsst","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text15Copy","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"vk710q1v3s","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"80wzwajsst","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Zoom Image"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button13Copy","rightColumn":63,"onClick":"{{closeModal('Zoom_Modal2')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"lfiwss1u3w","topRow":53,"bottomRow":57,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"80wzwajsst","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":47,"dynamicBindingPathList":[],"borderRadius":"0px","buttonVariant":"PRIMARY","text":"Close","isDisabled":false},{"labelTextSize":"0.875rem","image":"{{selected_files.selectedItem.base64}}","boxShadow":"none","widgetName":"Image3Copy","rightColumn":64,"objectFit":"contain","widgetId":"2bewgakjx9","topRow":6,"bottomRow":51,"parentRowSpace":10,"isVisible":true,"type":"IMAGE_WIDGET","version":1,"parentId":"80wzwajsst","isLoading":false,"maxZoomLevel":8,"parentColumnSpace":8,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":1,"dynamicBindingPathList":[{"key":"image"}],"borderRadius":"0px","defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png"}],"isDisabled":false}],"width":532,"height":600},{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container3","borderColor":"#2E3D4955","backgroundColor":"#FFFFFF","rightColumn":37,"dynamicPropertyPathList":[{"key":"borderRadius"}],"widgetId":"th4d9oxy8z","topRow":0,"bottomRow":85,"containerStyle":"card","parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"boxShadow"},{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":634,"detachFromLayout":true,"widgetId":"6tz2s7ivi5","containerStyle":"none","topRow":0,"bottomRow":850,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"th4d9oxy8z","minHeight":830,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"template":{"DownloadIcon":{"boxShadow":"NONE","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":57,"iconName":"download","widgetId":"ljk8fj5jc1","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"},"CopyURLIcon":{"boxShadow":"NONE","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":45,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":51,"iconName":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'duplicate';\n })();\n })}}","widgetId":"d2z5zj56j9","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"},"EditIcon":{"boxShadow":"NONE","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":39,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":45,"iconName":"edit","widgetId":"x5bft8h9vd","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"},"Text21":{"widgetName":"Text21","rightColumn":24,"textAlign":"LEFT","displayName":"Text","iconSVG":"/static/media/icon.e6c93592.svg","widgetId":"nu44q8kd9p","topRow":4,"bottomRow":8,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"hideCard":false,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"text"}],"leftColumn":16,"fontSize":"PARAGRAPH","text":"{{File_List.listData.map((currentItem) => currentItem.id)}}","textStyle":"BODY","key":"xvmvdekk3s"},"Text20":{"widgetName":"Text20","rightColumn":28,"textAlign":"LEFT","displayName":"Text","iconSVG":"/static/media/icon.e6c93592.svg","widgetId":"thgbdemmiw","topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"hideCard":false,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"text"}],"leftColumn":16,"fontSize":"PARAGRAPH","text":"{{File_List.listData.map((currentItem) => currentItem.name)}}","textStyle":"HEADING","key":"xvmvdekk3s"},"Image3":{"widgetName":"Image3","displayName":"Image","iconSVG":"/static/media/icon.52d8fb96.svg","topRow":0,"bottomRow":8.4,"type":"IMAGE_WIDGET","hideCard":false,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","dynamicBindingPathList":[{"key":"image"}],"leftColumn":0,"defaultImage":"https://assets.appsmith.com/widgets/default.png","key":"lsc53q139g","image":"{{File_List.listData.map((currentItem) => currentItem.img)}}","rightColumn":16,"objectFit":"contain","widgetId":"2rrg354q8i","isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"maxZoomLevel":1,"enableDownload":false,"enableRotation":false},"FileListItemImage":{"widgetName":"FileListItemImage","onClick":"{{showModal('Zoom_Modal')}}","dynamicPropertyPathList":[],"topRow":1,"bottomRow":13,"parentRowSpace":10,"type":"IMAGE_WIDGET","parentColumnSpace":19.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":1,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png","image":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.signedUrl;\n })();\n })}}","rightColumn":20,"objectFit":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}","widgetId":"lh1sjszc93","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"enableDownload":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"enableRotation":true,"defaultImage":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","isLoading":false,"maxZoomLevel":1,"enableDownload":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","enableRotation":false},"Container7":{"borderColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}","borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}","borderWidth":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}"},"FileListItemName":{"widgetName":"FileListItemName","rightColumn":63,"textAlign":"LEFT","widgetId":"qyqv89mu1c","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"leftColumn":true,"fontSize":true,"text":true},"topRow":1,"bottomRow":8,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"lcz0rhije8","isLoading":false,"parentColumnSpace":19.0625,"dynamicTriggerPathList":[],"fontFamily":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}","leftColumn":21,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.fileName;\n })();\n })}}"},"DeleteIcon":{"boxShadow":"NONE","widgetName":"DeleteIcon","onClick":"{{showModal('delete_modal')}}","buttonColor":"#DD4B34","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":57,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":63,"iconName":"trash","widgetId":"f8ipd8gbls","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"File_List","listData":"{{ListFiles.data}}","isCanvas":true,"displayName":"List","iconSVG":"/static/media/icon.9925ee17.svg","topRow":10,"bottomRow":83,"parentRowSpace":10,"type":"LIST_WIDGET","hideCard":false,"gridGap":0,"parentColumnSpace":9.67822265625,"dynamicTriggerPathList":[{"key":"template.DownloadIcon.onClick"},{"key":"template.CopyURLIcon.onClick"}],"leftColumn":1,"dynamicBindingPathList":[{"key":"listData"},{"key":"template.FileListItemImage.image"},{"key":"template.FileListItemName.text"},{"key":"template.EditIcon.buttonColor"},{"key":"template.CopyURLIcon.buttonColor"},{"key":"template.DownloadIcon.buttonColor"},{"key":"template.Container7.borderColor"},{"key":"template.Container7.borderWidth"},{"key":"template.Container7.borderRadius"},{"key":"template.CopyURLIcon.iconName"},{"key":"accentColor"},{"key":"template.FileListItemImage.objectFit"},{"key":"boxShadow"},{"key":"borderRadius"},{"key":"template.EditIcon.borderRadius"},{"key":"template.CopyURLIcon.borderRadius"},{"key":"template.DownloadIcon.borderRadius"},{"key":"template.DeleteIcon.borderRadius"},{"key":"template.FileListItemName.fontFamily"},{"key":"template.FileListItemImage.borderRadius"}],"gridType":"vertical","enhancements":true,"children":[{"boxShadow":"none","widgetName":"Canvas14","displayName":"Canvas","topRow":0,"bottomRow":390,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":false,"hideCard":true,"dropDisabled":true,"openParentPropertyPane":true,"minHeight":400,"noPad":true,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","widgetName":"Container7","borderColor":"#2E3D4955","disallowCopy":true,"isCanvas":true,"dynamicPropertyPathList":[{"key":"borderRadius"}],"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":0,"bottomRow":17,"dragDisabled":true,"type":"CONTAINER_WIDGET","hideCard":false,"openParentPropertyPane":true,"isDeletable":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas15","detachFromLayout":true,"displayName":"Canvas","widgetId":"lcz0rhije8","topRow":0,"bottomRow":160,"containerStyle":"none","parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"66oc53smx3","renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"#2E3D49","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":39,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":45,"iconName":"edit","widgetId":"x5bft8h9vd","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"#2E3D49","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":45,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":51,"iconName":"duplicate","widgetId":"d2z5zj56j9","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"#2E3D49","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":57,"iconName":"download","widgetId":"ljk8fj5jc1","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"DeleteIcon","onClick":"{{showModal('delete_modal')}}","buttonColor":"#DD4B34","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":57,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":63,"iconName":"trash","widgetId":"f8ipd8gbls","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"FileListItemName","topRow":0,"bottomRow":7,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":19.0625,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":21,"dynamicBindingPathList":[{"key":"text"},{"key":"fontFamily"}],"text":"{{currentItem.fileName}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","widgetId":"kmwv6dap5n","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"leftColumn":true,"fontSize":true,"text":true},"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"lcz0rhije8","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"FileListItemImage","onClick":"{{showModal('Zoom_Modal')}}","dynamicPropertyPathList":[],"topRow":0,"bottomRow":13,"parentRowSpace":10,"type":"IMAGE_WIDGET","parentColumnSpace":19.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":1,"dynamicBindingPathList":[{"key":"image"},{"key":"borderRadius"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png","labelTextSize":"0.875rem","image":"{{currentItem.signedUrl}}","rightColumn":20,"objectFit":"contain","widgetId":"4laf7e6wer","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"enableDownload":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"enableRotation":true,"defaultImage":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","isLoading":false,"maxZoomLevel":1,"enableDownload":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","enableRotation":false}],"key":"29vrztch46"}],"borderWidth":"1","key":"cw0dtdoe0g","disablePropertyPane":true,"labelTextSize":"0.875rem","backgroundColor":"white","rightColumn":64,"widgetId":"66oc53smx3","containerStyle":"card","isVisible":true,"version":1,"parentId":"sh1yahe7kl","renderMode":"CANVAS","isLoading":false,"borderRadius":"5px"}],"key":"29vrztch46","labelTextSize":"0.875rem","rightColumn":232.27734375,"detachFromLayout":true,"widgetId":"sh1yahe7kl","containerStyle":"none","isVisible":true,"version":1,"parentId":"cjgg2thzom","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px"}],"privateWidgets":{"DownloadIcon":true,"EditIcon":true,"CopyURLIcon":true,"FileListItemImage":true,"FileListItemName":true,"DeleteIcon":true},"key":"x51ms5k6q9","labelTextSize":"0.875rem","backgroundColor":"transparent","rightColumn":63,"itemBackgroundColor":"#F6F7F8","widgetId":"cjgg2thzom","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"parentId":"6tz2s7ivi5","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},{"boxShadow":"none","widgetName":"search_input","dynamicPropertyPathList":[{"key":"onTextChanged"}],"displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":6,"bottomRow":10,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":16.4169921875,"dynamicTriggerPathList":[{"key":"onTextChanged"}],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","placeholderText":"Search File Prefix","isDisabled":false,"key":"auxyd97lu3","validation":"true","labelTextSize":"0.875rem","isRequired":false,"onTextChanged":"{{ListFiles.run()}}","rightColumn":40,"widgetId":"why172fko6","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"6tz2s7ivi5","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"Text6","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":1,"dynamicBindingPathList":[{"key":"fontFamily"}],"text":"template_table Bucket","labelTextSize":"0.875rem","rightColumn":63,"backgroundColor":"","textAlign":"LEFT","widgetId":"t54ituq472","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"6tz2s7ivi5","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"}]}],"borderWidth":"0"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"delete_modal","rightColumn":0,"detachFromLayout":true,"widgetId":"9g0cw9adf8","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas6","rightColumn":0,"detachFromLayout":true,"widgetId":"ozvpoudxz2","topRow":0,"bottomRow":230,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"9g0cw9adf8","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('delete_modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"xkyh49z71e","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"ozvpoudxz2","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text12","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"s1y44xm547","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete File"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button10","rightColumn":48,"onClick":"{{closeModal('delete_modal')}}","isDefaultClickDisabled":true,"buttonColor":"#3f3f46","widgetId":"pi0t67rnwh","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button11","onClick":"{{\nDeleteFile.run(() => {closeModal('delete_modal'); \nListFiles.run();\n});\n}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"hp22uj3dra","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"boxShadow":"none","widgetName":"Text13","topRow":5,"bottomRow":16,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"Are you sure you want to delete the file?\n\n{{File_List.selectedItem.fileName}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","widgetId":"oypa9ad1tg","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Edit_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"usealgbtyj","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas10","rightColumn":0,"detachFromLayout":true,"widgetId":"6i7m9kpuky","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"usealgbtyj","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text17","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"z64z3l112n","topRow":0,"bottomRow":4,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Update File"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button15","rightColumn":44,"onClick":"{{closeModal('Edit_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#3f3f46","widgetId":"trc4e6ylcz","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":32,"dynamicBindingPathList":[],"borderRadius":"0.375rem","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"update_button","onClick":"{{UpdateFile.run(() => {ListFiles.run();resetWidget('update_file_picker');closeModal('Edit_Modal');})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"8lbthc9dml","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":44,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Update","isDisabled":"{{update_file_picker.files.length == 0}}"},{"boxShadow":"none","widgetName":"Text18","topRow":6,"bottomRow":10,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"File Name","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"qb26g34etr","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"update_file_picker","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"FilePicker","iconSVG":"/static/media/icon.7c5ad9c3.svg","topRow":11,"bottomRow":15,"parentRowSpace":10,"allowedFileTypes":[],"type":"FILE_PICKER_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[],"leftColumn":18,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"isDisabled":false,"key":"h2212wpg64","labelTextSize":"0.875rem","isRequired":false,"rightColumn":64,"isDefaultClickDisabled":true,"widgetId":"i8g6khu01a","defaultSelectedFiles":[],"isVisible":true,"label":"Select File","maxFileSize":"10","version":1,"fileDataType":"Base64","parentId":"6i7m9kpuky","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","files":[],"maxNumFiles":1},{"boxShadow":"none","widgetName":"update_file_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":6,"bottomRow":10,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":true,"key":"auxyd97lu3","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":64,"widgetId":"uabsu3mjt3","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"6i7m9kpuky","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":"{{File_List.selectedItem.fileName}}"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container6","borderColor":"#2E3D4955","backgroundColor":"#FFFFFF","rightColumn":64,"dynamicPropertyPathList":[{"key":"borderRadius"}],"widgetId":"yg1iyxq9kd","topRow":0,"bottomRow":85,"containerStyle":"card","parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":37,"dynamicBindingPathList":[{"key":"boxShadow"},{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas13","rightColumn":634,"detachFromLayout":true,"widgetId":"xv97g6rzgq","containerStyle":"none","topRow":0,"bottomRow":820,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"yg1iyxq9kd","minHeight":830,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"template":{"Canvas7":{"widgetName":"Canvas7","rightColumn":256,"detachFromLayout":true,"widgetId":"oqhzaygncs","containerStyle":"none","topRow":0,"bottomRow":400,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"dropDisabled":true,"parentId":"0n30419eso","openParentPropertyPane":true,"minHeight":340,"isLoading":false,"noPad":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":["u3nvgafsdo"]},"update_files_name":{"widgetName":"update_files_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":8,"bottomRow":12,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":11.4580078125,"resetOnSubmit":true,"leftColumn":23,"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'true';\n })();\n })}}","isRequired":false,"rightColumn":43,"widgetId":"yqxzzh2oqi","logBlackList":{"widgetName":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"autoFocus":true,"type":true,"hideCard":true,"minHeight":true,"animateLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"labelStyle":true,"inputType":true,"isDisabled":true,"key":true,"isRequired":true,"rightColumn":true,"widgetId":true,"isVisible":true,"label":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"iconAlign":true,"defaultText":true},"isVisible":true,"label":"","version":2,"parentId":"romgsruzxz","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","iconAlign":"left","defaultText":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.name;\n })();\n })}}"},"Image2":{"image":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.data;\n })();\n })}}","widgetName":"Image2","rightColumn":10,"onClick":"{{showModal('Zoom_Modal2')}}","objectFit":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}","widgetId":"ql8qs2xelx","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"defaultImage":true},"topRow":0,"bottomRow":6,"parentRowSpace":10,"isVisible":true,"type":"IMAGE_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"maxZoomLevel":1,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":0,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png"},"Container4":{"backgroundColor":"white","widgetName":"Container4","rightColumn":64,"borderColor":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}","disallowCopy":true,"widgetId":"u3nvgafsdo","containerStyle":"card","topRow":0,"bottomRow":8,"dragDisabled":true,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"oqhzaygncs","openParentPropertyPane":true,"isDeletable":false,"isLoading":false,"leftColumn":0,"borderRadius":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}","children":["romgsruzxz"],"borderWidth":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}","disablePropertyPane":true},"Canvas8":{"widgetName":"Canvas8","detachFromLayout":true,"widgetId":"romgsruzxz","containerStyle":"none","topRow":0,"bottomRow":180,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"u3nvgafsdo","minHeight":80,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":["vu7fb0dbt8","7zziet357m","ql8qs2xelx"]},"Text14":{"widgetName":"Text14","rightColumn":23,"textAlign":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'LEFT';\n })();\n })}}","widgetId":"vu7fb0dbt8","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"dynamicTriggerPathList":true,"parentColumnSpace":true,"dynamicBindingPathList":true,"leftColumn":true,"fontSize":true,"text":true,"textStyle":true},"topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"romgsruzxz","isLoading":false,"dynamicTriggerPathList":[],"fontFamily":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}","dynamicBindingPathList":[],"leftColumn":11,"fontSize":"PARAGRAPH","text":"File Name","textStyle":"HEADING"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"selected_files","listData":"{{FilePicker.files}}","dynamicPropertyPathList":[{"key":"isVisible"}],"topRow":23,"bottomRow":75,"parentRowSpace":10,"type":"LIST_WIDGET","gridGap":0,"parentColumnSpace":8,"dynamicTriggerPathList":[{"key":"template.Image2.onClick"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"listData"},{"key":"template.update_files_name.defaultText"},{"key":"template.update_files_name.validation"},{"key":"template.Container4.borderWidth"},{"key":"template.Container4.borderRadius"},{"key":"template.Container4.borderColor"},{"key":"template.Image2.image"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"template.Text14.fontFamily"},{"key":"template.update_files_name.borderRadius"}],"gridType":"vertical","enhancements":true,"children":[{"boxShadow":"none","widgetName":"Canvas7","topRow":0,"bottomRow":510,"parentRowSpace":1,"canExtend":false,"type":"CANVAS_WIDGET","dropDisabled":true,"openParentPropertyPane":true,"minHeight":520,"noPad":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","widgetName":"Container4","borderColor":"#2E3D4955","disallowCopy":true,"dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":12,"dragDisabled":true,"type":"CONTAINER_WIDGET","openParentPropertyPane":true,"isDeletable":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas8","detachFromLayout":true,"widgetId":"romgsruzxz","containerStyle":"none","topRow":0,"bottomRow":110,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"u3nvgafsdo","minHeight":120,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text14","topRow":0,"bottomRow":4,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","dynamicBindingPathList":[{"key":"fontFamily"}],"leftColumn":19,"text":"File Name","labelTextSize":"0.875rem","rightColumn":60,"textAlign":"LEFT","widgetId":"vu7fb0dbt8","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"dynamicTriggerPathList":true,"parentColumnSpace":true,"dynamicBindingPathList":true,"leftColumn":true,"fontSize":true,"text":true,"textStyle":true},"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"romgsruzxz","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem","textStyle":"HEADING"},{"boxShadow":"none","widgetName":"Image2","onClick":"{{showModal('Zoom_Modal2')}}","topRow":0,"bottomRow":9,"parentRowSpace":10,"type":"IMAGE_WIDGET","parentColumnSpace":7.3125,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":0,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png","labelTextSize":"0.875rem","image":"{{currentItem.data}}","rightColumn":19,"objectFit":"contain","widgetId":"ql8qs2xelx","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"defaultImage":true},"isVisible":true,"version":1,"parentId":"romgsruzxz","isLoading":false,"maxZoomLevel":1,"borderRadius":"0px"},{"boxShadow":"none","widgetName":"update_files_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":5,"bottomRow":9,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":11.4580078125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"widgetId":"yqxzzh2oqi","logBlackList":{"widgetName":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"autoFocus":true,"type":true,"hideCard":true,"minHeight":true,"animateLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"labelStyle":true,"inputType":true,"isDisabled":true,"key":true,"isRequired":true,"rightColumn":true,"widgetId":true,"isVisible":true,"label":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"iconAlign":true,"defaultText":true},"accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"romgsruzxz","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":"{{currentItem.name}}"}]}],"borderWidth":"1","disablePropertyPane":true,"labelTextSize":"0.875rem","backgroundColor":"white","rightColumn":64,"widgetId":"u3nvgafsdo","containerStyle":"card","isVisible":true,"version":1,"parentId":"oqhzaygncs","isLoading":false,"borderRadius":"5px"}],"labelTextSize":"0.875rem","rightColumn":256,"detachFromLayout":true,"widgetId":"oqhzaygncs","containerStyle":"none","isVisible":true,"version":1,"parentId":"0n30419eso","isLoading":false,"borderRadius":"0px"}],"privateWidgets":{"update_files_name":true,"Image2":true,"Text14":true},"childAutoComplete":{"currentItem":{"data":"","base64":"","name":"","raw":"","id":"","text":"","type":""}},"labelTextSize":"0.875rem","backgroundColor":"","rightColumn":64,"itemBackgroundColor":"#F6F7F8","widgetId":"0n30419eso","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":"{{FilePicker.files.length > 0}}","parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},{"boxShadow":"none","widgetName":"Text9","topRow":6,"bottomRow":10,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Upload Folder","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"LEFT","widgetId":"jc21bnjh92","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text7","rightColumn":64,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"364shivyaz","topRow":0,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":0,"dynamicBindingPathList":[{"key":"fontFamily"}],"borderRadius":"0px","fontSize":"1.5rem","text":"Upload New Files"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"upload_button","onClick":"{{\nFilePicker.files.forEach((file, index) => {\n\tCreateFile.run((response, params) => { showAlert('File Uploaded','success'); \nif (params.isLastFile) {\n\tListFiles.run(() => {closeModal('Upload_Files_Modal'); resetWidget('folder_name', true);\t\t\t\t\tresetWidget('FilePicker', true);\nresetWidget('update_files_name', true);\n})\t\n}\n}, () => showAlert('File Upload Failed','error'), {fileIndex: index, name: selected_files.items[index].update_files_name.text, isLastFile: index == (FilePicker.files.length - 1), });\n\treturn true;\n})\n}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"1uava20nxi","topRow":75,"bottomRow":79,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Upload","isDisabled":"{{ selected_files.items.length == 0 || selected_files.items.map((file) => file.update_files_name.text).includes(\"\") }}"},{"boxShadow":"none","widgetName":"Text19","dynamicPropertyPathList":[{"key":"isVisible"}],"topRow":19,"bottomRow":23,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.0458984375,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"}],"text":"Selected files to upload","labelTextSize":"0.875rem","rightColumn":52,"textAlign":"LEFT","widgetId":"9wh2ereoy9","isVisible":"{{FilePicker.files.length > 0}}","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"0px","fontSize":"1rem"},{"boxShadow":"none","widgetName":"FilePicker","dynamicPropertyPathList":[],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"FilePicker","iconSVG":"/static/media/icon.7c5ad9c3.svg","topRow":13,"bottomRow":17,"parentRowSpace":10,"allowedFileTypes":[],"type":"FILE_PICKER_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":4.86865234375,"dynamicTriggerPathList":[],"leftColumn":16,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"isDisabled":false,"key":"h2212wpg64","onFilesSelected":"","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"8l6lm067zw","defaultSelectedFiles":[],"isVisible":true,"label":"Select Files","maxFileSize":5,"version":1,"fileDataType":"Base64","parentId":"xv97g6rzgq","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","files":[],"maxNumFiles":"3"},{"boxShadow":"none","widgetName":"folder_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":6,"bottomRow":10,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":11.8955078125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":16,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","placeholderText":"folder/sub-folder","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"widgetId":"215nlsqncm","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"xv97g6rzgq","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":""}]}],"borderWidth":"0"}]}}],"slug":"s3","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc2"},{"publishedPage":{"name":"Redis","userPermissions":[],"layouts":[{"new":false,"id":"Redis","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":[],"name":"FetchKeys","timeoutInMillisecond":10000,"id":"Redis_FetchKeys"}],[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.result"],"name":"FetchValue","timeoutInMillisecond":10000,"id":"Redis_FetchValue"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":5160,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"eer73khglm","topRow":1,"bottomRow":47,"parentRowSpace":10,"isVisible":"{{data_table.selectedRow.result}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"},{"key":"boxShadow"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"9nvn3gfw6q","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"eer73khglm","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"resetFormOnClick":false,"boxShadow":"none","widgetName":"update_button","onClick":"{{UpdateKey.run(() => FetchKeys.run(), () => {})}}","dynamicPropertyPathList":[],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":39,"bottomRow":43,"type":"FORM_BUTTON_WIDGET","dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":47,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"buttonColor"}],"text":"Update","labelTextSize":"0.875rem","rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"3apd2wkt91","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"9nvn3gfw6q","isLoading":false,"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY"},{"resetFormOnClick":true,"boxShadow":"none","widgetName":"reset_update_button","onClick":"","dynamicPropertyPathList":[],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":39,"bottomRow":43,"type":"FORM_BUTTON_WIDGET","dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":28,"dynamicBindingPathList":[{"key":"borderRadius"}],"text":"Reset","labelTextSize":"0.875rem","rightColumn":46,"isDefaultClickDisabled":true,"widgetId":"hhh0296qfj","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"9nvn3gfw6q","isLoading":false,"disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"SECONDARY"},{"boxShadow":"none","widgetName":"Text9","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":8,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":1,"dynamicBindingPathList":[{"key":"text"},{"key":"fontFamily"}],"text":"Update Key: {{data_table.selectedRow.result}}","labelTextSize":"0.875rem","rightColumn":63,"textAlign":"LEFT","widgetId":"uawwds1z0r","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"},{"boxShadow":"none","widgetName":"update_value_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":9,"bottomRow":37,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":10.5390625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":true,"rightColumn":63,"widgetId":"l3qtdja15h","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"9nvn3gfw6q","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":"{{FetchValue.data[0].result}}"}]}]},{"labelTextSize":"0.875rem","boxShadow":"none","backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"v8nfulwuy0","containerStyle":"card","topRow":1,"bottomRow":88,"parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"erkvdsolhu","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"v8nfulwuy0","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"data_table","columnOrder":["result","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":5,"bottomRow":86,"parentRowSpace":10,"onPageChange":"","isSortable":true,"type":"TABLE_WIDGET","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"},{"key":"onRowSelected"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.result.computedValue"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"leftColumn":0,"primaryColumns":{"result":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.result))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"result","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"result","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"boxShadow":"none","isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"0.875rem","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"delimiter":",","onRowSelected":"{{FetchValue.run()}}","derivedColumns":{"customColumn1":{"boxShadow":"none","isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"0.875rem","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"labelTextSize":"0.875rem","rightColumn":64,"textSize":"0.875rem","widgetId":"tefed053r1","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"tableData":"{{FetchKeys.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"erkvdsolhu","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"","horizontalAlignment":"LEFT","isVisibleSearch":true,"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}}","isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"result":503,"task":245,"deliveryAddress":170,"step":62,"id":228,"customColumn2":174,"status":75}},{"boxShadow":"none","widgetName":"new_key_button","onClick":"{{showModal('Insert_Modal')}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":6.8310546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"New Key","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":64,"isDefaultClickDisabled":true,"widgetId":"2rlp4irwh0","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"erkvdsolhu","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY"},{"boxShadow":"none","widgetName":"refresh_button","onClick":"{{FetchKeys.run()}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":40,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Refresh","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":51,"isDefaultClickDisabled":true,"widgetId":"o9t8fslxdi","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"erkvdsolhu","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"SECONDARY"},{"boxShadow":"none","widgetName":"Text16","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":0,"dynamicBindingPathList":[{"key":"fontFamily"}],"text":"Redis Data","labelTextSize":"0.875rem","rightColumn":39,"textAlign":"LEFT","widgetId":"nt181ks4ci","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"erkvdsolhu","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"}]}]},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Insert_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"c8fg4ubw52","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":0,"detachFromLayout":true,"widgetId":"re60vbuakz","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"c8fg4ubw52","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon1","rightColumn":64,"onClick":"{{closeModal('Insert_Modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"3tk445loxa","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"leftColumn":56,"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text21","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"fgi9qp4uwr","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"New Key"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","rightColumn":47,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"xnh96plcyo","topRow":53,"bottomRow":57,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":35,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button2","onClick":"{{InsertKey.run(() => FetchKeys.run(() => closeModal('Insert_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"ix2dralfal","topRow":53,"bottomRow":57,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Insert","isDisabled":false},{"boxShadow":"none","widgetName":"Text22","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Key","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"kotk4wa6pe","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text23","topRow":16,"bottomRow":20,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Value","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"y2dlumuetl","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"insert_key_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":8.125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"widgetId":"ynw4ir8luz","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"re60vbuakz","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"insert_value_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":15,"bottomRow":52,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":8.125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"widgetId":"6qn1qkr18d","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"re60vbuakz","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":""}],"isDisabled":false}],"width":532,"height":600},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"value_modal","rightColumn":0,"detachFromLayout":true,"widgetId":"fh14k9y353","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":0,"detachFromLayout":true,"widgetId":"v8n3d5aecd","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"fh14k9y353","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"jqaazpo3zy","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"v8n3d5aecd","isLoading":false,"leftColumn":56,"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text24","rightColumn":54,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"hvb3xnk1u8","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"borderRadius":"0px","fontSize":"1.5rem","text":"Value for Key: {{data_table.selectedRow.result}}"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button4","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","isDefaultClickDisabled":true,"buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"yka7b6k706","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Close","isDisabled":false},{"boxShadow":"none","widgetName":"Text25","topRow":6,"bottomRow":17,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"{{FetchValue.data[0].result}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","widgetId":"j9315vzr13","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"v8n3d5aecd","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"0skbil3ntd","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas5","rightColumn":0,"detachFromLayout":true,"widgetId":"lwsyaz55ll","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"0skbil3ntd","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon3","rightColumn":64,"onClick":"{{closeModal('Delete_Modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"dtuc8ag2of","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"leftColumn":56,"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text26","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"d9ap4dp300","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete Key"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button6","onClick":"{{DeleteKey.run(() => FetchKeys.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"2kg6lmim5m","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"boxShadow":"none","widgetName":"Text27","topRow":7,"bottomRow":17,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"Are you sure you want to delete the key?\n\n{{data_table.selectedRow.result}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","widgetId":"c698jgkzjg","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"lwsyaz55ll","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Button7","onClick":"{{closeModal('Delete_Modal')}}","buttonColor":"#3f3f46","topRow":18,"bottomRow":22,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":32,"dynamicBindingPathList":[{"key":"borderRadius"}],"text":"Cancel","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":46,"isDefaultClickDisabled":true,"widgetId":"lsvqrab5v2","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"lwsyaz55ll","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"}],"isDisabled":false}],"width":456,"height":240}]}}],"slug":"redis","isHidden":false},"new":true,"unpublishedPage":{"name":"Redis","userPermissions":[],"layouts":[{"new":false,"id":"Redis","userPermissions":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":[],"name":"FetchKeys","timeoutInMillisecond":10000,"id":"Redis_FetchKeys"}],[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.result"],"name":"FetchValue","timeoutInMillisecond":10000,"id":"Redis_FetchValue"}]],"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":5160,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":59,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"widgetId":"eer73khglm","topRow":1,"bottomRow":47,"parentRowSpace":10,"isVisible":"{{data_table.selectedRow.result}}","type":"FORM_WIDGET","parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"},{"key":"boxShadow"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"9nvn3gfw6q","containerStyle":"none","topRow":0,"bottomRow":450,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"eer73khglm","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"resetFormOnClick":false,"boxShadow":"none","widgetName":"update_button","onClick":"{{UpdateKey.run(() => FetchKeys.run(), () => {})}}","dynamicPropertyPathList":[],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":39,"bottomRow":43,"type":"FORM_BUTTON_WIDGET","dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":47,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"buttonColor"}],"text":"Update","labelTextSize":"0.875rem","rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"3apd2wkt91","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"9nvn3gfw6q","isLoading":false,"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY"},{"resetFormOnClick":true,"boxShadow":"none","widgetName":"reset_update_button","onClick":"","dynamicPropertyPathList":[],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":39,"bottomRow":43,"type":"FORM_BUTTON_WIDGET","dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":28,"dynamicBindingPathList":[{"key":"borderRadius"}],"text":"Reset","labelTextSize":"0.875rem","rightColumn":46,"isDefaultClickDisabled":true,"widgetId":"hhh0296qfj","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"9nvn3gfw6q","isLoading":false,"disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"SECONDARY"},{"boxShadow":"none","widgetName":"Text9","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":8,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":1,"dynamicBindingPathList":[{"key":"text"},{"key":"fontFamily"}],"text":"Update Key: {{data_table.selectedRow.result}}","labelTextSize":"0.875rem","rightColumn":63,"textAlign":"LEFT","widgetId":"uawwds1z0r","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"},{"boxShadow":"none","widgetName":"update_value_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":9,"bottomRow":37,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":10.5390625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":true,"rightColumn":63,"widgetId":"l3qtdja15h","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"9nvn3gfw6q","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","iconAlign":"left","defaultText":"{{FetchValue.data[0].result}}"}]}]},{"labelTextSize":"0.875rem","boxShadow":"none","backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"widgetId":"v8nfulwuy0","containerStyle":"card","topRow":1,"bottomRow":88,"parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"parentColumnSpace":19.75,"leftColumn":0,"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"erkvdsolhu","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"v8nfulwuy0","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"data_table","columnOrder":["result","customColumn1"],"dynamicPropertyPathList":[],"isVisibleDownload":true,"topRow":5,"bottomRow":86,"parentRowSpace":10,"onPageChange":"","isSortable":true,"type":"TABLE_WIDGET","parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"},{"key":"onRowSelected"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"tableData"},{"key":"primaryColumns.result.computedValue"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"leftColumn":0,"primaryColumns":{"result":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.result))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"result","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"result","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"boxShadow":"none","isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"0.875rem","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"delimiter":",","onRowSelected":"{{FetchValue.run()}}","derivedColumns":{"customColumn1":{"boxShadow":"none","isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"0.875rem","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"customColumn1","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"labelTextSize":"0.875rem","rightColumn":64,"textSize":"0.875rem","widgetId":"tefed053r1","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"tableData":"{{FetchKeys.data}}","isVisible":true,"label":"Data","searchKey":"","version":3,"parentId":"erkvdsolhu","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"","horizontalAlignment":"LEFT","isVisibleSearch":true,"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}}","isVisiblePagination":true,"verticalAlignment":"CENTER","columnSizeMap":{"result":503,"task":245,"deliveryAddress":170,"step":62,"id":228,"customColumn2":174,"status":75}},{"boxShadow":"none","widgetName":"new_key_button","onClick":"{{showModal('Insert_Modal')}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":6.8310546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"New Key","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":64,"isDefaultClickDisabled":true,"widgetId":"2rlp4irwh0","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"erkvdsolhu","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY"},{"boxShadow":"none","widgetName":"refresh_button","onClick":"{{FetchKeys.run()}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":40,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Refresh","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":51,"isDefaultClickDisabled":true,"widgetId":"o9t8fslxdi","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"erkvdsolhu","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"SECONDARY"},{"boxShadow":"none","widgetName":"Text16","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":0,"dynamicBindingPathList":[{"key":"fontFamily"}],"text":"Redis Data","labelTextSize":"0.875rem","rightColumn":39,"textAlign":"LEFT","widgetId":"nt181ks4ci","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"erkvdsolhu","isLoading":false,"borderRadius":"0px","fontSize":"1.5rem"}]}]},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Insert_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"c8fg4ubw52","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":0,"detachFromLayout":true,"widgetId":"re60vbuakz","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"c8fg4ubw52","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon1","rightColumn":64,"onClick":"{{closeModal('Insert_Modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"3tk445loxa","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"leftColumn":56,"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text21","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"fgi9qp4uwr","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"New Key"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","rightColumn":47,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"xnh96plcyo","topRow":53,"bottomRow":57,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":35,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button2","onClick":"{{InsertKey.run(() => FetchKeys.run(() => closeModal('Insert_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"ix2dralfal","topRow":53,"bottomRow":57,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Insert","isDisabled":false},{"boxShadow":"none","widgetName":"Text22","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Key","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"kotk4wa6pe","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Text23","topRow":16,"bottomRow":20,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Value","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","widgetId":"y2dlumuetl","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"insert_key_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":8.125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"widgetId":"ynw4ir8luz","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"re60vbuakz","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":""},{"boxShadow":"none","widgetName":"insert_value_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":15,"bottomRow":52,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":8.125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"widgetId":"6qn1qkr18d","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"re60vbuakz","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","iconAlign":"left","defaultText":""}],"isDisabled":false}],"width":532,"height":600},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"value_modal","rightColumn":0,"detachFromLayout":true,"widgetId":"fh14k9y353","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":0,"detachFromLayout":true,"widgetId":"v8n3d5aecd","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"fh14k9y353","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"jqaazpo3zy","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"v8n3d5aecd","isLoading":false,"leftColumn":56,"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text24","rightColumn":54,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"hvb3xnk1u8","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"borderRadius":"0px","fontSize":"1.5rem","text":"Value for Key: {{data_table.selectedRow.result}}"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button4","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","isDefaultClickDisabled":true,"buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"yka7b6k706","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Close","isDisabled":false},{"boxShadow":"none","widgetName":"Text25","topRow":6,"bottomRow":17,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"{{FetchValue.data[0].result}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","widgetId":"j9315vzr13","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"v8n3d5aecd","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"}],"isDisabled":false}],"width":456,"height":240},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Modal","rightColumn":0,"detachFromLayout":true,"widgetId":"0skbil3ntd","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas5","rightColumn":0,"detachFromLayout":true,"widgetId":"lwsyaz55ll","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"0skbil3ntd","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon3","rightColumn":64,"onClick":"{{closeModal('Delete_Modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"dtuc8ag2of","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"leftColumn":56,"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Text26","rightColumn":41,"dynamicPropertyPathList":[{"key":"fontSize"}],"textAlign":"LEFT","widgetId":"d9ap4dp300","topRow":1,"bottomRow":5,"isVisible":true,"type":"TEXT_WIDGET","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"borderRadius":"0px","fontSize":"1.5rem","text":"Delete Key"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button6","onClick":"{{DeleteKey.run(() => FetchKeys.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"2kg6lmim5m","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"boxShadow":"none","widgetName":"Text27","topRow":7,"bottomRow":17,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"Are you sure you want to delete the key?\n\n{{data_table.selectedRow.result}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","widgetId":"c698jgkzjg","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"lwsyaz55ll","isLoading":false,"borderRadius":"0px","fontSize":"0.875rem"},{"boxShadow":"none","widgetName":"Button7","onClick":"{{closeModal('Delete_Modal')}}","buttonColor":"#3f3f46","topRow":18,"bottomRow":22,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":32,"dynamicBindingPathList":[{"key":"borderRadius"}],"text":"Cancel","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":46,"isDefaultClickDisabled":true,"widgetId":"lsvqrab5v2","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"lwsyaz55ll","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"}],"isDisabled":false}],"width":456,"height":240}]}}],"slug":"redis","isHidden":false},"userPermissions":["read:pages","manage:pages"],"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc6"}],"publishedLayoutmongoEscapedWidgets":{"MongoDB":["data_table"]},"actionCollectionList":[{"new":false,"publishedCollection":{"variables":[],"pluginType":"JS","actionIds":[],"archivedActionIds":[],"pluginId":"js-plugin","name":"Utils","archivedActions":[],"pageId":"Admin","body":"export default {\n\tmyFun2: async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}\n}","actions":[]},"id":"Admin_Utils","userPermissions":["read:actions","execute:actions","manage:actions"],"unpublishedCollection":{"variables":[],"pluginType":"JS","actionIds":[],"archivedActionIds":[],"pluginId":"js-plugin","name":"Utils","archivedActions":[],"pageId":"Admin","body":"export default {\n\tmyFun2: async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}\n}","actions":[]},"gitSyncId":"61764fbeba7e887d03bc3631_624e8fab729a2b0934685de2"}],"exportedApplication":{"applicationVersion":2,"appLayout":{"type":"FLUID"},"new":true,"color":"#D9E7FF","name":"CRUD App Templates","appIsExample":false,"icon":"bag","isPublic":false,"unreadCommentThreads":0,"slug":"crud-app-templates","isManualUpdate":false}}
\ No newline at end of file
+{"customJSLibList":[],"updatedResources":{"actionList":["InsertQuery##ENTITY_SEPARATOR##SQL","InsertQuery##ENTITY_SEPARATOR##Firestore","InsertQuery##ENTITY_SEPARATOR##PostgreSQL","update_template##ENTITY_SEPARATOR##Admin","get_exported_app##ENTITY_SEPARATOR##Admin","generate_mongo_app##ENTITY_SEPARATOR##Page Generator","UpdateKey##ENTITY_SEPARATOR##Redis","InsertQuery##ENTITY_SEPARATOR##Google Sheets","UpdateQuery##ENTITY_SEPARATOR##Google Sheets","SelectQuery##ENTITY_SEPARATOR##PostgreSQL","Utils.myFun2##ENTITY_SEPARATOR##Admin","UpdateQuery##ENTITY_SEPARATOR##SQL","UpdateFile##ENTITY_SEPARATOR##S3","FetchValue##ENTITY_SEPARATOR##Redis","SelectQuery##ENTITY_SEPARATOR##SQL","get_user##ENTITY_SEPARATOR##Admin","generate_gsheet_app##ENTITY_SEPARATOR##Page Generator","ListFiles##ENTITY_SEPARATOR##S3","UpdateQuery##ENTITY_SEPARATOR##MongoDB","InsertQuery##ENTITY_SEPARATOR##MongoDB","ReadFile##ENTITY_SEPARATOR##S3","DeleteKey##ENTITY_SEPARATOR##Redis","get_datasource_structure##ENTITY_SEPARATOR##Admin","FetchKeys##ENTITY_SEPARATOR##Redis","SelectQuery##ENTITY_SEPARATOR##Firestore","UpdateQuery##ENTITY_SEPARATOR##Firestore","DeleteQuery##ENTITY_SEPARATOR##MongoDB","DeleteQuery##ENTITY_SEPARATOR##PostgreSQL","DeleteQuery##ENTITY_SEPARATOR##SQL","UpdateQuery##ENTITY_SEPARATOR##PostgreSQL","DeleteQuery##ENTITY_SEPARATOR##Google Sheets","SelectQuery##ENTITY_SEPARATOR##Google Sheets","CreateFile##ENTITY_SEPARATOR##S3","InsertKey##ENTITY_SEPARATOR##Redis","DeleteFile##ENTITY_SEPARATOR##S3","generate_sql_app##ENTITY_SEPARATOR##Page Generator","FindQuery##ENTITY_SEPARATOR##MongoDB","DeleteQuery##ENTITY_SEPARATOR##Firestore"],"pageList":["Google Sheets","S3","Page Generator","PostgreSQL","Firestore","Redis","MongoDB","Admin","SQL"],"actionCollectionList":["Utils##ENTITY_SEPARATOR##Admin"]},"publishedTheme":{"isSystemTheme":true,"deleted":false,"displayName":"Modern","name":"Default"},"serverSchemaVersion":6,"datasourceConfigurationStructureList":[{"datasourceId":"AmazonS3 CRUD","structure":{}},{"datasourceId":"Appsmith Release","structure":{}},{"datasourceId":"FBTemplateDB","structure":{}},{"datasourceId":"Google Sheet","structure":{}},{"datasourceId":"Internal DB","structure":{"tables":[{"schema":"public","columns":[{"defaultValue":"nextval('aforce_roster_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"email","type":"text","isAutogenerated":false},{"name":"name","type":"text","isAutogenerated":false},{"name":"registration_date","type":"date","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"aforce_roster_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"aforce_heroes\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"aforce_heroes\" (\"email\", \"name\", \"registration_date\")\n VALUES ('', '', '2019-07-01');"},{"title":"UPDATE","body":"UPDATE public.\"aforce_heroes\" SET\n \"email\" = '',\n \"name\" = '',\n \"registration_date\" = '2019-07-01'\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"aforce_heroes\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.aforce_heroes","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('aforce_issue_upvote_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"link","type":"text","isAutogenerated":false},{"name":"comment","type":"text","isAutogenerated":false},{"name":"author","type":"text","isAutogenerated":false},{"defaultValue":"CURRENT_TIMESTAMP","name":"created_at","type":"timestamp","isAutogenerated":false},{"name":"issue_id","type":"int4","isAutogenerated":false},{"defaultValue":"'None'::text","name":"comm_status","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"aforce_issue_upvote_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"aforce_issue_upvote\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"aforce_issue_upvote\" (\"link\", \"comment\", \"author\", \"issue_id\")\n VALUES ('', '', '', 1);"},{"title":"UPDATE","body":"UPDATE public.\"aforce_issue_upvote\" SET\n \"link\" = '',\n \"comment\" = '',\n \"author\" = '',\n \"issue_id\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"aforce_issue_upvote\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.aforce_issue_upvote","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('aforce_roster_id_seq1'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"start_date","type":"date","isAutogenerated":false},{"name":"hero_id","type":"int4","isAutogenerated":false},{"name":"end_date","type":"date","isAutogenerated":false},{"name":"support_team","type":"text","isAutogenerated":false},{"name":"pod","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"aforce_roster_pkey1","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"aforce_roster\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"aforce_roster\" (\"start_date\", \"hero_id\", \"end_date\", \"support_team\", \"pod\")\n VALUES ('2019-07-01', 1, '2019-07-01', '', '');"},{"title":"UPDATE","body":"UPDATE public.\"aforce_roster\" SET\n \"start_date\" = '2019-07-01',\n \"hero_id\" = 1,\n \"end_date\" = '2019-07-01',\n \"support_team\" = '',\n \"pod\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"aforce_roster\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.aforce_roster","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('discord_messages_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"msg_id","type":"text","isAutogenerated":false},{"name":"created_at","type":"date","isAutogenerated":false},{"name":"author","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"discord_messages_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"discord_messages\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"discord_messages\" (\"msg_id\", \"created_at\", \"author\")\n VALUES ('', '2019-07-01', '');"},{"title":"UPDATE","body":"UPDATE public.\"discord_messages\" SET\n \"msg_id\" = '',\n \"created_at\" = '2019-07-01',\n \"author\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"discord_messages\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.discord_messages","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('email_issues_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"from","type":"text","isAutogenerated":false},{"name":"body","type":"text","isAutogenerated":false},{"name":"created_at","type":"timestamptz","isAutogenerated":false},{"name":"subject","type":"text","isAutogenerated":false},{"name":"is_tagged","type":"bool","isAutogenerated":false},{"name":"assignee","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"email_issues_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"email_issues\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"email_issues\" (\"from\", \"body\", \"created_at\", \"subject\", \"is_tagged\", \"assignee\")\n VALUES ('', '', TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET', '', '', '');"},{"title":"UPDATE","body":"UPDATE public.\"email_issues\" SET\n \"from\" = '',\n \"body\" = '',\n \"created_at\" = TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET',\n \"subject\" = '',\n \"is_tagged\" = '',\n \"assignee\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"email_issues\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.email_issues","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('github_issues_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"upvotes","type":"int4","isAutogenerated":false},{"name":"closed_date","type":"date","isAutogenerated":false},{"name":"created_date","type":"date","isAutogenerated":false},{"name":"assignee","type":"text","isAutogenerated":false},{"name":"state","type":"text","isAutogenerated":false},{"name":"issue_creator_id","type":"text","isAutogenerated":false},{"name":"title","type":"text","isAutogenerated":false},{"name":"issue_number","type":"int4","isAutogenerated":false},{"name":"label_arr","type":"_text","isAutogenerated":false},{"name":"total_reactions","type":"int4","isAutogenerated":false},{"name":"unique_commentors","type":"int4","isAutogenerated":false},{"name":"updated_at","type":"timestamp","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"github_issues_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"github_issues\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"github_issues\" (\"upvotes\", \"closed_date\", \"created_date\", \"assignee\", \"state\", \"issue_creator_id\", \"title\", \"issue_number\", \"label_arr\", \"total_reactions\", \"unique_commentors\", \"updated_at\")\n VALUES (1, '2019-07-01', '2019-07-01', '', '', '', '', 1, '', 1, 1, TIMESTAMP '2019-07-01 10:00:00');"},{"title":"UPDATE","body":"UPDATE public.\"github_issues\" SET\n \"upvotes\" = 1,\n \"closed_date\" = '2019-07-01',\n \"created_date\" = '2019-07-01',\n \"assignee\" = '',\n \"state\" = '',\n \"issue_creator_id\" = '',\n \"title\" = '',\n \"issue_number\" = 1,\n \"label_arr\" = '',\n \"total_reactions\" = 1,\n \"unique_commentors\" = 1,\n \"updated_at\" = TIMESTAMP '2019-07-01 10:00:00'\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"github_issues\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.github_issues","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('issue_db_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"github_issue_id","type":"int4","isAutogenerated":false},{"name":"author","type":"text","isAutogenerated":false},{"name":"created_at","type":"timestamp","isAutogenerated":false},{"name":"title","type":"text","isAutogenerated":false},{"name":"description","type":"text","isAutogenerated":false},{"name":"labels","type":"_text","isAutogenerated":false},{"name":"type","type":"text","isAutogenerated":false},{"name":"state","type":"text","isAutogenerated":false},{"name":"answer","type":"text","isAutogenerated":false},{"name":"link","type":"text","isAutogenerated":false},{"name":"states","type":"_text","isAutogenerated":false},{"defaultValue":"'None'::text","name":"priority_status","type":"text","isAutogenerated":false},{"defaultValue":"'Idle'::text","name":"issue_status","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"issue_db_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"global_issues\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"global_issues\" (\"github_issue_id\", \"author\", \"created_at\", \"title\", \"description\", \"labels\", \"type\", \"state\", \"answer\", \"link\", \"states\")\n VALUES (1, '', TIMESTAMP '2019-07-01 10:00:00', '', '', '', '', '', '', '', '');"},{"title":"UPDATE","body":"UPDATE public.\"global_issues\" SET\n \"github_issue_id\" = 1,\n \"author\" = '',\n \"created_at\" = TIMESTAMP '2019-07-01 10:00:00',\n \"title\" = '',\n \"description\" = '',\n \"labels\" = '',\n \"type\" = '',\n \"state\" = '',\n \"answer\" = '',\n \"link\" = '',\n \"states\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"global_issues\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.global_issues","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('issue_upvote_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"link","type":"text","isAutogenerated":false},{"name":"comment","type":"text","isAutogenerated":false},{"name":"author","type":"text","isAutogenerated":false},{"name":"created_at","type":"timestamp","isAutogenerated":false},{"name":"issue_id","type":"int4","isAutogenerated":false},{"defaultValue":"'None'::text","name":"issue_comm_status","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"issue_upvote_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"issue_upvote\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"issue_upvote\" (\"link\", \"comment\", \"author\", \"created_at\", \"issue_id\")\n VALUES ('', '', '', TIMESTAMP '2019-07-01 10:00:00', 1);"},{"title":"UPDATE","body":"UPDATE public.\"issue_upvote\" SET\n \"link\" = '',\n \"comment\" = '',\n \"author\" = '',\n \"created_at\" = TIMESTAMP '2019-07-01 10:00:00',\n \"issue_id\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"issue_upvote\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.issue_upvote","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('product_comments_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"comment","type":"text","isAutogenerated":false},{"name":"author","type":"varchar","isAutogenerated":false},{"defaultValue":"CURRENT_TIMESTAMP","name":"created_at","type":"timestamp","isAutogenerated":false},{"name":"issue_id","type":"int4","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"product_comments_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"product_comments\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"product_comments\" (\"comment\", \"author\", \"issue_id\")\n VALUES ('', '', 1);"},{"title":"UPDATE","body":"UPDATE public.\"product_comments\" SET\n \"comment\" = '',\n \"author\" = '',\n \"issue_id\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"product_comments\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.product_comments","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('sample_apps_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"title","type":"varchar","isAutogenerated":false},{"name":"description","type":"text","isAutogenerated":false},{"name":"link","type":"text","isAutogenerated":false},{"name":"author","type":"varchar","isAutogenerated":false},{"defaultValue":"CURRENT_DATE","name":"created_at","type":"timestamp","isAutogenerated":false},{"name":"categories","type":"text","isAutogenerated":false},{"name":"tags","type":"text","isAutogenerated":false},{"name":"status","type":"text","isAutogenerated":false},{"name":"isdeleted","type":"bool","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"sample_apps_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"sample_apps\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"sample_apps\" (\"title\", \"description\", \"link\", \"author\", \"categories\", \"tags\", \"status\", \"isdeleted\")\n VALUES ('', '', '', '', '', '', '', '');"},{"title":"UPDATE","body":"UPDATE public.\"sample_apps\" SET\n \"title\" = '',\n \"description\" = '',\n \"link\" = '',\n \"author\" = '',\n \"categories\" = '',\n \"tags\" = '',\n \"status\" = '',\n \"isdeleted\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"sample_apps\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.sample_apps","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('standup_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"name","type":"text","isAutogenerated":false},{"name":"yesterday","type":"text","isAutogenerated":false},{"name":"today","type":"text","isAutogenerated":false},{"name":"blocked","type":"text","isAutogenerated":false},{"name":"date","type":"date","isAutogenerated":false},{"name":"pod","type":"text","isAutogenerated":false},{"name":"dayrating","type":"int4","isAutogenerated":false},{"name":"restrating","type":"int4","isAutogenerated":false},{"name":"focusrating","type":"int4","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"standup_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"standup\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"standup\" (\"name\", \"yesterday\", \"today\", \"blocked\", \"date\", \"pod\", \"dayrating\", \"restrating\", \"focusrating\")\n VALUES ('', '', '', '', '2019-07-01', '', 1, 1, 1);"},{"title":"UPDATE","body":"UPDATE public.\"standup\" SET\n \"name\" = '',\n \"yesterday\" = '',\n \"today\" = '',\n \"blocked\" = '',\n \"date\" = '2019-07-01',\n \"pod\" = '',\n \"dayrating\" = 1,\n \"restrating\" = 1,\n \"focusrating\" = 1\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"standup\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.standup","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('support_tickets_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"description","type":"varchar","isAutogenerated":false},{"name":"created_at","type":"timestamptz","isAutogenerated":false},{"name":"author","type":"text","isAutogenerated":false},{"name":"user","type":"text","isAutogenerated":false},{"name":"comments","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"support_tickets_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"support_tickets\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"support_tickets\" (\"description\", \"created_at\", \"author\", \"user\", \"comments\")\n VALUES ('', TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET', '', '', '');"},{"title":"UPDATE","body":"UPDATE public.\"support_tickets\" SET\n \"description\" = '',\n \"created_at\" = TIMESTAMP WITH TIME ZONE '2019-07-01 06:30:00 CET',\n \"author\" = '',\n \"user\" = '',\n \"comments\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"support_tickets\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.support_tickets","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('template_table_col1_seq'::regclass)","name":"col1","type":"int4","isAutogenerated":true},{"name":"col2","type":"text","isAutogenerated":false},{"name":"col3","type":"int4","isAutogenerated":false},{"name":"col4","type":"bool","isAutogenerated":false},{"name":"col5","type":"float8","isAutogenerated":false},{"name":"col6","type":"date","isAutogenerated":false},{"name":"col7","type":"json","isAutogenerated":false},{"name":"col8","type":"varchar","isAutogenerated":false},{"name":"col9","type":"numeric","isAutogenerated":false},{"name":"col10","type":"text","isAutogenerated":false},{"name":"col11","type":"text","isAutogenerated":false},{"name":"col12","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["col1"],"name":"template_table_pkey","type":"primary key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"template_table\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"template_table\" (\"col2\", \"col3\", \"col4\", \"col5\", \"col6\", \"col7\", \"col8\", \"col9\", \"col10\", \"col11\", \"col12\")\n VALUES ('', 1, '', 1.0, '2019-07-01', '', '', '', '', '', '');"},{"title":"UPDATE","body":"UPDATE public.\"template_table\" SET\n \"col2\" = '',\n \"col3\" = 1,\n \"col4\" = '',\n \"col5\" = 1.0,\n \"col6\" = '2019-07-01',\n \"col7\" = '',\n \"col8\" = '',\n \"col9\" = '',\n \"col10\" = '',\n \"col11\" = '',\n \"col12\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"template_table\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.template_table","type":"TABLE"},{"schema":"public","columns":[{"defaultValue":"nextval('ticket_tags_id_seq'::regclass)","name":"id","type":"int4","isAutogenerated":true},{"name":"ticket_id","type":"int4","isAutogenerated":false},{"name":"github_tag_id","type":"text","isAutogenerated":false}],"keys":[{"columnNames":["id"],"name":"ticket_tags_pkey","type":"primary key"},{"fromColumns":["ticket_id"],"name":"ticket_id_fk","toColumns":["support_tickets.id"],"type":"foreign key"}],"templates":[{"title":"SELECT","body":"SELECT * FROM public.\"ticket_tags\" LIMIT 10;"},{"title":"INSERT","body":"INSERT INTO public.\"ticket_tags\" (\"ticket_id\", \"github_tag_id\")\n VALUES (1, '');"},{"title":"UPDATE","body":"UPDATE public.\"ticket_tags\" SET\n \"ticket_id\" = 1,\n \"github_tag_id\" = ''\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may update every row in the table!"},{"title":"DELETE","body":"DELETE FROM public.\"ticket_tags\"\n WHERE 1 = 0; -- Specify a valid condition here. Removing the condition may delete everything in the table!"}],"name":"public.ticket_tags","type":"TABLE"}]}},{"datasourceId":"Mock_Mongo","structure":{"tables":[{"columns":[{"name":"_id","type":"ObjectId","isAutogenerated":true},{"name":"col1","type":"String","isAutogenerated":false},{"name":"col2","type":"String","isAutogenerated":false},{"name":"col3","type":"String","isAutogenerated":false},{"name":"col4","type":"String","isAutogenerated":false}],"keys":[],"templates":[{"configuration":{"find":{"query":{"data":"{ \"col1\": \"test\"}"},"limit":{"data":"10"},"sort":{"data":"{\"_id\": 1}"}},"collection":{"data":"template_table"},"body":{"data":"{\n \"find\": \"template_table\",\n \"filter\": {\n \"col1\": \"test\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n"},"command":{"data":"FIND"},"smartSubstitution":{"data":true}},"title":"Find"},{"configuration":{"find":{"query":{"data":"{\"_id\": ObjectId(\"id_to_query_with\")}"}},"collection":{"data":"template_table"},"body":{"data":"{\n \"find\": \"template_table\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n"},"command":{"data":"FIND"},"smartSubstitution":{"data":true}},"title":"Find by ID"},{"configuration":{"insert":{"documents":{"data":"[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"col1\": \"new value\",\n \"col2\": \"new value\",\n \"col3\": \"new value\",\n \"col4\": \"new value\",\n}]"}},"collection":{"data":"template_table"},"body":{"data":"{\n \"insert\": \"template_table\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"col1\": \"new value\",\n \"col2\": \"new value\",\n \"col3\": \"new value\",\n \"col4\": \"new value\",\n }\n ]\n}\n"},"command":{"data":"INSERT"},"smartSubstitution":{"data":true}},"title":"Insert"},{"configuration":{"updateMany":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_update\") }"},"limit":{"data":"ALL"},"update":{"data":"{ \"$set\": { \"col1\": \"new value\" } }"}},"collection":{"data":"template_table"},"body":{"data":"{\n \"update\": \"template_table\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"col1\": \"new value\" } }\n }\n ]\n}\n"},"command":{"data":"UPDATE"},"smartSubstitution":{"data":true}},"title":"Update"},{"configuration":{"collection":{"data":"template_table"},"body":{"data":"{\n \"delete\": \"template_table\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n"},"delete":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_delete\") }"},"limit":{"data":"SINGLE"}},"command":{"data":"DELETE"},"smartSubstitution":{"data":true}},"title":"Delete"},{"configuration":{"count":{"query":{"data":"{\"_id\": {\"$exists\": true}}"}},"collection":{"data":"template_table"},"body":{"data":"{\n \"count\": \"template_table\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n"},"command":{"data":"COUNT"},"smartSubstitution":{"data":true}},"title":"Count"},{"configuration":{"distinct":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }"},"key":{"data":"_id"}},"collection":{"data":"template_table"},"body":{"data":"{\n \"distinct\": \"template_table\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n"},"command":{"data":"DISTINCT"},"smartSubstitution":{"data":true}},"title":"Distinct"},{"configuration":{"collection":{"data":"template_table"},"body":{"data":"{\n \"aggregate\": \"template_table\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n"},"command":{"data":"AGGREGATE"},"smartSubstitution":{"data":true},"aggregate":{"arrayPipelines":{"data":"[ {\"$sort\" : {\"_id\": 1} } ]"},"limit":{"data":"10"}}},"title":"Aggregate"}],"name":"template_table","type":"COLLECTION"},{"columns":[{"name":"_id","type":"ObjectId","isAutogenerated":true},{"name":"createdAt","type":"Date","isAutogenerated":false},{"name":"email","type":"String","isAutogenerated":false},{"name":"name","type":"String","isAutogenerated":false},{"name":"role","type":"String","isAutogenerated":false},{"name":"status","type":"Object","isAutogenerated":false}],"keys":[],"templates":[{"configuration":{"find":{"query":{"data":"{ \"email\": \"[email protected]\"}"},"limit":{"data":"10"},"sort":{"data":"{\"_id\": 1}"}},"collection":{"data":"users"},"body":{"data":"{\n \"find\": \"users\",\n \"filter\": {\n \"email\": \"[email protected]\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n"},"command":{"data":"FIND"},"smartSubstitution":{"data":true}},"title":"Find"},{"configuration":{"find":{"query":{"data":"{\"_id\": ObjectId(\"id_to_query_with\")}"}},"collection":{"data":"users"},"body":{"data":"{\n \"find\": \"users\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n"},"command":{"data":"FIND"},"smartSubstitution":{"data":true}},"title":"Find by ID"},{"configuration":{"insert":{"documents":{"data":"[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"email\": \"new value\",\n \"name\": \"new value\",\n \"role\": \"new value\",\n \"status\": {},\n}]"}},"collection":{"data":"users"},"body":{"data":"{\n \"insert\": \"users\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"email\": \"new value\",\n \"name\": \"new value\",\n \"role\": \"new value\",\n \"status\": {},\n }\n ]\n}\n"},"command":{"data":"INSERT"},"smartSubstitution":{"data":true}},"title":"Insert"},{"configuration":{"updateMany":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_update\") }"},"limit":{"data":"ALL"},"update":{"data":"{ \"$set\": { \"email\": \"new value\" } }"}},"collection":{"data":"users"},"body":{"data":"{\n \"update\": \"users\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"email\": \"new value\" } }\n }\n ]\n}\n"},"command":{"data":"UPDATE"},"smartSubstitution":{"data":true}},"title":"Update"},{"configuration":{"collection":{"data":"users"},"body":{"data":"{\n \"delete\": \"users\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n"},"delete":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_delete\") }"},"limit":{"data":"SINGLE"}},"command":{"data":"DELETE"},"smartSubstitution":{"data":true}},"title":"Delete"},{"configuration":{"count":{"query":{"data":"{\"_id\": {\"$exists\": true}}"}},"collection":{"data":"users"},"body":{"data":"{\n \"count\": \"users\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n"},"command":{"data":"COUNT"},"smartSubstitution":{"data":true}},"title":"Count"},{"configuration":{"distinct":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }"},"key":{"data":"_id"}},"collection":{"data":"users"},"body":{"data":"{\n \"distinct\": \"users\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n"},"command":{"data":"DISTINCT"},"smartSubstitution":{"data":true}},"title":"Distinct"},{"configuration":{"collection":{"data":"users"},"body":{"data":"{\n \"aggregate\": \"users\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n"},"command":{"data":"AGGREGATE"},"smartSubstitution":{"data":true},"aggregate":{"arrayPipelines":{"data":"[ {\"$sort\" : {\"_id\": 1} } ]"},"limit":{"data":"10"}}},"title":"Aggregate"}],"name":"users","type":"COLLECTION"},{"columns":[{"name":"_id","type":"ObjectId","isAutogenerated":true},{"name":"createdAt","type":"Date","isAutogenerated":false},{"name":"currentLimit","type":"Integer","isAutogenerated":false},{"name":"featureName","type":"String","isAutogenerated":false},{"name":"key","type":"Integer","isAutogenerated":false},{"name":"limit","type":"Integer","isAutogenerated":false},{"name":"subscriptionId","type":"ObjectId","isAutogenerated":true}],"keys":[],"templates":[{"configuration":{"find":{"query":{"data":"{ \"featureName\": \"Okuneva Inc\"}"},"limit":{"data":"10"},"sort":{"data":"{\"_id\": 1}"}},"collection":{"data":"orgs"},"body":{"data":"{\n \"find\": \"orgs\",\n \"filter\": {\n \"featureName\": \"Okuneva Inc\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n"},"command":{"data":"FIND"},"smartSubstitution":{"data":true}},"title":"Find"},{"configuration":{"find":{"query":{"data":"{\"_id\": ObjectId(\"id_to_query_with\")}"}},"collection":{"data":"orgs"},"body":{"data":"{\n \"find\": \"orgs\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n"},"command":{"data":"FIND"},"smartSubstitution":{"data":true}},"title":"Find by ID"},{"configuration":{"insert":{"documents":{"data":"[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currentLimit\": 1,\n \"featureName\": \"new value\",\n \"key\": 1,\n \"limit\": 1,\n \"subscriptionId\": ObjectId(\"a_valid_object_id_hex\"),\n}]"}},"collection":{"data":"orgs"},"body":{"data":"{\n \"insert\": \"orgs\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currentLimit\": 1,\n \"featureName\": \"new value\",\n \"key\": 1,\n \"limit\": 1,\n \"subscriptionId\": ObjectId(\"a_valid_object_id_hex\"),\n }\n ]\n}\n"},"command":{"data":"INSERT"},"smartSubstitution":{"data":true}},"title":"Insert"},{"configuration":{"updateMany":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_update\") }"},"limit":{"data":"ALL"},"update":{"data":"{ \"$set\": { \"featureName\": \"new value\" } }"}},"collection":{"data":"orgs"},"body":{"data":"{\n \"update\": \"orgs\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"featureName\": \"new value\" } }\n }\n ]\n}\n"},"command":{"data":"UPDATE"},"smartSubstitution":{"data":true}},"title":"Update"},{"configuration":{"collection":{"data":"orgs"},"body":{"data":"{\n \"delete\": \"orgs\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n"},"delete":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_delete\") }"},"limit":{"data":"SINGLE"}},"command":{"data":"DELETE"},"smartSubstitution":{"data":true}},"title":"Delete"},{"configuration":{"count":{"query":{"data":"{\"_id\": {\"$exists\": true}}"}},"collection":{"data":"orgs"},"body":{"data":"{\n \"count\": \"orgs\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n"},"command":{"data":"COUNT"},"smartSubstitution":{"data":true}},"title":"Count"},{"configuration":{"distinct":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }"},"key":{"data":"_id"}},"collection":{"data":"orgs"},"body":{"data":"{\n \"distinct\": \"orgs\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n"},"command":{"data":"DISTINCT"},"smartSubstitution":{"data":true}},"title":"Distinct"},{"configuration":{"collection":{"data":"orgs"},"body":{"data":"{\n \"aggregate\": \"orgs\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n"},"command":{"data":"AGGREGATE"},"smartSubstitution":{"data":true},"aggregate":{"arrayPipelines":{"data":"[ {\"$sort\" : {\"_id\": 1} } ]"},"limit":{"data":"10"}}},"title":"Aggregate"}],"name":"orgs","type":"COLLECTION"},{"columns":[{"name":"_id","type":"ObjectId","isAutogenerated":true},{"name":"createdAt","type":"Date","isAutogenerated":false},{"name":"createdBy","type":"ObjectId","isAutogenerated":true},{"name":"domain","type":"String","isAutogenerated":false},{"name":"name","type":"String","isAutogenerated":false},{"name":"numUsers","type":"Integer","isAutogenerated":false},{"name":"orgId","type":"ObjectId","isAutogenerated":true}],"keys":[],"templates":[{"configuration":{"find":{"query":{"data":"{ \"domain\": \"gunner.name\"}"},"limit":{"data":"10"},"sort":{"data":"{\"_id\": 1}"}},"collection":{"data":"apps"},"body":{"data":"{\n \"find\": \"apps\",\n \"filter\": {\n \"domain\": \"gunner.name\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n"},"command":{"data":"FIND"},"smartSubstitution":{"data":true}},"title":"Find"},{"configuration":{"find":{"query":{"data":"{\"_id\": ObjectId(\"id_to_query_with\")}"}},"collection":{"data":"apps"},"body":{"data":"{\n \"find\": \"apps\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n"},"command":{"data":"FIND"},"smartSubstitution":{"data":true}},"title":"Find by ID"},{"configuration":{"insert":{"documents":{"data":"[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"createdBy\": ObjectId(\"a_valid_object_id_hex\"),\n \"domain\": \"new value\",\n \"name\": \"new value\",\n \"numUsers\": 1,\n \"orgId\": ObjectId(\"a_valid_object_id_hex\"),\n}]"}},"collection":{"data":"apps"},"body":{"data":"{\n \"insert\": \"apps\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"createdBy\": ObjectId(\"a_valid_object_id_hex\"),\n \"domain\": \"new value\",\n \"name\": \"new value\",\n \"numUsers\": 1,\n \"orgId\": ObjectId(\"a_valid_object_id_hex\"),\n }\n ]\n}\n"},"command":{"data":"INSERT"},"smartSubstitution":{"data":true}},"title":"Insert"},{"configuration":{"updateMany":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_update\") }"},"limit":{"data":"ALL"},"update":{"data":"{ \"$set\": { \"domain\": \"new value\" } }"}},"collection":{"data":"apps"},"body":{"data":"{\n \"update\": \"apps\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"domain\": \"new value\" } }\n }\n ]\n}\n"},"command":{"data":"UPDATE"},"smartSubstitution":{"data":true}},"title":"Update"},{"configuration":{"collection":{"data":"apps"},"body":{"data":"{\n \"delete\": \"apps\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n"},"delete":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_delete\") }"},"limit":{"data":"SINGLE"}},"command":{"data":"DELETE"},"smartSubstitution":{"data":true}},"title":"Delete"},{"configuration":{"count":{"query":{"data":"{\"_id\": {\"$exists\": true}}"}},"collection":{"data":"apps"},"body":{"data":"{\n \"count\": \"apps\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n"},"command":{"data":"COUNT"},"smartSubstitution":{"data":true}},"title":"Count"},{"configuration":{"distinct":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }"},"key":{"data":"_id"}},"collection":{"data":"apps"},"body":{"data":"{\n \"distinct\": \"apps\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n"},"command":{"data":"DISTINCT"},"smartSubstitution":{"data":true}},"title":"Distinct"},{"configuration":{"collection":{"data":"apps"},"body":{"data":"{\n \"aggregate\": \"apps\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n"},"command":{"data":"AGGREGATE"},"smartSubstitution":{"data":true},"aggregate":{"arrayPipelines":{"data":"[ {\"$sort\" : {\"_id\": 1} } ]"},"limit":{"data":"10"}}},"title":"Aggregate"}],"name":"apps","type":"COLLECTION"},{"columns":[{"name":"_id","type":"ObjectId","isAutogenerated":true},{"name":"genres","type":"String","isAutogenerated":false}],"keys":[],"templates":[{"configuration":{"find":{"query":{"data":"{ \"genres\": \"https://release.app.appsmith.com/app/scratchpad/mongo-625418abb49da04657c566c5/edit\"}"},"limit":{"data":"10"},"sort":{"data":"{\"_id\": 1}"}},"collection":{"data":"movies"},"body":{"data":"{\n \"find\": \"movies\",\n \"filter\": {\n \"genres\": \"https://release.app.appsmith.com/app/scratchpad/mongo-625418abb49da04657c566c5/edit\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n"},"command":{"data":"FIND"},"smartSubstitution":{"data":true}},"title":"Find"},{"configuration":{"find":{"query":{"data":"{\"_id\": ObjectId(\"id_to_query_with\")}"}},"collection":{"data":"movies"},"body":{"data":"{\n \"find\": \"movies\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n"},"command":{"data":"FIND"},"smartSubstitution":{"data":true}},"title":"Find by ID"},{"configuration":{"insert":{"documents":{"data":"[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"genres\": \"new value\",\n}]"}},"collection":{"data":"movies"},"body":{"data":"{\n \"insert\": \"movies\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"genres\": \"new value\",\n }\n ]\n}\n"},"command":{"data":"INSERT"},"smartSubstitution":{"data":true}},"title":"Insert"},{"configuration":{"updateMany":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_update\") }"},"limit":{"data":"ALL"},"update":{"data":"{ \"$set\": { \"genres\": \"new value\" } }"}},"collection":{"data":"movies"},"body":{"data":"{\n \"update\": \"movies\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"genres\": \"new value\" } }\n }\n ]\n}\n"},"command":{"data":"UPDATE"},"smartSubstitution":{"data":true}},"title":"Update"},{"configuration":{"collection":{"data":"movies"},"body":{"data":"{\n \"delete\": \"movies\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n"},"delete":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_delete\") }"},"limit":{"data":"SINGLE"}},"command":{"data":"DELETE"},"smartSubstitution":{"data":true}},"title":"Delete"},{"configuration":{"count":{"query":{"data":"{\"_id\": {\"$exists\": true}}"}},"collection":{"data":"movies"},"body":{"data":"{\n \"count\": \"movies\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n"},"command":{"data":"COUNT"},"smartSubstitution":{"data":true}},"title":"Count"},{"configuration":{"distinct":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }"},"key":{"data":"_id"}},"collection":{"data":"movies"},"body":{"data":"{\n \"distinct\": \"movies\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n"},"command":{"data":"DISTINCT"},"smartSubstitution":{"data":true}},"title":"Distinct"},{"configuration":{"collection":{"data":"movies"},"body":{"data":"{\n \"aggregate\": \"movies\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n"},"command":{"data":"AGGREGATE"},"smartSubstitution":{"data":true},"aggregate":{"arrayPipelines":{"data":"[ {\"$sort\" : {\"_id\": 1} } ]"},"limit":{"data":"10"}}},"title":"Aggregate"}],"name":"movies","type":"COLLECTION"},{"columns":[{"name":"_id","type":"ObjectId","isAutogenerated":true},{"name":"createdAt","type":"Date","isAutogenerated":false},{"name":"currency","type":"String","isAutogenerated":false},{"name":"mrr","type":"String","isAutogenerated":false},{"name":"name","type":"String","isAutogenerated":false},{"name":"renewalDate","type":"Date","isAutogenerated":false},{"name":"status","type":"String","isAutogenerated":false},{"name":"statusOfApp","type":"Object","isAutogenerated":false}],"keys":[],"templates":[{"configuration":{"find":{"query":{"data":"{ \"currency\": \"MRO\"}"},"limit":{"data":"10"},"sort":{"data":"{\"_id\": 1}"}},"collection":{"data":"subscriptions"},"body":{"data":"{\n \"find\": \"subscriptions\",\n \"filter\": {\n \"currency\": \"MRO\"\n },\n \"sort\": {\n \"_id\": 1\n },\n \"limit\": 10\n}\n"},"command":{"data":"FIND"},"smartSubstitution":{"data":true}},"title":"Find"},{"configuration":{"find":{"query":{"data":"{\"_id\": ObjectId(\"id_to_query_with\")}"}},"collection":{"data":"subscriptions"},"body":{"data":"{\n \"find\": \"subscriptions\",\n \"filter\": {\n \"_id\": ObjectId(\"id_to_query_with\")\n }\n}\n"},"command":{"data":"FIND"},"smartSubstitution":{"data":true}},"title":"Find by ID"},{"configuration":{"insert":{"documents":{"data":"[{ \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currency\": \"new value\",\n \"mrr\": \"new value\",\n \"name\": \"new value\",\n \"renewalDate\": new Date(\"2019-07-01\"),\n \"status\": \"new value\",\n \"statusOfApp\": {},\n}]"}},"collection":{"data":"subscriptions"},"body":{"data":"{\n \"insert\": \"subscriptions\",\n \"documents\": [\n {\n \"_id\": ObjectId(\"a_valid_object_id_hex\"),\n \"createdAt\": new Date(\"2019-07-01\"),\n \"currency\": \"new value\",\n \"mrr\": \"new value\",\n \"name\": \"new value\",\n \"renewalDate\": new Date(\"2019-07-01\"),\n \"status\": \"new value\",\n \"statusOfApp\": {},\n }\n ]\n}\n"},"command":{"data":"INSERT"},"smartSubstitution":{"data":true}},"title":"Insert"},{"configuration":{"updateMany":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_update\") }"},"limit":{"data":"ALL"},"update":{"data":"{ \"$set\": { \"currency\": \"new value\" } }"}},"collection":{"data":"subscriptions"},"body":{"data":"{\n \"update\": \"subscriptions\",\n \"updates\": [\n {\n \"q\": {\n \"_id\": ObjectId(\"id_of_document_to_update\")\n },\n \"u\": { \"$set\": { \"currency\": \"new value\" } }\n }\n ]\n}\n"},"command":{"data":"UPDATE"},"smartSubstitution":{"data":true}},"title":"Update"},{"configuration":{"collection":{"data":"subscriptions"},"body":{"data":"{\n \"delete\": \"subscriptions\",\n \"deletes\": [\n {\n \"q\": {\n \"_id\": \"id_of_document_to_delete\"\n },\n \"limit\": 1\n }\n ]\n}\n"},"delete":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_delete\") }"},"limit":{"data":"SINGLE"}},"command":{"data":"DELETE"},"smartSubstitution":{"data":true}},"title":"Delete"},{"configuration":{"count":{"query":{"data":"{\"_id\": {\"$exists\": true}}"}},"collection":{"data":"subscriptions"},"body":{"data":"{\n \"count\": \"subscriptions\",\n \"query\": {\"_id\": {\"$exists\": true}} \n}\n"},"command":{"data":"COUNT"},"smartSubstitution":{"data":true}},"title":"Count"},{"configuration":{"distinct":{"query":{"data":"{ \"_id\": ObjectId(\"id_of_document_to_distinct\") }"},"key":{"data":"_id"}},"collection":{"data":"subscriptions"},"body":{"data":"{\n \"distinct\": \"subscriptions\",\n \"query\": { \"_id\": ObjectId(\"id_of_document_to_distinct\") }, \"key\": \"_id\",}\n"},"command":{"data":"DISTINCT"},"smartSubstitution":{"data":true}},"title":"Distinct"},{"configuration":{"collection":{"data":"subscriptions"},"body":{"data":"{\n \"aggregate\": \"subscriptions\",\n \"pipeline\": [ {\"$sort\" : {\"_id\": 1} } ],\n \"limit\": 10,\n \"explain\": \"true\"\n}\n"},"command":{"data":"AGGREGATE"},"smartSubstitution":{"data":true},"aggregate":{"arrayPipelines":{"data":"[ {\"$sort\" : {\"_id\": 1} } ]"},"limit":{"data":"10"}}},"title":"Aggregate"}],"name":"subscriptions","type":"COLLECTION"}]}},{"datasourceId":"RedisTemplateApps","structure":{}}],"editModeTheme":{"isSystemTheme":true,"deleted":false,"displayName":"Modern","name":"Default"},"datasourceList":[{"deleted":false,"pluginId":"amazons3-plugin","name":"AmazonS3 CRUD","messages":[],"isAutoGenerated":false,"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528942"},{"deleted":false,"pluginId":"restapi-plugin","name":"Appsmith Release","messages":[],"isAutoGenerated":false,"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528a53"},{"deleted":false,"pluginId":"firestore-plugin","name":"FBTemplateDB","messages":[],"isAutoGenerated":false,"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d70450952893f"},{"deleted":false,"pluginId":"google-sheets-plugin","name":"Google Sheet","messages":[],"isAutoGenerated":false,"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528941"},{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","messages":[],"isAutoGenerated":false,"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d70450952893c"},{"deleted":false,"pluginId":"mongo-plugin","name":"Mock_Mongo","messages":[],"isAutoGenerated":false,"gitSyncId":"5f7add8687af934ed846dd6a_61c43332e89bc475f3cae797"},{"deleted":false,"pluginId":"redis-plugin","name":"RedisTemplateApps","messages":[],"isAutoGenerated":false,"gitSyncId":"6171a062b7de236aa183ee0e_61bb76c8cd5d704509528943"}],"actionList":[{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"DELETE FROM public.template_table\n WHERE col1 = {{data_table.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow.col1"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"DeleteQuery","messages":[]},"deleted":false,"pluginId":"postgres-plugin","id":"SQL_DeleteQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"DELETE FROM public.template_table\n WHERE col1 = {{data_table.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow.col1"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"DeleteQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f01"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"SELECT * FROM public.template_table\nWHERE col2 like '%{{data_table.searchText || \"\"}}%'\nORDER BY {{data_table.sortOrder.column || 'col1'}} {{data_table.sortOrder.order || \"ASC\"}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"policies":[],"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize","data_table.searchText || \"\"","data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || \"ASC\""],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"SelectQuery","messages":[]},"deleted":false,"pluginId":"postgres-plugin","id":"SQL_SelectQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"SELECT * FROM public.template_table\nWHERE col2 like '%{{data_table.searchText || \"\"}}%'\nORDER BY {{data_table.sortOrder.column || 'col1'}} {{data_table.sortOrder.order || \"ASC\"}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"policies":[],"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize","data_table.searchText || \"\"","data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || \"ASC\""],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"SelectQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531ef8"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"UPDATE public.template_table SET\n\t\tcol2 = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\tcol3 = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n col4 = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\tcol5 = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\tcol6 = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\tcol7 = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\tcol8 = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\tcol9 = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\tcol10 = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\tcol11 = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\tcol12 = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n WHERE col1 = {{data_table.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.col1","update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10","update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11","update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12","update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2","update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3","update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4","update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5","update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6","update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7","update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8","update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"UpdateQuery","messages":[]},"deleted":false,"pluginId":"postgres-plugin","id":"SQL_UpdateQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"UPDATE public.template_table SET\n\t\tcol2 = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\tcol3 = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n col4 = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\tcol5 = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\tcol6 = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\tcol7 = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\tcol8 = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\tcol9 = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\tcol10 = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\tcol11 = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\tcol12 = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n WHERE col1 = {{data_table.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.col1","update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10","update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11","update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12","update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2","update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3","update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4","update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5","update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6","update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7","update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8","update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f03"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"INSERT INTO public.template_table (\n\tcol1,\n\tcol2,\n\tcol3,\n\tcol4,\n\tcol5,\n\tcol6,\n\tcol7,\n\tcol8,\n\tcol9,\n\tcol10,\n\tcol11,\n\tcol12\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_form.formData.col1","insert_form.formData.col10","insert_form.formData.col11","insert_form.formData.col12","insert_form.formData.col2","insert_form.formData.col3","insert_form.formData.col4","insert_form.formData.col5","insert_form.formData.col6","insert_form.formData.col7","insert_form.formData.col8","insert_form.formData.col9"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"InsertQuery","messages":[]},"deleted":false,"pluginId":"postgres-plugin","id":"SQL_InsertQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"INSERT INTO public.template_table (\n\tcol1,\n\tcol2,\n\tcol3,\n\tcol4,\n\tcol5,\n\tcol6,\n\tcol7,\n\tcol8,\n\tcol9,\n\tcol10,\n\tcol11,\n\tcol12\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"SQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_form.formData.col1","insert_form.formData.col10","insert_form.formData.col11","insert_form.formData.col12","insert_form.formData.col2","insert_form.formData.col3","insert_form.formData.col4","insert_form.formData.col5","insert_form.formData.col6","insert_form.formData.col7","insert_form.formData.col8","insert_form.formData.col9"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"InsertQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531ef9"},{"pluginType":"SAAS","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"rowObjects":{"data":"{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}","viewType":"component","componentData":"{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}"},"tableHeaderIndex":{"data":"1","viewType":"component","componentData":"1"},"sheetName":{"data":"template_table","viewType":"component","componentData":"template_table"},"entityType":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"projection":{"data":[]},"sheetUrl":{"data":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit","viewType":"component","componentData":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit"},"command":{"data":"UPDATE_ONE","viewType":"component","componentData":"UPDATE_ONE"},"queryFormat":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"smartSubstitution":{"data":true,"viewType":"component","componentData":true}},"pluginSpecifiedTemplates":[{"value":"UPDATE","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"","key":"rowOffset"},{"value":"{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":true,"key":"smartSubstitution"}]},"policies":[],"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n"],"datasource":{"deleted":false,"pluginId":"google-sheets-plugin","name":"Google Sheet","policies":[],"messages":[],"id":"Google Sheet","userPermissions":[],"isAutoGenerated":false},"name":"UpdateQuery","messages":[]},"deleted":false,"pluginId":"google-sheets-plugin","id":"Google Sheets_UpdateQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"rowObjects":{"data":"{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}","viewType":"component","componentData":"{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}"},"tableHeaderIndex":{"data":"1","viewType":"component","componentData":"1"},"sheetName":{"data":"template_table","viewType":"component","componentData":"template_table"},"entityType":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"projection":{"data":[]},"sheetUrl":{"data":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit","viewType":"component","componentData":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit"},"command":{"data":"UPDATE_ONE","viewType":"component","componentData":"UPDATE_ONE"},"queryFormat":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"smartSubstitution":{"data":true,"viewType":"component","componentData":true}},"pluginSpecifiedTemplates":[{"value":"UPDATE","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"","key":"rowOffset"},{"value":"{{\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n}}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":true,"key":"smartSubstitution"}]},"policies":[],"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["\n\t{\n\t\t...update_form.formData, \n\t\trowIndex:data_table.selectedRow.rowIndex\n\t}\n"],"datasource":{"deleted":false,"pluginId":"google-sheets-plugin","name":"Google Sheet","policies":[],"messages":[],"id":"Google Sheet","userPermissions":[],"isAutoGenerated":false},"name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efa"},{"pluginType":"SAAS","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"tableHeaderIndex":{"data":"1","viewType":"component","componentData":"1"},"pagination":{"data":{"offset":"{{(data_table.pageNo - 1) * data_table.pageSize}}","limit":"{{data_table.pageSize}}"},"viewType":"component","componentData":{"offset":"{{(data_table.pageNo - 1) * data_table.pageSize}}","limit":"{{data_table.pageSize}}"}},"sheetName":{"data":"template_table","viewType":"component","componentData":"template_table"},"entityType":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"range":{"data":""},"sortBy":{"data":[{"column":"","order":"Ascending"}]},"where":{"data":{"condition":"AND","children":[{}]},"viewType":"component","componentData":{"condition":"AND","children":[{}]}},"projection":{"data":[]},"sheetUrl":{"data":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit","viewType":"component","componentData":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit"},"command":{"data":"FETCH_MANY","viewType":"component","componentData":"FETCH_MANY"},"queryFormat":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"smartSubstitution":{"data":false,"viewType":"component","componentData":false}},"pluginSpecifiedTemplates":[{"value":"GET","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"{{data_table.pageSize}}","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"{{(data_table.pageNo - 1) * data_table.pageSize}}","key":"rowOffset"},{"key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"},{"value":[{}],"key":"where"}]},"policies":[],"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize"],"datasource":{"deleted":false,"pluginId":"google-sheets-plugin","name":"Google Sheet","policies":[],"messages":[],"id":"Google Sheet","userPermissions":[],"isAutoGenerated":false},"name":"SelectQuery","messages":[]},"deleted":false,"pluginId":"google-sheets-plugin","id":"Google Sheets_SelectQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"tableHeaderIndex":{"data":"1","viewType":"component","componentData":"1"},"pagination":{"data":{"offset":"{{(data_table.pageNo - 1) * data_table.pageSize}}","limit":"{{data_table.pageSize}}"},"viewType":"component","componentData":{"offset":"{{(data_table.pageNo - 1) * data_table.pageSize}}","limit":"{{data_table.pageSize}}"}},"sheetName":{"data":"template_table","viewType":"component","componentData":"template_table"},"entityType":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"range":{"data":""},"sortBy":{"data":[{"column":"","order":"Ascending"}]},"where":{"data":{"condition":"AND","children":[{}]},"viewType":"component","componentData":{"condition":"AND","children":[{}]}},"projection":{"data":[]},"sheetUrl":{"data":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit","viewType":"component","componentData":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit"},"command":{"data":"FETCH_MANY","viewType":"component","componentData":"FETCH_MANY"},"queryFormat":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"smartSubstitution":{"data":false,"viewType":"component","componentData":false}},"pluginSpecifiedTemplates":[{"value":"GET","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"{{data_table.pageSize}}","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"{{(data_table.pageNo - 1) * data_table.pageSize}}","key":"rowOffset"},{"key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"},{"value":[{}],"key":"where"}]},"policies":[],"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize"],"datasource":{"deleted":false,"pluginId":"google-sheets-plugin","name":"Google Sheet","policies":[],"messages":[],"id":"Google Sheet","userPermissions":[],"isAutoGenerated":false},"name":"SelectQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f02"},{"pluginType":"SAAS","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"tableHeaderIndex":{"data":"1","viewType":"component","componentData":"1"},"pagination":{"data":{"offset":"{{(data_table.pageNo - 1) * data_table.pageSize}}","limit":"{{data_table.pageSize}}"},"viewType":"component","componentData":{"offset":"{{(data_table.pageNo - 1) * data_table.pageSize}}","limit":"{{data_table.pageSize}}"}},"sheetName":{"data":"template_table","viewType":"component","componentData":"template_table"},"entityType":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"range":{"data":""},"rowIndex":{"data":"{{data_table.triggeredRow.rowIndex}}","viewType":"component","componentData":"{{data_table.triggeredRow.rowIndex}}"},"where":{"data":{"condition":"AND"}},"projection":{"data":[]},"sheetUrl":{"data":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit","viewType":"component","componentData":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit"},"command":{"data":"DELETE_ONE","viewType":"component","componentData":"DELETE_ONE"},"queryFormat":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"smartSubstitution":{"data":false,"viewType":"component","componentData":false}},"pluginSpecifiedTemplates":[{"value":"DELETE_ROW","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"{{data_table.pageSize}}","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"{{(data_table.pageNo - 1) * data_table.pageSize}}","key":"rowOffset"},{"key":"rowObject"},{"key":"rowObjects"},{"value":"{{data_table.triggeredRow.rowIndex}}","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"}]},"policies":[],"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize","data_table.triggeredRow.rowIndex"],"datasource":{"deleted":false,"pluginId":"google-sheets-plugin","name":"Google Sheet","policies":[],"messages":[],"id":"Google Sheet","userPermissions":[],"isAutoGenerated":false},"name":"DeleteQuery","messages":[]},"deleted":false,"pluginId":"google-sheets-plugin","id":"Google Sheets_DeleteQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"tableHeaderIndex":{"data":"1","viewType":"component","componentData":"1"},"pagination":{"data":{"offset":"{{(data_table.pageNo - 1) * data_table.pageSize}}","limit":"{{data_table.pageSize}}"},"viewType":"component","componentData":{"offset":"{{(data_table.pageNo - 1) * data_table.pageSize}}","limit":"{{data_table.pageSize}}"}},"sheetName":{"data":"template_table","viewType":"component","componentData":"template_table"},"entityType":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"range":{"data":""},"rowIndex":{"data":"{{data_table.triggeredRow.rowIndex}}","viewType":"component","componentData":"{{data_table.triggeredRow.rowIndex}}"},"where":{"data":{"condition":"AND"}},"projection":{"data":[]},"sheetUrl":{"data":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit","viewType":"component","componentData":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit"},"command":{"data":"DELETE_ONE","viewType":"component","componentData":"DELETE_ONE"},"queryFormat":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"smartSubstitution":{"data":false,"viewType":"component","componentData":false}},"pluginSpecifiedTemplates":[{"value":"DELETE_ROW","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"{{data_table.pageSize}}","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"{{(data_table.pageNo - 1) * data_table.pageSize}}","key":"rowOffset"},{"key":"rowObject"},{"key":"rowObjects"},{"value":"{{data_table.triggeredRow.rowIndex}}","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":false,"key":"smartSubstitution"}]},"policies":[],"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize","data_table.triggeredRow.rowIndex"],"datasource":{"deleted":false,"pluginId":"google-sheets-plugin","name":"Google Sheet","policies":[],"messages":[],"id":"Google Sheet","userPermissions":[],"isAutoGenerated":false},"name":"DeleteQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f04"},{"pluginType":"SAAS","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"rowObjects":{"data":"{{insert_form.formData}}","viewType":"component","componentData":"{{insert_form.formData}}"},"tableHeaderIndex":{"data":"1","viewType":"component","componentData":"1"},"sheetName":{"data":"template_table","viewType":"component","componentData":"template_table"},"entityType":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"range":{"data":""},"projection":{"data":[]},"sheetUrl":{"data":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit","viewType":"component","componentData":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit"},"command":{"data":"INSERT_ONE","viewType":"component","componentData":"INSERT_ONE"},"queryFormat":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"smartSubstitution":{"data":true,"viewType":"component","componentData":true}},"pluginSpecifiedTemplates":[{"value":"APPEND","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"","key":"rowOffset"},{"value":"{{insert_form.formData}}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":true,"key":"smartSubstitution"}]},"policies":[],"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["insert_form.formData"],"datasource":{"deleted":false,"pluginId":"google-sheets-plugin","name":"Google Sheet","policies":[],"messages":[],"id":"Google Sheet","userPermissions":[],"isAutoGenerated":false},"name":"InsertQuery","messages":[]},"deleted":false,"pluginId":"google-sheets-plugin","id":"Google Sheets_InsertQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"rowObjects":{"data":"{{insert_form.formData}}","viewType":"component","componentData":"{{insert_form.formData}}"},"tableHeaderIndex":{"data":"1","viewType":"component","componentData":"1"},"sheetName":{"data":"template_table","viewType":"component","componentData":"template_table"},"entityType":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"range":{"data":""},"projection":{"data":[]},"sheetUrl":{"data":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit","viewType":"component","componentData":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit"},"command":{"data":"INSERT_ONE","viewType":"component","componentData":"INSERT_ONE"},"queryFormat":{"data":"ROWS","viewType":"component","componentData":"ROWS"},"smartSubstitution":{"data":true,"viewType":"component","componentData":true}},"pluginSpecifiedTemplates":[{"value":"APPEND","key":"method"},{"value":"https://docs.google.com/spreadsheets/d/1P6or_F8UZ9sJX3JRAsX_kQDMRRnXqrnRgRIiml8Gjl0/edit#gid=0","key":"sheetUrl"},{"value":"","key":"range"},{"value":"","key":"spreadsheetName"},{"value":"1","key":"tableHeaderIndex"},{"value":"ROWS","key":"queryFormat"},{"value":"","key":"rowLimit"},{"value":"template_table","key":"sheetName"},{"value":"","key":"rowOffset"},{"value":"{{insert_form.formData}}","key":"rowObject"},{"key":"rowObjects"},{"value":"","key":"rowIndex"},{"value":"SHEET","key":"deleteFormat"},{"value":true,"key":"smartSubstitution"}]},"policies":[],"userPermissions":[],"pageId":"Google Sheets","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["insert_form.formData"],"datasource":{"deleted":false,"pluginId":"google-sheets-plugin","name":"Google Sheet","policies":[],"messages":[],"id":"Google Sheet","userPermissions":[],"isAutoGenerated":false},"name":"InsertQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efb"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":100000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}","viewType":"component","componentData":"{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}"},"create":{"dataType":{"data":"YES","viewType":"component","componentData":"YES"},"expiry":{"data":"5","viewType":"component","componentData":"5"}},"body":{"data":"{{FilePicker.files[this.params.fileIndex]}}","viewType":"component","componentData":"{{FilePicker.files[this.params.fileIndex]}}"},"command":{"data":"UPLOAD_FILE_FROM_BODY","viewType":"component","componentData":"UPLOAD_FILE_FROM_BODY"}}},"policies":[],"userPermissions":[],"pageId":"S3","invalids":["'Query timeout' field must be an integer between 0 and 60000"],"dynamicBindingPathList":[{"key":"formData.body.data"},{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name","FilePicker.files[this.params.fileIndex]"],"datasource":{"deleted":false,"pluginId":"amazons3-plugin","policies":[],"messages":[],"id":"AmazonS3 CRUD","userPermissions":[],"isAutoGenerated":false},"name":"CreateFile","messages":[]},"deleted":false,"pluginId":"amazons3-plugin","id":"S3_CreateFile","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":100000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}","viewType":"component","componentData":"{{(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name}}"},"create":{"dataType":{"data":"YES","viewType":"component","componentData":"YES"},"expiry":{"data":"5","viewType":"component","componentData":"5"}},"body":{"data":"{{FilePicker.files[this.params.fileIndex]}}","viewType":"component","componentData":"{{FilePicker.files[this.params.fileIndex]}}"},"command":{"data":"UPLOAD_FILE_FROM_BODY","viewType":"component","componentData":"UPLOAD_FILE_FROM_BODY"}}},"policies":[],"userPermissions":[],"pageId":"S3","invalids":["'Query timeout' field must be an integer between 0 and 60000"],"dynamicBindingPathList":[{"key":"formData.body.data"},{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["(!!folder_name.text ? folder_name.text + \"/\" : \"\") + this.params.name","FilePicker.files[this.params.fileIndex]"],"datasource":{"deleted":false,"pluginId":"amazons3-plugin","policies":[],"messages":[],"id":"AmazonS3 CRUD","userPermissions":[],"isAutoGenerated":false},"name":"CreateFile","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efc"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"path":"","paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"body":{"data":"{\n\t\"data\": \"\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"\"\n}"},"list":{"pagination":{"data":{"offset":"{{(File_List.pageNo - 1) * File_List.pageSize}}","limit":"{{File_List.pageSize}}"}},"prefix":{"data":"{{search_input.text}}","viewType":"component","componentData":"{{search_input.text}}"},"where":{"data":{"condition":"AND","children":[{"condition":"EQ"}]},"viewType":"component","componentData":{"condition":"AND","children":[{"condition":"EQ"}]}},"sortBy":{"data":[{"column":"","order":"Ascending"}]},"expiry":{"data":"{{ 60 * 24 }}","viewType":"component","componentData":"{{ 60 * 24 }}"},"signedUrl":{"data":"YES","viewType":"component","componentData":"YES"},"unSignedUrl":{"data":"YES","viewType":"component","componentData":"YES"}},"command":{"data":"LIST","viewType":"component","componentData":"LIST"}}},"policies":[],"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.list.prefix.data"},{"key":"formData.list.expiry.data"},{"key":"formData.list.pagination.data.offset"},{"key":"formData.list.pagination.data.limit"}],"confirmBeforeExecute":false,"jsonPathKeys":[" 60 * 24 ","(File_List.pageNo - 1) * File_List.pageSize","File_List.pageSize","search_input.text"],"datasource":{"deleted":false,"pluginId":"amazons3-plugin","name":"AmazonS3 CRUD","policies":[],"messages":[],"id":"AmazonS3 CRUD","userPermissions":[],"isAutoGenerated":false},"name":"ListFiles","messages":[]},"deleted":false,"pluginId":"amazons3-plugin","id":"S3_ListFiles","publishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"path":"","paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"body":{"data":"{\n\t\"data\": \"\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"\"\n}"},"list":{"pagination":{"data":{"offset":"{{(File_List.pageNo - 1) * File_List.pageSize}}","limit":"{{File_List.pageSize}}"}},"prefix":{"data":"{{search_input.text}}","viewType":"component","componentData":"{{search_input.text}}"},"where":{"data":{"condition":"AND","children":[{"condition":"EQ"}]},"viewType":"component","componentData":{"condition":"AND","children":[{"condition":"EQ"}]}},"sortBy":{"data":[{"column":"","order":"Ascending"}]},"expiry":{"data":"{{ 60 * 24 }}","viewType":"component","componentData":"{{ 60 * 24 }}"},"signedUrl":{"data":"YES","viewType":"component","componentData":"YES"},"unSignedUrl":{"data":"YES","viewType":"component","componentData":"YES"}},"command":{"data":"LIST","viewType":"component","componentData":"LIST"}}},"policies":[],"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.list.prefix.data"},{"key":"formData.list.expiry.data"},{"key":"formData.list.pagination.data.offset"},{"key":"formData.list.pagination.data.limit"}],"confirmBeforeExecute":false,"jsonPathKeys":[" 60 * 24 ","(File_List.pageNo - 1) * File_List.pageSize","File_List.pageSize","search_input.text"],"datasource":{"deleted":false,"pluginId":"amazons3-plugin","name":"AmazonS3 CRUD","policies":[],"messages":[],"id":"AmazonS3 CRUD","userPermissions":[],"isAutoGenerated":false},"name":"ListFiles","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efd"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{File_List.selectedItem.fileName}}","viewType":"component","componentData":"{{File_List.selectedItem.fileName}}"},"body":{"data":"{\n\t\"data\": \"null\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"null\"\n}"},"command":{"data":"DELETE_FILE","viewType":"component","componentData":"DELETE_FILE"}}},"policies":[],"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["File_List.selectedItem.fileName"],"datasource":{"deleted":false,"pluginId":"amazons3-plugin","policies":[],"messages":[],"id":"AmazonS3 CRUD","userPermissions":[],"isAutoGenerated":false},"name":"DeleteFile","messages":[]},"deleted":false,"pluginId":"amazons3-plugin","id":"S3_DeleteFile","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{File_List.selectedItem.fileName}}","viewType":"component","componentData":"{{File_List.selectedItem.fileName}}"},"body":{"data":"{\n\t\"data\": \"null\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"null\"\n}"},"command":{"data":"DELETE_FILE","viewType":"component","componentData":"DELETE_FILE"}}},"policies":[],"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["File_List.selectedItem.fileName"],"datasource":{"deleted":false,"pluginId":"amazons3-plugin","policies":[],"messages":[],"id":"AmazonS3 CRUD","userPermissions":[],"isAutoGenerated":false},"name":"DeleteFile","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0c"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{File_List.selectedItem.fileName}}","viewType":"component","componentData":"{{File_List.selectedItem.fileName}}"},"read":{"dataType":{"data":"YES","viewType":"component","componentData":"YES"}},"body":{"data":"{\n\t\"data\": \"\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"\"\n}"},"command":{"data":"READ_FILE","viewType":"component","componentData":"READ_FILE"}}},"policies":[],"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["File_List.selectedItem.fileName"],"datasource":{"deleted":false,"pluginId":"amazons3-plugin","policies":[],"messages":[],"id":"AmazonS3 CRUD","userPermissions":[],"isAutoGenerated":false},"name":"ReadFile","messages":[]},"deleted":false,"pluginId":"amazons3-plugin","id":"S3_ReadFile","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{File_List.selectedItem.fileName}}","viewType":"component","componentData":"{{File_List.selectedItem.fileName}}"},"read":{"dataType":{"data":"YES","viewType":"component","componentData":"YES"}},"body":{"data":"{\n\t\"data\": \"\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"\"\n}"},"command":{"data":"READ_FILE","viewType":"component","componentData":"READ_FILE"}}},"policies":[],"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["File_List.selectedItem.fileName"],"datasource":{"deleted":false,"pluginId":"amazons3-plugin","policies":[],"messages":[],"id":"AmazonS3 CRUD","userPermissions":[],"isAutoGenerated":false},"name":"ReadFile","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0d"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{update_file_name.text}}","viewType":"component","componentData":"{{update_file_name.text}}"},"create":{"dataType":{"data":"YES","viewType":"component","componentData":"YES"},"expiry":{"data":"5","viewType":"component","componentData":"5"}},"body":{"data":"{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}"},"command":{"data":"UPLOAD_FILE_FROM_BODY","viewType":"component","componentData":"UPLOAD_FILE_FROM_BODY"}}},"policies":[],"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.body.data"},{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_file_name.text","update_file_picker.files.length ? update_file_picker.files[0].data : \"\""],"datasource":{"deleted":false,"pluginId":"amazons3-plugin","policies":[],"messages":[],"id":"AmazonS3 CRUD","userPermissions":[],"isAutoGenerated":false},"name":"UpdateFile","messages":[]},"deleted":false,"pluginId":"amazons3-plugin","id":"S3_UpdateFile","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"bucket":{"data":"assets-test.appsmith.com","viewType":"component","componentData":"assets-test.appsmith.com"},"path":{"data":"{{update_file_name.text}}","viewType":"component","componentData":"{{update_file_name.text}}"},"create":{"dataType":{"data":"YES","viewType":"component","componentData":"YES"},"expiry":{"data":"5","viewType":"component","componentData":"5"}},"body":{"data":"{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}","viewType":"component","componentData":"{\n\t\"data\": \"{{update_file_picker.files.length ? update_file_picker.files[0].data : \"\" }}\"\n}"},"command":{"data":"UPLOAD_FILE_FROM_BODY","viewType":"component","componentData":"UPLOAD_FILE_FROM_BODY"}}},"policies":[],"userPermissions":[],"pageId":"S3","invalids":[],"dynamicBindingPathList":[{"key":"formData.body.data"},{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["update_file_name.text","update_file_picker.files.length ? update_file_picker.files[0].data : \"\""],"datasource":{"deleted":false,"pluginId":"amazons3-plugin","policies":[],"messages":[],"id":"AmazonS3 CRUD","userPermissions":[],"isAutoGenerated":false},"name":"UpdateFile","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0e"},{"pluginType":"API","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"autoGeneratedHeaders":[],"path":"/api/v1/datasources/{{this.params.id}}/structure","headers":[],"paginationType":"NONE","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"httpMethod":"GET","pluginSpecifiedTemplates":[{"value":false}]},"policies":[],"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"confirmBeforeExecute":false,"jsonPathKeys":["this.params.id"],"datasource":{"deleted":false,"pluginId":"restapi-plugin","name":"Appsmith Release","policies":[],"messages":[],"id":"Appsmith Release","userPermissions":[],"isAutoGenerated":false},"name":"get_datasource_structure","messages":[]},"deleted":false,"pluginId":"restapi-plugin","id":"Admin_get_datasource_structure","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"autoGeneratedHeaders":[],"path":"/api/v1/datasources/{{this.params.id}}/structure","headers":[],"paginationType":"NONE","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"httpMethod":"GET","pluginSpecifiedTemplates":[{"value":false}]},"policies":[],"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[{"key":"path"}],"confirmBeforeExecute":false,"jsonPathKeys":["this.params.id"],"datasource":{"deleted":false,"pluginId":"restapi-plugin","name":"Appsmith Release","policies":[],"messages":[],"id":"Appsmith Release","userPermissions":[],"isAutoGenerated":false},"name":"get_datasource_structure","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f00"},{"pluginType":"API","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"autoGeneratedHeaders":[{"value":"application/json","key":"content-type"}],"path":"/1iyoffhcy2d9mw0stqcmtdpmeaz8xvgf","headers":[{"value":"application/json","key":"content-type"}],"paginationType":"NONE","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"apiContentType":"application/json"},"body":"{\n\t\"app\": {{ { ...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList, \"datasourceConfigurationStructureList\": get_exported_app.data.datasourceList.map((source) => { return {datasourceId: source.name, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } }}, \n\t\"branch\": \"update-crud-template\" \n}","httpMethod":"POST","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":true,"jsonPathKeys":[" { ...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList, \"datasourceConfigurationStructureList\": get_exported_app.data.datasourceList.map((source) => { return {datasourceId: source.name, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } "],"datasource":{"organizationId":"6171a062b7de236aa183ee0e","invalids":[],"deleted":false,"pluginId":"restapi-plugin","name":"DEFAULT_REST_DATASOURCE","policies":[],"messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://hook.eu1.make.com"},"isAutoGenerated":false},"name":"update_template","messages":[]},"deleted":false,"pluginId":"restapi-plugin","id":"Admin_update_template","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"autoGeneratedHeaders":[{"value":"application/json","key":"content-type"}],"path":"/1iyoffhcy2d9mw0stqcmtdpmeaz8xvgf","headers":[{"value":"application/json","key":"content-type"}],"paginationType":"NONE","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"apiContentType":"application/json"},"body":"{\n\t\"app\": {{ { ...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList, \"datasourceConfigurationStructureList\": get_exported_app.data.datasourceList.map((source) => { return {datasourceId: source.name, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } }}, \n\t\"branch\": \"update-crud-template\" \n}","httpMethod":"POST","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":true,"jsonPathKeys":[" { ...get_exported_app.data, decryptedFields: undefined, datasourceList: get_exported_app.data.datasourceList, \"datasourceConfigurationStructureList\": get_exported_app.data.datasourceList.map((source) => { return {datasourceId: source.name, structure: appsmith.store[source.pluginId] == undefined ? {}: appsmith.store[source.pluginId].data} } ) } "],"datasource":{"organizationId":"6171a062b7de236aa183ee0e","invalids":[],"deleted":false,"pluginId":"restapi-plugin","name":"DEFAULT_REST_DATASOURCE","policies":[],"messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://hook.eu1.make.com"},"isAutoGenerated":false},"name":"update_template","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531efe"},{"pluginType":"API","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"autoGeneratedHeaders":[{"value":"text/plain","key":"content-type"}],"path":"/api/v1/applications/export/61764fbeba7e887d03bc3631","headers":[{"value":"text/plain","key":"content-type"}],"paginationType":"NONE","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":100000,"encodeParamsToggle":true,"formData":{"apiContentType":"text/plain"},"httpMethod":"GET","pluginSpecifiedTemplates":[{"value":false}]},"policies":[],"userPermissions":[],"pageId":"Admin","invalids":["'Query timeout' field must be an integer between 0 and 60000"],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"deleted":false,"pluginId":"restapi-plugin","name":"Appsmith Release","policies":[],"messages":[],"id":"Appsmith Release","userPermissions":[],"isAutoGenerated":false},"name":"get_exported_app","messages":[]},"deleted":false,"pluginId":"restapi-plugin","id":"Admin_get_exported_app","publishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"autoGeneratedHeaders":[{"value":"text/plain","key":"content-type"}],"path":"/api/v1/applications/export/61764fbeba7e887d03bc3631","headers":[{"value":"text/plain","key":"content-type"}],"paginationType":"NONE","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":100000,"encodeParamsToggle":true,"formData":{"apiContentType":"text/plain"},"httpMethod":"GET","pluginSpecifiedTemplates":[{"value":false}]},"policies":[],"userPermissions":[],"pageId":"Admin","invalids":["'Query timeout' field must be an integer between 0 and 60000"],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"deleted":false,"pluginId":"restapi-plugin","name":"Appsmith Release","policies":[],"messages":[],"id":"Appsmith Release","userPermissions":[],"isAutoGenerated":false},"name":"get_exported_app","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531eff"},{"pluginType":"API","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/users/me","headers":[{"value":"_hjid=41cedd95-19f9-438a-8b6e-f2c4d7fb086b; SL_C_23361dd035530_KEY=c370af0df0edf38360adbefbdc47d2b42ea137c9; SL_C_23361dd035530_VID=P3kBR7eMjg; ajs_anonymous_id=e6ef9c9b-3407-4374-81ab-6bafef26a4d1; [email protected]; intercom-id-y10e7138=50e190b7-b24e-4bef-b320-3c47a3c91006; amplitude_id_fef1e872c952688acd962d30aa545b9eappsmith.com=eyJkZXZpY2VJZCI6IjIxNWJlMWRkLTNjMGQtNDY5NS05YzRmLTFjYTM4MjNhNzM5NlIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTYzNjI1ODEwMjkyNCwibGFzdEV2ZW50VGltZSI6MTYzNjI1ODEwMzE3MywiZXZlbnRJZCI6NSwiaWRlbnRpZnlJZCI6MSwic2VxdWVuY2VOdW1iZXIiOjZ9; _ga=GA1.2.526957763.1633412376; _gid=GA1.2.1610516593.1636258104; _ga_0JZ9C3M56S=GS1.1.1636258103.3.1.1636258646.0; SESSION=09ae7c78-ca84-4a38-916a-f282893efb40; mp_70b8ea94d623dd857fb555a76d11f944_mixpanel=%7B%22distinct_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24device_id%22%3A%20%2217c91e75170277-051d4ff86c77bb-1d3b6650-168000-17c91e75171dc2%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22mp_lib%22%3A%20%22Segment%3A%20web%22%2C%22%24user_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22mp_name_tag%22%3A%20%22nidhi%40appsmith.com%22%2C%22userId%22%3A%20%22nidhi%40appsmith.com%22%2C%22source%22%3A%20%22cloud%22%2C%22id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24email%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24first_name%22%3A%20%22Nidhi%22%2C%22%24last_name%22%3A%20%22Nair%22%2C%22%24name%22%3A%20%22Nidhi%20Nair%22%7D; SL_C_23361dd035530_SID=3VIjO5jKCt; intercom-session-y10e7138=WnhwMVl4VmVIUDFPVkgxUDVidm8wOXUzNjZ2elJ0OWx2a21Qc3NCYk1zenNEa0dzMkswWFlpanM4YXNxY2pQYi0taFpkWkR6K0xLUFJyUVFRSkMwZ3pUUT09--376a7fef0d7774b3284b94fb4c1ea1c8e2305afe; _hjAbsoluteSessionInProgress=1","key":"Cookie"}],"paginationType":"NONE","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"httpMethod":"GET","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"deleted":false,"pluginId":"restapi-plugin","name":"Appsmith Release","policies":[],"messages":[],"id":"Appsmith Release","userPermissions":[],"isAutoGenerated":false},"name":"get_user","messages":[]},"deleted":false,"pluginId":"restapi-plugin","id":"Admin_get_user","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/users/me","headers":[{"value":"_hjid=41cedd95-19f9-438a-8b6e-f2c4d7fb086b; SL_C_23361dd035530_KEY=c370af0df0edf38360adbefbdc47d2b42ea137c9; SL_C_23361dd035530_VID=P3kBR7eMjg; ajs_anonymous_id=e6ef9c9b-3407-4374-81ab-6bafef26a4d1; [email protected]; intercom-id-y10e7138=50e190b7-b24e-4bef-b320-3c47a3c91006; amplitude_id_fef1e872c952688acd962d30aa545b9eappsmith.com=eyJkZXZpY2VJZCI6IjIxNWJlMWRkLTNjMGQtNDY5NS05YzRmLTFjYTM4MjNhNzM5NlIiLCJ1c2VySWQiOm51bGwsIm9wdE91dCI6ZmFsc2UsInNlc3Npb25JZCI6MTYzNjI1ODEwMjkyNCwibGFzdEV2ZW50VGltZSI6MTYzNjI1ODEwMzE3MywiZXZlbnRJZCI6NSwiaWRlbnRpZnlJZCI6MSwic2VxdWVuY2VOdW1iZXIiOjZ9; _ga=GA1.2.526957763.1633412376; _gid=GA1.2.1610516593.1636258104; _ga_0JZ9C3M56S=GS1.1.1636258103.3.1.1636258646.0; SESSION=09ae7c78-ca84-4a38-916a-f282893efb40; mp_70b8ea94d623dd857fb555a76d11f944_mixpanel=%7B%22distinct_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24device_id%22%3A%20%2217c91e75170277-051d4ff86c77bb-1d3b6650-168000-17c91e75171dc2%22%2C%22%24initial_referrer%22%3A%20%22%24direct%22%2C%22%24initial_referring_domain%22%3A%20%22%24direct%22%2C%22mp_lib%22%3A%20%22Segment%3A%20web%22%2C%22%24user_id%22%3A%20%22nidhi%40appsmith.com%22%2C%22mp_name_tag%22%3A%20%22nidhi%40appsmith.com%22%2C%22userId%22%3A%20%22nidhi%40appsmith.com%22%2C%22source%22%3A%20%22cloud%22%2C%22id%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24email%22%3A%20%22nidhi%40appsmith.com%22%2C%22%24first_name%22%3A%20%22Nidhi%22%2C%22%24last_name%22%3A%20%22Nair%22%2C%22%24name%22%3A%20%22Nidhi%20Nair%22%7D; SL_C_23361dd035530_SID=3VIjO5jKCt; intercom-session-y10e7138=WnhwMVl4VmVIUDFPVkgxUDVidm8wOXUzNjZ2elJ0OWx2a21Qc3NCYk1zenNEa0dzMkswWFlpanM4YXNxY2pQYi0taFpkWkR6K0xLUFJyUVFRSkMwZ3pUUT09--376a7fef0d7774b3284b94fb4c1ea1c8e2305afe; _hjAbsoluteSessionInProgress=1","key":"Cookie"}],"paginationType":"NONE","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"httpMethod":"GET","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"Admin","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"deleted":false,"pluginId":"restapi-plugin","name":"Appsmith Release","policies":[],"messages":[],"id":"Appsmith Release","userPermissions":[],"isAutoGenerated":false},"name":"get_user","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb773acd5d7045095322ff"},{"pluginType":"JS","unpublishedAction":{"userSetOnLoad":true,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","jsArguments":[],"selfReferencingDataPaths":[],"isAsync":true,"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}"},"policies":[],"userPermissions":[],"fullyQualifiedName":"Utils.myFun2","pageId":"Admin","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}"],"datasource":{"organizationId":"6171a062b7de236aa183ee0e","deleted":false,"pluginId":"js-plugin","name":"UNUSED_DATASOURCE","policies":[],"messages":[],"userPermissions":[],"isAutoGenerated":false},"clientSideExecution":true,"name":"myFun2","messages":[],"collectionId":"Admin_Utils"},"deleted":false,"pluginId":"js-plugin","id":"Admin_Utils.myFun2","publishedAction":{"userSetOnLoad":true,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","jsArguments":[],"selfReferencingDataPaths":[],"isAsync":true,"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}"},"policies":[],"userPermissions":[],"fullyQualifiedName":"Utils.myFun2","pageId":"Admin","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}"],"datasource":{"organizationId":"6171a062b7de236aa183ee0e","deleted":false,"pluginId":"js-plugin","name":"UNUSED_DATASOURCE","policies":[],"messages":[],"userPermissions":[],"isAutoGenerated":false},"clientSideExecution":true,"name":"myFun2","messages":[],"collectionId":"Admin_Utils"},"gitSyncId":"61764fbeba7e887d03bc3631_624e8fab729a2b0934685de0"},{"pluginType":"API","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/pages/crud-page","headers":[{"value":"application/json","key":"Content-Type"},{"value":"SESSION=8672681f-c3dc-4373-8503-ccbe30aae89d;","key":"Cookie"}],"paginationType":"PAGE_NO","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n \"tableName\": \"{{tableName_input.text}}\",\n \"datasourceId\": \"{{datasource_input.text}}\",\n \"applicationId\" : \"{{app_input.text}}\",\n\t\t\"searchColumn\": \"{{search_col_input.text}}\",\n\t\t\"columns\": \"{{select_cols_input.text}}\"\n}","httpMethod":"POST"},"policies":[],"userPermissions":[],"pageId":"Page Generator","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["app_input.text","datasource_input.text","search_col_input.text","select_cols_input.text","tableName_input.text"],"datasource":{"organizationId":"6171a062b7de236aa183ee0e","invalids":[],"deleted":false,"pluginId":"restapi-plugin","name":"DEFAULT_REST_DATASOURCE","policies":[],"messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://release.app.appsmith.com"},"isAutoGenerated":false},"name":"generate_sql_app","messages":[]},"deleted":false,"pluginId":"restapi-plugin","id":"Page Generator_generate_sql_app","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/pages/crud-page","headers":[{"value":"application/json","key":"Content-Type"},{"value":"SESSION=8672681f-c3dc-4373-8503-ccbe30aae89d;","key":"Cookie"}],"paginationType":"PAGE_NO","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n \"tableName\": \"{{tableName_input.text}}\",\n \"datasourceId\": \"{{datasource_input.text}}\",\n \"applicationId\" : \"{{app_input.text}}\",\n\t\t\"searchColumn\": \"{{search_col_input.text}}\",\n\t\t\"columns\": \"{{select_cols_input.text}}\"\n}","httpMethod":"POST"},"policies":[],"userPermissions":[],"pageId":"Page Generator","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["app_input.text","datasource_input.text","search_col_input.text","select_cols_input.text","tableName_input.text"],"datasource":{"organizationId":"6171a062b7de236aa183ee0e","invalids":[],"deleted":false,"pluginId":"restapi-plugin","name":"DEFAULT_REST_DATASOURCE","policies":[],"messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://release.app.appsmith.com"},"isAutoGenerated":false},"name":"generate_sql_app","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f05"},{"pluginType":"API","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/pages/crud-page","headers":[{"value":"application/json","key":"Content-Type"},{"value":"SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc","key":"Cookie"}],"paginationType":"PAGE_NO","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]}}\",\n \"applicationId\" : \"untitled-application-1\",\n\t\t\"searchColumn\" : \"{{search_keys_input.text}}\"\n}","httpMethod":"POST"},"policies":[],"userPermissions":[],"pageId":"Page Generator","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["collection_input.text","mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]","search_keys_input.text"],"datasource":{"organizationId":"6171a062b7de236aa183ee0e","invalids":[],"deleted":false,"pluginId":"restapi-plugin","name":"DEFAULT_REST_DATASOURCE","policies":[],"messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://release.app.appsmith.com"},"isAutoGenerated":false},"name":"generate_mongo_app","messages":[]},"deleted":false,"pluginId":"restapi-plugin","id":"Page Generator_generate_mongo_app","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/pages/crud-page","headers":[{"value":"application/json","key":"Content-Type"},{"value":"SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc","key":"Cookie"}],"paginationType":"PAGE_NO","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]}}\",\n \"applicationId\" : \"untitled-application-1\",\n\t\t\"searchColumn\" : \"{{search_keys_input.text}}\"\n}","httpMethod":"POST"},"policies":[],"userPermissions":[],"pageId":"Page Generator","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["collection_input.text","mongo_ds_url.text.split(\"datasource/\")[1].split(\"?\" || \"/\")[0]","search_keys_input.text"],"datasource":{"organizationId":"6171a062b7de236aa183ee0e","invalids":[],"deleted":false,"pluginId":"restapi-plugin","name":"DEFAULT_REST_DATASOURCE","policies":[],"messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://release.app.appsmith.com"},"isAutoGenerated":false},"name":"generate_mongo_app","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0a"},{"pluginType":"API","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/pages/crud-page","headers":[{"value":"application/json","key":"Content-Type"},{"value":"SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc","key":"Cookie"}],"paginationType":"PAGE_NO","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]}}\",\n \"applicationId\" : \"{{gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]}}\"\n}","httpMethod":"POST"},"policies":[],"userPermissions":[],"pageId":"Page Generator","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["collection_input.text","gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]","gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]"],"datasource":{"organizationId":"6171a062b7de236aa183ee0e","invalids":[],"deleted":false,"pluginId":"restapi-plugin","name":"DEFAULT_REST_DATASOURCE","policies":[],"messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://release.app.appsmith.com"},"isAutoGenerated":false},"name":"generate_gsheet_app","messages":[]},"deleted":false,"pluginId":"restapi-plugin","id":"Page Generator_generate_gsheet_app","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"/api/v1/pages/crud-page","headers":[{"value":"application/json","key":"Content-Type"},{"value":"SESSION=691d7061-6eb8-4483-af91-b6e5de0692cc","key":"Cookie"}],"paginationType":"PAGE_NO","queryParameters":[],"selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"{\n \"tableName\": \"{{collection_input.text}}\",\n \"datasourceId\": \"{{gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]}}\",\n \"applicationId\" : \"{{gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]}}\"\n}","httpMethod":"POST"},"policies":[],"userPermissions":[],"pageId":"Page Generator","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["collection_input.text","gsheet_ds_input.text.split(\"applications/\")[1].split(\"/\")[0]","gsheet_ds_input.text.split(\"datasources/\")[1].split(\"/\" || \"?\")[0]"],"datasource":{"organizationId":"6171a062b7de236aa183ee0e","invalids":[],"deleted":false,"pluginId":"restapi-plugin","name":"DEFAULT_REST_DATASOURCE","policies":[],"messages":[],"userPermissions":[],"datasourceConfiguration":{"url":"https://release.app.appsmith.com"},"isAutoGenerated":false},"name":"generate_gsheet_app","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0b"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"query":{"data":"{ _id: ObjectId('{{data_table.selectedRow._id}}') }","viewType":"component","componentData":"{ _id: ObjectId('{{data_table.selectedRow._id}}') }"},"limit":{"data":"SINGLE","viewType":"component","componentData":"SINGLE"},"update":{"data":"{\n $set:{{update_form.formData}}\n}","viewType":"component","componentData":"{\n \"col1\" : {{update_col_1.text}},\n\t\"col2\" : {{update_col_2.text}},\n \"col3\" : {{update_col_3.text}},\n \"col4\" : {{update_col_4.text}}\n}"}},"find":{"query":{"data":""},"limit":{"data":""},"skip":{"data":""},"sort":{"data":""},"projection":{"data":""}},"count":{"query":{"data":""}},"distinct":{"query":{"data":""},"key":{"data":""}},"insert":{"documents":{"data":""}},"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"delete":{"query":{"data":""},"limit":{"data":"SINGLE"}},"command":{"data":"UPDATE","viewType":"component","componentData":"UPDATE"},"aggregate":{"limit":{"data":"10"},"arrayPipelines":{"data":""}},"misc":{"formToNativeQuery":{"data":"{\n \"update\": \"template_table\",\n \"updates\": [{\n \"q\": { _id: ObjectId('{{data_table.selectedRow._id}}') },\n \"u\": {\n $set:{{update_form.formData}}\n},\n \"multi\": false,\n }]\n}\n","status":"SUCCESS"}},"smartSubstitution":{"data":true,"viewType":"component","componentData":true}}},"policies":[],"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[{"key":"formData.updateMany.update.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow._id","update_col_1.text","update_col_2.text","update_col_3.text","update_col_4.text","update_form.formData"],"datasource":{"deleted":false,"pluginId":"mongo-plugin","name":"Mock_Mongo","policies":[],"messages":[],"id":"Mock_Mongo","userPermissions":[],"isAutoGenerated":false},"name":"UpdateQuery","messages":[]},"deleted":false,"pluginId":"mongo-plugin","id":"MongoDB_UpdateQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"query":{"data":"{ _id: ObjectId('{{data_table.selectedRow._id}}') }","viewType":"component","componentData":"{ _id: ObjectId('{{data_table.selectedRow._id}}') }"},"limit":{"data":"SINGLE","viewType":"component","componentData":"SINGLE"},"update":{"data":"{\n $set:{{update_form.formData}}\n}","viewType":"component","componentData":"{\n \"col1\" : {{update_col_1.text}},\n\t\"col2\" : {{update_col_2.text}},\n \"col3\" : {{update_col_3.text}},\n \"col4\" : {{update_col_4.text}}\n}"}},"find":{"query":{"data":""},"limit":{"data":""},"skip":{"data":""},"sort":{"data":""},"projection":{"data":""}},"count":{"query":{"data":""}},"distinct":{"query":{"data":""},"key":{"data":""}},"insert":{"documents":{"data":""}},"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"delete":{"query":{"data":""},"limit":{"data":"SINGLE"}},"command":{"data":"UPDATE","viewType":"component","componentData":"UPDATE"},"aggregate":{"limit":{"data":"10"},"arrayPipelines":{"data":""}},"misc":{"formToNativeQuery":{"data":"{\n \"update\": \"template_table\",\n \"updates\": [{\n \"q\": { _id: ObjectId('{{data_table.selectedRow._id}}') },\n \"u\": {\n $set:{{update_form.formData}}\n},\n \"multi\": false,\n }]\n}\n","status":"SUCCESS"}},"smartSubstitution":{"data":true,"viewType":"component","componentData":true}}},"policies":[],"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[{"key":"formData.updateMany.update.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow._id","update_col_1.text","update_col_2.text","update_col_3.text","update_col_4.text","update_form.formData"],"datasource":{"deleted":false,"pluginId":"mongo-plugin","name":"Mock_Mongo","policies":[],"messages":[],"id":"Mock_Mongo","userPermissions":[],"isAutoGenerated":false},"name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f08"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"insert":{"documents":{"data":"{{insert_form.formData}}","viewType":"component","componentData":"{\n \"col1\": {{insert_col_input1.text}}, \n \"col2\": {{insert_col_input2.text}}, \n \"col3\": {{insert_col_input3.text}}, \n \"col4\": {{insert_col_input4.text}}\n}"}},"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"command":{"data":"INSERT","viewType":"component","componentData":"INSERT"},"misc":{"formToNativeQuery":{"data":"{\n \"insert\": \"template_table\",\n \"documents\": {{insert_form.formData}}\n}\n","status":"SUCCESS"}},"smartSubstitution":{"data":true,"viewType":"component","componentData":true}}},"policies":[],"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[{"key":"formData.insert.documents.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input2.text","insert_col_input3.text","insert_col_input4.text","insert_form.formData"],"datasource":{"deleted":false,"pluginId":"mongo-plugin","policies":[],"messages":[],"id":"Mock_Mongo","userPermissions":[],"isAutoGenerated":false},"name":"InsertQuery","messages":[]},"deleted":false,"pluginId":"mongo-plugin","id":"MongoDB_InsertQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"insert":{"documents":{"data":"{{insert_form.formData}}","viewType":"component","componentData":"{\n \"col1\": {{insert_col_input1.text}}, \n \"col2\": {{insert_col_input2.text}}, \n \"col3\": {{insert_col_input3.text}}, \n \"col4\": {{insert_col_input4.text}}\n}"}},"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"command":{"data":"INSERT","viewType":"component","componentData":"INSERT"},"misc":{"formToNativeQuery":{"data":"{\n \"insert\": \"template_table\",\n \"documents\": {{insert_form.formData}}\n}\n","status":"SUCCESS"}},"smartSubstitution":{"data":true,"viewType":"component","componentData":true}}},"policies":[],"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[{"key":"formData.insert.documents.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input2.text","insert_col_input3.text","insert_col_input4.text","insert_form.formData"],"datasource":{"deleted":false,"pluginId":"mongo-plugin","policies":[],"messages":[],"id":"Mock_Mongo","userPermissions":[],"isAutoGenerated":false},"name":"InsertQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f09"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"query":{"data":""},"limit":{"data":"SINGLE"},"update":{"data":""}},"find":{"query":{"data":"{ col2: /{{data_table.searchText||\"\"}}/i }","viewType":"component","componentData":"{ col2: /{{data_table.searchText||\"\"}}/i }"},"limit":{"data":"{{data_table.pageSize}}","viewType":"component","componentData":"{{data_table.pageSize}}"},"skip":{"data":"{{(data_table.pageNo - 1) * data_table.pageSize}}","viewType":"component","componentData":"{{(data_table.pageNo - 1) * data_table.pageSize}}"},"sort":{"data":"{ \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n}","viewType":"component","componentData":"{ \n{{key_select.selectedOptionValue}}: {{order_select.selectedOptionValue}} \n}"},"projection":{"data":""}},"count":{"query":{"data":""}},"distinct":{"query":{"data":""},"key":{"data":""}},"insert":{"documents":{"data":""}},"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"delete":{"query":{"data":""},"limit":{"data":"SINGLE"}},"command":{"data":"FIND","viewType":"component","componentData":"FIND"},"aggregate":{"limit":{"data":"10"},"arrayPipelines":{"data":""}},"misc":{"formToNativeQuery":{"data":"{\n \"find\": \"template_table\",\n \"filter\": { col2: /{{data_table.searchText||\"\"}}/i },\n \"sort\": { \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n},\n \"skip\": {{(data_table.pageNo - 1) * data_table.pageSize}},\n \"limit\": {{data_table.pageSize}},\n \"batchSize\": {{data_table.pageSize}}\n}\n","status":"SUCCESS"}},"smartSubstitution":{"data":false,"viewType":"component","componentData":false}}},"policies":[],"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[{"key":"formData.find.sort.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize","data_table.searchText||\"\"","data_table.sortOrder.column || 'col1'","data_table.sortOrder.order == \"desc\" ? -1 : 1","key_select.selectedOptionValue","order_select.selectedOptionValue"],"datasource":{"deleted":false,"pluginId":"mongo-plugin","name":"Mock_Mongo","policies":[],"messages":[],"id":"Mock_Mongo","userPermissions":[],"isAutoGenerated":false},"name":"FindQuery","messages":[]},"deleted":false,"pluginId":"mongo-plugin","id":"MongoDB_FindQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"updateMany":{"query":{"data":""},"limit":{"data":"SINGLE"},"update":{"data":""}},"find":{"query":{"data":"{ col2: /{{data_table.searchText||\"\"}}/i }","viewType":"component","componentData":"{ col2: /{{data_table.searchText||\"\"}}/i }"},"limit":{"data":"{{data_table.pageSize}}","viewType":"component","componentData":"{{data_table.pageSize}}"},"skip":{"data":"{{(data_table.pageNo - 1) * data_table.pageSize}}","viewType":"component","componentData":"{{(data_table.pageNo - 1) * data_table.pageSize}}"},"sort":{"data":"{ \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n}","viewType":"component","componentData":"{ \n{{key_select.selectedOptionValue}}: {{order_select.selectedOptionValue}} \n}"},"projection":{"data":""}},"count":{"query":{"data":""}},"distinct":{"query":{"data":""},"key":{"data":""}},"insert":{"documents":{"data":""}},"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"delete":{"query":{"data":""},"limit":{"data":"SINGLE"}},"command":{"data":"FIND","viewType":"component","componentData":"FIND"},"aggregate":{"limit":{"data":"10"},"arrayPipelines":{"data":""}},"misc":{"formToNativeQuery":{"data":"{\n \"find\": \"template_table\",\n \"filter\": { col2: /{{data_table.searchText||\"\"}}/i },\n \"sort\": { \n{{data_table.sortOrder.column || 'col1'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}} \n},\n \"skip\": {{(data_table.pageNo - 1) * data_table.pageSize}},\n \"limit\": {{data_table.pageSize}},\n \"batchSize\": {{data_table.pageSize}}\n}\n","status":"SUCCESS"}},"smartSubstitution":{"data":false,"viewType":"component","componentData":false}}},"policies":[],"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[{"key":"formData.find.sort.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize","data_table.searchText||\"\"","data_table.sortOrder.column || 'col1'","data_table.sortOrder.order == \"desc\" ? -1 : 1","key_select.selectedOptionValue","order_select.selectedOptionValue"],"datasource":{"deleted":false,"pluginId":"mongo-plugin","name":"Mock_Mongo","policies":[],"messages":[],"id":"Mock_Mongo","userPermissions":[],"isAutoGenerated":false},"name":"FindQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f06"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"template_table/{{data_table.selectedRow._ref}}","paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"delete":{"query":{"data":"{ _id: ObjectId('{{data_table.triggeredRow._id}}') }","viewType":"component","componentData":"{ _id: ObjectId('{{data_table.triggeredRow._id}}') }"},"limit":{"data":"SINGLE","viewType":"component","componentData":"SINGLE"}},"command":{"data":"DELETE","viewType":"component","componentData":"DELETE"},"smartSubstitution":{"data":true,"viewType":"component","componentData":true}}},"policies":[],"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow._ref","data_table.triggeredRow._id"],"datasource":{"deleted":false,"pluginId":"mongo-plugin","policies":[],"messages":[],"id":"Mock_Mongo","userPermissions":[],"isAutoGenerated":false},"name":"DeleteQuery","messages":[]},"deleted":false,"pluginId":"mongo-plugin","id":"MongoDB_DeleteQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"path":"template_table/{{data_table.selectedRow._ref}}","paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"collection":{"data":"template_table","viewType":"component","componentData":"template_table"},"delete":{"query":{"data":"{ _id: ObjectId('{{data_table.triggeredRow._id}}') }","viewType":"component","componentData":"{ _id: ObjectId('{{data_table.triggeredRow._id}}') }"},"limit":{"data":"SINGLE","viewType":"component","componentData":"SINGLE"}},"command":{"data":"DELETE","viewType":"component","componentData":"DELETE"},"smartSubstitution":{"data":true,"viewType":"component","componentData":true}}},"policies":[],"userPermissions":[],"pageId":"MongoDB","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow._ref","data_table.triggeredRow._id"],"datasource":{"deleted":false,"pluginId":"mongo-plugin","policies":[],"messages":[],"id":"Mock_Mongo","userPermissions":[],"isAutoGenerated":false},"name":"DeleteQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f07"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{}","viewType":"component","componentData":"{}"},"path":{"data":"{{data_table.selectedRow._ref.path}}","viewType":"component","componentData":"{{data_table.selectedRow._ref.path}}"},"prev":{"data":"{}","viewType":"component","componentData":"{}"},"orderBy":{"data":"FORM","viewType":"component","componentData":"FORM"},"limitDocuments":{"data":"UPDATE","viewType":"component","componentData":"UPDATE"},"body":{"data":"{{update_form.formData}}","viewType":"component","componentData":"{\n\t\"col1\": \"{{update_col_1.text}}\",\n\t\"col2\": \"{{update_col_2.text}}\",\n\t\"col3\": \"{{update_col_3.text}}\",\n\t\"col4\": \"{{update_col_4.text}}\",\n\t\"col5\": \"{{update_col_5.text}}\"\n}"},"command":{"data":"UPDATE_DOCUMENT","viewType":"component","componentData":"UPDATE_DOCUMENT"},"smartSubstitution":"false"}},"policies":[],"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.body.data"},{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow._ref.path","update_col_1.text","update_col_2.text","update_col_3.text","update_col_4.text","update_col_5.text","update_form.formData"],"datasource":{"deleted":false,"pluginId":"firestore-plugin","name":"FBTemplateDB","policies":[],"messages":[],"id":"FBTemplateDB","userPermissions":[],"isAutoGenerated":false},"name":"UpdateQuery","messages":[]},"deleted":false,"pluginId":"firestore-plugin","id":"Firestore_UpdateQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{}","viewType":"component","componentData":"{}"},"path":{"data":"{{data_table.selectedRow._ref.path}}","viewType":"component","componentData":"{{data_table.selectedRow._ref.path}}"},"prev":{"data":"{}","viewType":"component","componentData":"{}"},"orderBy":{"data":"FORM","viewType":"component","componentData":"FORM"},"limitDocuments":{"data":"UPDATE","viewType":"component","componentData":"UPDATE"},"body":{"data":"{{update_form.formData}}","viewType":"component","componentData":"{\n\t\"col1\": \"{{update_col_1.text}}\",\n\t\"col2\": \"{{update_col_2.text}}\",\n\t\"col3\": \"{{update_col_3.text}}\",\n\t\"col4\": \"{{update_col_4.text}}\",\n\t\"col5\": \"{{update_col_5.text}}\"\n}"},"command":{"data":"UPDATE_DOCUMENT","viewType":"component","componentData":"UPDATE_DOCUMENT"},"smartSubstitution":"false"}},"policies":[],"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.body.data"},{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow._ref.path","update_col_1.text","update_col_2.text","update_col_3.text","update_col_4.text","update_col_5.text","update_form.formData"],"datasource":{"deleted":false,"pluginId":"firestore-plugin","name":"FBTemplateDB","policies":[],"messages":[],"id":"FBTemplateDB","userPermissions":[],"isAutoGenerated":false},"name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f0f"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{{data_table.tableData[data_table.tableData.length - 1]}}","viewType":"component","componentData":"{{SelectQuery.data[SelectQuery.data.length - 1]}}"},"path":{"data":"template_table","viewType":"component","componentData":"template_table"},"timestampValuePath":{"data":"","viewType":"component","componentData":""},"startAfter":{"data":"{{SelectQuery.data[SelectQuery.data.length - 1]}}","viewType":"component","componentData":"{{SelectQuery.data[SelectQuery.data.length - 1]}}"},"endBefore":{"data":"{{SelectQuery.data[0]}}","viewType":"component","componentData":"{{SelectQuery.data[0]}}"},"deleteKeyPath":{"data":"","viewType":"component","componentData":""},"prev":{"data":"{{data_table.tableData[0]}} ","viewType":"component","componentData":"{{SelectQuery.data[0]}}"},"orderBy":{"data":"[\"{{(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')}}\"]","viewType":"component","componentData":"[\"{{order_select.selectedOptionValue + key_select.selectedOptionValue}}\"]"},"where":{"data":{"children":[{"condition":"EQ"}]},"viewType":"component"},"limitDocuments":{"data":"{{data_table.pageSize}}","viewType":"component","componentData":"1"},"command":{"data":"GET_COLLECTION","viewType":"component","componentData":"GET_COLLECTION"},"smartSubstitution":"false"}},"policies":[],"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.startAfter.data"},{"key":"formData.endBefore.data"},{"key":"formData.orderBy.data"},{"key":"formData.next.data"},{"key":"formData.prev.data"},{"key":"formData.limitDocuments.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')","SelectQuery.data[0]","SelectQuery.data[SelectQuery.data.length - 1]","data_table.pageSize","data_table.tableData[0]","data_table.tableData[data_table.tableData.length - 1]","order_select.selectedOptionValue + key_select.selectedOptionValue"],"datasource":{"deleted":false,"pluginId":"firestore-plugin","name":"FBTemplateDB","policies":[],"messages":[],"id":"FBTemplateDB","userPermissions":[],"isAutoGenerated":false},"name":"SelectQuery","messages":[]},"deleted":false,"pluginId":"firestore-plugin","id":"Firestore_SelectQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{{data_table.tableData[data_table.tableData.length - 1]}}","viewType":"component","componentData":"{{SelectQuery.data[SelectQuery.data.length - 1]}}"},"path":{"data":"template_table","viewType":"component","componentData":"template_table"},"timestampValuePath":{"data":"","viewType":"component","componentData":""},"startAfter":{"data":"{{SelectQuery.data[SelectQuery.data.length - 1]}}","viewType":"component","componentData":"{{SelectQuery.data[SelectQuery.data.length - 1]}}"},"endBefore":{"data":"{{SelectQuery.data[0]}}","viewType":"component","componentData":"{{SelectQuery.data[0]}}"},"deleteKeyPath":{"data":"","viewType":"component","componentData":""},"prev":{"data":"{{data_table.tableData[0]}} ","viewType":"component","componentData":"{{SelectQuery.data[0]}}"},"orderBy":{"data":"[\"{{(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')}}\"]","viewType":"component","componentData":"[\"{{order_select.selectedOptionValue + key_select.selectedOptionValue}}\"]"},"where":{"data":{"children":[{"condition":"EQ"}]},"viewType":"component"},"limitDocuments":{"data":"{{data_table.pageSize}}","viewType":"component","componentData":"1"},"command":{"data":"GET_COLLECTION","viewType":"component","componentData":"GET_COLLECTION"},"smartSubstitution":"false"}},"policies":[],"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.startAfter.data"},{"key":"formData.endBefore.data"},{"key":"formData.orderBy.data"},{"key":"formData.next.data"},{"key":"formData.prev.data"},{"key":"formData.limitDocuments.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')","SelectQuery.data[0]","SelectQuery.data[SelectQuery.data.length - 1]","data_table.pageSize","data_table.tableData[0]","data_table.tableData[data_table.tableData.length - 1]","order_select.selectedOptionValue + key_select.selectedOptionValue"],"datasource":{"deleted":false,"pluginId":"firestore-plugin","name":"FBTemplateDB","policies":[],"messages":[],"id":"FBTemplateDB","userPermissions":[],"isAutoGenerated":false},"name":"SelectQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f12"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{}","viewType":"component","componentData":"{}"},"path":{"data":"{{data_table.triggeredRow._ref.path}}","viewType":"component","componentData":"{{data_table.triggeredRow._ref.path}}"},"prev":{"data":"{}","viewType":"component","componentData":"{}"},"orderBy":{"data":"FORM","viewType":"component","componentData":"FORM"},"limitDocuments":{"data":"DELETE","viewType":"component","componentData":"DELETE"},"command":{"data":"DELETE_DOCUMENT","viewType":"component","componentData":"DELETE_DOCUMENT"},"smartSubstitution":"false"}},"policies":[],"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow._ref.path"],"datasource":{"deleted":false,"pluginId":"firestore-plugin","name":"FBTemplateDB","policies":[],"messages":[],"id":"FBTemplateDB","userPermissions":[],"isAutoGenerated":false},"name":"DeleteQuery","messages":[]},"deleted":false,"pluginId":"firestore-plugin","id":"Firestore_DeleteQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{}","viewType":"component","componentData":"{}"},"path":{"data":"{{data_table.triggeredRow._ref.path}}","viewType":"component","componentData":"{{data_table.triggeredRow._ref.path}}"},"prev":{"data":"{}","viewType":"component","componentData":"{}"},"orderBy":{"data":"FORM","viewType":"component","componentData":"FORM"},"limitDocuments":{"data":"DELETE","viewType":"component","componentData":"DELETE"},"command":{"data":"DELETE_DOCUMENT","viewType":"component","componentData":"DELETE_DOCUMENT"},"smartSubstitution":"false"}},"policies":[],"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.path.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow._ref.path"],"datasource":{"deleted":false,"pluginId":"firestore-plugin","name":"FBTemplateDB","policies":[],"messages":[],"id":"FBTemplateDB","userPermissions":[],"isAutoGenerated":false},"name":"DeleteQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f10"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{}","viewType":"component","componentData":"{}"},"path":{"data":"template_table","viewType":"component","componentData":"template_table"},"prev":{"data":"{}","viewType":"component","componentData":"{}"},"orderBy":{"data":"FORM","viewType":"component","componentData":"FORM"},"limitDocuments":{"data":"INSERT","viewType":"component","componentData":"INSERT"},"body":{"data":"{{insert_form.formData}}","viewType":"component","componentData":"{\n\t\"col1\": \"{{insert_col_input1.text}}\",\n\t\"col2\": \"{{insert_col_input2.text}}\",\n\t\"col3\": \"{{insert_col_input3.text}}\",\n\t\"col4\": \"{{insert_col_input4.text}}\",\n\t\"col5\": \"{{insert_col_input5.text}}\"\n}"},"command":{"data":"ADD_TO_COLLECTION","viewType":"component","componentData":"ADD_TO_COLLECTION"},"smartSubstitution":"false"}},"policies":[],"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.body.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input2.text","insert_col_input3.text","insert_col_input4.text","insert_col_input5.text","insert_form.formData"],"datasource":{"deleted":false,"pluginId":"firestore-plugin","policies":[],"messages":[],"id":"FBTemplateDB","userPermissions":[],"isAutoGenerated":false},"name":"InsertQuery","messages":[]},"deleted":false,"pluginId":"firestore-plugin","id":"Firestore_InsertQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"formData":{"next":{"data":"{}","viewType":"component","componentData":"{}"},"path":{"data":"template_table","viewType":"component","componentData":"template_table"},"prev":{"data":"{}","viewType":"component","componentData":"{}"},"orderBy":{"data":"FORM","viewType":"component","componentData":"FORM"},"limitDocuments":{"data":"INSERT","viewType":"component","componentData":"INSERT"},"body":{"data":"{{insert_form.formData}}","viewType":"component","componentData":"{\n\t\"col1\": \"{{insert_col_input1.text}}\",\n\t\"col2\": \"{{insert_col_input2.text}}\",\n\t\"col3\": \"{{insert_col_input3.text}}\",\n\t\"col4\": \"{{insert_col_input4.text}}\",\n\t\"col5\": \"{{insert_col_input5.text}}\"\n}"},"command":{"data":"ADD_TO_COLLECTION","viewType":"component","componentData":"ADD_TO_COLLECTION"},"smartSubstitution":"false"}},"policies":[],"userPermissions":[],"pageId":"Firestore","invalids":[],"dynamicBindingPathList":[{"key":"formData.body.data"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_col_input1.text","insert_col_input2.text","insert_col_input3.text","insert_col_input4.text","insert_col_input5.text","insert_form.formData"],"datasource":{"deleted":false,"pluginId":"firestore-plugin","policies":[],"messages":[],"id":"FBTemplateDB","userPermissions":[],"isAutoGenerated":false},"name":"InsertQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f11"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"keys *"},"policies":[],"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"deleted":false,"pluginId":"redis-plugin","name":"RedisTemplateApps","policies":[],"messages":[],"id":"RedisTemplateApps","userPermissions":[],"isAutoGenerated":false},"name":"FetchKeys","messages":[]},"deleted":false,"pluginId":"redis-plugin","id":"Redis_FetchKeys","publishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"keys *"},"policies":[],"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[],"confirmBeforeExecute":false,"jsonPathKeys":[],"datasource":{"deleted":false,"pluginId":"redis-plugin","name":"RedisTemplateApps","policies":[],"messages":[],"id":"RedisTemplateApps","userPermissions":[],"isAutoGenerated":false},"name":"FetchKeys","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f13"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"set {{insert_key_input.text}} \"{{insert_value_input.text}}\""},"policies":[],"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_key_input.text","insert_value_input.text"],"datasource":{"deleted":false,"pluginId":"redis-plugin","policies":[],"messages":[],"id":"RedisTemplateApps","userPermissions":[],"isAutoGenerated":false},"name":"InsertKey","messages":[]},"deleted":false,"pluginId":"redis-plugin","id":"Redis_InsertKey","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"set {{insert_key_input.text}} \"{{insert_value_input.text}}\""},"policies":[],"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_key_input.text","insert_value_input.text"],"datasource":{"deleted":false,"pluginId":"redis-plugin","policies":[],"messages":[],"id":"RedisTemplateApps","userPermissions":[],"isAutoGenerated":false},"name":"InsertKey","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f14"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"set {{data_table.selectedRow.result}} \"{{update_value_input.text}}\""},"policies":[],"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.result","update_value_input.text"],"datasource":{"deleted":false,"pluginId":"redis-plugin","policies":[],"messages":[],"id":"RedisTemplateApps","userPermissions":[],"isAutoGenerated":false},"name":"UpdateKey","messages":[]},"deleted":false,"pluginId":"redis-plugin","id":"Redis_UpdateKey","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"set {{data_table.selectedRow.result}} \"{{update_value_input.text}}\""},"policies":[],"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.result","update_value_input.text"],"datasource":{"deleted":false,"pluginId":"redis-plugin","policies":[],"messages":[],"id":"RedisTemplateApps","userPermissions":[],"isAutoGenerated":false},"name":"UpdateKey","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f15"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"del {{data_table.triggeredRow.result}}"},"policies":[],"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow.result"],"datasource":{"deleted":false,"pluginId":"redis-plugin","policies":[],"messages":[],"id":"RedisTemplateApps","userPermissions":[],"isAutoGenerated":false},"name":"DeleteKey","messages":[]},"deleted":false,"pluginId":"redis-plugin","id":"Redis_DeleteKey","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"del {{data_table.triggeredRow.result}}"},"policies":[],"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow.result"],"datasource":{"deleted":false,"pluginId":"redis-plugin","policies":[],"messages":[],"id":"RedisTemplateApps","userPermissions":[],"isAutoGenerated":false},"name":"DeleteKey","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f16"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"GET {{data_table.selectedRow.result}}"},"policies":[],"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.result"],"datasource":{"deleted":false,"pluginId":"redis-plugin","policies":[],"messages":[],"id":"RedisTemplateApps","userPermissions":[],"isAutoGenerated":false},"name":"FetchValue","messages":[]},"deleted":false,"pluginId":"redis-plugin","id":"Redis_FetchValue","publishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"GET {{data_table.selectedRow.result}}"},"policies":[],"userPermissions":[],"pageId":"Redis","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.result"],"datasource":{"deleted":false,"pluginId":"redis-plugin","policies":[],"messages":[],"id":"RedisTemplateApps","userPermissions":[],"isAutoGenerated":false},"name":"FetchValue","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f17"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"SELECT * FROM public.template_table\nWHERE \"col2\" ilike '%{{data_table.searchText || \"\"}}%'\nORDER BY \"{{data_table.sortOrder.column || 'col1'}}\" {{data_table.sortOrder.order || 'ASC'}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"policies":[],"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize","data_table.searchText || \"\"","data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || 'ASC'"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"SelectQuery","messages":[]},"deleted":false,"pluginId":"postgres-plugin","id":"PostgreSQL_SelectQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":true,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"SELECT * FROM public.template_table\nWHERE \"col2\" ilike '%{{data_table.searchText || \"\"}}%'\nORDER BY \"{{data_table.sortOrder.column || 'col1'}}\" {{data_table.sortOrder.order || 'ASC'}}\nLIMIT {{data_table.pageSize}}\nOFFSET {{(data_table.pageNo - 1) * data_table.pageSize}};","pluginSpecifiedTemplates":[{"value":false}]},"policies":[],"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize","data_table.searchText || \"\"","data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || 'ASC'"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"SelectQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f1a"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"INSERT INTO public.template_table (\n\t\"col1\",\n\t\"col2\",\n\t\"col3\",\n\t\"col4\",\n\t\"col5\",\n\t\"col6\",\n\t\"col7\",\n\t\"col8\",\n\t\"col9\",\n\t\"col10\",\n\t\"col11\",\n\t\"col12\"\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_form.formData.col1","insert_form.formData.col10","insert_form.formData.col11","insert_form.formData.col12","insert_form.formData.col2","insert_form.formData.col3","insert_form.formData.col4","insert_form.formData.col5","insert_form.formData.col6","insert_form.formData.col7","insert_form.formData.col8","insert_form.formData.col9"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"InsertQuery","messages":[]},"deleted":false,"pluginId":"postgres-plugin","id":"PostgreSQL_InsertQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"INSERT INTO public.template_table (\n\t\"col1\",\n\t\"col2\",\n\t\"col3\",\n\t\"col4\",\n\t\"col5\",\n\t\"col6\",\n\t\"col7\",\n\t\"col8\",\n\t\"col9\",\n\t\"col10\",\n\t\"col11\",\n\t\"col12\"\n)\nVALUES (\n\t'{{insert_form.formData.col1}}',\n\t'{{insert_form.formData.col2}}',\n\t'{{insert_form.formData.col3}}',\n\t'{{insert_form.formData.col4}}',\n\t'{{insert_form.formData.col5}}',\n\t'{{insert_form.formData.col6}}',\n\t'{{insert_form.formData.col7}}',\n\t'{{insert_form.formData.col8}}',\n\t'{{insert_form.formData.col9}}',\n\t'{{insert_form.formData.col10}}',\n\t'{{insert_form.formData.col11}}',\n\t'{{insert_form.formData.col12}}'\n);","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["insert_form.formData.col1","insert_form.formData.col10","insert_form.formData.col11","insert_form.formData.col12","insert_form.formData.col2","insert_form.formData.col3","insert_form.formData.col4","insert_form.formData.col5","insert_form.formData.col6","insert_form.formData.col7","insert_form.formData.col8","insert_form.formData.col9"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"InsertQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f1b"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"DELETE FROM public.template_table\n WHERE \"col1\" = {{data_table.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow.col1"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"DeleteQuery","messages":[]},"deleted":false,"pluginId":"postgres-plugin","id":"PostgreSQL_DeleteQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"DELETE FROM public.template_table\n WHERE \"col1\" = {{data_table.triggeredRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.triggeredRow.col1"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"DeleteQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f18"},{"pluginType":"DB","unpublishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"UPDATE public.template_table SET\n\t\t\"col2\" = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\t\"col3\" = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n \"col4\" = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\t\"col5\" = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\t\"col6\" = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\t\"col7\" = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\t\"col8\" = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\t\"col9\" = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\t\"col10\" = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\t\"col11\" = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\t\"col12\" = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n\tWHERE \"col1\" = {{data_table.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.col1","update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10","update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11","update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12","update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2","update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3","update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4","update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5","update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6","update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7","update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8","update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"UpdateQuery","messages":[]},"deleted":false,"pluginId":"postgres-plugin","id":"PostgreSQL_UpdateQuery","publishedAction":{"userSetOnLoad":false,"executeOnLoad":false,"isValid":true,"actionConfiguration":{"paginationType":"NONE","selfReferencingDataPaths":[],"timeoutInMillisecond":10000,"encodeParamsToggle":true,"body":"UPDATE public.template_table SET\n\t\t\"col2\" = '{{update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2}}',\n\t\t\"col3\" = '{{update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3}}',\n \"col4\" = '{{update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4}}',\n\t\t\"col5\" = '{{update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5}}',\n\t\t\"col6\" = '{{update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6}}',\n\t\t\"col7\" = '{{update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7}}',\n\t\t\"col8\" = '{{update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8}}',\n\t\t\"col9\" = '{{update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9}}',\n\t\t\"col10\" = '{{update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10}}',\n\t\t\"col11\" = '{{update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11}}',\n\t\t\"col12\" = '{{update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12}}'\n\tWHERE \"col1\" = {{data_table.selectedRow.col1}};","pluginSpecifiedTemplates":[{"value":true}]},"policies":[],"userPermissions":[],"pageId":"PostgreSQL","invalids":[],"dynamicBindingPathList":[{"key":"body"}],"confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.col1","update_form.fieldState.col10.isVisible ? update_form.formData.col10 : update_form.sourceData.col10","update_form.fieldState.col11.isVisible ? update_form.formData.col11 : update_form.sourceData.col11","update_form.fieldState.col12.isVisible ? update_form.formData.col12 : update_form.sourceData.col12","update_form.fieldState.col2.isVisible ? update_form.formData.col2 : update_form.sourceData.col2","update_form.fieldState.col3.isVisible ? update_form.formData.col3 : update_form.sourceData.col3","update_form.fieldState.col4.isVisible ? update_form.formData.col4 : update_form.sourceData.col4","update_form.fieldState.col5.isVisible ? update_form.formData.col5 : update_form.sourceData.col5","update_form.fieldState.col6.isVisible ? update_form.formData.col6 : update_form.sourceData.col6","update_form.fieldState.col7.isVisible ? update_form.formData.col7 : update_form.sourceData.col7","update_form.fieldState.col8.isVisible ? update_form.formData.col8 : update_form.sourceData.col8","update_form.fieldState.col9.isVisible ? update_form.formData.col9 : update_form.sourceData.col9"],"datasource":{"deleted":false,"pluginId":"postgres-plugin","name":"Internal DB","policies":[],"messages":[],"id":"Internal DB","userPermissions":[],"isAutoGenerated":false},"name":"UpdateQuery","messages":[]},"gitSyncId":"61764fbeba7e887d03bc3631_61bb7738cd5d704509531f19"}],"pageList":[{"publishedPage":{"name":"Admin","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"API","confirmBeforeExecute":false,"jsonPathKeys":[],"name":"get_exported_app","timeoutInMillisecond":100000,"id":"Admin_get_exported_app"}],[{"pluginType":"JS","confirmBeforeExecute":false,"jsonPathKeys":["async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}"],"clientSideExecution":true,"name":"Utils.myFun2","timeoutInMillisecond":10000,"id":"Admin_Utils.myFun2","collectionId":"Admin_Utils"}]],"id":"Admin","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"boxShadow":"NONE","widgetName":"Container7","borderColor":"transparent","isCanvas":true,"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":87,"bottomRow":94,"parentRowSpace":10,"type":"CONTAINER_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":17.9375,"dynamicTriggerPathList":[],"leftColumn":11,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas12","rightColumn":430.5,"detachFromLayout":true,"displayName":"Canvas","widgetId":"f5ga14rmty","containerStyle":"none","topRow":0,"bottomRow":70,"parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"9ervv0ae6d","minHeight":400,"renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"widgetName":"Text38","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":3.05078125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"YourCompany","key":"gbfdctoduz","rightColumn":14,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"jd3kv1k6ou","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"f5ga14rmty","renderMode":"CANVAS","isLoading":false,"maxDynamicHeight":9000,"fontSize":"HEADING2","minDynamicHeight":4},{"widgetName":"Button5","onClick":"{{navigateTo('1 Track Applications', {})}}","buttonColor":"#FFFFFF","displayName":"Button","iconSVG":"/static/media/icon.cca02633.svg","topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"BUTTON_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":11.93359375,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":50,"dynamicBindingPathList":[],"text":"Track Applications","isDisabled":false,"key":"c3vy6jijoj","rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"txbmxg3r0f","isVisible":true,"recaptchaType":"V3","version":1,"parentId":"f5ga14rmty","renderMode":"CANVAS","isLoading":false,"borderRadius":"ROUNDED","buttonVariant":"PRIMARY","placement":"CENTER"},{"widgetName":"Button5Copy","onClick":"{{navigateTo('2 Application Upload', {})}}","buttonColor":"#FFFFFF","displayName":"Button","iconSVG":"/static/media/icon.cca02633.svg","topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"BUTTON_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":11.93359375,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":33,"dynamicBindingPathList":[],"text":"Application Upload","isDisabled":false,"key":"c3vy6jijoj","rightColumn":50,"isDefaultClickDisabled":true,"widgetId":"u16z17a8jy","isVisible":true,"recaptchaType":"V3","version":1,"parentId":"f5ga14rmty","renderMode":"CANVAS","isLoading":false,"borderRadius":"ROUNDED","buttonVariant":"PRIMARY","placement":"CENTER"}],"key":"zogzl76zd8"}],"borderWidth":"0","key":"zhft13af0w","backgroundColor":"#FFFFFF","rightColumn":55,"dynamicHeight":"FIXED","widgetId":"9ervv0ae6d","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"borderRadius":"15","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Form1","borderColor":"#2E3D49","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":5,"bottomRow":86,"parentRowSpace":10,"type":"FORM_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":554.75,"detachFromLayout":true,"widgetId":"kwx6oz4fub","containerStyle":"none","topRow":0,"bottomRow":810,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"hdpwx2szs0","minHeight":810,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text1","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Update App Template","labelTextSize":"0.875rem","rightColumn":44,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"7fqtlu52np","isVisible":true,"fontStyle":"BOLD","textColor":"#2E3D49","version":1,"parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text2","topRow":10,"bottomRow":71,"parentRowSpace":10,"type":"TEXT_WIDGET","animateLoading":true,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"{{get_exported_app.data}}","labelTextSize":"0.875rem","rightColumn":63,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"w2l08fshj2","isVisible":true,"fontStyle":"BOLD","textColor":"#2E3D49","version":1,"parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Button1","onClick":"{{Utils.myFun2()}}","dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#2E3D49","topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":44,"dynamicBindingPathList":[],"text":"Refresh","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":63,"isDefaultClickDisabled":true,"iconName":"refresh","widgetId":"2vtg0qdlqv","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0.375rem","buttonVariant":"SECONDARY","iconAlign":"left"},{"boxShadow":"none","widgetName":"Button2","onClick":"{{update_template.run(() => showAlert('Template Updated','success'), () => {})}}","dynamicPropertyPathList":[{"key":"isDisabled"}],"buttonColor":"#2E3D49","topRow":73,"bottomRow":77,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":1,"dynamicBindingPathList":[{"key":"isDisabled"}],"text":"Deploy","isDisabled":"{{get_exported_app.data.exportedApplication === undefined}}","labelTextSize":"0.875rem","rightColumn":63,"isDefaultClickDisabled":true,"iconName":"airplane","widgetId":"jg23u09rwk","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0.375rem","buttonVariant":"PRIMARY","iconAlign":"left"},{"boxShadow":"none","widgetName":"Text4","topRow":5,"bottomRow":10,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"⚠️ Please create a branch named update-crud-template before deploying and run test cases on it","labelTextSize":"0.875rem","rightColumn":63,"backgroundColor":"#DD4B34","textAlign":"CENTER","dynamicHeight":"FIXED","widgetId":"fanskapltd","isVisible":true,"fontStyle":"","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1rem","minDynamicHeight":4}]}],"borderWidth":"1","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":45,"dynamicHeight":"FIXED","widgetId":"hdpwx2szs0","isVisible":true,"parentId":"0","isLoading":false,"borderRadius":"5px","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"datasource_arr","topRow":1,"bottomRow":35,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"[\n{ \"name\":\"mongo-plugin\",\n\"id\": \"61d6b292053d041e6d486fbb\"\n},\n{ \"name\":\"postgres-plugin\",\n\"id\": \"61764f91ba7e887d03bc35d3\"\n}\n]","labelTextSize":"0.875rem","rightColumn":12,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"znji9afu2q","isVisible":false,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"0","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"widgetName":"Text39","displayName":"Text","iconSVG":"/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg","searchTags":["typography","paragraph","label"],"topRow":27,"bottomRow":47,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","parentColumnSpace":12.5625,"dynamicTriggerPathList":[],"leftColumn":48,"dynamicBindingPathList":[{"key":"fontFamily"},{"key":"borderRadius"},{"key":"text"}],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"{{Api1.data}}","key":"7wpupobwee","isDeprecated":false,"rightColumn":64,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"frbxrzzmng","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"fontSize":"1rem","minDynamicHeight":4}]}}],"slug":"admin","isHidden":false},"deleted":false,"unpublishedPage":{"name":"Admin","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"API","confirmBeforeExecute":false,"jsonPathKeys":[],"name":"get_exported_app","timeoutInMillisecond":100000,"id":"Admin_get_exported_app"}],[{"pluginType":"JS","confirmBeforeExecute":false,"jsonPathKeys":["async () => {\n get_exported_app.run(() => {\n const arr = JSON.parse(datasource_arr.text);\n arr.map(row => {\n get_datasource_structure.run((res, params) => {\n storeValue(params.name, res);\n }, undefined, row);\n });\n });\n}"],"clientSideExecution":true,"name":"Utils.myFun2","timeoutInMillisecond":10000,"id":"Admin_Utils.myFun2","collectionId":"Admin_Utils"}]],"id":"Admin","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":940,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"boxShadow":"NONE","widgetName":"Container7","borderColor":"transparent","isCanvas":true,"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":87,"bottomRow":94,"parentRowSpace":10,"type":"CONTAINER_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":17.9375,"dynamicTriggerPathList":[],"leftColumn":11,"dynamicBindingPathList":[],"children":[{"widgetName":"Canvas12","rightColumn":430.5,"detachFromLayout":true,"displayName":"Canvas","widgetId":"f5ga14rmty","containerStyle":"none","topRow":0,"bottomRow":70,"parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"9ervv0ae6d","minHeight":400,"renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"children":[{"widgetName":"Text38","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":3.05078125,"dynamicTriggerPathList":[],"leftColumn":1,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"YourCompany","key":"gbfdctoduz","rightColumn":14,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"jd3kv1k6ou","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","shouldScroll":false,"version":1,"parentId":"f5ga14rmty","renderMode":"CANVAS","isLoading":false,"maxDynamicHeight":9000,"fontSize":"HEADING2","minDynamicHeight":4},{"widgetName":"Button5","onClick":"{{navigateTo('1 Track Applications', {})}}","buttonColor":"#FFFFFF","displayName":"Button","iconSVG":"/static/media/icon.cca02633.svg","topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"BUTTON_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":11.93359375,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":50,"dynamicBindingPathList":[],"text":"Track Applications","isDisabled":false,"key":"c3vy6jijoj","rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"txbmxg3r0f","isVisible":true,"recaptchaType":"V3","version":1,"parentId":"f5ga14rmty","renderMode":"CANVAS","isLoading":false,"borderRadius":"ROUNDED","buttonVariant":"PRIMARY","placement":"CENTER"},{"widgetName":"Button5Copy","onClick":"{{navigateTo('2 Application Upload', {})}}","buttonColor":"#FFFFFF","displayName":"Button","iconSVG":"/static/media/icon.cca02633.svg","topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"BUTTON_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":11.93359375,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":33,"dynamicBindingPathList":[],"text":"Application Upload","isDisabled":false,"key":"c3vy6jijoj","rightColumn":50,"isDefaultClickDisabled":true,"widgetId":"u16z17a8jy","isVisible":true,"recaptchaType":"V3","version":1,"parentId":"f5ga14rmty","renderMode":"CANVAS","isLoading":false,"borderRadius":"ROUNDED","buttonVariant":"PRIMARY","placement":"CENTER"}],"key":"zogzl76zd8"}],"borderWidth":"0","key":"zhft13af0w","backgroundColor":"#FFFFFF","rightColumn":55,"dynamicHeight":"FIXED","widgetId":"9ervv0ae6d","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"borderRadius":"15","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Form1","borderColor":"#2E3D49","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":5,"bottomRow":86,"parentRowSpace":10,"type":"FORM_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":554.75,"detachFromLayout":true,"widgetId":"kwx6oz4fub","containerStyle":"none","topRow":0,"bottomRow":810,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"hdpwx2szs0","minHeight":810,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text1","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Update App Template","labelTextSize":"0.875rem","rightColumn":44,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"7fqtlu52np","isVisible":true,"fontStyle":"BOLD","textColor":"#2E3D49","version":1,"parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text2","topRow":10,"bottomRow":71,"parentRowSpace":10,"type":"TEXT_WIDGET","animateLoading":true,"parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"{{get_exported_app.data}}","labelTextSize":"0.875rem","rightColumn":63,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"w2l08fshj2","isVisible":true,"fontStyle":"BOLD","textColor":"#2E3D49","version":1,"parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Button1","onClick":"{{Utils.myFun2()}}","dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#2E3D49","topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":44,"dynamicBindingPathList":[],"text":"Refresh","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":63,"isDefaultClickDisabled":true,"iconName":"refresh","widgetId":"2vtg0qdlqv","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0.375rem","buttonVariant":"SECONDARY","iconAlign":"left"},{"boxShadow":"none","widgetName":"Button2","onClick":"{{update_template.run(() => showAlert('Template Updated','success'), () => {})}}","dynamicPropertyPathList":[{"key":"isDisabled"}],"buttonColor":"#2E3D49","topRow":73,"bottomRow":77,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":1,"dynamicBindingPathList":[{"key":"isDisabled"}],"text":"Deploy","isDisabled":"{{get_exported_app.data.exportedApplication === undefined}}","labelTextSize":"0.875rem","rightColumn":63,"isDefaultClickDisabled":true,"iconName":"airplane","widgetId":"jg23u09rwk","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0.375rem","buttonVariant":"PRIMARY","iconAlign":"left"},{"boxShadow":"none","widgetName":"Text4","topRow":5,"bottomRow":10,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"⚠️ Please create a branch named update-crud-template before deploying and run test cases on it","labelTextSize":"0.875rem","rightColumn":63,"backgroundColor":"#DD4B34","textAlign":"CENTER","dynamicHeight":"FIXED","widgetId":"fanskapltd","isVisible":true,"fontStyle":"","textColor":"#FFFFFF","version":1,"parentId":"kwx6oz4fub","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1rem","minDynamicHeight":4}]}],"borderWidth":"1","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":45,"dynamicHeight":"FIXED","widgetId":"hdpwx2szs0","isVisible":true,"parentId":"0","isLoading":false,"borderRadius":"5px","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"datasource_arr","topRow":1,"bottomRow":35,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"[\n{ \"name\":\"mongo-plugin\",\n\"id\": \"61d6b292053d041e6d486fbb\"\n},\n{ \"name\":\"postgres-plugin\",\n\"id\": \"61764f91ba7e887d03bc35d3\"\n}\n]","labelTextSize":"0.875rem","rightColumn":12,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"znji9afu2q","isVisible":false,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"0","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"widgetName":"Text39","displayName":"Text","iconSVG":"/static/media/icon.97c59b523e6f70ba6f40a10fc2c7c5b5.svg","searchTags":["typography","paragraph","label"],"topRow":27,"bottomRow":47,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","parentColumnSpace":12.5625,"dynamicTriggerPathList":[],"leftColumn":48,"dynamicBindingPathList":[{"key":"fontFamily"},{"key":"borderRadius"},{"key":"text"}],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"{{Api1.data}}","key":"7wpupobwee","isDeprecated":false,"rightColumn":64,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"frbxrzzmng","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"fontSize":"1rem","minDynamicHeight":4}]}}],"slug":"admin","isHidden":false},"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc3"},{"publishedPage":{"name":"Google Sheets","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"SAAS","confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"Google Sheets_SelectQuery"}]],"id":"Google Sheets","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":870,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"object","cellBorderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{"task":{"labelTextSize":"0.875rem","identifier":"task","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.task))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"string","accessor":"task","isVisible":true,"label":"Task","originalIdentifier":"task","borderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":1,"isDisabled":false,"sourceData":"Drop a table","fieldType":"Text Input"},"step":{"labelTextSize":"0.875rem","identifier":"step","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.step))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"string","accessor":"step","isVisible":true,"label":"Step","originalIdentifier":"step","borderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"#1","fieldType":"Text Input"},"status":{"labelTextSize":"0.875rem","identifier":"status","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.status))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"string","accessor":"status","isVisible":true,"label":"Status","originalIdentifier":"status","borderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":"✅","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"entry 5","col2":"is 2","col3":"new 3","col1":"This 12"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating row!\\n${error}`,'error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row Id: {{data_table.selectedRow.rowIndex}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":40,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"isVisible"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"title"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"boxShadow"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.step.defaultValue"},{"key":"schema.__root_schema__.children.step.accentColor"},{"key":"schema.__root_schema__.children.step.borderRadius"},{"key":"schema.__root_schema__.children.task.defaultValue"},{"key":"schema.__root_schema__.children.task.accentColor"},{"key":"schema.__root_schema__.children.task.borderRadius"},{"key":"schema.__root_schema__.children.status.defaultValue"},{"key":"schema.__root_schema__.children.status.accentColor"},{"key":"schema.__root_schema__.children.status.borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"rowIndex\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"tn9ri7ylp2","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{data_table.selectedRow!==undefined}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":87,"parentRowSpace":10,"type":"CONTAINER_WIDGET","shouldScrollContents":true,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":870,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","onSort":"","isVisibleDownload":true,"iconSVG":"/static/media/icon.db8a9cbd.svg","topRow":6,"isSortable":true,"onPageChange":"{{SelectQuery.run()}}","type":"TABLE_WIDGET","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.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col6.computedValue"},{"key":"primaryColumns.col7.computedValue"},{"key":"primaryColumns.col8.computedValue"},{"key":"primaryColumns.col9.computedValue"},{"key":"primaryColumns.col10.computedValue"},{"key":"primaryColumns.col11.computedValue"},{"key":"primaryColumns.col12.computedValue"}],"leftColumn":1,"delimiter":",","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"isVisible":"true","enableClientSideSearch":true,"version":3,"totalRecordsCount":0,"isLoading":false,"onSearchTextChanged":"","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}}","primaryColumnId":"id","columnSizeMap":{"task":245,"step":62,"status":75},"widgetName":"data_table","defaultPageSize":0,"columnOrder":["col1","col2","col3","col4","col5","col6","col7","col8","col9","col10","col11","col12","customColumn1"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"displayName":"Table","bottomRow":85,"parentRowSpace":10,"defaultSelectedRow":"0","hideCard":false,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn1.onClick"},{"key":"onPageChange"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"primaryColumns":{"col12":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col12))}}","textSize":"0.875rem","index":11,"isVisible":true,"label":"col12","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col12","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col11":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col11))}}","textSize":"0.875rem","index":10,"isVisible":true,"label":"col11","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col11","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"},"col8":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col8))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"col8","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col8","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col9":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col9))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"col9","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col9","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col6":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col6))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"col6","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col6","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col10":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col10))}}","textSize":"0.875rem","index":9,"isVisible":true,"label":"col10","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col10","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col7":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col7))}}","textSize":"0.875rem","index":6,"isVisible":true,"label":"col7","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col7","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col5","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"0px","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"}},"labelTextSize":"0.875rem","rightColumn":63,"textSize":"0.875rem","widgetId":"icx7cf3936","tableData":"{{SelectQuery.data}}","label":"Data","searchKey":"","parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"renderMode":"CANVAS","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"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"}],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":39,"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"typ9jslblf","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"8b67sbqskr","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}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":40,"dynamicHeight":"FIXED","widgetId":"mvubsemxfo","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Delete_Modal","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text11","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":48,"dynamicPropertyPathList":[],"buttonColor":"#3f3f46","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"delete_button","onClick":"{{(function () {\nDeleteQuery.run(() =>{ showAlert('Row successfully deleted!','success');\tSelectQuery.run();\n}, () => showAlert('Something went wrong! Please check debugger for more info.','error'));\ncloseModal('Delete_Modal');\n})()}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":45,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"i3whp03wf0","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Insert_Modal","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"entry 5","cellBoxShadow":"none","fieldType":"Text Input"},"rowIndex":{"labelTextSize":"0.875rem","identifier":"rowIndex","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rowIndex))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"rowIndex","isVisible":false,"label":"Row Index","originalIdentifier":"rowIndex","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":4,"isDisabled":false,"sourceData":"0","cellBoxShadow":"none","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"is 2","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"new 3","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"This 12","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"entry 5","rowIndex":"0","col2":"is 2","col3":"new 3","col1":"This 12"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"insert_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"onSubmit"},{"key":"borderRadius"}],"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":59,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"schema.__root_schema__.children.rowIndex.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"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.col4.borderRadius"},{"key":"schema.__root_schema__.children.rowIndex.accentColor"},{"key":"schema.__root_schema__.children.rowIndex.borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"4amgm2y5ph","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}],"isDisabled":false}],"height":600,"labelTextSize":"0.875rem","rightColumn":41,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"vmorzie6eq","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4}]}}],"slug":"google-sheets","isHidden":false},"deleted":false,"unpublishedPage":{"name":"Google Sheets","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"SAAS","confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"Google Sheets_SelectQuery"}]],"id":"Google Sheets","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":870,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"object","cellBorderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{"task":{"labelTextSize":"0.875rem","identifier":"task","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.task))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"string","accessor":"task","isVisible":true,"label":"Task","originalIdentifier":"task","borderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":1,"isDisabled":false,"sourceData":"Drop a table","fieldType":"Text Input"},"step":{"labelTextSize":"0.875rem","identifier":"step","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.step))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"string","accessor":"step","isVisible":true,"label":"Step","originalIdentifier":"step","borderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"#1","fieldType":"Text Input"},"status":{"labelTextSize":"0.875rem","identifier":"status","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.status))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => (appsmith.theme.colors.primaryColor))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"string","accessor":"status","isVisible":true,"label":"Status","originalIdentifier":"status","borderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":"✅","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"entry 5","col2":"is 2","col3":"new 3","col1":"This 12"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating row!\\n${error}`,'error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row Id: {{data_table.selectedRow.rowIndex}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":40,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"isVisible"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"title"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"boxShadow"},{"key":"borderRadius"},{"key":"schema.__root_schema__.children.step.defaultValue"},{"key":"schema.__root_schema__.children.step.accentColor"},{"key":"schema.__root_schema__.children.step.borderRadius"},{"key":"schema.__root_schema__.children.task.defaultValue"},{"key":"schema.__root_schema__.children.task.accentColor"},{"key":"schema.__root_schema__.children.task.borderRadius"},{"key":"schema.__root_schema__.children.status.defaultValue"},{"key":"schema.__root_schema__.children.status.accentColor"},{"key":"schema.__root_schema__.children.status.borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"rowIndex\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"tn9ri7ylp2","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{data_table.selectedRow!==undefined}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":87,"parentRowSpace":10,"type":"CONTAINER_WIDGET","shouldScrollContents":true,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":870,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","onSort":"","isVisibleDownload":true,"iconSVG":"/static/media/icon.db8a9cbd.svg","topRow":6,"isSortable":true,"onPageChange":"{{SelectQuery.run()}}","type":"TABLE_WIDGET","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.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col6.computedValue"},{"key":"primaryColumns.col7.computedValue"},{"key":"primaryColumns.col8.computedValue"},{"key":"primaryColumns.col9.computedValue"},{"key":"primaryColumns.col10.computedValue"},{"key":"primaryColumns.col11.computedValue"},{"key":"primaryColumns.col12.computedValue"}],"leftColumn":1,"delimiter":",","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"isVisible":"true","enableClientSideSearch":true,"version":3,"totalRecordsCount":0,"isLoading":false,"onSearchTextChanged":"","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}}","primaryColumnId":"id","columnSizeMap":{"task":245,"step":62,"status":75},"widgetName":"data_table","defaultPageSize":0,"columnOrder":["col1","col2","col3","col4","col5","col6","col7","col8","col9","col10","col11","col12","customColumn1"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"displayName":"Table","bottomRow":85,"parentRowSpace":10,"defaultSelectedRow":"0","hideCard":false,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn1.onClick"},{"key":"onPageChange"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"primaryColumns":{"col12":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col12))}}","textSize":"0.875rem","index":11,"isVisible":true,"label":"col12","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col12","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col11":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col11))}}","textSize":"0.875rem","index":10,"isVisible":true,"label":"col11","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col11","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"},"col8":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col8))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"col8","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col8","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col9":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col9))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"col9","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col9","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col6":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col6))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"col6","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col6","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col10":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col10))}}","textSize":"0.875rem","index":9,"isVisible":true,"label":"col10","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col10","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col7":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col7))}}","textSize":"0.875rem","index":6,"isVisible":true,"label":"col7","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col7","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col5","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"0px","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"}},"labelTextSize":"0.875rem","rightColumn":63,"textSize":"0.875rem","widgetId":"icx7cf3936","tableData":"{{SelectQuery.data}}","label":"Data","searchKey":"","parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"renderMode":"CANVAS","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"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"}],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":39,"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"typ9jslblf","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"8b67sbqskr","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}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":40,"dynamicHeight":"FIXED","widgetId":"mvubsemxfo","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Delete_Modal","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text11","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":48,"dynamicPropertyPathList":[],"buttonColor":"#3f3f46","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"delete_button","onClick":"{{(function () {\nDeleteQuery.run(() =>{ showAlert('Row successfully deleted!','success');\tSelectQuery.run();\n}, () => showAlert('Something went wrong! Please check debugger for more info.','error'));\ncloseModal('Delete_Modal');\n})()}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":45,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"i3whp03wf0","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Insert_Modal","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"entry 5","cellBoxShadow":"none","fieldType":"Text Input"},"rowIndex":{"labelTextSize":"0.875rem","identifier":"rowIndex","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.rowIndex))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"rowIndex","isVisible":false,"label":"Row Index","originalIdentifier":"rowIndex","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":4,"isDisabled":false,"sourceData":"0","cellBoxShadow":"none","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"is 2","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"new 3","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"This 12","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"entry 5","rowIndex":"0","col2":"is 2","col3":"new 3","col1":"This 12"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"insert_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"onSubmit"},{"key":"borderRadius"}],"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":59,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"schema.__root_schema__.children.rowIndex.defaultValue"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"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.col4.borderRadius"},{"key":"schema.__root_schema__.children.rowIndex.accentColor"},{"key":"schema.__root_schema__.children.rowIndex.borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"4amgm2y5ph","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}],"isDisabled":false}],"height":600,"labelTextSize":"0.875rem","rightColumn":41,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"vmorzie6eq","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4}]}}],"slug":"google-sheets","isHidden":false},"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc1"},{"publishedPage":{"name":"Firestore","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')","SelectQuery.data[0]","SelectQuery.data[SelectQuery.data.length - 1]","data_table.pageSize","data_table.tableData[0]","data_table.tableData[data_table.tableData.length - 1]","order_select.selectedOptionValue + key_select.selectedOptionValue"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"Firestore_SelectQuery"}]],"id":"Firestore","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"#03B365","dataType":"object","cellBorderRadius":"0px","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"0px","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"string","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"duh","fieldType":"Text Input"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"string","accessor":"col5","isVisible":true,"label":"Col 5","originalIdentifier":"col5","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":4,"isDisabled":false,"sourceData":"new","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"","col5":"","col2":"","col3":"","__primaryKey__":"","col1":""},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.children.key2.defaultValue"},{"key":"isVisible"},{"key":"borderRadius"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating row!','error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":40,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"isVisible"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"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.borderRadius"},{"key":"schema.__root_schema__.children.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"schema.__root_schema__.children.col4.accentColor"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"_ref\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"pfyg9tlwj1","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow.col1}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":88,"parentRowSpace":10,"type":"CONTAINER_WIDGET","shouldScrollContents":true,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"boxShadow"},{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":880,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","onSort":"{{SelectQuery.run()}}","isVisibleDownload":true,"iconSVG":"/static/media/icon.db8a9cbd.svg","topRow":7,"isSortable":true,"onPageChange":"{{SelectQuery.run()}}","type":"TABLE_WIDGET","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.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns._ref.computedValue"}],"leftColumn":0,"delimiter":",","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}}","primaryColumnId":"id","columnSizeMap":{"task":245,"step":62,"status":75},"widgetName":"data_table","defaultPageSize":0,"columnOrder":["_ref","col4","col5","col2","col3","col1","customColumn1"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"displayName":"Table","bottomRow":86,"parentRowSpace":10,"defaultSelectedRow":"0","hideCard":false,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn1.onClick"},{"key":"onPageChange"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"primaryColumns":{"_ref":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._ref))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"_ref","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"_ref","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col5","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"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.sanitizedTableData.map((currentRow) => ( '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":"27p4k3jpj3","tableData":"{{SelectQuery.data}}","label":"Data","searchKey":"","parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"renderMode":"CANVAS","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"lqa75t4x8s","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"rc610d47lm","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},{"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"}],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":53,"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}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":40,"dynamicHeight":"FIXED","widgetId":"mvubsemxfo","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Delete_Modal","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button12","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":46,"dynamicPropertyPathList":[],"buttonColor":"#3f3f46","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":45,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"i3whp03wf0","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Insert_Modal","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"#03B365","dataType":"object","cellBorderRadius":"0px","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"0px","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"4","cellBoxShadow":"none","fieldType":"Text Input"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col5","isVisible":true,"label":"Col 5","originalIdentifier":"col5","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":5,"isDisabled":false,"sourceData":"5","cellBoxShadow":"none","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"new","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"neighbour","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"Hello","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"4","col5":"5","col2":"new","col3":"neighbour","col1":"Hello"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"insert_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"onSubmit"},{"key":"borderRadius"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{InsertQuery.run(() => SelectQuery.run(() => resetWidget('Insert_Modal')), () => {})}}","topRow":0,"bottomRow":59,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"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.col4.borderRadius"},{"key":"schema.__root_schema__.children.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\", \"_ref\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"qljqxmx394","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}],"isDisabled":false}],"height":600,"labelTextSize":"0.875rem","rightColumn":41,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"vmorzie6eq","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4}]}}],"slug":"firestore","isHidden":false},"deleted":false,"unpublishedPage":{"name":"Firestore","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["(data_table.sortOrder.order === \"desc\" ? \"-\" : \"\") + (data_table.sortOrder.column || 'col1')","SelectQuery.data[0]","SelectQuery.data[SelectQuery.data.length - 1]","data_table.pageSize","data_table.tableData[0]","data_table.tableData[data_table.tableData.length - 1]","order_select.selectedOptionValue + key_select.selectedOptionValue"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"Firestore_SelectQuery"}]],"id":"Firestore","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"#03B365","dataType":"object","cellBorderRadius":"0px","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"0px","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"string","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"duh","fieldType":"Text Input"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"string","accessor":"col5","isVisible":true,"label":"Col 5","originalIdentifier":"col5","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":4,"isDisabled":false,"sourceData":"new","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"","col5":"","col2":"","col3":"","__primaryKey__":"","col1":""},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.children.key2.defaultValue"},{"key":"isVisible"},{"key":"borderRadius"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), () => showAlert('Error while updating row!','error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":40,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"isVisible"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"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.borderRadius"},{"key":"schema.__root_schema__.children.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"schema.__root_schema__.children.col4.accentColor"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"_ref\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"pfyg9tlwj1","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow.col1}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":88,"parentRowSpace":10,"type":"CONTAINER_WIDGET","shouldScrollContents":true,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"boxShadow"},{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":880,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","onSort":"{{SelectQuery.run()}}","isVisibleDownload":true,"iconSVG":"/static/media/icon.db8a9cbd.svg","topRow":7,"isSortable":true,"onPageChange":"{{SelectQuery.run()}}","type":"TABLE_WIDGET","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.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns._ref.computedValue"}],"leftColumn":0,"delimiter":",","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}}","primaryColumnId":"id","columnSizeMap":{"task":245,"step":62,"status":75},"widgetName":"data_table","defaultPageSize":0,"columnOrder":["_ref","col4","col5","col2","col3","col1","customColumn1"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"displayName":"Table","bottomRow":86,"parentRowSpace":10,"defaultSelectedRow":"0","hideCard":false,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn1.onClick"},{"key":"onPageChange"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"primaryColumns":{"_ref":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._ref))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"_ref","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"_ref","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col5","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"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.sanitizedTableData.map((currentRow) => ( '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":"27p4k3jpj3","tableData":"{{SelectQuery.data}}","label":"Data","searchKey":"","parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"renderMode":"CANVAS","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"lqa75t4x8s","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"rc610d47lm","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},{"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"}],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":53,"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}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":40,"dynamicHeight":"FIXED","widgetId":"mvubsemxfo","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Delete_Modal","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button12","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":46,"dynamicPropertyPathList":[],"buttonColor":"#3f3f46","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":45,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"i3whp03wf0","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Insert_Modal","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"#03B365","dataType":"object","cellBorderRadius":"0px","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"0px","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"4","cellBoxShadow":"none","fieldType":"Text Input"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col5","isVisible":true,"label":"Col 5","originalIdentifier":"col5","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":5,"isDisabled":false,"sourceData":"5","cellBoxShadow":"none","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"new","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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":"neighbour","cellBoxShadow":"none","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"Hello","cellBoxShadow":"none","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"4","col5":"5","col2":"new","col3":"neighbour","col1":"Hello"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"insert_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"onSubmit"},{"key":"borderRadius"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{InsertQuery.run(() => SelectQuery.run(() => resetWidget('Insert_Modal')), () => {})}}","topRow":0,"bottomRow":59,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"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.col4.borderRadius"},{"key":"schema.__root_schema__.children.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\", \"_ref\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"qljqxmx394","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}],"isDisabled":false}],"height":600,"labelTextSize":"0.875rem","rightColumn":41,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"vmorzie6eq","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4}]}}],"slug":"firestore","isHidden":false},"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc7"},{"publishedPage":{"name":"PostgreSQL","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize","data_table.searchText || \"\"","data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || 'ASC'"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"PostgreSQL_SelectQuery"}]],"id":"PostgreSQL","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":860,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#fff","dynamicPropertyPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"topRow":0,"bottomRow":86,"parentRowSpace":10,"type":"CONTAINER_WIDGET","shouldScrollContents":true,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":860,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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","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.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col6.computedValue"},{"key":"primaryColumns.col7.computedValue"},{"key":"primaryColumns.col8.computedValue"},{"key":"primaryColumns.col9.computedValue"},{"key":"primaryColumns.col10.computedValue"},{"key":"primaryColumns.col11.computedValue"},{"key":"primaryColumns.col12.computedValue"}],"leftColumn":0,"delimiter":",","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}}","primaryColumnId":"col1","columnSizeMap":{"task":245,"step":62,"status":75},"widgetName":"data_table","defaultPageSize":0,"columnOrder":["col1","col2","col3","col4","col5","col6","col7","col8","col9","col10","col11","col12","customColumn1"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"displayName":"Table","bottomRow":85,"parentRowSpace":10,"defaultSelectedRow":"0","hideCard":false,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn1.onClick"},{"key":"onPageChange"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"primaryColumns":{"col12":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col12))}}","textSize":"0.875rem","index":11,"isVisible":true,"label":"col12","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col12","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col11":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col11))}}","textSize":"0.875rem","index":10,"isVisible":true,"label":"col11","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col11","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"},"col8":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col8))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"col8","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col8","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col9":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col9))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"col9","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col9","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col6":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col6))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"col6","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col6","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col10":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col10))}}","textSize":"0.875rem","index":9,"isVisible":true,"label":"col10","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col10","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col7":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col7))}}","textSize":"0.875rem","index":6,"isVisible":true,"label":"col7","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col7","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col5","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"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.sanitizedTableData.map((currentRow) => ( '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","tableData":"{{SelectQuery.data}}","label":"Data","searchKey":"","parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"renderMode":"CANVAS","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"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"}],"text":"template_table Data","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},{"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},{"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}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":39,"dynamicHeight":"FIXED","widgetId":"mvubsemxfo","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Delete_Modal","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":46,"dynamicPropertyPathList":[],"buttonColor":"#2E3D49","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":45,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"i3whp03wf0","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Insert_Modal","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":880,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":884,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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\", \"__primaryKey__\")}}","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}],"isDisabled":false}],"height":884,"labelTextSize":"0.875rem","rightColumn":41,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"vmorzie6eq","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4},{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"boolean","accessor":"col4","isVisible":true,"label":"Col 4","alignWidget":"LEFT","originalIdentifier":"col4","children":{},"position":3,"isDisabled":false,"sourceData":true,"fieldType":"Switch"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"number","accessor":"col3","isVisible":true,"label":"Col 3","originalIdentifier":"col3","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":9,"fieldType":"Number Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"number","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","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":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#fff","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row col1: {{data_table.selectedRow.col1}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":39,"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":"isVisible"},{"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.col3.accentColor"},{"key":"schema.__root_schema__.children.col3.borderRadius"},{"key":"schema.__root_schema__.children.col4.accentColor"},{"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":"title"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.borderRadius"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.col2.accentColor"},{"key":"schema.__root_schema__.children.col2.borderRadius"},{"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"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"y5cjzuxnb3","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow.col1}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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}]}}],"slug":"postgresql","isHidden":false},"deleted":false,"unpublishedPage":{"name":"PostgreSQL","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize","data_table.searchText || \"\"","data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || 'ASC'"],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"PostgreSQL_SelectQuery"}]],"id":"PostgreSQL","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":860,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#fff","dynamicPropertyPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"topRow":0,"bottomRow":86,"parentRowSpace":10,"type":"CONTAINER_WIDGET","shouldScrollContents":true,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":860,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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","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.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col6.computedValue"},{"key":"primaryColumns.col7.computedValue"},{"key":"primaryColumns.col8.computedValue"},{"key":"primaryColumns.col9.computedValue"},{"key":"primaryColumns.col10.computedValue"},{"key":"primaryColumns.col11.computedValue"},{"key":"primaryColumns.col12.computedValue"}],"leftColumn":0,"delimiter":",","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}}","primaryColumnId":"col1","columnSizeMap":{"task":245,"step":62,"status":75},"widgetName":"data_table","defaultPageSize":0,"columnOrder":["col1","col2","col3","col4","col5","col6","col7","col8","col9","col10","col11","col12","customColumn1"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"displayName":"Table","bottomRow":85,"parentRowSpace":10,"defaultSelectedRow":"0","hideCard":false,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn1.onClick"},{"key":"onPageChange"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"primaryColumns":{"col12":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col12))}}","textSize":"0.875rem","index":11,"isVisible":true,"label":"col12","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col12","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col11":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col11))}}","textSize":"0.875rem","index":10,"isVisible":true,"label":"col11","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col11","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"},"col8":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col8))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"col8","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col8","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col9":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col9))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"col9","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col9","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col6":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col6))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"col6","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col6","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col10":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col10))}}","textSize":"0.875rem","index":9,"isVisible":true,"label":"col10","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col10","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col7":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col7))}}","textSize":"0.875rem","index":6,"isVisible":true,"label":"col7","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col7","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col5","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"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.sanitizedTableData.map((currentRow) => ( '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","tableData":"{{SelectQuery.data}}","label":"Data","searchKey":"","parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"renderMode":"CANVAS","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"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"}],"text":"template_table Data","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},{"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},{"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}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":39,"dynamicHeight":"FIXED","widgetId":"mvubsemxfo","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Delete_Modal","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":46,"dynamicPropertyPathList":[],"buttonColor":"#2E3D49","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":45,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"i3whp03wf0","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Insert_Modal","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":880,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":884,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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\", \"__primaryKey__\")}}","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}],"isDisabled":false}],"height":884,"labelTextSize":"0.875rem","rightColumn":41,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"vmorzie6eq","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4},{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"boolean","accessor":"col4","isVisible":true,"label":"Col 4","alignWidget":"LEFT","originalIdentifier":"col4","children":{},"position":3,"isDisabled":false,"sourceData":true,"fieldType":"Switch"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"number","accessor":"col3","isVisible":true,"label":"Col 3","originalIdentifier":"col3","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":9,"fieldType":"Number Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"number","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","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":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#fff","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row col1: {{data_table.selectedRow.col1}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":39,"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":"isVisible"},{"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.col3.accentColor"},{"key":"schema.__root_schema__.children.col3.borderRadius"},{"key":"schema.__root_schema__.children.col4.accentColor"},{"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":"title"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.borderRadius"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.col2.accentColor"},{"key":"schema.__root_schema__.children.col2.borderRadius"},{"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"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"y5cjzuxnb3","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow.col1}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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}]}}],"slug":"postgresql","isHidden":false},"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc8"},{"publishedPage":{"name":"Page Generator","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[],"id":"Page Generator","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":550,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Tabs1","topRow":11,"bottomRow":55,"parentRowSpace":10,"type":"TABS_WIDGET","shouldScrollContents":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":16,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"children":[{"tabId":"tab1","labelTextSize":"0.875rem","boxShadow":"none","tabName":"SQL","rightColumn":634,"widgetName":"Canvas2","detachFromLayout":true,"widgetId":"nyka98xqpv","topRow":0,"bottomRow":400,"parentRowSpace":1,"type":"CANVAS_WIDGET","parentId":"jalvzswyyk","isLoading":false,"renderMode":"CANVAS","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text2","topRow":3,"bottomRow":7,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Datasource ID","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"957c72jpan","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text4","topRow":17,"bottomRow":21,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Table Name","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"nz74xi3ae3","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text6","topRow":21,"bottomRow":25,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Columns to Select","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"s1i89k31f5","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text7","topRow":29,"bottomRow":33,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Column to Search","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"rbacxz6brz","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"resetFormOnClick":false,"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"FormButton1","onClick":"{{generate_sql_app.run(() => showAlert('Page Created!','success'), () => {})}}","rightColumn":63,"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"n6220hgzzs","topRow":33,"bottomRow":37,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"nyka98xqpv","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":47,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Generate"},{"boxShadow":"none","widgetName":"datasource_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":3,"bottomRow":7,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"fk5njkiu28","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"tableName_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":17,"bottomRow":21,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"v6vho5uqct","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"select_cols_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":21,"bottomRow":25,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"e1j5kngy1t","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"search_col_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":29,"bottomRow":33,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"cqxwse0717","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"app_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":7.0791015625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"r1onz3oq9w","labelTextSize":"0.875rem","isRequired":false,"rightColumn":64,"dynamicHeight":"FIXED","widgetId":"26c0iltpjr","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text16","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"overflow":"NONE","parentColumnSpace":7.0791015625,"dynamicTriggerPathList":[],"fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"App ID","key":"99ilu0uxi8","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"242g7dtr9t","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4}]},{"tabId":"tab2","labelTextSize":"0.875rem","boxShadow":"none","tabName":"GSheet","rightColumn":634,"widgetName":"Canvas3","detachFromLayout":true,"widgetId":"neexe4fljs","topRow":0,"bottomRow":400,"parentRowSpace":1,"type":"CANVAS_WIDGET","parentId":"jalvzswyyk","isLoading":false,"renderMode":"CANVAS","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text8","topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"DataSource URL","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"3ghywz6tk6","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text9","topRow":8,"bottomRow":12,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"SpreadSheet URL","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"r6o12im1qd","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text10","topRow":15,"bottomRow":19,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Sheet Name","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"k0ul3uaoph","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text11","topRow":22,"bottomRow":26,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Table Header Index","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"l1r1tfbx6y","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Button1","onClick":"{{generate_gsheet_app.run()}}","buttonColor":"#03B365","topRow":30,"bottomRow":34,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Generate","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":62,"isDefaultClickDisabled":true,"widgetId":"zzsh2d5rns","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","buttonVariant":"PRIMARY"},{"boxShadow":"none","widgetName":"gsheet_ds_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":1,"bottomRow":5,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"dynamicHeight":"FIXED","widgetId":"j61fbsst0i","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"spreadsheet_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":8,"bottomRow":12,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"dynamicHeight":"FIXED","widgetId":"vm21ddffi6","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"sheet_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":15,"bottomRow":19,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"dynamicHeight":"FIXED","widgetId":"5r5hxd2qs8","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"header_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":22,"bottomRow":26,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"dynamicHeight":"FIXED","widgetId":"z3nz99y80l","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4}]},{"tabId":"tab7qxuerb9p7","boxShadow":"none","widgetName":"Canvas4","topRow":1,"bottomRow":400,"parentRowSpace":1,"canExtend":false,"type":"CANVAS_WIDGET","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","widgetName":"Text12","topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Datasource URL","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"4l1uqhf2au","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text13","topRow":8,"bottomRow":12,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Collection Name","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"0y3rz6ufib","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text14","topRow":15,"bottomRow":19,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Keys to Fetch","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"s1fhjft9to","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text15","topRow":22,"bottomRow":26,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Key to Search","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"rwi67ouhe1","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Button2","onClick":"{{generate_mongo_app.run()}}","buttonColor":"#03B365","topRow":29,"bottomRow":33,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Generate","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":62,"isDefaultClickDisabled":true,"widgetId":"6ui5kmqebf","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","buttonVariant":"PRIMARY"},{"boxShadow":"none","widgetName":"mongo_ds_url","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":1,"bottomRow":5,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"dynamicHeight":"FIXED","widgetId":"3iwx4ppimv","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"collection_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":8,"bottomRow":12,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"dynamicHeight":"FIXED","widgetId":"82uk5g7krv","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"fetch_keys_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":15,"bottomRow":19,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"dynamicHeight":"FIXED","widgetId":"jx1zxum47l","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"search_keys_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":22,"bottomRow":26,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":28.9375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"dynamicHeight":"FIXED","widgetId":"24223uwmke","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4}],"labelTextSize":"0.875rem","tabName":"Mongo","rightColumn":574.5625,"detachFromLayout":true,"widgetId":"4yqoh4fjmv","containerStyle":"none","isVisible":true,"version":1,"parentId":"jalvzswyyk","isLoading":false,"borderRadius":"0px"}],"labelTextSize":"0.875rem","rightColumn":45,"dynamicHeight":"FIXED","widgetId":"jalvzswyyk","accentColor":"{{appsmith.theme.colors.primaryColor}}","defaultTab":"SQL","shouldShowTabs":true,"tabsObj":{"tab1":{"widgetId":"nyka98xqpv","index":0,"label":"SQL","id":"tab1","isVisible":true},"tab2":{"widgetId":"neexe4fljs","index":1,"label":"GSheet","id":"tab2","isVisible":true},"tab7qxuerb9p7":{"widgetId":"4yqoh4fjmv","id":"tab7qxuerb9p7","label":"Mongo","isVisible":true}},"isVisible":true,"version":3,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4}]}}],"slug":"page-generator","isHidden":false},"deleted":false,"unpublishedPage":{"name":"Page Generator","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[],"id":"Page Generator","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":550,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Tabs1","topRow":11,"bottomRow":55,"parentRowSpace":10,"type":"TABS_WIDGET","shouldScrollContents":false,"parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":16,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"children":[{"tabId":"tab1","labelTextSize":"0.875rem","boxShadow":"none","tabName":"SQL","rightColumn":634,"widgetName":"Canvas2","detachFromLayout":true,"widgetId":"nyka98xqpv","topRow":0,"bottomRow":400,"parentRowSpace":1,"type":"CANVAS_WIDGET","parentId":"jalvzswyyk","isLoading":false,"renderMode":"CANVAS","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text2","topRow":3,"bottomRow":7,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Datasource ID","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"957c72jpan","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text4","topRow":17,"bottomRow":21,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Table Name","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"nz74xi3ae3","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text6","topRow":21,"bottomRow":25,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Columns to Select","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"s1i89k31f5","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text7","topRow":29,"bottomRow":33,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.35546875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Column to Search","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"rbacxz6brz","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"resetFormOnClick":false,"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"FormButton1","onClick":"{{generate_sql_app.run(() => showAlert('Page Created!','success'), () => {})}}","rightColumn":63,"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"n6220hgzzs","topRow":33,"bottomRow":37,"isVisible":true,"type":"FORM_BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"nyka98xqpv","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":47,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Generate"},{"boxShadow":"none","widgetName":"datasource_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":3,"bottomRow":7,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"fk5njkiu28","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"tableName_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":17,"bottomRow":21,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"v6vho5uqct","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"select_cols_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":21,"bottomRow":25,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"e1j5kngy1t","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"search_col_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":29,"bottomRow":33,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"cqxwse0717","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"app_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":7.0791015625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":15,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"r1onz3oq9w","labelTextSize":"0.875rem","isRequired":false,"rightColumn":64,"dynamicHeight":"FIXED","widgetId":"26c0iltpjr","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text16","displayName":"Text","iconSVG":"/static/media/icon.97c59b52.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"TEXT_WIDGET","hideCard":false,"animateLoading":true,"overflow":"NONE","parentColumnSpace":7.0791015625,"dynamicTriggerPathList":[],"fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"shouldTruncate":false,"truncateButtonColor":"#FFC13D","text":"App ID","key":"99ilu0uxi8","labelTextSize":"0.875rem","rightColumn":14,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"242g7dtr9t","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"nyka98xqpv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4}]},{"tabId":"tab2","labelTextSize":"0.875rem","boxShadow":"none","tabName":"GSheet","rightColumn":634,"widgetName":"Canvas3","detachFromLayout":true,"widgetId":"neexe4fljs","topRow":0,"bottomRow":400,"parentRowSpace":1,"type":"CANVAS_WIDGET","parentId":"jalvzswyyk","isLoading":false,"renderMode":"CANVAS","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text8","topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"DataSource URL","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"3ghywz6tk6","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text9","topRow":8,"bottomRow":12,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"SpreadSheet URL","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"r6o12im1qd","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text10","topRow":15,"bottomRow":19,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Sheet Name","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"k0ul3uaoph","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text11","topRow":22,"bottomRow":26,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Table Header Index","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"l1r1tfbx6y","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Button1","onClick":"{{generate_gsheet_app.run()}}","buttonColor":"#03B365","topRow":30,"bottomRow":34,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Generate","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":62,"isDefaultClickDisabled":true,"widgetId":"zzsh2d5rns","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"neexe4fljs","isLoading":false,"borderRadius":"0px","buttonVariant":"PRIMARY"},{"boxShadow":"none","widgetName":"gsheet_ds_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":1,"bottomRow":5,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"dynamicHeight":"FIXED","widgetId":"j61fbsst0i","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"spreadsheet_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":8,"bottomRow":12,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"dynamicHeight":"FIXED","widgetId":"vm21ddffi6","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"sheet_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":15,"bottomRow":19,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"dynamicHeight":"FIXED","widgetId":"5r5hxd2qs8","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"header_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":22,"bottomRow":26,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":17,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"dynamicHeight":"FIXED","widgetId":"z3nz99y80l","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"neexe4fljs","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4}]},{"tabId":"tab7qxuerb9p7","boxShadow":"none","widgetName":"Canvas4","topRow":1,"bottomRow":400,"parentRowSpace":1,"canExtend":false,"type":"CANVAS_WIDGET","minHeight":410,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","widgetName":"Text12","topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Datasource URL","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"4l1uqhf2au","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text13","topRow":8,"bottomRow":12,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Collection Name","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"0y3rz6ufib","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text14","topRow":15,"bottomRow":19,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Keys to Fetch","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"s1fhjft9to","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text15","topRow":22,"bottomRow":26,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Key to Search","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"rwi67ouhe1","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Button2","onClick":"{{generate_mongo_app.run()}}","buttonColor":"#03B365","topRow":29,"bottomRow":33,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":8.6650390625,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[],"text":"Generate","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":62,"isDefaultClickDisabled":true,"widgetId":"6ui5kmqebf","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"4yqoh4fjmv","isLoading":false,"borderRadius":"0px","buttonVariant":"PRIMARY"},{"boxShadow":"none","widgetName":"mongo_ds_url","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":1,"bottomRow":5,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"dynamicHeight":"FIXED","widgetId":"3iwx4ppimv","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"collection_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":8,"bottomRow":12,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"dynamicHeight":"FIXED","widgetId":"82uk5g7krv","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"fetch_keys_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":15,"bottomRow":19,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":12.7998046875,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"dynamicHeight":"FIXED","widgetId":"jx1zxum47l","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"search_keys_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":22,"bottomRow":26,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":28.9375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"0equv9lg65","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":61,"dynamicHeight":"FIXED","widgetId":"24223uwmke","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"4yqoh4fjmv","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4}],"labelTextSize":"0.875rem","tabName":"Mongo","rightColumn":574.5625,"detachFromLayout":true,"widgetId":"4yqoh4fjmv","containerStyle":"none","isVisible":true,"version":1,"parentId":"jalvzswyyk","isLoading":false,"borderRadius":"0px"}],"labelTextSize":"0.875rem","rightColumn":45,"dynamicHeight":"FIXED","widgetId":"jalvzswyyk","accentColor":"{{appsmith.theme.colors.primaryColor}}","defaultTab":"SQL","shouldShowTabs":true,"tabsObj":{"tab1":{"widgetId":"nyka98xqpv","index":0,"label":"SQL","id":"tab1","isVisible":true},"tab2":{"widgetId":"neexe4fljs","index":1,"label":"GSheet","id":"tab2","isVisible":true},"tab7qxuerb9p7":{"widgetId":"4yqoh4fjmv","id":"tab7qxuerb9p7","label":"Mongo","isVisible":true}},"isVisible":true,"version":3,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4}]}}],"slug":"page-generator","isHidden":false},"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc4"},{"publishedPage":{"name":"MongoDB","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["data_table.sortOrder.column || 'col1'","key_select.selectedOptionValue","data_table.pageSize","data_table.sortOrder.order == \"desc\" ? -1 : 1","data_table.searchText||\"\"","(data_table.pageNo - 1) * data_table.pageSize","order_select.selectedOptionValue"],"name":"FindQuery","timeoutInMillisecond":10000,"id":"MongoDB_FindQuery"}]],"id":"MongoDB","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"object","cellBorderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"4444","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"22222","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col3","isVisible":true,"label":"Col 3","originalIdentifier":"col3","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":"33","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"111","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"4444","col2":"22222","col3":"33","col1":"111"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#fff","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(\n\t() => FindQuery.run(), \n\t(error) => showAlert(`Error while updating resource!\\n${error}`,'error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Document Id: {{data_table.selectedRow._id}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":39,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col4.accentColor"},{"key":"schema.__root_schema__.children.col4.borderRadius"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col3.accentColor"},{"key":"schema.__root_schema__.children.col3.borderRadius"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"title"},{"key":"borderRadius"},{"key":"boxShadow"},{"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"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"_id\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"0511vwn3zi","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow._id}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#fff","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":88,"parentRowSpace":10,"type":"CONTAINER_WIDGET","shouldScrollContents":true,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":880,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"data_table","onSort":"{{FindQuery.run()}}","columnOrder":["revenue","imdb_id","release_date","genres","vote_average","tagline","_id","title","vote_count","poster_path","homepage","status","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.borderRadius"}],"isVisibleDownload":true,"topRow":7,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{FindQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","animateLoading":true,"parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"primaryColumns._id.computedValue"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"primaryColumns.customColumn1.borderRadius"},{"key":"primaryColumns.revenue.computedValue"},{"key":"primaryColumns.imdb_id.computedValue"},{"key":"primaryColumns.release_date.computedValue"},{"key":"primaryColumns.genres.computedValue"},{"key":"primaryColumns.vote_average.computedValue"},{"key":"primaryColumns.tagline.computedValue"},{"key":"primaryColumns.title.computedValue"},{"key":"primaryColumns.vote_count.computedValue"},{"key":"primaryColumns.poster_path.computedValue"},{"key":"primaryColumns.homepage.computedValue"},{"key":"primaryColumns.status.computedValue"},{"key":"tableData"}],"leftColumn":1,"primaryColumns":{"imdb_id":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.imdb_id))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"imdb_id","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"imdb_id","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"boxShadow":"none","isDerived":true,"computedValue":"{{data_tableCopy.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"0.875rem","buttonColor":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"title":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.title))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"title","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"title","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"poster_path":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.poster_path))}}","textSize":"0.875rem","index":9,"isVisible":true,"label":"poster_path","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"poster_path","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"appsmith_mongo_escape_id":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_tableCopy.sanitizedTableData.map((currentRow) => ( currentRow._id))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"_id","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"_id","verticalAlignment":"CENTER"},"revenue":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.revenue))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"revenue","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"revenue","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"release_date":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.release_date))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"release_date","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"release_date","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"genres":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.genres))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"genres","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"genres","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"vote_average":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.vote_average))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"vote_average","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"vote_average","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"tagline":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.tagline))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"tagline","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"tagline","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"vote_count":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.vote_count))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"vote_count","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"vote_count","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"homepage":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.homepage))}}","textSize":"0.875rem","index":10,"isVisible":true,"label":"homepage","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"homepage","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"status":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.status))}}","textSize":"0.875rem","index":11,"isVisible":true,"label":"status","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"status","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"delimiter":",","derivedColumns":{"customColumn1":{"boxShadow":"none","isDerived":true,"computedValue":"","onClick":"{{DeleteQuery.run()}}","textSize":"0.875rem","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"labelTextSize":"0.875rem","rightColumn":64,"textSize":"0.875rem","widgetId":"m04j9ji345","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"tableData":"{{FindQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{FindQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"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}}","isVisiblePagination":true,"primaryColumnId":"_id","verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"boxShadow":"none","widgetName":"Text16","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":41,"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{FindQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"nj85l57r47","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"atgojamsmw","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}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":39,"dynamicHeight":"FIXED","widgetId":"mvubsemxfo","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Delete_Modal","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":45,"dynamicPropertyPathList":[],"buttonColor":"#3f3f46","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":33,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => FindQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":45,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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 document?","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}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":45,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"i3whp03wf0","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Insert_Modal","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":1,"isDisabled":false,"sourceData":"4444","fieldType":"Text 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","placeholderText":"","position":0,"isDisabled":false,"sourceData":"new entry 3","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col3","isVisible":true,"label":"Col 3","originalIdentifier":"col3","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":"33","fieldType":"Text 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":"string","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"111","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"4444","col2":"new entry 3","col3":"33","col1":"111"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","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":"onSubmit"},{"key":"borderRadius"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{InsertQuery.run(\n\t() => FindQuery.run(\n\t\t() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n${error}`,'error'))\n}}","topRow":0,"bottomRow":59,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Document","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col4.accentColor"},{"key":"schema.__root_schema__.children.col4.borderRadius"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col3.accentColor"},{"key":"schema.__root_schema__.children.col3.borderRadius"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.col2.accentColor"},{"key":"schema.__root_schema__.children.col2.borderRadius"}],"borderWidth":"","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\", \"_id\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"ktpocp4ka2","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}],"isDisabled":false}],"height":600,"labelTextSize":"0.875rem","rightColumn":41,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"vmorzie6eq","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4}]},"mongoEscapedWidgetNames":["data_table"]}],"slug":"mongodb","isHidden":false},"deleted":false,"unpublishedPage":{"name":"MongoDB","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize","data_table.searchText||\"\"","data_table.sortOrder.column || 'col1'","data_table.sortOrder.order == \"desc\" ? -1 : 1","key_select.selectedOptionValue","order_select.selectedOptionValue"],"name":"FindQuery","timeoutInMillisecond":10000,"id":"MongoDB_FindQuery"}]],"id":"MongoDB","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":880,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"object","cellBorderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accessor":"__root_schema__","isVisible":true,"label":"","originalIdentifier":"__root_schema__","borderRadius":"{{((sourceData, formData, fieldState) => (appsmith.theme.borderRadius.appBorderRadius))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"4444","fieldType":"Text Input"},"col2":{"labelTextSize":"0.875rem","identifier":"col2","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col2))(update_form.sourceData, update_form.formData, update_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":"22222","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col3","isVisible":true,"label":"Col 3","originalIdentifier":"col3","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":"33","fieldType":"Text Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":"111","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"4444","col2":"22222","col3":"33","col1":"111"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#fff","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(\n\t() => FindQuery.run(), \n\t(error) => showAlert(`Error while updating resource!\\n${error}`,'error'))}}","topRow":0,"bottomRow":86,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Document Id: {{data_table.selectedRow._id}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":39,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col4.accentColor"},{"key":"schema.__root_schema__.children.col4.borderRadius"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col3.accentColor"},{"key":"schema.__root_schema__.children.col3.borderRadius"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"title"},{"key":"borderRadius"},{"key":"boxShadow"},{"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"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\", \"_id\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"0511vwn3zi","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow._id}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#fff","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":88,"parentRowSpace":10,"type":"CONTAINER_WIDGET","shouldScrollContents":true,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":880,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"data_table","onSort":"{{FindQuery.run()}}","columnOrder":["revenue","imdb_id","release_date","genres","vote_average","tagline","_id","title","vote_count","poster_path","homepage","status","customColumn1"],"dynamicPropertyPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.borderRadius"}],"isVisibleDownload":true,"topRow":7,"bottomRow":86,"parentRowSpace":10,"onPageChange":"{{FindQuery.run()}}","isSortable":true,"type":"TABLE_WIDGET","defaultSelectedRow":"0","animateLoading":true,"parentColumnSpace":1,"dynamicTriggerPathList":[{"key":"onPageChange"},{"key":"primaryColumns.customColumn1.onClick"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"dynamicBindingPathList":[{"key":"primaryColumns.customColumn1.buttonLabel"},{"key":"primaryColumns._id.computedValue"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"primaryColumns.customColumn1.borderRadius"},{"key":"primaryColumns.revenue.computedValue"},{"key":"primaryColumns.imdb_id.computedValue"},{"key":"primaryColumns.release_date.computedValue"},{"key":"primaryColumns.genres.computedValue"},{"key":"primaryColumns.vote_average.computedValue"},{"key":"primaryColumns.tagline.computedValue"},{"key":"primaryColumns.title.computedValue"},{"key":"primaryColumns.vote_count.computedValue"},{"key":"primaryColumns.poster_path.computedValue"},{"key":"primaryColumns.homepage.computedValue"},{"key":"primaryColumns.status.computedValue"},{"key":"tableData"},{"key":"derivedColumns.customColumn1.boxShadow"},{"key":"primaryColumns.customColumn1.boxShadow"},{"key":"derivedColumns.customColumn1.borderRadius"},{"key":"derivedColumns.customColumn1.buttonColor"},{"key":"primaryColumns.customColumn1.buttonColor"},{"key":"primaryColumns.customColumn1.computedValue"},{"key":"derivedColumns.customColumn1.computedValue"}],"leftColumn":1,"primaryColumns":{"imdb_id":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.imdb_id))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"imdb_id","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"imdb_id","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"customColumn1":{"isCellVisible":true,"boxShadow":"{{data_table.sanitizedTableData.map((currentRow) => ( \"none\"))}}","isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{showModal('Delete_Modal')}}","textSize":"0.875rem","buttonColor":"{{data_table.sanitizedTableData.map((currentRow) => ( (appsmith.theme.colors.primaryColor)))}}","iconName":"","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"},"title":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.title))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"title","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"title","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"poster_path":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.poster_path))}}","textSize":"0.875rem","index":9,"isVisible":true,"label":"poster_path","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"poster_path","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"appsmith_mongo_escape_id":{"isCellVisible":true,"boxShadow":"none","isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._id))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"_id","columnType":"text","horizontalAlignment":"LEFT","borderRadius":"0px","width":150,"enableFilter":true,"enableSort":true,"id":"_id","verticalAlignment":"CENTER"},"revenue":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.revenue))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"revenue","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"revenue","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"release_date":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.release_date))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"release_date","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"release_date","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"genres":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.genres))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"genres","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"genres","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"vote_average":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.vote_average))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"vote_average","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"vote_average","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"tagline":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.tagline))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"tagline","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"tagline","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"vote_count":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.vote_count))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"vote_count","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"vote_count","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"homepage":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.homepage))}}","textSize":"0.875rem","index":10,"isVisible":true,"label":"homepage","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"homepage","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"status":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.status))}}","textSize":"0.875rem","index":11,"isVisible":true,"label":"status","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"status","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"delimiter":",","derivedColumns":{"customColumn1":{"boxShadow":"{{data_table.sanitizedTableData.map((currentRow) => ( \"none\"))}}","isDerived":true,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.customColumn1))}}","onClick":"{{DeleteQuery.run()}}","textSize":"0.875rem","buttonColor":"{{data_table.sanitizedTableData.map((currentRow) => ( (appsmith.theme.colors.primaryColor)))}}","buttonStyle":"#DD4B34","index":7,"isVisible":true,"label":"Delete","buttonLabel":"{{data_table.sanitizedTableData.map((currentRow) => { return 'Delete'})}}","columnType":"button","horizontalAlignment":"LEFT","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( (appsmith.theme.borderRadius.appBorderRadius)))}}","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","buttonLabelColor":"#FFFFFF","verticalAlignment":"CENTER"}},"labelTextSize":"0.875rem","rightColumn":64,"textSize":"0.875rem","widgetId":"m04j9ji345","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisibleFilters":true,"tableData":"{{FindQuery.data}}","isVisible":"true","label":"Data","searchKey":"","version":3,"parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"isLoading":false,"isVisibleCompactMode":true,"onSearchTextChanged":"{{FindQuery.run()}}","horizontalAlignment":"LEFT","isVisibleSearch":true,"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}}","isVisiblePagination":true,"primaryColumnId":"_id","verticalAlignment":"CENTER","columnSizeMap":{"task":245,"deliveryAddress":170,"step":62,"id":228,"status":75}},{"boxShadow":"none","widgetName":"Text16","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":41,"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{FindQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"nj85l57r47","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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"atgojamsmw","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}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":39,"dynamicHeight":"FIXED","widgetId":"mvubsemxfo","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Delete_Modal","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":45,"dynamicPropertyPathList":[],"buttonColor":"#3f3f46","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":33,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => FindQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":45,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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 document?","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}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":45,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"i3whp03wf0","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Insert_Modal","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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":{"col4":{"labelTextSize":"0.875rem","identifier":"col4","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col4","isVisible":true,"label":"Col 4","originalIdentifier":"col4","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":1,"isDisabled":false,"sourceData":"4444","fieldType":"Text 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","placeholderText":"","position":0,"isDisabled":false,"sourceData":"new entry 3","cellBoxShadow":"none","fieldType":"Text Input"},"col3":{"labelTextSize":"0.875rem","identifier":"col3","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","accessor":"col3","isVisible":true,"label":"Col 3","originalIdentifier":"col3","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":"33","fieldType":"Text 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":"string","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":3,"isDisabled":false,"sourceData":"111","fieldType":"Text Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":"4444","col2":"new entry 3","col3":"33","col1":"111"},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","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":"onSubmit"},{"key":"borderRadius"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{InsertQuery.run(\n\t() => FindQuery.run(\n\t\t() => closeModal('Insert_Modal')), \n\t(error) => showAlert(`Error while inserting resource!\\n${error}`,'error'))\n}}","topRow":0,"bottomRow":59,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Document","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"key":"sourceData"},{"key":"schema.__root_schema__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"schema.__root_schema__.children.col4.accentColor"},{"key":"schema.__root_schema__.children.col4.borderRadius"},{"key":"schema.__root_schema__.children.col3.defaultValue"},{"key":"schema.__root_schema__.children.col3.accentColor"},{"key":"schema.__root_schema__.children.col3.borderRadius"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"schema.__root_schema__.children.col2.defaultValue"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"submitButtonStyles.buttonColor"},{"key":"schema.__root_schema__.children.col2.accentColor"},{"key":"schema.__root_schema__.children.col2.borderRadius"}],"borderWidth":"","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\", \"_id\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"ktpocp4ka2","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}],"isDisabled":false}],"height":600,"labelTextSize":"0.875rem","rightColumn":41,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"vmorzie6eq","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4}]},"mongoEscapedWidgetNames":["data_table"]}],"slug":"mongodb","isHidden":false},"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc5"},{"publishedPage":{"name":"SQL","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize","data_table.searchText || \"\"","data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || \"ASC\""],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"SQL_SelectQuery"}]],"id":"SQL","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"boolean","accessor":"col4","isVisible":true,"label":"Col 4","alignWidget":"LEFT","originalIdentifier":"col4","children":{},"position":3,"isDisabled":false,"sourceData":false,"fieldType":"Switch"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col2","isVisible":true,"label":"col2","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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"number","accessor":"col3","isVisible":true,"label":"Col 3","originalIdentifier":"col3","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":1003,"fieldType":"Number Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"number","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":1000,"fieldType":"Number Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":true,"col2":"skill B","col3":9,"col1":5},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}","topRow":0,"bottomRow":89,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row col1: {{data_table.selectedRow.col1}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":39,"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":"isVisible"},{"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__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"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.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"title"},{"key":"schema.__root_schema__.children.col2.accentColor"},{"key":"schema.__root_schema__.children.col2.borderRadius"},{"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"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"6g4ewsx2v0","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow.col1}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#fff","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":89,"parentRowSpace":10,"type":"CONTAINER_WIDGET","shouldScrollContents":true,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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","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.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col6.computedValue"},{"key":"primaryColumns.col7.computedValue"},{"key":"primaryColumns.col8.computedValue"},{"key":"primaryColumns.col9.computedValue"},{"key":"primaryColumns.col10.computedValue"},{"key":"primaryColumns.col11.computedValue"},{"key":"primaryColumns.col12.computedValue"}],"leftColumn":1,"delimiter":",","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}}","primaryColumnId":"col1","columnSizeMap":{"task":245,"step":62,"status":75},"widgetName":"data_table","defaultPageSize":0,"columnOrder":["col1","col2","col3","col4","col5","col6","col7","col8","col9","col10","col11","col12","customColumn1"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"displayName":"Table","bottomRow":85,"parentRowSpace":10,"defaultSelectedRow":"0","hideCard":false,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn1.onClick"},{"key":"onPageChange"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"primaryColumns":{"col12":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col12))}}","textSize":"0.875rem","index":11,"isVisible":true,"label":"col12","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col12","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col11":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col11))}}","textSize":"0.875rem","index":10,"isVisible":true,"label":"col11","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col11","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"},"col8":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col8))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"col8","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col8","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col9":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col9))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"col9","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col9","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col6":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col6))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"col6","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col6","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col10":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col10))}}","textSize":"0.875rem","index":9,"isVisible":true,"label":"col10","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col10","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col7":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col7))}}","textSize":"0.875rem","index":6,"isVisible":true,"label":"col7","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col7","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col5","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"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.sanitizedTableData.map((currentRow) => ( '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":"uji69u6swx","tableData":"{{SelectQuery.data}}","label":"Data","searchKey":"","parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"renderMode":"CANVAS","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"boxShadow":"none","widgetName":"Text16","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":55,"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"2jj0197tff","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":"borderRadius"},{"key":"buttonColor"}],"buttonVariant":"PRIMARY","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"kby34l9nbb","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}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":39,"dynamicHeight":"FIXED","widgetId":"mvubsemxfo","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Delete_Modal","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":46,"dynamicPropertyPathList":[],"buttonColor":"#2E3D49","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":45,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"i3whp03wf0","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Insert_Modal","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"number","cellBorderRadius":"0px","accessor":"col5","isVisible":true,"label":"Col 5","originalIdentifier":"col5","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":4,"isDisabled":false,"cellBoxShadow":"none","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":"{{appsmith.theme.boxShadow.appBoxShadow}}","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":"borderRadius"},{"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":58,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"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":"sourceData"},{"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__.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":"boxShadow"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"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.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"},{"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"}],"borderWidth":"","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"w10l8merz2","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}],"isDisabled":false}],"height":600,"labelTextSize":"0.875rem","rightColumn":41,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"vmorzie6eq","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4}]}}],"slug":"sql","isHidden":false},"deleted":false,"unpublishedPage":{"name":"SQL","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["(data_table.pageNo - 1) * data_table.pageSize","data_table.pageSize","data_table.searchText || \"\"","data_table.sortOrder.column || 'col1'","data_table.sortOrder.order || \"ASC\""],"name":"SelectQuery","timeoutInMillisecond":10000,"id":"SQL_SelectQuery"}]],"id":"SQL","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":125,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"schema":{"__root_schema__":{"labelTextSize":"0.875rem","identifier":"__root_schema__","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col4))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"boolean","accessor":"col4","isVisible":true,"label":"Col 4","alignWidget":"LEFT","originalIdentifier":"col4","children":{},"position":3,"isDisabled":false,"sourceData":false,"fieldType":"Switch"},"col5":{"labelTextSize":"0.875rem","identifier":"col5","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(update_form.sourceData, update_form.formData, update_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))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"string","cellBorderRadius":"0px","accessor":"col2","isVisible":true,"label":"col2","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","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col3))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"number","accessor":"col3","isVisible":true,"label":"Col 3","originalIdentifier":"col3","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":2,"isDisabled":false,"sourceData":1003,"fieldType":"Number Input"},"col1":{"labelTextSize":"0.875rem","identifier":"col1","boxShadow":"none","isRequired":false,"isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col1))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","accentColor":"{{((sourceData, formData, fieldState) => ((appsmith.theme.colors.primaryColor)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","dataType":"number","accessor":"col1","isVisible":true,"label":"Col 1","originalIdentifier":"col1","borderRadius":"{{((sourceData, formData, fieldState) => ((appsmith.theme.borderRadius.appBorderRadius)))(update_form.sourceData, update_form.formData, update_form.fieldState)}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":0,"isDisabled":false,"sourceData":1000,"fieldType":"Number Input"}},"position":-1,"isDisabled":false,"sourceData":{"col4":true,"col2":"skill B","col3":9,"col1":5},"cellBoxShadow":"none","fieldType":"Object"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"update_form","submitButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"PRIMARY"},"borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"schema.__root_schema__.children.date_of_birth.defaultValue"},{"key":"schema.__root_schema__.children.col5.defaultValue"},{"key":"isVisible"},{"key":"schema.__root_schema__.children.col4.defaultValue"},{"key":"borderRadius"},{"key":"onSubmit"}],"displayName":"JSON Form","iconSVG":"/static/media/icon.6bacf7df.svg","onSubmit":"{{UpdateQuery.run(() => SelectQuery.run(), (error) => showAlert(`Error while updating resource!\\n ${error}`,'error'))}}","topRow":0,"bottomRow":89,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Update Row col1: {{data_table.selectedRow.col1}}","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":39,"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":"isVisible"},{"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__.borderRadius"},{"key":"schema.__root_schema__.cellBorderRadius"},{"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.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"},{"key":"schema.__root_schema__.children.col1.defaultValue"},{"key":"schema.__root_schema__.children.col1.accentColor"},{"key":"schema.__root_schema__.children.col1.borderRadius"},{"key":"title"},{"key":"schema.__root_schema__.children.col2.accentColor"},{"key":"schema.__root_schema__.children.col2.borderRadius"},{"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"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"borderRadius"},{"key":"boxShadow"}],"borderWidth":"0","sourceData":"{{_.omit(data_table.selectedRow, \"customColumn1\", \"__originalIndex__\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"6g4ewsx2v0","resetButtonStyles":{"boxShadow":"none","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","buttonVariant":"SECONDARY"},"isVisible":"{{!!data_table.selectedRow.col1}}","version":1,"parentId":"0","renderMode":"CANVAS","isLoading":false,"scrollContents":true,"fixedFooter":true,"submitButtonLabel":"Update","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},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container1","borderColor":"#fff","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":89,"parentRowSpace":10,"type":"CONTAINER_WIDGET","shouldScrollContents":true,"parentColumnSpace":19.75,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"boxShadow"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"59rw5mx0bq","containerStyle":"none","topRow":0,"bottomRow":890,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"mvubsemxfo","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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","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.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns.col6.computedValue"},{"key":"primaryColumns.col7.computedValue"},{"key":"primaryColumns.col8.computedValue"},{"key":"primaryColumns.col9.computedValue"},{"key":"primaryColumns.col10.computedValue"},{"key":"primaryColumns.col11.computedValue"},{"key":"primaryColumns.col12.computedValue"}],"leftColumn":1,"delimiter":",","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}}","primaryColumnId":"col1","columnSizeMap":{"task":245,"step":62,"status":75},"widgetName":"data_table","defaultPageSize":0,"columnOrder":["col1","col2","col3","col4","col5","col6","col7","col8","col9","col10","col11","col12","customColumn1"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"displayName":"Table","bottomRow":85,"parentRowSpace":10,"defaultSelectedRow":"0","hideCard":false,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn1.onClick"},{"key":"onPageChange"},{"key":"onSearchTextChanged"},{"key":"onSort"}],"primaryColumns":{"col12":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col12))}}","textSize":"0.875rem","index":11,"isVisible":true,"label":"col12","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col12","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col11":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col11))}}","textSize":"0.875rem","index":10,"isVisible":true,"label":"col11","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col11","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"},"col8":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col8))}}","textSize":"0.875rem","index":7,"isVisible":true,"label":"col8","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col8","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col9":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col9))}}","textSize":"0.875rem","index":8,"isVisible":true,"label":"col9","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col9","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col6":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col6))}}","textSize":"0.875rem","index":5,"isVisible":true,"label":"col6","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col6","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col10":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col10))}}","textSize":"0.875rem","index":9,"isVisible":true,"label":"col10","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col10","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col7":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col7))}}","textSize":"0.875rem","index":6,"isVisible":true,"label":"col7","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col7","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col5","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"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.sanitizedTableData.map((currentRow) => ( '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":"uji69u6swx","tableData":"{{SelectQuery.data}}","label":"Data","searchKey":"","parentId":"59rw5mx0bq","serverSidePaginationEnabled":true,"renderMode":"CANVAS","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"boxShadow":"none","widgetName":"Text16","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"template_table Data","labelTextSize":"0.875rem","rightColumn":55,"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"refresh_btn","rightColumn":64,"onClick":"{{SelectQuery.run()}}","iconName":"refresh","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"2jj0197tff","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":"borderRadius"},{"key":"buttonColor"}],"buttonVariant":"PRIMARY","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"add_btn","rightColumn":59,"onClick":"{{showModal('Insert_Modal')}}","iconName":"add","buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"kby34l9nbb","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}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":39,"dynamicHeight":"FIXED","widgetId":"mvubsemxfo","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Delete_Modal","topRow":13,"bottomRow":37,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":21,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"zi8fjakv8o","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"i3whp03wf0","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","onClick":"{{closeModal('Delete_Modal')}}","rightColumn":46,"dynamicPropertyPathList":[],"buttonColor":"#2E3D49","isDefaultClickDisabled":true,"widgetId":"lryg8kw537","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":34,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Delete_Button","onClick":"{{DeleteQuery.run(() => SelectQuery.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"qq02lh7ust","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"zi8fjakv8o","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"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}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":45,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"i3whp03wf0","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Insert_Modal","topRow":16,"bottomRow":40,"parentRowSpace":10,"type":"MODAL_WIDGET","shouldScrollContents":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":17,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":453.1875,"detachFromLayout":true,"widgetId":"9rhv3ioohq","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"vmorzie6eq","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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","isRequired":false,"boxShadow":"none","isCustomField":false,"defaultValue":"{{((sourceData, formData, fieldState) => (sourceData.col5))(insert_form.sourceData, insert_form.formData, insert_form.fieldState)}}","accentColor":"{{appsmith.theme.colors.primaryColor}}","dataType":"number","cellBorderRadius":"0px","accessor":"col5","isVisible":true,"label":"Col 5","originalIdentifier":"col5","borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":{},"isSpellCheck":false,"iconAlign":"left","position":4,"isDisabled":false,"cellBoxShadow":"none","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":"{{appsmith.theme.boxShadow.appBoxShadow}}","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":"borderRadius"},{"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":58,"fieldLimitExceeded":false,"parentRowSpace":10,"title":"Insert Row","type":"JSON_FORM_WIDGET","hideCard":false,"animateLoading":true,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"onSubmit"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"schema.__root_schema__.defaultValue"},{"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":"sourceData"},{"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__.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":"boxShadow"},{"key":"submitButtonStyles.buttonColor"},{"key":"submitButtonStyles.borderRadius"},{"key":"resetButtonStyles.buttonColor"},{"key":"resetButtonStyles.borderRadius"},{"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.col5.accentColor"},{"key":"schema.__root_schema__.children.col5.borderRadius"},{"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"}],"borderWidth":"","sourceData":"{{_.omit(data_table.tableData[0], \"customColumn1\", \"__primaryKey__\")}}","showReset":true,"resetButtonLabel":"Reset","key":"h9l9ozr8op","labelTextSize":"0.875rem","backgroundColor":"#fff","rightColumn":64,"dynamicHeight":"FIXED","autoGenerateForm":true,"widgetId":"w10l8merz2","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}],"isDisabled":false}],"height":600,"labelTextSize":"0.875rem","rightColumn":41,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"vmorzie6eq","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4}]}}],"slug":"sql","isHidden":false},"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc0"},{"publishedPage":{"name":"S3","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":[" 60 * 24 ","search_input.text","(File_List.pageNo - 1) * File_List.pageSize","File_List.pageSize"],"name":"ListFiles","timeoutInMillisecond":10000,"id":"S3_ListFiles"}]],"id":"S3","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":850,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"boxShadow":"none","widgetName":"Zoom_Modal2","topRow":89,"bottomRow":89,"parentRowSpace":1,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas9Copy","rightColumn":0,"detachFromLayout":true,"widgetId":"80wzwajsst","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"kqxoe40pg6","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon3Copy","rightColumn":64,"onClick":"{{closeModal('Zoom_Modal2')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"8kw9kfcd5y","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"80wzwajsst","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"boxShadow":"none","widgetName":"Text15Copy","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Zoom Image","labelTextSize":"0.875rem","rightColumn":41,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"vk710q1v3s","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"80wzwajsst","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button13Copy","rightColumn":63,"onClick":"{{closeModal('Zoom_Modal2')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"lfiwss1u3w","topRow":53,"bottomRow":57,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"80wzwajsst","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":47,"dynamicBindingPathList":[],"borderRadius":"0px","buttonVariant":"PRIMARY","text":"Close","isDisabled":false},{"labelTextSize":"0.875rem","image":"{{selected_files.selectedItem.base64}}","boxShadow":"none","widgetName":"Image3Copy","rightColumn":64,"objectFit":"contain","widgetId":"2bewgakjx9","topRow":6,"bottomRow":51,"parentRowSpace":10,"isVisible":true,"type":"IMAGE_WIDGET","version":1,"parentId":"80wzwajsst","isLoading":false,"maxZoomLevel":8,"parentColumnSpace":8,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":1,"dynamicBindingPathList":[{"key":"image"}],"borderRadius":"0px","defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png"}],"isDisabled":false}],"height":600,"labelTextSize":"0.875rem","rightColumn":0,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"kqxoe40pg6","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container3","borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":85,"parentRowSpace":10,"type":"CONTAINER_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"boxShadow"},{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":634,"detachFromLayout":true,"widgetId":"6tz2s7ivi5","containerStyle":"none","topRow":0,"bottomRow":850,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"th4d9oxy8z","minHeight":830,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"template":{"DownloadIcon":{"boxShadow":"NONE","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":57,"iconName":"download","widgetId":"ljk8fj5jc1","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"},"CopyURLIcon":{"boxShadow":"NONE","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":45,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":51,"iconName":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'duplicate';\n })();\n })}}","widgetId":"d2z5zj56j9","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"},"EditIcon":{"boxShadow":"NONE","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":39,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":45,"iconName":"edit","widgetId":"x5bft8h9vd","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"},"Text21":{"widgetName":"Text21","rightColumn":24,"textAlign":"LEFT","displayName":"Text","iconSVG":"/static/media/icon.e6c93592.svg","widgetId":"nu44q8kd9p","topRow":4,"bottomRow":8,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"hideCard":false,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"text"}],"leftColumn":16,"fontSize":"PARAGRAPH","text":"{{File_List.listData.map((currentItem) => currentItem.id)}}","textStyle":"BODY","key":"xvmvdekk3s"},"Text20":{"widgetName":"Text20","rightColumn":28,"textAlign":"LEFT","displayName":"Text","iconSVG":"/static/media/icon.e6c93592.svg","widgetId":"thgbdemmiw","topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"hideCard":false,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"text"}],"leftColumn":16,"fontSize":"PARAGRAPH","text":"{{File_List.listData.map((currentItem) => currentItem.name)}}","textStyle":"HEADING","key":"xvmvdekk3s"},"Image3":{"widgetName":"Image3","displayName":"Image","iconSVG":"/static/media/icon.52d8fb96.svg","topRow":0,"bottomRow":8.4,"type":"IMAGE_WIDGET","hideCard":false,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","dynamicBindingPathList":[{"key":"image"}],"leftColumn":0,"defaultImage":"https://assets.appsmith.com/widgets/default.png","key":"lsc53q139g","image":"{{File_List.listData.map((currentItem) => currentItem.img)}}","rightColumn":16,"objectFit":"contain","widgetId":"2rrg354q8i","isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"maxZoomLevel":1,"enableDownload":false,"enableRotation":false},"FileListItemImage":{"widgetName":"FileListItemImage","onClick":"{{showModal('Zoom_Modal')}}","dynamicPropertyPathList":[],"topRow":1,"bottomRow":13,"parentRowSpace":10,"type":"IMAGE_WIDGET","parentColumnSpace":19.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":1,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png';\n })();\n })}}","image":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.signedUrl;\n })();\n })}}","rightColumn":20,"objectFit":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}","widgetId":"lh1sjszc93","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"enableDownload":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"enableRotation":true,"defaultImage":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","isLoading":false,"maxZoomLevel":1,"enableDownload":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","enableRotation":false},"Container7":{"borderColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}","borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}","borderWidth":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}"},"FileListItemName":{"widgetName":"FileListItemName","rightColumn":63,"textAlign":"LEFT","widgetId":"qyqv89mu1c","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"leftColumn":true,"fontSize":true,"text":true},"topRow":1,"bottomRow":8,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"lcz0rhije8","isLoading":false,"parentColumnSpace":19.0625,"dynamicTriggerPathList":[],"fontFamily":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}","leftColumn":21,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.fileName;\n })();\n })}}"},"DeleteIcon":{"boxShadow":"NONE","widgetName":"DeleteIcon","onClick":"{{showModal('delete_modal')}}","buttonColor":"#DD4B34","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":57,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":63,"iconName":"trash","widgetId":"f8ipd8gbls","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"File_List","listData":"{{ListFiles.data}}","isCanvas":true,"displayName":"List","iconSVG":"/static/media/icon.9925ee17.svg","topRow":10,"bottomRow":83,"parentRowSpace":10,"onPageChange":"{{ListFiles.run()}}","type":"LIST_WIDGET","hideCard":false,"gridGap":0,"parentColumnSpace":9.67822265625,"dynamicTriggerPathList":[{"key":"template.DownloadIcon.onClick"},{"key":"template.CopyURLIcon.onClick"},{"key":"onPageChange"}],"leftColumn":1,"dynamicBindingPathList":[{"key":"listData"},{"key":"template.FileListItemImage.image"},{"key":"template.FileListItemName.text"},{"key":"template.EditIcon.buttonColor"},{"key":"template.CopyURLIcon.buttonColor"},{"key":"template.DownloadIcon.buttonColor"},{"key":"template.Container7.borderColor"},{"key":"template.Container7.borderWidth"},{"key":"template.Container7.borderRadius"},{"key":"template.CopyURLIcon.iconName"},{"key":"accentColor"},{"key":"template.FileListItemImage.objectFit"},{"key":"boxShadow"},{"key":"borderRadius"},{"key":"template.EditIcon.borderRadius"},{"key":"template.CopyURLIcon.borderRadius"},{"key":"template.DownloadIcon.borderRadius"},{"key":"template.DeleteIcon.borderRadius"},{"key":"template.FileListItemName.fontFamily"},{"key":"template.FileListItemImage.borderRadius"},{"key":"template.FileListItemImage.defaultImage"}],"gridType":"vertical","enhancements":true,"children":[{"boxShadow":"none","widgetName":"Canvas14","displayName":"Canvas","topRow":0,"bottomRow":390,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":false,"hideCard":true,"dropDisabled":true,"openParentPropertyPane":true,"minHeight":400,"noPad":true,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","widgetName":"Container7","borderColor":"#2E3D4955","disallowCopy":true,"isCanvas":true,"dynamicPropertyPathList":[{"key":"borderRadius"}],"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":0,"bottomRow":17,"dragDisabled":true,"type":"CONTAINER_WIDGET","hideCard":false,"openParentPropertyPane":true,"isDeletable":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas15","detachFromLayout":true,"displayName":"Canvas","widgetId":"lcz0rhije8","topRow":0,"bottomRow":170,"containerStyle":"none","parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"66oc53smx3","renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"#2E3D49","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":39,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":45,"iconName":"edit","dynamicHeight":"FIXED","widgetId":"x5bft8h9vd","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"#2E3D49","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":45,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":51,"iconName":"duplicate","dynamicHeight":"FIXED","widgetId":"d2z5zj56j9","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"#2E3D49","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":57,"iconName":"download","dynamicHeight":"FIXED","widgetId":"ljk8fj5jc1","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"DeleteIcon","onClick":"{{showModal('delete_modal')}}","buttonColor":"#DD4B34","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":57,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":63,"iconName":"trash","dynamicHeight":"FIXED","widgetId":"f8ipd8gbls","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"FileListItemName","topRow":0,"bottomRow":7,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":19.0625,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":21,"dynamicBindingPathList":[{"key":"text"},{"key":"fontFamily"}],"text":"{{currentItem.fileName}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"kmwv6dap5n","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"leftColumn":true,"fontSize":true,"text":true},"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"lcz0rhije8","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"FileListItemImage","onClick":"{{showModal('Zoom_Modal')}}","dynamicPropertyPathList":[],"topRow":0,"bottomRow":13,"parentRowSpace":10,"type":"IMAGE_WIDGET","parentColumnSpace":19.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":1,"dynamicBindingPathList":[{"key":"image"},{"key":"borderRadius"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png","labelTextSize":"0.875rem","image":"{{currentItem.signedUrl}}","rightColumn":20,"objectFit":"contain","dynamicHeight":"FIXED","widgetId":"4laf7e6wer","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"enableDownload":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"enableRotation":true,"defaultImage":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","isLoading":false,"maxZoomLevel":1,"enableDownload":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","enableRotation":false}],"key":"29vrztch46"}],"borderWidth":"1","key":"cw0dtdoe0g","disablePropertyPane":true,"labelTextSize":"0.875rem","backgroundColor":"white","rightColumn":64,"dynamicHeight":"FIXED","widgetId":"66oc53smx3","containerStyle":"card","isVisible":true,"version":1,"parentId":"sh1yahe7kl","renderMode":"CANVAS","isLoading":false,"borderRadius":"5px","maxDynamicHeight":9000,"minDynamicHeight":4}],"key":"29vrztch46","labelTextSize":"0.875rem","rightColumn":232.27734375,"detachFromLayout":true,"widgetId":"sh1yahe7kl","containerStyle":"none","isVisible":true,"version":1,"parentId":"cjgg2thzom","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px"}],"privateWidgets":{"undefined":true},"key":"x51ms5k6q9","labelTextSize":"0.875rem","backgroundColor":"transparent","rightColumn":63,"itemBackgroundColor":"#F6F7F8","widgetId":"cjgg2thzom","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"parentId":"6tz2s7ivi5","serverSidePaginationEnabled":true,"renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},{"boxShadow":"none","widgetName":"search_input","dynamicPropertyPathList":[{"key":"onTextChanged"}],"displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":6,"bottomRow":10,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":16.4169921875,"dynamicTriggerPathList":[{"key":"onTextChanged"}],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","placeholderText":"Search File Prefix","isDisabled":false,"key":"auxyd97lu3","validation":"true","labelTextSize":"0.875rem","isRequired":false,"onTextChanged":"{{ListFiles.run()}}","rightColumn":40,"dynamicHeight":"FIXED","widgetId":"why172fko6","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"6tz2s7ivi5","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text6","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":1,"dynamicBindingPathList":[{"key":"fontFamily"}],"text":"template_table Bucket","labelTextSize":"0.875rem","rightColumn":63,"backgroundColor":"","textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"t54ituq472","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"6tz2s7ivi5","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":37,"dynamicHeight":"FIXED","widgetId":"th4d9oxy8z","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"delete_modal","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas6","rightColumn":0,"detachFromLayout":true,"widgetId":"ozvpoudxz2","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"9g0cw9adf8","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('delete_modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"xkyh49z71e","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"ozvpoudxz2","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"boxShadow":"none","widgetName":"Text12","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Delete File","labelTextSize":"0.875rem","rightColumn":41,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"s1y44xm547","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button10","rightColumn":48,"onClick":"{{closeModal('delete_modal')}}","isDefaultClickDisabled":true,"buttonColor":"#3f3f46","widgetId":"pi0t67rnwh","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button11","onClick":"{{\nDeleteFile.run(() => {closeModal('delete_modal'); \nListFiles.run();\n});\n}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"hp22uj3dra","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"boxShadow":"none","widgetName":"Text13","topRow":5,"bottomRow":16,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"Are you sure you want to delete the file?\n\n{{File_List.selectedItem.fileName}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"oypa9ad1tg","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":0,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"9g0cw9adf8","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Edit_Modal","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas10","rightColumn":0,"detachFromLayout":true,"widgetId":"6i7m9kpuky","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"usealgbtyj","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text17","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":4,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Update File","labelTextSize":"0.875rem","rightColumn":41,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"z64z3l112n","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button15","rightColumn":44,"onClick":"{{closeModal('Edit_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#3f3f46","widgetId":"trc4e6ylcz","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":32,"dynamicBindingPathList":[],"borderRadius":"0.375rem","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"update_button","onClick":"{{UpdateFile.run(() => {ListFiles.run();resetWidget('update_file_picker');closeModal('Edit_Modal');})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"8lbthc9dml","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":44,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Update","isDisabled":"{{update_file_picker.files.length == 0}}"},{"boxShadow":"none","widgetName":"Text18","topRow":6,"bottomRow":10,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"File Name","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"qb26g34etr","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"update_file_picker","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"FilePicker","iconSVG":"/static/media/icon.7c5ad9c3.svg","topRow":11,"bottomRow":15,"parentRowSpace":10,"allowedFileTypes":[],"type":"FILE_PICKER_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[],"leftColumn":18,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"isDisabled":false,"key":"h2212wpg64","labelTextSize":"0.875rem","isRequired":false,"rightColumn":64,"isDefaultClickDisabled":true,"widgetId":"i8g6khu01a","defaultSelectedFiles":[],"isVisible":true,"label":"Select File","maxFileSize":"10","version":1,"fileDataType":"Base64","parentId":"6i7m9kpuky","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","files":[],"maxNumFiles":1},{"boxShadow":"none","widgetName":"update_file_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":6,"bottomRow":10,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":true,"key":"auxyd97lu3","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":64,"dynamicHeight":"FIXED","widgetId":"uabsu3mjt3","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"6i7m9kpuky","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"{{File_List.selectedItem.fileName}}","minDynamicHeight":4}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":0,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"usealgbtyj","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container6","borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":85,"parentRowSpace":10,"type":"CONTAINER_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":37,"dynamicBindingPathList":[{"key":"boxShadow"},{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas13","rightColumn":634,"detachFromLayout":true,"widgetId":"xv97g6rzgq","containerStyle":"none","topRow":0,"bottomRow":850,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"yg1iyxq9kd","minHeight":830,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"template":{"Canvas7":{"widgetName":"Canvas7","rightColumn":256,"detachFromLayout":true,"widgetId":"oqhzaygncs","containerStyle":"none","topRow":0,"bottomRow":400,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"dropDisabled":true,"parentId":"0n30419eso","openParentPropertyPane":true,"minHeight":340,"isLoading":false,"noPad":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":["u3nvgafsdo"]},"update_files_name":{"widgetName":"update_files_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":8,"bottomRow":12,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":11.4580078125,"resetOnSubmit":true,"leftColumn":23,"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'true';\n })();\n })}}","isRequired":false,"rightColumn":43,"widgetId":"yqxzzh2oqi","logBlackList":{"widgetName":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"autoFocus":true,"type":true,"hideCard":true,"minHeight":true,"animateLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"labelStyle":true,"inputType":true,"isDisabled":true,"key":true,"isRequired":true,"rightColumn":true,"widgetId":true,"isVisible":true,"label":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"iconAlign":true,"defaultText":true},"isVisible":true,"label":"","version":2,"parentId":"romgsruzxz","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","iconAlign":"left","defaultText":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.name;\n })();\n })}}"},"Image2":{"image":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.data;\n })();\n })}}","widgetName":"Image2","rightColumn":10,"onClick":"{{showModal('Zoom_Modal2')}}","objectFit":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}","widgetId":"ql8qs2xelx","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"defaultImage":true},"topRow":0,"bottomRow":6,"parentRowSpace":10,"isVisible":true,"type":"IMAGE_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"maxZoomLevel":1,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":0,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png"},"Container4":{"backgroundColor":"white","widgetName":"Container4","rightColumn":64,"borderColor":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}","disallowCopy":true,"widgetId":"u3nvgafsdo","containerStyle":"card","topRow":0,"bottomRow":8,"dragDisabled":true,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"oqhzaygncs","openParentPropertyPane":true,"isDeletable":false,"isLoading":false,"leftColumn":0,"borderRadius":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}","children":["romgsruzxz"],"borderWidth":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}","disablePropertyPane":true},"Canvas8":{"widgetName":"Canvas8","detachFromLayout":true,"widgetId":"romgsruzxz","containerStyle":"none","topRow":0,"bottomRow":180,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"u3nvgafsdo","minHeight":80,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":["vu7fb0dbt8","7zziet357m","ql8qs2xelx"]},"Text14":{"widgetName":"Text14","rightColumn":23,"textAlign":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'LEFT';\n })();\n })}}","widgetId":"vu7fb0dbt8","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"dynamicTriggerPathList":true,"parentColumnSpace":true,"dynamicBindingPathList":true,"leftColumn":true,"fontSize":true,"text":true,"textStyle":true},"topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"romgsruzxz","isLoading":false,"dynamicTriggerPathList":[],"fontFamily":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}","dynamicBindingPathList":[],"leftColumn":11,"fontSize":"PARAGRAPH","text":"File Name","textStyle":"HEADING"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"selected_files","listData":"{{FilePicker.files}}","dynamicPropertyPathList":[{"key":"isVisible"}],"topRow":23,"bottomRow":75,"parentRowSpace":10,"type":"LIST_WIDGET","gridGap":0,"parentColumnSpace":8,"dynamicTriggerPathList":[{"key":"template.Image2.onClick"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"listData"},{"key":"template.update_files_name.defaultText"},{"key":"template.update_files_name.validation"},{"key":"template.Container4.borderWidth"},{"key":"template.Container4.borderRadius"},{"key":"template.Container4.borderColor"},{"key":"template.Image2.image"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"template.Text14.fontFamily"},{"key":"template.update_files_name.borderRadius"}],"gridType":"vertical","enhancements":true,"children":[{"boxShadow":"none","widgetName":"Canvas7","topRow":0,"bottomRow":510,"parentRowSpace":1,"canExtend":false,"type":"CANVAS_WIDGET","dropDisabled":true,"openParentPropertyPane":true,"minHeight":520,"noPad":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","widgetName":"Container4","borderColor":"#2E3D4955","disallowCopy":true,"dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":12,"dragDisabled":true,"type":"CONTAINER_WIDGET","openParentPropertyPane":true,"isDeletable":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas8","detachFromLayout":true,"widgetId":"romgsruzxz","containerStyle":"none","topRow":0,"bottomRow":120,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"u3nvgafsdo","minHeight":120,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text14","topRow":0,"bottomRow":4,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","dynamicBindingPathList":[{"key":"fontFamily"}],"leftColumn":19,"text":"File Name","labelTextSize":"0.875rem","rightColumn":60,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"vu7fb0dbt8","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"dynamicTriggerPathList":true,"parentColumnSpace":true,"dynamicBindingPathList":true,"leftColumn":true,"fontSize":true,"text":true,"textStyle":true},"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"romgsruzxz","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","textStyle":"HEADING","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Image2","onClick":"{{showModal('Zoom_Modal2')}}","topRow":0,"bottomRow":9,"parentRowSpace":10,"type":"IMAGE_WIDGET","parentColumnSpace":7.3125,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":0,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png","labelTextSize":"0.875rem","image":"{{currentItem.data}}","rightColumn":19,"objectFit":"contain","dynamicHeight":"FIXED","widgetId":"ql8qs2xelx","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"defaultImage":true},"isVisible":true,"version":1,"parentId":"romgsruzxz","isLoading":false,"maxZoomLevel":1,"borderRadius":"0px"},{"boxShadow":"none","widgetName":"update_files_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":5,"bottomRow":9,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":11.4580078125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"yqxzzh2oqi","logBlackList":{"widgetName":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"autoFocus":true,"type":true,"hideCard":true,"minHeight":true,"animateLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"labelStyle":true,"inputType":true,"isDisabled":true,"key":true,"isRequired":true,"rightColumn":true,"widgetId":true,"isVisible":true,"label":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"iconAlign":true,"defaultText":true},"accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"romgsruzxz","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"{{currentItem.name}}","minDynamicHeight":4}]}],"borderWidth":"1","disablePropertyPane":true,"labelTextSize":"0.875rem","backgroundColor":"white","rightColumn":64,"dynamicHeight":"FIXED","widgetId":"u3nvgafsdo","containerStyle":"card","isVisible":true,"version":1,"parentId":"oqhzaygncs","isLoading":false,"borderRadius":"5px","maxDynamicHeight":9000,"minDynamicHeight":4}],"labelTextSize":"0.875rem","rightColumn":256,"detachFromLayout":true,"widgetId":"oqhzaygncs","containerStyle":"none","isVisible":true,"version":1,"parentId":"0n30419eso","isLoading":false,"borderRadius":"0px"}],"privateWidgets":{"undefined":true},"childAutoComplete":{"currentItem":{"data":"","base64":"","name":"","raw":"","id":"","text":"","type":""}},"labelTextSize":"0.875rem","backgroundColor":"","rightColumn":64,"itemBackgroundColor":"#F6F7F8","widgetId":"0n30419eso","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":"{{FilePicker.files.length > 0}}","parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},{"boxShadow":"none","widgetName":"Text9","topRow":6,"bottomRow":10,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Upload Folder","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"jc21bnjh92","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text7","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":0,"dynamicBindingPathList":[{"key":"fontFamily"}],"text":"Upload New Files","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"364shivyaz","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"upload_button","onClick":"{{\nFilePicker.files.forEach((file, index) => {\n\tCreateFile.run((response, params) => { showAlert('File Uploaded','success'); \nif (params.isLastFile) {\n\tListFiles.run(() => {closeModal('Upload_Files_Modal'); resetWidget('folder_name', true);\t\t\t\t\tresetWidget('FilePicker', true);\nresetWidget('update_files_name', true);\n})\t\n}\n}, () => showAlert('File Upload Failed','error'), {fileIndex: index, name: selected_files.items[index].update_files_name.text, isLastFile: index == (FilePicker.files.length - 1), });\n\treturn true;\n})\n}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"1uava20nxi","topRow":75,"bottomRow":79,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Upload","isDisabled":"{{ selected_files.items.length == 0 || selected_files.items.map((file) => file.update_files_name.text).includes(\"\") }}"},{"boxShadow":"none","widgetName":"Text19","dynamicPropertyPathList":[{"key":"isVisible"}],"topRow":19,"bottomRow":23,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.0458984375,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"}],"text":"Selected files to upload","labelTextSize":"0.875rem","rightColumn":52,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"9wh2ereoy9","isVisible":"{{FilePicker.files.length > 0}}","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"FilePicker","dynamicPropertyPathList":[],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"FilePicker","iconSVG":"/static/media/icon.7c5ad9c3.svg","topRow":13,"bottomRow":17,"parentRowSpace":10,"allowedFileTypes":[],"type":"FILE_PICKER_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":4.86865234375,"dynamicTriggerPathList":[],"leftColumn":16,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"isDisabled":false,"key":"h2212wpg64","onFilesSelected":"","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"8l6lm067zw","defaultSelectedFiles":[],"isVisible":true,"label":"Select Files","maxFileSize":5,"version":1,"fileDataType":"Base64","parentId":"xv97g6rzgq","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","files":[],"maxNumFiles":"3"},{"boxShadow":"none","widgetName":"folder_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":6,"bottomRow":10,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":11.8955078125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":16,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","placeholderText":"folder/sub-folder","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"215nlsqncm","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"xv97g6rzgq","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":64,"dynamicHeight":"FIXED","widgetId":"yg1iyxq9kd","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4}]}}],"slug":"s3","isHidden":false},"deleted":false,"unpublishedPage":{"name":"S3","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":[" 60 * 24 ","(File_List.pageNo - 1) * File_List.pageSize","File_List.pageSize","search_input.text"],"name":"ListFiles","timeoutInMillisecond":10000,"id":"S3_ListFiles"}]],"id":"S3","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1174,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":850,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":900,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"boxShadow":"none","widgetName":"Zoom_Modal2","topRow":89,"bottomRow":89,"parentRowSpace":1,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas9Copy","rightColumn":0,"detachFromLayout":true,"widgetId":"80wzwajsst","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"kqxoe40pg6","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon3Copy","rightColumn":64,"onClick":"{{closeModal('Zoom_Modal2')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"8kw9kfcd5y","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"80wzwajsst","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"boxShadow":"none","widgetName":"Text15Copy","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Zoom Image","labelTextSize":"0.875rem","rightColumn":41,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"vk710q1v3s","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"80wzwajsst","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button13Copy","rightColumn":63,"onClick":"{{closeModal('Zoom_Modal2')}}","isDefaultClickDisabled":true,"buttonColor":"#03B365","widgetId":"lfiwss1u3w","topRow":53,"bottomRow":57,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"80wzwajsst","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":47,"dynamicBindingPathList":[],"borderRadius":"0px","buttonVariant":"PRIMARY","text":"Close","isDisabled":false},{"labelTextSize":"0.875rem","image":"{{selected_files.selectedItem.base64}}","boxShadow":"none","widgetName":"Image3Copy","rightColumn":64,"objectFit":"contain","widgetId":"2bewgakjx9","topRow":6,"bottomRow":51,"parentRowSpace":10,"isVisible":true,"type":"IMAGE_WIDGET","version":1,"parentId":"80wzwajsst","isLoading":false,"maxZoomLevel":8,"parentColumnSpace":8,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":1,"dynamicBindingPathList":[{"key":"image"}],"borderRadius":"0px","defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png"}],"isDisabled":false}],"height":600,"labelTextSize":"0.875rem","rightColumn":0,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"kqxoe40pg6","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container3","borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":85,"parentRowSpace":10,"type":"CONTAINER_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"boxShadow"},{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":634,"detachFromLayout":true,"widgetId":"6tz2s7ivi5","containerStyle":"none","topRow":0,"bottomRow":850,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"th4d9oxy8z","minHeight":830,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"template":{"DownloadIcon":{"boxShadow":"NONE","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":57,"iconName":"download","widgetId":"ljk8fj5jc1","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"},"CopyURLIcon":{"boxShadow":"NONE","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":45,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":51,"iconName":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'duplicate';\n })();\n })}}","widgetId":"d2z5zj56j9","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"},"EditIcon":{"boxShadow":"NONE","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D49';\n })();\n })}}","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":39,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":45,"iconName":"edit","widgetId":"x5bft8h9vd","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"},"Text21":{"widgetName":"Text21","rightColumn":24,"textAlign":"LEFT","displayName":"Text","iconSVG":"/static/media/icon.e6c93592.svg","widgetId":"nu44q8kd9p","topRow":4,"bottomRow":8,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"hideCard":false,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"text"}],"leftColumn":16,"fontSize":"PARAGRAPH","text":"{{File_List.listData.map((currentItem) => currentItem.id)}}","textStyle":"BODY","key":"xvmvdekk3s"},"Text20":{"widgetName":"Text20","rightColumn":28,"textAlign":"LEFT","displayName":"Text","iconSVG":"/static/media/icon.e6c93592.svg","widgetId":"thgbdemmiw","topRow":0,"bottomRow":4,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"hideCard":false,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"dynamicTriggerPathList":[],"dynamicBindingPathList":[{"key":"text"}],"leftColumn":16,"fontSize":"PARAGRAPH","text":"{{File_List.listData.map((currentItem) => currentItem.name)}}","textStyle":"HEADING","key":"xvmvdekk3s"},"Image3":{"widgetName":"Image3","displayName":"Image","iconSVG":"/static/media/icon.52d8fb96.svg","topRow":0,"bottomRow":8.4,"type":"IMAGE_WIDGET","hideCard":false,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","dynamicBindingPathList":[{"key":"image"}],"leftColumn":0,"defaultImage":"https://assets.appsmith.com/widgets/default.png","key":"lsc53q139g","image":"{{File_List.listData.map((currentItem) => currentItem.img)}}","rightColumn":16,"objectFit":"contain","widgetId":"2rrg354q8i","isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"maxZoomLevel":1,"enableDownload":false,"enableRotation":false},"FileListItemImage":{"widgetName":"FileListItemImage","onClick":"{{showModal('Zoom_Modal')}}","dynamicPropertyPathList":[],"topRow":1,"bottomRow":13,"parentRowSpace":10,"type":"IMAGE_WIDGET","parentColumnSpace":19.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":1,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png';\n })();\n })}}","image":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.signedUrl;\n })();\n })}}","rightColumn":20,"objectFit":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}","widgetId":"lh1sjszc93","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"enableDownload":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"enableRotation":true,"defaultImage":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","isLoading":false,"maxZoomLevel":1,"enableDownload":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","enableRotation":false},"Container7":{"borderColor":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}","borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}","borderWidth":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}"},"FileListItemName":{"widgetName":"FileListItemName","rightColumn":63,"textAlign":"LEFT","widgetId":"qyqv89mu1c","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"leftColumn":true,"fontSize":true,"text":true},"topRow":1,"bottomRow":8,"parentRowSpace":10,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"shouldScroll":true,"parentId":"lcz0rhije8","isLoading":false,"parentColumnSpace":19.0625,"dynamicTriggerPathList":[],"fontFamily":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}","leftColumn":21,"dynamicBindingPathList":[{"key":"text"}],"fontSize":"PARAGRAPH","text":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.fileName;\n })();\n })}}"},"DeleteIcon":{"boxShadow":"NONE","widgetName":"DeleteIcon","onClick":"{{showModal('delete_modal')}}","buttonColor":"#DD4B34","dynamicPropertyPathList":[{"key":"onClick"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":57,"dynamicBindingPathList":[],"isDisabled":false,"key":"8akz850h7z","rightColumn":63,"iconName":"trash","widgetId":"f8ipd8gbls","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{File_List.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","buttonVariant":"TERTIARY"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"File_List","listData":"{{ListFiles.data}}","isCanvas":true,"displayName":"List","iconSVG":"/static/media/icon.9925ee17.svg","topRow":10,"bottomRow":83,"parentRowSpace":10,"onPageChange":"{{ListFiles.run()}}","type":"LIST_WIDGET","hideCard":false,"gridGap":0,"parentColumnSpace":9.67822265625,"dynamicTriggerPathList":[{"key":"template.DownloadIcon.onClick"},{"key":"template.CopyURLIcon.onClick"},{"key":"onPageChange"}],"leftColumn":1,"dynamicBindingPathList":[{"key":"listData"},{"key":"template.FileListItemImage.image"},{"key":"template.FileListItemName.text"},{"key":"template.EditIcon.buttonColor"},{"key":"template.CopyURLIcon.buttonColor"},{"key":"template.DownloadIcon.buttonColor"},{"key":"template.Container7.borderColor"},{"key":"template.Container7.borderWidth"},{"key":"template.Container7.borderRadius"},{"key":"template.CopyURLIcon.iconName"},{"key":"accentColor"},{"key":"template.FileListItemImage.objectFit"},{"key":"boxShadow"},{"key":"borderRadius"},{"key":"template.EditIcon.borderRadius"},{"key":"template.CopyURLIcon.borderRadius"},{"key":"template.DownloadIcon.borderRadius"},{"key":"template.DeleteIcon.borderRadius"},{"key":"template.FileListItemName.fontFamily"},{"key":"template.FileListItemImage.borderRadius"},{"key":"template.FileListItemImage.defaultImage"}],"gridType":"vertical","enhancements":true,"children":[{"boxShadow":"none","widgetName":"Canvas14","displayName":"Canvas","topRow":0,"bottomRow":390,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":false,"hideCard":true,"dropDisabled":true,"openParentPropertyPane":true,"minHeight":400,"noPad":true,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","widgetName":"Container7","borderColor":"#2E3D4955","disallowCopy":true,"isCanvas":true,"dynamicPropertyPathList":[{"key":"borderRadius"}],"displayName":"Container","iconSVG":"/static/media/icon.1977dca3.svg","topRow":0,"bottomRow":17,"dragDisabled":true,"type":"CONTAINER_WIDGET","hideCard":false,"openParentPropertyPane":true,"isDeletable":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas15","detachFromLayout":true,"displayName":"Canvas","widgetId":"lcz0rhije8","topRow":0,"bottomRow":170,"containerStyle":"none","parentRowSpace":1,"isVisible":true,"type":"CANVAS_WIDGET","canExtend":false,"version":1,"hideCard":true,"parentId":"66oc53smx3","renderMode":"CANVAS","isLoading":false,"parentColumnSpace":1,"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"EditIcon","onClick":"{{showModal('Edit_Modal')}}","buttonColor":"#2E3D49","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":39,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":45,"iconName":"edit","dynamicHeight":"FIXED","widgetId":"x5bft8h9vd","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"CopyURLIcon","onClick":"{{copyToClipboard(currentItem.signedUrl)}}","buttonColor":"#2E3D49","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":45,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":51,"iconName":"duplicate","dynamicHeight":"FIXED","widgetId":"d2z5zj56j9","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"DownloadIcon","onClick":"{{navigateTo(currentItem.signedUrl, {})}}","buttonColor":"#2E3D49","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":57,"iconName":"download","dynamicHeight":"FIXED","widgetId":"ljk8fj5jc1","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"DeleteIcon","onClick":"{{showModal('delete_modal')}}","buttonColor":"#DD4B34","dynamicPropertyPathList":[{"key":"onClick"},{"key":"borderRadius"}],"displayName":"Icon Button","iconSVG":"/static/media/icon.bff4eac0.svg","topRow":10,"bottomRow":14,"parentRowSpace":10,"type":"ICON_BUTTON_WIDGET","hideCard":false,"parentColumnSpace":9.4658203125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":57,"dynamicBindingPathList":[{"key":"borderRadius"}],"isDisabled":false,"key":"8akz850h7z","labelTextSize":"0.875rem","rightColumn":63,"iconName":"trash","dynamicHeight":"FIXED","widgetId":"f8ipd8gbls","logBlackList":{"boxShadow":true,"widgetName":true,"buttonColor":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"type":true,"hideCard":true,"minHeight":true,"parentColumnSpace":true,"leftColumn":true,"isDisabled":true,"key":true,"rightColumn":true,"iconName":true,"widgetId":true,"isVisible":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"borderRadius":true,"buttonVariant":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"},{"boxShadow":"none","widgetName":"FileListItemName","topRow":0,"bottomRow":7,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":19.0625,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":21,"dynamicBindingPathList":[{"key":"text"},{"key":"fontFamily"}],"text":"{{currentItem.fileName}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"kmwv6dap5n","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"parentColumnSpace":true,"leftColumn":true,"fontSize":true,"text":true},"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"lcz0rhije8","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"FileListItemImage","onClick":"{{showModal('Zoom_Modal')}}","dynamicPropertyPathList":[],"topRow":0,"bottomRow":13,"parentRowSpace":10,"type":"IMAGE_WIDGET","parentColumnSpace":19.0625,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":1,"dynamicBindingPathList":[{"key":"image"},{"key":"borderRadius"}],"defaultImage":"https://cdn3.iconfinder.com/data/icons/brands-applications/512/File-512.png","labelTextSize":"0.875rem","image":"{{currentItem.signedUrl}}","rightColumn":20,"objectFit":"contain","dynamicHeight":"FIXED","widgetId":"4laf7e6wer","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"enableDownload":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"enableRotation":true,"defaultImage":true},"isVisible":true,"version":1,"parentId":"lcz0rhije8","isLoading":false,"maxZoomLevel":1,"enableDownload":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","enableRotation":false}],"key":"29vrztch46"}],"borderWidth":"1","key":"cw0dtdoe0g","disablePropertyPane":true,"labelTextSize":"0.875rem","backgroundColor":"white","rightColumn":64,"dynamicHeight":"FIXED","widgetId":"66oc53smx3","containerStyle":"card","isVisible":true,"version":1,"parentId":"sh1yahe7kl","renderMode":"CANVAS","isLoading":false,"borderRadius":"5px","maxDynamicHeight":9000,"minDynamicHeight":4}],"key":"29vrztch46","labelTextSize":"0.875rem","rightColumn":232.27734375,"detachFromLayout":true,"widgetId":"sh1yahe7kl","containerStyle":"none","isVisible":true,"version":1,"parentId":"cjgg2thzom","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px"}],"privateWidgets":{"undefined":true},"key":"x51ms5k6q9","labelTextSize":"0.875rem","backgroundColor":"transparent","rightColumn":63,"itemBackgroundColor":"#F6F7F8","widgetId":"cjgg2thzom","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"parentId":"6tz2s7ivi5","serverSidePaginationEnabled":true,"renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},{"boxShadow":"none","widgetName":"search_input","dynamicPropertyPathList":[{"key":"onTextChanged"}],"displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":6,"bottomRow":10,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":16.4169921875,"dynamicTriggerPathList":[{"key":"onTextChanged"}],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","placeholderText":"Search File Prefix","isDisabled":false,"key":"auxyd97lu3","validation":"true","labelTextSize":"0.875rem","isRequired":false,"onTextChanged":"{{ListFiles.run()}}","rightColumn":40,"dynamicHeight":"FIXED","widgetId":"why172fko6","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"6tz2s7ivi5","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text6","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":5,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":1,"dynamicBindingPathList":[{"key":"fontFamily"}],"text":"template_table Bucket","labelTextSize":"0.875rem","rightColumn":63,"backgroundColor":"","textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"t54ituq472","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"6tz2s7ivi5","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":37,"dynamicHeight":"FIXED","widgetId":"th4d9oxy8z","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"delete_modal","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas6","rightColumn":0,"detachFromLayout":true,"widgetId":"ozvpoudxz2","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"9g0cw9adf8","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('delete_modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"xkyh49z71e","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"ozvpoudxz2","isLoading":false,"leftColumn":56,"dynamicBindingPathList":[],"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"boxShadow":"none","widgetName":"Text12","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Delete File","labelTextSize":"0.875rem","rightColumn":41,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"s1y44xm547","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button10","rightColumn":48,"onClick":"{{closeModal('delete_modal')}}","isDefaultClickDisabled":true,"buttonColor":"#3f3f46","widgetId":"pi0t67rnwh","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button11","onClick":"{{\nDeleteFile.run(() => {closeModal('delete_modal'); \nListFiles.run();\n});\n}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"hp22uj3dra","topRow":17,"bottomRow":21,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"ozvpoudxz2","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"boxShadow":"none","widgetName":"Text13","topRow":5,"bottomRow":16,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"Are you sure you want to delete the file?\n\n{{File_List.selectedItem.fileName}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"oypa9ad1tg","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"ozvpoudxz2","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":0,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"9g0cw9adf8","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Edit_Modal","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas10","rightColumn":0,"detachFromLayout":true,"widgetId":"6i7m9kpuky","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"usealgbtyj","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text17","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":4,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Update File","labelTextSize":"0.875rem","rightColumn":41,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"z64z3l112n","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button15","rightColumn":44,"onClick":"{{closeModal('Edit_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"#3f3f46","widgetId":"trc4e6ylcz","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":32,"dynamicBindingPathList":[],"borderRadius":"0.375rem","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"update_button","onClick":"{{UpdateFile.run(() => {ListFiles.run();resetWidget('update_file_picker');closeModal('Edit_Modal');})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"8lbthc9dml","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"6i7m9kpuky","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":44,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Update","isDisabled":"{{update_file_picker.files.length == 0}}"},{"boxShadow":"none","widgetName":"Text18","topRow":6,"bottomRow":10,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"File Name","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"qb26g34etr","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"6i7m9kpuky","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"update_file_picker","buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"FilePicker","iconSVG":"/static/media/icon.7c5ad9c3.svg","topRow":11,"bottomRow":15,"parentRowSpace":10,"allowedFileTypes":[],"type":"FILE_PICKER_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[],"leftColumn":18,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"isDisabled":false,"key":"h2212wpg64","labelTextSize":"0.875rem","isRequired":false,"rightColumn":64,"isDefaultClickDisabled":true,"widgetId":"i8g6khu01a","defaultSelectedFiles":[],"isVisible":true,"label":"Select File","maxFileSize":"10","version":1,"fileDataType":"Base64","parentId":"6i7m9kpuky","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","files":[],"maxNumFiles":1},{"boxShadow":"none","widgetName":"update_file_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":6,"bottomRow":10,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":6.9375,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":18,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":true,"key":"auxyd97lu3","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":64,"dynamicHeight":"FIXED","widgetId":"uabsu3mjt3","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"6i7m9kpuky","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"{{File_List.selectedItem.fileName}}","minDynamicHeight":4}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":0,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"usealgbtyj","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Container6","borderColor":"#2E3D4955","dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":85,"parentRowSpace":10,"type":"CONTAINER_WIDGET","parentColumnSpace":19.8125,"dynamicTriggerPathList":[],"leftColumn":37,"dynamicBindingPathList":[{"key":"boxShadow"},{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas13","rightColumn":634,"detachFromLayout":true,"widgetId":"xv97g6rzgq","containerStyle":"none","topRow":0,"bottomRow":850,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"yg1iyxq9kd","minHeight":830,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"template":{"Canvas7":{"widgetName":"Canvas7","rightColumn":256,"detachFromLayout":true,"widgetId":"oqhzaygncs","containerStyle":"none","topRow":0,"bottomRow":400,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"dropDisabled":true,"parentId":"0n30419eso","openParentPropertyPane":true,"minHeight":340,"isLoading":false,"noPad":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":["u3nvgafsdo"]},"update_files_name":{"widgetName":"update_files_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":8,"bottomRow":12,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":11.4580078125,"resetOnSubmit":true,"leftColumn":23,"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'true';\n })();\n })}}","isRequired":false,"rightColumn":43,"widgetId":"yqxzzh2oqi","logBlackList":{"widgetName":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"autoFocus":true,"type":true,"hideCard":true,"minHeight":true,"animateLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"labelStyle":true,"inputType":true,"isDisabled":true,"key":true,"isRequired":true,"rightColumn":true,"widgetId":true,"isVisible":true,"label":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"iconAlign":true,"defaultText":true},"isVisible":true,"label":"","version":2,"parentId":"romgsruzxz","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.borderRadius.appBorderRadius;\n })();\n })}}","iconAlign":"left","defaultText":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.name;\n })();\n })}}"},"Image2":{"image":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return currentItem.data;\n })();\n })}}","widgetName":"Image2","rightColumn":10,"onClick":"{{showModal('Zoom_Modal2')}}","objectFit":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'contain';\n })();\n })}}","widgetId":"ql8qs2xelx","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"defaultImage":true},"topRow":0,"bottomRow":6,"parentRowSpace":10,"isVisible":true,"type":"IMAGE_WIDGET","version":1,"parentId":"romgsruzxz","isLoading":false,"maxZoomLevel":1,"parentColumnSpace":7.3125,"dynamicTriggerPathList":[],"imageShape":"RECTANGLE","leftColumn":0,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png"},"Container4":{"backgroundColor":"white","widgetName":"Container4","rightColumn":64,"borderColor":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '#2E3D4955';\n })();\n })}}","disallowCopy":true,"widgetId":"u3nvgafsdo","containerStyle":"card","topRow":0,"bottomRow":8,"dragDisabled":true,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"oqhzaygncs","openParentPropertyPane":true,"isDeletable":false,"isLoading":false,"leftColumn":0,"borderRadius":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '5';\n })();\n })}}","children":["romgsruzxz"],"borderWidth":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return '1';\n })();\n })}}","disablePropertyPane":true},"Canvas8":{"widgetName":"Canvas8","detachFromLayout":true,"widgetId":"romgsruzxz","containerStyle":"none","topRow":0,"bottomRow":180,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"u3nvgafsdo","minHeight":80,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":["vu7fb0dbt8","7zziet357m","ql8qs2xelx"]},"Text14":{"widgetName":"Text14","rightColumn":23,"textAlign":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return 'LEFT';\n })();\n })}}","widgetId":"vu7fb0dbt8","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"dynamicTriggerPathList":true,"parentColumnSpace":true,"dynamicBindingPathList":true,"leftColumn":true,"fontSize":true,"text":true,"textStyle":true},"topRow":1,"bottomRow":5,"isVisible":true,"fontStyle":"BOLD","type":"TEXT_WIDGET","textColor":"#231F20","version":1,"parentId":"romgsruzxz","isLoading":false,"dynamicTriggerPathList":[],"fontFamily":"{{selected_files.listData.map((currentItem, currentIndex) => {\n return (function(){\n return appsmith.theme.fontFamily.appFont;\n })();\n })}}","dynamicBindingPathList":[],"leftColumn":11,"fontSize":"PARAGRAPH","text":"File Name","textStyle":"HEADING"}},"boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"selected_files","listData":"{{FilePicker.files}}","dynamicPropertyPathList":[{"key":"isVisible"}],"topRow":23,"bottomRow":75,"parentRowSpace":10,"type":"LIST_WIDGET","gridGap":0,"parentColumnSpace":8,"dynamicTriggerPathList":[{"key":"template.Image2.onClick"}],"leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"listData"},{"key":"template.update_files_name.defaultText"},{"key":"template.update_files_name.validation"},{"key":"template.Container4.borderWidth"},{"key":"template.Container4.borderRadius"},{"key":"template.Container4.borderColor"},{"key":"template.Image2.image"},{"key":"accentColor"},{"key":"borderRadius"},{"key":"boxShadow"},{"key":"template.Text14.fontFamily"},{"key":"template.update_files_name.borderRadius"}],"gridType":"vertical","enhancements":true,"children":[{"boxShadow":"none","widgetName":"Canvas7","topRow":0,"bottomRow":510,"parentRowSpace":1,"canExtend":false,"type":"CANVAS_WIDGET","dropDisabled":true,"openParentPropertyPane":true,"minHeight":520,"noPad":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"boxShadow":"none","widgetName":"Container4","borderColor":"#2E3D4955","disallowCopy":true,"dynamicPropertyPathList":[{"key":"borderRadius"}],"topRow":0,"bottomRow":12,"dragDisabled":true,"type":"CONTAINER_WIDGET","openParentPropertyPane":true,"isDeletable":false,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas8","detachFromLayout":true,"widgetId":"romgsruzxz","containerStyle":"none","topRow":0,"bottomRow":120,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"u3nvgafsdo","minHeight":120,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"boxShadow":"none","widgetName":"Text14","topRow":0,"bottomRow":4,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","dynamicBindingPathList":[{"key":"fontFamily"}],"leftColumn":19,"text":"File Name","labelTextSize":"0.875rem","rightColumn":60,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"vu7fb0dbt8","logBlackList":{"widgetName":true,"rightColumn":true,"textAlign":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"fontStyle":true,"type":true,"textColor":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"dynamicTriggerPathList":true,"parentColumnSpace":true,"dynamicBindingPathList":true,"leftColumn":true,"fontSize":true,"text":true,"textStyle":true},"isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"romgsruzxz","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","textStyle":"HEADING","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Image2","onClick":"{{showModal('Zoom_Modal2')}}","topRow":0,"bottomRow":9,"parentRowSpace":10,"type":"IMAGE_WIDGET","parentColumnSpace":7.3125,"dynamicTriggerPathList":[{"key":"onClick"}],"imageShape":"RECTANGLE","leftColumn":0,"dynamicBindingPathList":[{"key":"image"}],"defaultImage":"https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png","labelTextSize":"0.875rem","image":"{{currentItem.data}}","rightColumn":19,"objectFit":"contain","dynamicHeight":"FIXED","widgetId":"ql8qs2xelx","logBlackList":{"image":true,"widgetName":true,"rightColumn":true,"objectFit":true,"widgetId":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"isVisible":true,"type":true,"version":true,"parentId":true,"minHeight":true,"isLoading":true,"maxZoomLevel":true,"parentColumnSpace":true,"imageShape":true,"leftColumn":true,"defaultImage":true},"isVisible":true,"version":1,"parentId":"romgsruzxz","isLoading":false,"maxZoomLevel":1,"borderRadius":"0px"},{"boxShadow":"none","widgetName":"update_files_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":5,"bottomRow":9,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":11.4580078125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":19,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"yqxzzh2oqi","logBlackList":{"widgetName":true,"isCanvas":true,"displayName":true,"iconSVG":true,"topRow":true,"bottomRow":true,"parentRowSpace":true,"autoFocus":true,"type":true,"hideCard":true,"minHeight":true,"animateLoading":true,"parentColumnSpace":true,"resetOnSubmit":true,"leftColumn":true,"labelStyle":true,"inputType":true,"isDisabled":true,"key":true,"isRequired":true,"rightColumn":true,"widgetId":true,"isVisible":true,"label":true,"version":true,"parentId":true,"renderMode":true,"isLoading":true,"iconAlign":true,"defaultText":true},"accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"romgsruzxz","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"{{currentItem.name}}","minDynamicHeight":4}]}],"borderWidth":"1","disablePropertyPane":true,"labelTextSize":"0.875rem","backgroundColor":"white","rightColumn":64,"dynamicHeight":"FIXED","widgetId":"u3nvgafsdo","containerStyle":"card","isVisible":true,"version":1,"parentId":"oqhzaygncs","isLoading":false,"borderRadius":"5px","maxDynamicHeight":9000,"minDynamicHeight":4}],"labelTextSize":"0.875rem","rightColumn":256,"detachFromLayout":true,"widgetId":"oqhzaygncs","containerStyle":"none","isVisible":true,"version":1,"parentId":"0n30419eso","isLoading":false,"borderRadius":"0px"}],"privateWidgets":{"undefined":true},"childAutoComplete":{"currentItem":{"data":"","base64":"","name":"","raw":"","id":"","text":"","type":""}},"labelTextSize":"0.875rem","backgroundColor":"","rightColumn":64,"itemBackgroundColor":"#F6F7F8","widgetId":"0n30419eso","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":"{{FilePicker.files.length > 0}}","parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}"},{"boxShadow":"none","widgetName":"Text9","topRow":6,"bottomRow":10,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[],"text":"Upload Folder","labelTextSize":"0.875rem","rightColumn":16,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"jc21bnjh92","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text7","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":0,"dynamicBindingPathList":[{"key":"fontFamily"}],"text":"Upload New Files","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"364shivyaz","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"upload_button","onClick":"{{\nFilePicker.files.forEach((file, index) => {\n\tCreateFile.run((response, params) => { showAlert('File Uploaded','success'); \nif (params.isLastFile) {\n\tListFiles.run(() => {closeModal('Upload_Files_Modal'); resetWidget('folder_name', true);\t\t\t\t\tresetWidget('FilePicker', true);\nresetWidget('update_files_name', true);\n})\t\n}\n}, () => showAlert('File Upload Failed','error'), {fileIndex: index, name: selected_files.items[index].update_files_name.text, isLastFile: index == (FilePicker.files.length - 1), });\n\treturn true;\n})\n}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"},{"key":"isDisabled"}],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"1uava20nxi","topRow":75,"bottomRow":79,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"xv97g6rzgq","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":36,"dynamicBindingPathList":[{"key":"isDisabled"},{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Upload","isDisabled":"{{ selected_files.items.length == 0 || selected_files.items.map((file) => file.update_files_name.text).includes(\"\") }}"},{"boxShadow":"none","widgetName":"Text19","dynamicPropertyPathList":[{"key":"isVisible"}],"topRow":19,"bottomRow":23,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.0458984375,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":0,"dynamicBindingPathList":[{"key":"isVisible"}],"text":"Selected files to upload","labelTextSize":"0.875rem","rightColumn":52,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"9wh2ereoy9","isVisible":"{{FilePicker.files.length > 0}}","fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"xv97g6rzgq","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"FilePicker","dynamicPropertyPathList":[],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","displayName":"FilePicker","iconSVG":"/static/media/icon.7c5ad9c3.svg","topRow":13,"bottomRow":17,"parentRowSpace":10,"allowedFileTypes":[],"type":"FILE_PICKER_WIDGET_V2","hideCard":false,"animateLoading":true,"parentColumnSpace":4.86865234375,"dynamicTriggerPathList":[],"leftColumn":16,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"isDisabled":false,"key":"h2212wpg64","onFilesSelected":"","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"8l6lm067zw","defaultSelectedFiles":[],"isVisible":true,"label":"Select Files","maxFileSize":5,"version":1,"fileDataType":"Base64","parentId":"xv97g6rzgq","selectedFiles":[],"renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","files":[],"maxNumFiles":"3"},{"boxShadow":"none","widgetName":"folder_name","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":6,"bottomRow":10,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":11.8955078125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":16,"dynamicBindingPathList":[{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"TEXT","placeholderText":"folder/sub-folder","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"215nlsqncm","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"xv97g6rzgq","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4}]}],"borderWidth":"0","labelTextSize":"0.875rem","backgroundColor":"#FFFFFF","rightColumn":64,"dynamicHeight":"FIXED","widgetId":"yg1iyxq9kd","containerStyle":"card","isVisible":true,"version":1,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"minDynamicHeight":4}]}}],"slug":"s3","isHidden":false},"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc2"},{"publishedPage":{"name":"Redis","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":[],"name":"FetchKeys","timeoutInMillisecond":10000,"id":"Redis_FetchKeys"}],[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.result"],"name":"FetchValue","timeoutInMillisecond":10000,"id":"Redis_FetchValue"}]],"id":"Redis","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"dynamicHeight":"FIXED","widgetId":"eer73khglm","topRow":1,"bottomRow":47,"parentRowSpace":10,"isVisible":"{{data_table.selectedRow.result}}","type":"FORM_WIDGET","parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"},{"key":"boxShadow"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"9nvn3gfw6q","containerStyle":"none","topRow":0,"bottomRow":460,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"eer73khglm","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"resetFormOnClick":false,"boxShadow":"none","widgetName":"update_button","onClick":"{{UpdateKey.run(() => FetchKeys.run(), () => {})}}","dynamicPropertyPathList":[],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":39,"bottomRow":43,"type":"FORM_BUTTON_WIDGET","dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":47,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"buttonColor"}],"text":"Update","labelTextSize":"0.875rem","rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"3apd2wkt91","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"9nvn3gfw6q","isLoading":false,"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY"},{"resetFormOnClick":true,"boxShadow":"none","widgetName":"reset_update_button","onClick":"","dynamicPropertyPathList":[],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":39,"bottomRow":43,"type":"FORM_BUTTON_WIDGET","dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":28,"dynamicBindingPathList":[{"key":"borderRadius"}],"text":"Reset","labelTextSize":"0.875rem","rightColumn":46,"isDefaultClickDisabled":true,"widgetId":"hhh0296qfj","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"9nvn3gfw6q","isLoading":false,"disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"SECONDARY"},{"boxShadow":"none","widgetName":"Text9","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":8,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":1,"dynamicBindingPathList":[{"key":"text"},{"key":"fontFamily"}],"text":"Update Key: {{data_table.selectedRow.result}}","labelTextSize":"0.875rem","rightColumn":63,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"uawwds1z0r","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"update_value_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":9,"bottomRow":37,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":10.5390625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"MULTI_LINE_TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":true,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"l3qtdja15h","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"9nvn3gfw6q","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"{{FetchValue.data[0].result}}","minDynamicHeight":4}]}],"maxDynamicHeight":9000,"minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"dynamicHeight":"FIXED","widgetId":"v8nfulwuy0","containerStyle":"card","topRow":1,"bottomRow":89,"parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":19.75,"leftColumn":0,"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"erkvdsolhu","containerStyle":"none","topRow":0,"bottomRow":880,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"v8nfulwuy0","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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","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.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns._ref.computedValue"}],"leftColumn":0,"delimiter":",","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}}","primaryColumnId":"id","columnSizeMap":{"task":245,"step":62,"status":75},"widgetName":"data_table","defaultPageSize":0,"columnOrder":["_ref","col4","col5","col2","col3","col1","customColumn1"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"displayName":"Table","bottomRow":85,"parentRowSpace":10,"defaultSelectedRow":"0","hideCard":false,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn1.onClick"},{"key":"onPageChange"},{"key":"onSearchTextChanged"},{"key":"onSort"},{"key":"onRowSelected"}],"primaryColumns":{"_ref":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._ref))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"_ref","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"_ref","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col5","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"onRowSelected":"{{FetchValue.run()}}","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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"0px","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"}},"labelTextSize":"0.875rem","rightColumn":63,"textSize":"0.875rem","widgetId":"dyohhtrkiy","tableData":"{{FetchKeys.data}}","label":"Data","searchKey":"","parentId":"erkvdsolhu","serverSidePaginationEnabled":true,"renderMode":"CANVAS","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"boxShadow":"none","widgetName":"new_key_button","onClick":"{{showModal('Insert_Modal')}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":6.8310546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"New Key","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":64,"isDefaultClickDisabled":true,"widgetId":"2rlp4irwh0","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"erkvdsolhu","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY"},{"boxShadow":"none","widgetName":"refresh_button","onClick":"{{FetchKeys.run()}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":40,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Refresh","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":51,"isDefaultClickDisabled":true,"widgetId":"o9t8fslxdi","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"erkvdsolhu","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"SECONDARY"},{"boxShadow":"none","widgetName":"Text16","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":0,"dynamicBindingPathList":[{"key":"fontFamily"}],"text":"Redis Data","labelTextSize":"0.875rem","rightColumn":39,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"nt181ks4ci","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"erkvdsolhu","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4}]}],"maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Insert_Modal","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":0,"detachFromLayout":true,"widgetId":"re60vbuakz","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"c8fg4ubw52","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon1","rightColumn":64,"onClick":"{{closeModal('Insert_Modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"3tk445loxa","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"leftColumn":56,"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"boxShadow":"none","widgetName":"Text21","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"New Key","labelTextSize":"0.875rem","rightColumn":41,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"fgi9qp4uwr","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","rightColumn":47,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"xnh96plcyo","topRow":53,"bottomRow":57,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":35,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button2","onClick":"{{InsertKey.run(() => FetchKeys.run(() => closeModal('Insert_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"ix2dralfal","topRow":53,"bottomRow":57,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Insert","isDisabled":false},{"boxShadow":"none","widgetName":"Text22","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Key","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"kotk4wa6pe","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text23","topRow":16,"bottomRow":20,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Value","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"y2dlumuetl","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"insert_key_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":8.125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"dynamicHeight":"FIXED","widgetId":"ynw4ir8luz","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"re60vbuakz","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"insert_value_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":15,"bottomRow":52,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":8.125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"MULTI_LINE_TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"dynamicHeight":"FIXED","widgetId":"6qn1qkr18d","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"re60vbuakz","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4}],"isDisabled":false}],"height":600,"labelTextSize":"0.875rem","rightColumn":0,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"c8fg4ubw52","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"value_modal","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":0,"detachFromLayout":true,"widgetId":"v8n3d5aecd","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"fh14k9y353","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"jqaazpo3zy","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"v8n3d5aecd","isLoading":false,"leftColumn":56,"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"boxShadow":"none","widgetName":"Text24","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"Value for Key: {{data_table.selectedRow.result}}","labelTextSize":"0.875rem","rightColumn":54,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"hvb3xnk1u8","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"v8n3d5aecd","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button4","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","isDefaultClickDisabled":true,"buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"yka7b6k706","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Close","isDisabled":false},{"boxShadow":"none","widgetName":"Text25","topRow":6,"bottomRow":17,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"{{FetchValue.data[0].result}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"j9315vzr13","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"v8n3d5aecd","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":0,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"fh14k9y353","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Delete_Modal","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas5","rightColumn":0,"detachFromLayout":true,"widgetId":"lwsyaz55ll","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"0skbil3ntd","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon3","rightColumn":64,"onClick":"{{closeModal('Delete_Modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"dtuc8ag2of","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"leftColumn":56,"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"boxShadow":"none","widgetName":"Text26","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Delete Key","labelTextSize":"0.875rem","rightColumn":41,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"d9ap4dp300","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"lwsyaz55ll","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button6","onClick":"{{DeleteKey.run(() => FetchKeys.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"2kg6lmim5m","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"boxShadow":"none","widgetName":"Text27","topRow":7,"bottomRow":17,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"Are you sure you want to delete the key?\n\n{{data_table.selectedRow.result}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"c698jgkzjg","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"lwsyaz55ll","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Button7","onClick":"{{closeModal('Delete_Modal')}}","buttonColor":"#3f3f46","topRow":18,"bottomRow":22,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":32,"dynamicBindingPathList":[{"key":"borderRadius"}],"text":"Cancel","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":46,"isDefaultClickDisabled":true,"widgetId":"lsvqrab5v2","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"lwsyaz55ll","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":0,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"0skbil3ntd","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4}]}}],"slug":"redis","isHidden":false},"deleted":false,"unpublishedPage":{"name":"Redis","policies":[],"userPermissions":[],"layouts":[{"layoutOnLoadActionErrors":[],"deleted":false,"validOnPageLoadActions":true,"policies":[],"layoutOnLoadActions":[[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":[],"name":"FetchKeys","timeoutInMillisecond":10000,"id":"Redis_FetchKeys"}],[{"pluginType":"DB","confirmBeforeExecute":false,"jsonPathKeys":["data_table.selectedRow.result"],"name":"FetchValue","timeoutInMillisecond":10000,"id":"Redis_FetchValue"}]],"id":"Redis","userPermissions":[],"viewMode":false,"dsl":{"widgetName":"MainContainer","backgroundColor":"none","rightColumn":1056,"snapColumns":64,"detachFromLayout":true,"widgetId":"0","topRow":0,"bottomRow":890,"containerStyle":"none","snapRows":129,"parentRowSpace":1,"type":"CANVAS_WIDGET","canExtend":true,"version":78,"minHeight":890,"parentColumnSpace":1,"dynamicTriggerPathList":[],"dynamicBindingPathList":[],"leftColumn":0,"children":[{"labelTextSize":"0.875rem","boxShadow":"{{appsmith.theme.boxShadow.appBoxShadow}}","widgetName":"Form1","backgroundColor":"white","rightColumn":64,"dynamicPropertyPathList":[{"key":"isVisible"}],"dynamicHeight":"FIXED","widgetId":"eer73khglm","topRow":1,"bottomRow":47,"parentRowSpace":10,"isVisible":"{{data_table.selectedRow.result}}","type":"FORM_WIDGET","parentId":"0","shouldScrollContents":true,"isLoading":false,"parentColumnSpace":18.8828125,"dynamicTriggerPathList":[],"leftColumn":40,"dynamicBindingPathList":[{"key":"isVisible"},{"key":"borderRadius"},{"key":"boxShadow"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas2","rightColumn":528.71875,"detachFromLayout":true,"widgetId":"9nvn3gfw6q","containerStyle":"none","topRow":0,"bottomRow":460,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"eer73khglm","minHeight":460,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"resetFormOnClick":false,"boxShadow":"none","widgetName":"update_button","onClick":"{{UpdateKey.run(() => FetchKeys.run(), () => {})}}","dynamicPropertyPathList":[],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":39,"bottomRow":43,"type":"FORM_BUTTON_WIDGET","dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":47,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"buttonColor"}],"text":"Update","labelTextSize":"0.875rem","rightColumn":63,"isDefaultClickDisabled":true,"widgetId":"3apd2wkt91","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"9nvn3gfw6q","isLoading":false,"disabledWhenInvalid":true,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY"},{"resetFormOnClick":true,"boxShadow":"none","widgetName":"reset_update_button","onClick":"","dynamicPropertyPathList":[],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":39,"bottomRow":43,"type":"FORM_BUTTON_WIDGET","dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":28,"dynamicBindingPathList":[{"key":"borderRadius"}],"text":"Reset","labelTextSize":"0.875rem","rightColumn":46,"isDefaultClickDisabled":true,"widgetId":"hhh0296qfj","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"9nvn3gfw6q","isLoading":false,"disabledWhenInvalid":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"SECONDARY"},{"boxShadow":"none","widgetName":"Text9","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":8,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8.8963623046875,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":1,"dynamicBindingPathList":[{"key":"text"},{"key":"fontFamily"}],"text":"Update Key: {{data_table.selectedRow.result}}","labelTextSize":"0.875rem","rightColumn":63,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"uawwds1z0r","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"9nvn3gfw6q","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"update_value_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":9,"bottomRow":37,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":10.5390625,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":1,"dynamicBindingPathList":[{"key":"defaultText"},{"key":"accentColor"},{"key":"borderRadius"}],"labelStyle":"","inputType":"MULTI_LINE_TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":true,"rightColumn":63,"dynamicHeight":"FIXED","widgetId":"l3qtdja15h","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"9nvn3gfw6q","renderMode":"CANVAS","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"{{FetchValue.data[0].result}}","minDynamicHeight":4}]}],"maxDynamicHeight":9000,"minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","backgroundColor":"#FFFFFF","widgetName":"Container1","rightColumn":40,"dynamicHeight":"FIXED","widgetId":"v8nfulwuy0","containerStyle":"card","topRow":1,"bottomRow":89,"parentRowSpace":10,"isVisible":true,"type":"CONTAINER_WIDGET","version":1,"parentId":"0","isLoading":false,"shouldScrollContents":true,"parentColumnSpace":19.75,"leftColumn":0,"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas1","rightColumn":632,"detachFromLayout":true,"widgetId":"erkvdsolhu","containerStyle":"none","topRow":0,"bottomRow":880,"parentRowSpace":1,"isVisible":true,"canExtend":false,"type":"CANVAS_WIDGET","version":1,"parentId":"v8nfulwuy0","minHeight":870,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"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","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.col1.computedValue"},{"key":"primaryColumns.col2.computedValue"},{"key":"primaryColumns.col3.computedValue"},{"key":"primaryColumns.col4.computedValue"},{"key":"primaryColumns.col5.computedValue"},{"key":"primaryColumns._ref.computedValue"}],"leftColumn":0,"delimiter":",","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}}","primaryColumnId":"id","columnSizeMap":{"task":245,"step":62,"status":75},"widgetName":"data_table","defaultPageSize":0,"columnOrder":["_ref","col4","col5","col2","col3","col1","customColumn1"],"dynamicPropertyPathList":[{"key":"primaryColumns.customColumn1.borderRadius"}],"displayName":"Table","bottomRow":85,"parentRowSpace":10,"defaultSelectedRow":"0","hideCard":false,"parentColumnSpace":16.3125,"dynamicTriggerPathList":[{"key":"primaryColumns.customColumn1.onClick"},{"key":"onPageChange"},{"key":"onSearchTextChanged"},{"key":"onSort"},{"key":"onRowSelected"}],"primaryColumns":{"_ref":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow._ref))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"_ref","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"_ref","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"{{data_table.sanitizedTableData.map((currentRow) => ( appsmith.theme.borderRadius.appBorderRadius))}}","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"},"col4":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col4))}}","textSize":"0.875rem","index":3,"isVisible":true,"label":"col4","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col4","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col5":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col5))}}","textSize":"0.875rem","index":4,"isVisible":true,"label":"col5","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col5","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col2":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col2))}}","textSize":"0.875rem","index":1,"isVisible":true,"label":"col2","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col2","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col3":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col3))}}","textSize":"0.875rem","index":2,"isVisible":true,"label":"col3","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col3","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"},"col1":{"isCellVisible":true,"isDerived":false,"computedValue":"{{data_table.sanitizedTableData.map((currentRow) => ( currentRow.col1))}}","textSize":"0.875rem","index":0,"isVisible":true,"label":"col1","textColor":"","columnType":"text","horizontalAlignment":"LEFT","width":150,"enableFilter":true,"enableSort":true,"id":"col1","isDisabled":false,"cellBackground":"","verticalAlignment":"CENTER"}},"onRowSelected":"{{FetchValue.run()}}","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.sanitizedTableData.map((currentRow) => ( 'Delete'))}}","columnType":"button","borderRadius":"0px","menuColor":"#03B365","width":150,"enableFilter":true,"enableSort":true,"id":"customColumn1","isDisabled":false,"buttonLabelColor":"#FFFFFF"}},"labelTextSize":"0.875rem","rightColumn":63,"textSize":"0.875rem","widgetId":"dyohhtrkiy","tableData":"{{FetchKeys.data}}","label":"Data","searchKey":"","parentId":"erkvdsolhu","serverSidePaginationEnabled":true,"renderMode":"CANVAS","horizontalAlignment":"LEFT","isVisibleSearch":true,"isVisiblePagination":true,"verticalAlignment":"CENTER"},{"boxShadow":"none","widgetName":"new_key_button","onClick":"{{showModal('Insert_Modal')}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":6.8310546875,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":51,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"New Key","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":64,"isDefaultClickDisabled":true,"widgetId":"2rlp4irwh0","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"erkvdsolhu","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY"},{"boxShadow":"none","widgetName":"refresh_button","onClick":"{{FetchKeys.run()}}","buttonColor":"{{appsmith.theme.colors.primaryColor}}","topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":18.8828125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":40,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"text":"Refresh","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":51,"isDefaultClickDisabled":true,"widgetId":"o9t8fslxdi","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"erkvdsolhu","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"SECONDARY"},{"boxShadow":"none","widgetName":"Text16","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":0,"bottomRow":4,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":11.78515625,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"{{appsmith.theme.fontFamily.appFont}}","leftColumn":0,"dynamicBindingPathList":[{"key":"fontFamily"}],"text":"Redis Data","labelTextSize":"0.875rem","rightColumn":39,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"nt181ks4ci","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"erkvdsolhu","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4}]}],"maxDynamicHeight":9000,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Insert_Modal","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas3","rightColumn":0,"detachFromLayout":true,"widgetId":"re60vbuakz","topRow":0,"bottomRow":600,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"c8fg4ubw52","shouldScrollContents":false,"minHeight":600,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon1","rightColumn":64,"onClick":"{{closeModal('Insert_Modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"3tk445loxa","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"re60vbuakz","isLoading":false,"leftColumn":56,"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"boxShadow":"none","widgetName":"Text21","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"New Key","labelTextSize":"0.875rem","rightColumn":41,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"fgi9qp4uwr","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button1","rightColumn":47,"onClick":"{{closeModal('Insert_Modal')}}","isDefaultClickDisabled":true,"buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"xnh96plcyo","topRow":53,"bottomRow":57,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":35,"dynamicBindingPathList":[{"key":"buttonColor"},{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY","text":"Cancel","isDisabled":false},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button2","onClick":"{{InsertKey.run(() => FetchKeys.run(() => closeModal('Insert_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"{{appsmith.theme.colors.primaryColor}}","isDefaultClickDisabled":true,"widgetId":"ix2dralfal","topRow":53,"bottomRow":57,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"re60vbuakz","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Insert","isDisabled":false},{"boxShadow":"none","widgetName":"Text22","topRow":9,"bottomRow":13,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Key","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"kotk4wa6pe","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Text23","topRow":16,"bottomRow":20,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":8,"dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Value","labelTextSize":"0.875rem","rightColumn":17,"textAlign":"RIGHT","dynamicHeight":"FIXED","widgetId":"y2dlumuetl","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"re60vbuakz","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"insert_key_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":9,"bottomRow":13,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":8.125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"dynamicHeight":"FIXED","widgetId":"ynw4ir8luz","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"re60vbuakz","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4},{"boxShadow":"none","widgetName":"insert_value_input","displayName":"Input","iconSVG":"/static/media/icon.9f505595.svg","topRow":15,"bottomRow":52,"parentRowSpace":10,"autoFocus":false,"type":"INPUT_WIDGET_V2","hideCard":false,"animateLoading":false,"parentColumnSpace":8.125,"dynamicTriggerPathList":[],"resetOnSubmit":true,"leftColumn":21,"dynamicBindingPathList":[{"key":"accentColor"}],"labelStyle":"","inputType":"MULTI_LINE_TEXT","isDisabled":false,"key":"om9y3ljmtt","validation":"true","labelTextSize":"0.875rem","isRequired":false,"rightColumn":62,"dynamicHeight":"FIXED","widgetId":"6qn1qkr18d","accentColor":"{{appsmith.theme.colors.primaryColor}}","isVisible":true,"label":"","version":2,"parentId":"re60vbuakz","renderMode":"CANVAS","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"iconAlign":"left","defaultText":"","minDynamicHeight":4}],"isDisabled":false}],"height":600,"labelTextSize":"0.875rem","rightColumn":0,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"c8fg4ubw52","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":532,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"value_modal","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas4","rightColumn":0,"detachFromLayout":true,"widgetId":"v8n3d5aecd","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"fh14k9y353","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon2","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"jqaazpo3zy","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"v8n3d5aecd","isLoading":false,"leftColumn":56,"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"boxShadow":"none","widgetName":"Text24","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"Value for Key: {{data_table.selectedRow.result}}","labelTextSize":"0.875rem","rightColumn":54,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"hvb3xnk1u8","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"v8n3d5aecd","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button4","rightColumn":64,"onClick":"{{closeModal('value_modal')}}","isDefaultClickDisabled":true,"buttonColor":"{{appsmith.theme.colors.primaryColor}}","widgetId":"yka7b6k706","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"v8n3d5aecd","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":48,"dynamicBindingPathList":[{"key":"borderRadius"},{"key":"buttonColor"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Close","isDisabled":false},{"boxShadow":"none","widgetName":"Text25","topRow":6,"bottomRow":17,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"{{FetchValue.data[0].result}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"j9315vzr13","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"v8n3d5aecd","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":0,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"fh14k9y353","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4},{"boxShadow":"none","widgetName":"Delete_Modal","topRow":0,"bottomRow":0,"parentRowSpace":1,"type":"MODAL_WIDGET","shouldScrollContents":true,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[{"key":"borderRadius"}],"children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Canvas5","rightColumn":0,"detachFromLayout":true,"widgetId":"lwsyaz55ll","topRow":0,"bottomRow":240,"parentRowSpace":1,"isVisible":true,"canExtend":true,"type":"CANVAS_WIDGET","version":1,"parentId":"0skbil3ntd","shouldScrollContents":false,"minHeight":240,"isLoading":false,"parentColumnSpace":1,"dynamicTriggerPathList":[],"leftColumn":0,"dynamicBindingPathList":[],"borderRadius":"0px","children":[{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Icon3","rightColumn":64,"onClick":"{{closeModal('Delete_Modal')}}","iconName":"cross","buttonColor":"#2E3D49","widgetId":"dtuc8ag2of","topRow":1,"bottomRow":5,"isVisible":true,"type":"ICON_BUTTON_WIDGET","version":1,"parentId":"lwsyaz55ll","isLoading":false,"leftColumn":56,"borderRadius":"0px","buttonVariant":"TERTIARY","iconSize":24},{"boxShadow":"none","widgetName":"Text26","dynamicPropertyPathList":[{"key":"fontSize"}],"topRow":1,"bottomRow":5,"type":"TEXT_WIDGET","dynamicTriggerPathList":[],"overflow":"NONE","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[],"text":"Delete Key","labelTextSize":"0.875rem","rightColumn":41,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"d9ap4dp300","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"lwsyaz55ll","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"1.5rem","minDynamicHeight":4},{"labelTextSize":"0.875rem","boxShadow":"none","widgetName":"Button6","onClick":"{{DeleteKey.run(() => FetchKeys.run(() => closeModal('Delete_Modal')), () => {})}}","rightColumn":64,"dynamicPropertyPathList":[{"key":"onClick"}],"buttonColor":"#DD4B34","isDefaultClickDisabled":true,"widgetId":"2kg6lmim5m","topRow":18,"bottomRow":22,"isVisible":true,"type":"BUTTON_WIDGET","version":1,"recaptchaType":"V3","parentId":"lwsyaz55ll","isLoading":false,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":46,"dynamicBindingPathList":[{"key":"borderRadius"}],"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"PRIMARY","text":"Confirm","isDisabled":false},{"boxShadow":"none","widgetName":"Text27","topRow":7,"bottomRow":17,"parentRowSpace":10,"type":"TEXT_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[],"overflow":"SCROLL","fontFamily":"System Default","leftColumn":1,"dynamicBindingPathList":[{"key":"text"}],"text":"Are you sure you want to delete the key?\n\n{{data_table.selectedRow.result}}","labelTextSize":"0.875rem","rightColumn":64,"textAlign":"LEFT","dynamicHeight":"FIXED","widgetId":"c698jgkzjg","isVisible":true,"fontStyle":"BOLD","textColor":"#231F20","version":1,"parentId":"lwsyaz55ll","isLoading":false,"borderRadius":"0px","maxDynamicHeight":9000,"fontSize":"0.875rem","minDynamicHeight":4},{"boxShadow":"none","widgetName":"Button7","onClick":"{{closeModal('Delete_Modal')}}","buttonColor":"#3f3f46","topRow":18,"bottomRow":22,"parentRowSpace":10,"type":"BUTTON_WIDGET","parentColumnSpace":6.8125,"dynamicTriggerPathList":[{"key":"onClick"}],"leftColumn":32,"dynamicBindingPathList":[{"key":"borderRadius"}],"text":"Cancel","isDisabled":false,"labelTextSize":"0.875rem","rightColumn":46,"isDefaultClickDisabled":true,"widgetId":"lsvqrab5v2","isVisible":true,"version":1,"recaptchaType":"V3","parentId":"lwsyaz55ll","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","buttonVariant":"TERTIARY"}],"isDisabled":false}],"height":240,"labelTextSize":"0.875rem","rightColumn":0,"detachFromLayout":true,"dynamicHeight":"FIXED","widgetId":"0skbil3ntd","canOutsideClickClose":true,"canEscapeKeyClose":true,"version":2,"parentId":"0","isLoading":false,"borderRadius":"{{appsmith.theme.borderRadius.appBorderRadius}}","maxDynamicHeight":9000,"width":456,"minDynamicHeight":4}]}}],"slug":"redis","isHidden":false},"gitSyncId":"61764fbeba7e887d03bc3631_61bb770ecd5d70450952ccc6"}],"actionCollectionList":[{"deleted":false,"publishedCollection":{"variables":[],"pluginType":"JS","pluginId":"js-plugin","name":"Utils","archivedActions":[],"userPermissions":[],"pageId":"Admin","body":"export default {\n\tmyFun2: async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}\n}","actions":[]},"unpublishedCollection":{"variables":[],"pluginType":"JS","pluginId":"js-plugin","name":"Utils","archivedActions":[],"userPermissions":[],"pageId":"Admin","body":"export default {\n\tmyFun2: async () => {\n\t\t get_exported_app.run(() => {\n\t\t\tconst arr = JSON.parse(datasource_arr.text);\n\t\t\tarr.map((row) => { get_datasource_structure.run((res, params) => {\n\t\t \t\t\tstoreValue(params.name, res); \n\t\t\t\t},undefined, row)\n\t\t\t})\n \t})\n\t}\n}","actions":[]},"id":"Admin_Utils","gitSyncId":"61764fbeba7e887d03bc3631_624e8fab729a2b0934685de2"}],"clientSchemaVersion":1,"exportedApplication":{"publishedCustomJSLibs":[],"applicationVersion":2,"color":"#D9E7FF","unpublishedAppLayout":{"type":"FLUID"},"icon":"bag","unpublishedCustomJSLibs":[],"viewMode":false,"isManualUpdate":false,"pages":[{"isDefault":true,"id":"Admin"},{"isDefault":false,"id":"PostgreSQL"},{"isDefault":false,"id":"Page Generator"},{"isDefault":false,"id":"MongoDB"},{"isDefault":false,"id":"SQL"},{"isDefault":false,"id":"Google Sheets"},{"isDefault":false,"id":"Firestore"},{"isDefault":false,"id":"S3"},{"isDefault":false,"id":"Redis"}],"deleted":false,"name":"CRUD App Templates","appIsExample":false,"isPublic":false,"publishedAppLayout":{"type":"FLUID"},"publishedPages":[{"isDefault":true,"id":"Admin"},{"isDefault":false,"id":"PostgreSQL"},{"isDefault":false,"id":"Page Generator"},{"isDefault":false,"id":"MongoDB"},{"isDefault":false,"id":"SQL"},{"isDefault":false,"id":"Google Sheets"},{"isDefault":false,"id":"Firestore"},{"isDefault":false,"id":"S3"},{"isDefault":false,"id":"Redis"}],"unreadCommentThreads":0,"slug":"crud-app-templates"}}
\ No newline at end of file
diff --git a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/CreateDBTablePageSolutionTests.java b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/CreateDBTablePageSolutionTests.java
index 91061d880953..461edd93a3ed 100644
--- a/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/CreateDBTablePageSolutionTests.java
+++ b/app/server/appsmith-server/src/test/java/com/appsmith/server/solutions/CreateDBTablePageSolutionTests.java
@@ -1,20 +1,15 @@
package com.appsmith.server.solutions;
-import com.appsmith.external.models.Datasource;
-import com.appsmith.external.models.DatasourceConfiguration;
-import com.appsmith.external.models.DatasourceConfigurationStructure;
-import com.appsmith.external.models.DatasourceStructure;
+import com.appsmith.external.models.*;
import com.appsmith.external.models.DatasourceStructure.Column;
import com.appsmith.external.models.DatasourceStructure.Key;
import com.appsmith.external.models.DatasourceStructure.Table;
import com.appsmith.external.models.DatasourceStructure.TableType;
import com.appsmith.server.constants.FieldName;
-import com.appsmith.server.domains.Application;
-import com.appsmith.server.domains.NewAction;
-import com.appsmith.server.domains.Plugin;
-import com.appsmith.server.domains.Workspace;
+import com.appsmith.server.domains.*;
import com.appsmith.server.dtos.CRUDPageResourceDTO;
import com.appsmith.server.dtos.CRUDPageResponseDTO;
+import com.appsmith.server.dtos.PageDTO;
import com.appsmith.server.exceptions.AppsmithError;
import com.appsmith.server.exceptions.AppsmithException;
import com.appsmith.server.helpers.MockPluginExecutor;
@@ -45,6 +40,12 @@
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
+import java.util.UUID;
+import java.util.Set;
+import java.util.HashMap;
+
+import static com.appsmith.server.acl.AclPermission.READ_PAGES;
+import static org.assertj.core.api.Assertions.assertThat;
@Slf4j
@ExtendWith(SpringExtension.class)
@@ -285,418 +286,411 @@ public void createPage_withInvalidBranchName_throwException() {
.verify();
}
-// TODO: Uncomment after fixing generate CRUD
-// @Test
-// @WithUserDetails(value = "api_user")
-// public void createPageWithNullPageId() {
-//
-// resource.setApplicationId(testApp.getId());
-// Mono<CRUDPageResponseDTO> resultMono = solution.createPageFromDBTable(null, resource, null);
-//
-// StepVerifier
-// .create(resultMono)
-// .assertNext(crudPage -> {
-// PageDTO page = crudPage.getPage();
-// Layout layout = page.getLayouts().get(0);
-// assertThat(page.getName()).contains("SampleTable");
-// assertThat(page.getLayouts()).isNotEmpty();
-// assertThat(layout.getDsl()).isNotEmpty();
-// assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
-// assertThat(layout.getId()).isNotNull();
-// assertThat(layout.getWidgetNames()).isNotEmpty();
-// assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
-// assertThat(crudPage.getSuccessMessage()).isNotNull();
-// assertThat(crudPage.getSuccessImageUrl()).isNotNull();
-// })
-// .verifyComplete();
-// }
-
-// TODO: Uncomment after fixing generate CRUD
-// @Test
-// @WithUserDetails(value = "api_user")
-// public void createPage_withValidBranch_validDefaultIds() {
-//
-// Application gitConnectedApp = new Application();
-// gitConnectedApp.setName(UUID.randomUUID().toString());
-// GitApplicationMetadata gitData = new GitApplicationMetadata();
-// gitData.setBranchName("crudTestBranch");
-// gitConnectedApp.setGitApplicationMetadata(gitData);
-// applicationPageService.createApplication(gitConnectedApp, testWorkspace.getId())
-// .flatMap(application -> {
-// application.getGitApplicationMetadata().setDefaultApplicationId(application.getId());
-// gitData.setDefaultApplicationId(application.getId());
-// return applicationService.save(application)
-// .zipWhen(application1 -> importExportApplicationService.exportApplicationById(application1.getId(), gitData.getBranchName()));
-// })
-// // Assign the branchName to all the resources connected to the application
-// .flatMap(tuple -> importExportApplicationService.importApplicationInWorkspace(testWorkspace.getId(), tuple.getT2(), tuple.getT1().getId(), gitData.getBranchName()))
-// .block();
-//
-// resource.setApplicationId(gitData.getDefaultApplicationId());
-// PageDTO newPage = new PageDTO();
-// newPage.setApplicationId(gitData.getDefaultApplicationId());
-// newPage.setName("crud-admin-page-with-git-connected-app");
-//
-// Mono<NewPage> resultMono = applicationPageService.createPageWithBranchName(newPage, gitData.getBranchName())
-// .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resource, gitData.getBranchName()))
-// .flatMap(crudPageResponseDTO ->
-// newPageService.findByBranchNameAndDefaultPageId(gitData.getBranchName(), crudPageResponseDTO.getPage().getId(), READ_PAGES));
-//
-// StepVerifier
-// .create(resultMono.zipWhen(newPage1 -> getActions(newPage1.getId())))
-// .assertNext(tuple -> {
-// NewPage newPage1 = tuple.getT1();
-// List<NewAction> actionList = tuple.getT2();
-//
-// PageDTO page = newPage1.getUnpublishedPage();
-// Layout layout = page.getLayouts().get(0);
-// assertThat(page.getName()).isEqualTo("crud-admin-page-with-git-connected-app");
-//
-// assertThat(newPage1.getDefaultResources()).isNotNull();
-// assertThat(newPage1.getDefaultResources().getBranchName()).isEqualTo(gitData.getBranchName());
-// assertThat(newPage1.getDefaultResources().getPageId()).isEqualTo(newPage1.getId());
-// assertThat(newPage1.getDefaultResources().getApplicationId()).isEqualTo(newPage1.getApplicationId());
-//
-// assertThat(actionList).hasSize(4);
-// DefaultResources newActionResources = actionList.get(0).getDefaultResources();
-// DefaultResources actionDTOResources = actionList.get(0).getUnpublishedAction().getDefaultResources();
-// assertThat(newActionResources.getActionId()).isEqualTo(actionList.get(0).getId());
-// assertThat(newActionResources.getApplicationId()).isEqualTo(newPage1.getDefaultResources().getApplicationId());
-// assertThat(newActionResources.getPageId()).isNull();
-// assertThat(newActionResources.getBranchName()).isEqualTo(gitData.getBranchName());
-// assertThat(actionDTOResources.getPageId()).isEqualTo(newPage1.getDefaultResources().getPageId());
-// })
-// .verifyComplete();
-// }
-
-// TODO: Uncomment after fixing generate CRUD
-// @Test
-// @WithUserDetails(value = "api_user")
-// public void createPageWithValidPageIdForPostgresqlDS() {
-//
-// resource.setApplicationId(testApp.getId());
-// PageDTO newPage = new PageDTO();
-// newPage.setApplicationId(testApp.getId());
-// newPage.setName("crud-admin-page");
-//
-// Mono<PageDTO> resultMono = applicationPageService.createPage(newPage)
-// .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resource, ""))
-// .map(crudPageResponseDTO -> crudPageResponseDTO.getPage());
-//
-// StepVerifier
-// .create(resultMono.zipWhen(pageDTO -> getActions(pageDTO.getId())))
-// .assertNext(tuple -> {
-// PageDTO page = tuple.getT1();
-// List<NewAction> actions = tuple.getT2();
-// Layout layout = page.getLayouts().get(0);
-// assertThat(page.getName()).isEqualTo(newPage.getName());
-// assertThat(page.getLayouts()).isNotEmpty();
-// assertThat(layout.getDsl()).isNotEmpty();
-// assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
-// layout.getLayoutOnLoadActions().get(0).forEach(actionDTO -> {
-// assertThat(actionDTO.getName()).isEqualTo(SELECT_QUERY);
-// });
-// assertThat(layout.getId()).isNotNull();
-// assertThat(layout.getWidgetNames()).isNotEmpty();
-// assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
-//
-// assertThat(actions).hasSize(4);
-// for (NewAction action : actions) {
-// ActionDTO unpublishedAction = action.getUnpublishedAction();
-// ActionConfiguration actionConfiguration = unpublishedAction.getActionConfiguration();
-// String actionBody = actionConfiguration.getBody().replaceAll(specialCharactersRegex, "");
-// String templateActionBody = actionNameToBodyMap
-// .get(action.getUnpublishedAction().getName()).replaceAll(specialCharactersRegex, "")
-// .replace("like", "ilike");
-// assertThat(actionBody).isEqualTo(templateActionBody);
-// if (!StringUtils.equals(unpublishedAction.getName(), SELECT_QUERY)) {
-// assertThat(actionConfiguration.getPluginSpecifiedTemplates().get(0).getValue()).isEqualTo(Boolean.TRUE);
-// }
-// }
-// })
-// .verifyComplete();
-// }
-
-// TODO: Uncomment after fixing generate CRUD
-// @Test
-// @WithUserDetails(value = "api_user")
-// public void createPageWithLessColumnsComparedToTemplateForPostgres() {
-//
-// CRUDPageResourceDTO resourceDTO = new CRUDPageResourceDTO();
-// resourceDTO.setTableName(testDatasourceConfigurationStructure.getStructure().getTables().get(1).getName());
-// resourceDTO.setDatasourceId(testDatasource.getId());
-// resourceDTO.setApplicationId(testApp.getId());
-// PageDTO newPage = new PageDTO();
-// newPage.setApplicationId(testApp.getId());
-// newPage.setName("crud-admin-page-postgres-with-less-columns");
-//
-// Mono<CRUDPageResponseDTO> resultMono = applicationPageService.createPage(newPage)
-// .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resourceDTO, ""));
-//
-// StepVerifier
-// .create(resultMono.zipWhen(crudPageResponseDTO -> getActions(crudPageResponseDTO.getPage().getId())))
-// .assertNext(tuple -> {
-// CRUDPageResponseDTO crudPageResponseDTO = tuple.getT1();
-// PageDTO page = crudPageResponseDTO.getPage();
-// List<NewAction> actions = tuple.getT2();
-// Layout layout = page.getLayouts().get(0);
-// assertThat(page.getName()).isEqualTo(newPage.getName());
-// assertThat(page.getLayouts()).isNotEmpty();
-// assertThat(layout.getDsl()).isNotEmpty();
-// assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
-// layout.getLayoutOnLoadActions().get(0).forEach(actionDTO -> {
-// assertThat(actionDTO.getName()).isEqualTo(SELECT_QUERY);
-// });
-// assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
-//
-// assertThat(actions).hasSize(4);
-// for (NewAction action : actions) {
-// ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
-// String actionBody = actionConfiguration.getBody().replaceAll(specialCharactersRegex, "");
-// String actionName;
-// if (StringUtils.equals(action.getUnpublishedAction().getName(), UPDATE_QUERY)) {
-// actionName = "UpdateActionWithLessColumns";
-// } else if (StringUtils.equals(action.getUnpublishedAction().getName(), INSERT_QUERY)) {
-// actionName = "InsertActionWithLessColumns";
-// } else {
-// actionName = action.getUnpublishedAction().getName();
-// }
-//
-// String templateActionBody = actionNameToBodyMap
-// .get(actionName)
-// .replaceAll(specialCharactersRegex, "")
-// .replace("like", "ilike")
-// .replace(structure.getTables().get(0).getName(), structure.getTables().get(1).getName());
-// assertThat(actionBody).isEqualTo(templateActionBody);
-// }
-// assertThat(crudPageResponseDTO.getSuccessMessage()).containsIgnoringCase("TABLE");
-// assertThat(crudPageResponseDTO.getSuccessImageUrl()).isNotNull();
-// })
-// .verifyComplete();
-// }
-
-// TODO: Uncomment after fixing generate CRUD
-// @Test
-// @WithUserDetails(value = "api_user")
-// public void createPageWithLessColumnsComparedToTemplateForSql() {
-//
-// CRUDPageResourceDTO resourceDTO = new CRUDPageResourceDTO();
-// resourceDTO.setTableName(testDatasourceConfigurationStructure.getStructure().getTables().get(1).getName());
-// resourceDTO.setDatasourceId(testDatasource.getId());
-// resourceDTO.setApplicationId(testApp.getId());
-// PageDTO newPage = new PageDTO();
-// newPage.setApplicationId(testApp.getId());
-// newPage.setName("crud-admin-page-mysql");
-// StringBuilder pluginName = new StringBuilder();
-//
-// Mono<Datasource> datasourceMono = pluginRepository.findByName("MySQL")
-// .flatMap(plugin -> {
-// pluginName.append(plugin.getName());
-// Datasource datasource = new Datasource();
-// datasource.setPluginId(plugin.getId());
-// datasource.setWorkspaceId(testWorkspace.getId());
-// datasource.setName("MySql-CRUD-Page-Table-With-Less-Columns-DS");
-// datasource.setDatasourceConfiguration(datasourceConfiguration);
-// return datasourceService.create(datasource);
-// })
-// .flatMap(datasource -> {
-// DatasourceConfigurationStructure datasourceConfigurationStructure = new DatasourceConfigurationStructure();
-// datasourceConfigurationStructure.setDatasourceId(datasource.getId());
-// datasourceConfigurationStructure.setStructure(structure);
-//
-// return datasourceConfigurationStructureService.save(datasourceConfigurationStructure)
-// .thenReturn(datasource);
-// });
-//
-// Mono<CRUDPageResponseDTO> resultMono = datasourceMono
-// .flatMap(datasource1 -> {
-// resourceDTO.setDatasourceId(datasource1.getId());
-// return applicationPageService.createPage(newPage);
-// })
-// .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resourceDTO, null));
-//
-// StepVerifier
-// .create(resultMono.zipWhen(crudPageResponseDTO -> getActions(crudPageResponseDTO.getPage().getId())))
-// .assertNext(tuple -> {
-// CRUDPageResponseDTO crudPageResponseDTO = tuple.getT1();
-// PageDTO page = crudPageResponseDTO.getPage();
-// List<NewAction> actions = tuple.getT2();
-// Layout layout = page.getLayouts().get(0);
-// assertThat(page.getName()).isEqualTo(newPage.getName());
-// assertThat(page.getLayouts()).isNotEmpty();
-// assertThat(layout.getDsl()).isNotEmpty();
-// assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
-// layout.getLayoutOnLoadActions().get(0).forEach(actionDTO -> {
-// assertThat(actionDTO.getName()).isEqualTo(SELECT_QUERY);
-// });
-// assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
-//
-// assertThat(actions).hasSize(4);
-// for (NewAction action : actions) {
-// ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
-// String actionBody = actionConfiguration.getBody().replaceAll(specialCharactersRegex, "");
-// String actionName;
-// if (StringUtils.equals(action.getUnpublishedAction().getName(), UPDATE_QUERY)) {
-// actionName = "UpdateActionWithLessColumns";
-// } else if (StringUtils.equals(action.getUnpublishedAction().getName(), INSERT_QUERY)) {
-// actionName = "InsertActionWithLessColumns";
-// } else {
-// actionName = action.getUnpublishedAction().getName();
-// }
-//
-// String templateActionBody = actionNameToBodyMap
-// .get(actionName)
-// .replaceAll(specialCharactersRegex, "")
-// .replace(structure.getTables().get(0).getName(), structure.getTables().get(1).getName());
-// ;
-// assertThat(actionBody).isEqualTo(templateActionBody);
-// }
-// assertThat(crudPageResponseDTO.getSuccessMessage()).containsIgnoringCase(pluginName);
-// assertThat(crudPageResponseDTO.getSuccessMessage()).containsIgnoringCase("TABLE");
-// assertThat(crudPageResponseDTO.getSuccessImageUrl()).isNotNull();
-// })
-// .verifyComplete();
-// }
-
-// TODO: Uncomment after fixing generate CRUD
-// @Test
-// @WithUserDetails(value = "api_user")
-// public void createPageWithValidPageIdForMySqlDS() {
-//
-// resource.setApplicationId(testApp.getId());
-// PageDTO newPage = new PageDTO();
-// newPage.setApplicationId(testApp.getId());
-// newPage.setName("crud-admin-page-mysql");
-// StringBuilder pluginName = new StringBuilder();
-//
-// Mono<Datasource> datasourceMono = pluginRepository.findByName("MySQL")
-// .flatMap(plugin -> {
-// pluginName.append(plugin.getName());
-// Datasource datasource = new Datasource();
-// datasource.setPluginId(plugin.getId());
-// datasource.setWorkspaceId(testWorkspace.getId());
-// datasource.setName("MySql-CRUD-Page-Table-DS");
-// datasource.setDatasourceConfiguration(datasourceConfiguration);
-// return datasourceService.create(datasource)
-// .flatMap(datasource1 -> {
-// DatasourceConfigurationStructure datasourceConfigurationStructure = new DatasourceConfigurationStructure();
-// datasourceConfigurationStructure.setDatasourceId(datasource1.getId());
-// datasourceConfigurationStructure.setStructure(structure);
-//
-// return datasourceConfigurationStructureService.save(datasourceConfigurationStructure)
-// .thenReturn(datasource1);
-// });
-// });
-//
-// Mono<CRUDPageResponseDTO> resultMono = datasourceMono
-// .flatMap(datasource1 -> {
-// resource.setDatasourceId(datasource1.getId());
-// return applicationPageService.createPage(newPage);
-// })
-// .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resource, null));
-//
-// StepVerifier
-// .create(resultMono.zipWhen(crudPageResponseDTO -> getActions(crudPageResponseDTO.getPage().getId())))
-// .assertNext(tuple -> {
-// CRUDPageResponseDTO crudPageResponseDTO = tuple.getT1();
-// PageDTO page = crudPageResponseDTO.getPage();
-// List<NewAction> actions = tuple.getT2();
-// Layout layout = page.getLayouts().get(0);
-// assertThat(page.getName()).isEqualTo(newPage.getName());
-// assertThat(page.getLayouts()).isNotEmpty();
-// assertThat(layout.getDsl()).isNotEmpty();
-// assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
-// layout.getLayoutOnLoadActions().get(0).forEach(actionDTO -> {
-// assertThat(actionDTO.getName()).isEqualTo(SELECT_QUERY);
-// });
-// assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
-//
-// assertThat(actions).hasSize(4);
-// for (NewAction action : actions) {
-// ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
-// String actionBody = actionConfiguration.getBody().replaceAll(specialCharactersRegex, "");
-// String templateActionBody = actionNameToBodyMap
-// .get(action.getUnpublishedAction().getName()).replaceAll(specialCharactersRegex, "");
-// assertThat(actionBody).isEqualTo(templateActionBody);
-//
-// if (SELECT_QUERY.equals(action.getUnpublishedAction().getName())) {
-// assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isTrue();
-// } else {
-// assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isFalse();
-// }
-// }
-// assertThat(crudPageResponseDTO.getSuccessMessage()).containsIgnoringCase(pluginName);
-// assertThat(crudPageResponseDTO.getSuccessMessage()).containsIgnoringCase("TABLE");
-// assertThat(crudPageResponseDTO.getSuccessImageUrl()).isNotNull();
-// })
-// .verifyComplete();
-// }
-
-// TODO: Uncomment after fixing generate CRUD
-// @Test
-// @WithUserDetails(value = "api_user")
-// public void createPageWithValidPageIdForRedshiftDS() {
-//
-// resource.setApplicationId(testApp.getId());
-// PageDTO newPage = new PageDTO();
-// newPage.setApplicationId(testApp.getId());
-// newPage.setName("crud-admin-page-redshift");
-//
-// Mono<Datasource> datasourceMono = pluginRepository.findByName("Redshift")
-// .flatMap(plugin -> {
-// Datasource datasource = new Datasource();
-// datasource.setPluginId(plugin.getId());
-// datasource.setWorkspaceId(testWorkspace.getId());
-// datasource.setName("Redshift-CRUD-Page-Table-DS");
-// datasource.setDatasourceConfiguration(datasourceConfiguration);
-// return datasourceService.create(datasource)
-// .flatMap(datasource1 -> {
-// DatasourceConfigurationStructure datasourceConfigurationStructure = new DatasourceConfigurationStructure();
-// datasourceConfigurationStructure.setDatasourceId(datasource1.getId());
-// datasourceConfigurationStructure.setStructure(structure);
-//
-// return datasourceConfigurationStructureService.save(datasourceConfigurationStructure)
-// .thenReturn(datasource1);
-// });
-// });
-//
-// Mono<PageDTO> resultMono = datasourceMono
-// .flatMap(datasource1 -> {
-// resource.setDatasourceId(datasource1.getId());
-// return applicationPageService.createPage(newPage);
-// })
-// .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resource, ""))
-// .map(crudPageResponseDTO -> crudPageResponseDTO.getPage());
-//
-// StepVerifier
-// .create(resultMono.zipWhen(pageDTO -> getActions(pageDTO.getId())))
-// .assertNext(tuple -> {
-// PageDTO page = tuple.getT1();
-// List<NewAction> actions = tuple.getT2();
-// Layout layout = page.getLayouts().get(0);
-// assertThat(page.getName()).isEqualTo(newPage.getName());
-// assertThat(page.getLayouts()).isNotEmpty();
-// assertThat(layout.getDsl()).isNotEmpty();
-// assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
-// assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
-//
-// assertThat(actions).hasSize(4);
-// for (NewAction action : actions) {
-// ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
-// String actionBody = actionConfiguration.getBody().replaceAll(specialCharactersRegex, "");
-// String templateActionBody = actionNameToBodyMap
-// .get(action.getUnpublishedAction().getName()).replaceAll(specialCharactersRegex, "");
-// assertThat(actionBody).isEqualTo(templateActionBody);
-//
-// if (SELECT_QUERY.equals(action.getUnpublishedAction().getName())) {
-// assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isTrue();
-// } else {
-// assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isFalse();
-// }
-// }
-// })
-// .verifyComplete();
-// }
+ @Test
+ @WithUserDetails(value = "api_user")
+ public void createPageWithNullPageId() {
+
+ resource.setApplicationId(testApp.getId());
+ Mono<CRUDPageResponseDTO> resultMono = solution.createPageFromDBTable(null, resource, null);
+
+ StepVerifier
+ .create(resultMono)
+ .assertNext(crudPage -> {
+ PageDTO page = crudPage.getPage();
+ Layout layout = page.getLayouts().get(0);
+ assertThat(page.getName()).contains("SampleTable");
+ assertThat(page.getLayouts()).isNotEmpty();
+ assertThat(layout.getDsl()).isNotEmpty();
+ assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
+ assertThat(layout.getId()).isNotNull();
+ assertThat(layout.getWidgetNames()).isNotEmpty();
+ assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
+ assertThat(crudPage.getSuccessMessage()).isNotNull();
+ assertThat(crudPage.getSuccessImageUrl()).isNotNull();
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ @WithUserDetails(value = "api_user")
+ public void createPage_withValidBranch_validDefaultIds() {
+
+ Application gitConnectedApp = new Application();
+ gitConnectedApp.setName(UUID.randomUUID().toString());
+ GitApplicationMetadata gitData = new GitApplicationMetadata();
+ gitData.setBranchName("crudTestBranch");
+ gitConnectedApp.setGitApplicationMetadata(gitData);
+ applicationPageService.createApplication(gitConnectedApp, testWorkspace.getId())
+ .flatMap(application -> {
+ application.getGitApplicationMetadata().setDefaultApplicationId(application.getId());
+ gitData.setDefaultApplicationId(application.getId());
+ return applicationService.save(application)
+ .zipWhen(application1 -> importExportApplicationService.exportApplicationById(application1.getId(), gitData.getBranchName()));
+ })
+ // Assign the branchName to all the resources connected to the application
+ .flatMap(tuple -> importExportApplicationService.importApplicationInWorkspace(testWorkspace.getId(), tuple.getT2(), tuple.getT1().getId(), gitData.getBranchName()))
+ .block();
+
+ resource.setApplicationId(gitData.getDefaultApplicationId());
+ PageDTO newPage = new PageDTO();
+ newPage.setApplicationId(gitData.getDefaultApplicationId());
+ newPage.setName("crud-admin-page-with-git-connected-app");
+
+ Mono<NewPage> resultMono = applicationPageService.createPageWithBranchName(newPage, gitData.getBranchName())
+ .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resource, gitData.getBranchName()))
+ .flatMap(crudPageResponseDTO ->
+ newPageService.findByBranchNameAndDefaultPageId(gitData.getBranchName(), crudPageResponseDTO.getPage().getId(), READ_PAGES));
+
+ StepVerifier
+ .create(resultMono.zipWhen(newPage1 -> getActions(newPage1.getId())))
+ .assertNext(tuple -> {
+ NewPage newPage1 = tuple.getT1();
+ List<NewAction> actionList = tuple.getT2();
+
+ PageDTO page = newPage1.getUnpublishedPage();
+ Layout layout = page.getLayouts().get(0);
+ assertThat(page.getName()).isEqualTo("crud-admin-page-with-git-connected-app");
+
+ assertThat(newPage1.getDefaultResources()).isNotNull();
+ assertThat(newPage1.getDefaultResources().getBranchName()).isEqualTo(gitData.getBranchName());
+ assertThat(newPage1.getDefaultResources().getPageId()).isEqualTo(newPage1.getId());
+ assertThat(newPage1.getDefaultResources().getApplicationId()).isEqualTo(newPage1.getApplicationId());
+
+ assertThat(actionList).hasSize(4);
+ DefaultResources newActionResources = actionList.get(0).getDefaultResources();
+ DefaultResources actionDTOResources = actionList.get(0).getUnpublishedAction().getDefaultResources();
+ assertThat(newActionResources.getActionId()).isEqualTo(actionList.get(0).getId());
+ assertThat(newActionResources.getApplicationId()).isEqualTo(newPage1.getDefaultResources().getApplicationId());
+ assertThat(newActionResources.getPageId()).isNull();
+ assertThat(newActionResources.getBranchName()).isEqualTo(gitData.getBranchName());
+ assertThat(actionDTOResources.getPageId()).isEqualTo(newPage1.getDefaultResources().getPageId());
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ @WithUserDetails(value = "api_user")
+ public void createPageWithValidPageIdForPostgresqlDS() {
+
+ resource.setApplicationId(testApp.getId());
+ PageDTO newPage = new PageDTO();
+ newPage.setApplicationId(testApp.getId());
+ newPage.setName("crud-admin-page");
+
+ Mono<PageDTO> resultMono = applicationPageService.createPage(newPage)
+ .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resource, ""))
+ .map(crudPageResponseDTO -> crudPageResponseDTO.getPage());
+
+ StepVerifier
+ .create(resultMono.zipWhen(pageDTO -> getActions(pageDTO.getId())))
+ .assertNext(tuple -> {
+ PageDTO page = tuple.getT1();
+ List<NewAction> actions = tuple.getT2();
+ Layout layout = page.getLayouts().get(0);
+ assertThat(page.getName()).isEqualTo(newPage.getName());
+ assertThat(page.getLayouts()).isNotEmpty();
+ assertThat(layout.getDsl()).isNotEmpty();
+ assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
+ layout.getLayoutOnLoadActions().get(0).forEach(actionDTO -> {
+ assertThat(actionDTO.getName()).isEqualTo(SELECT_QUERY);
+ });
+ assertThat(layout.getId()).isNotNull();
+ assertThat(layout.getWidgetNames()).isNotEmpty();
+ assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
+
+ assertThat(actions).hasSize(4);
+ for (NewAction action : actions) {
+ ActionDTO unpublishedAction = action.getUnpublishedAction();
+ ActionConfiguration actionConfiguration = unpublishedAction.getActionConfiguration();
+ String actionBody = actionConfiguration.getBody().replaceAll(specialCharactersRegex, "");
+ String templateActionBody = actionNameToBodyMap
+ .get(action.getUnpublishedAction().getName()).replaceAll(specialCharactersRegex, "")
+ .replace("like", "ilike");
+ assertThat(actionBody).isEqualTo(templateActionBody);
+ if (!StringUtils.equals(unpublishedAction.getName(), SELECT_QUERY)) {
+ assertThat(actionConfiguration.getPluginSpecifiedTemplates().get(0).getValue()).isEqualTo(Boolean.TRUE);
+ }
+ }
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ @WithUserDetails(value = "api_user")
+ public void createPageWithLessColumnsComparedToTemplateForPostgres() {
+
+ CRUDPageResourceDTO resourceDTO = new CRUDPageResourceDTO();
+ resourceDTO.setTableName(testDatasourceConfigurationStructure.getStructure().getTables().get(1).getName());
+ resourceDTO.setDatasourceId(testDatasource.getId());
+ resourceDTO.setApplicationId(testApp.getId());
+ PageDTO newPage = new PageDTO();
+ newPage.setApplicationId(testApp.getId());
+ newPage.setName("crud-admin-page-postgres-with-less-columns");
+
+ Mono<CRUDPageResponseDTO> resultMono = applicationPageService.createPage(newPage)
+ .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resourceDTO, ""));
+
+ StepVerifier
+ .create(resultMono.zipWhen(crudPageResponseDTO -> getActions(crudPageResponseDTO.getPage().getId())))
+ .assertNext(tuple -> {
+ CRUDPageResponseDTO crudPageResponseDTO = tuple.getT1();
+ PageDTO page = crudPageResponseDTO.getPage();
+ List<NewAction> actions = tuple.getT2();
+ Layout layout = page.getLayouts().get(0);
+ assertThat(page.getName()).isEqualTo(newPage.getName());
+ assertThat(page.getLayouts()).isNotEmpty();
+ assertThat(layout.getDsl()).isNotEmpty();
+ assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
+ layout.getLayoutOnLoadActions().get(0).forEach(actionDTO -> {
+ assertThat(actionDTO.getName()).isEqualTo(SELECT_QUERY);
+ });
+ assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
+
+ assertThat(actions).hasSize(4);
+ for (NewAction action : actions) {
+ ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
+ String actionBody = actionConfiguration.getBody().replaceAll(specialCharactersRegex, "");
+ String actionName;
+ if (StringUtils.equals(action.getUnpublishedAction().getName(), UPDATE_QUERY)) {
+ actionName = "UpdateActionWithLessColumns";
+ } else if (StringUtils.equals(action.getUnpublishedAction().getName(), INSERT_QUERY)) {
+ actionName = "InsertActionWithLessColumns";
+ } else {
+ actionName = action.getUnpublishedAction().getName();
+ }
+
+ String templateActionBody = actionNameToBodyMap
+ .get(actionName)
+ .replaceAll(specialCharactersRegex, "")
+ .replace("like", "ilike")
+ .replace(structure.getTables().get(0).getName(), structure.getTables().get(1).getName());
+ assertThat(actionBody).isEqualTo(templateActionBody);
+ }
+ assertThat(crudPageResponseDTO.getSuccessMessage()).containsIgnoringCase("TABLE");
+ assertThat(crudPageResponseDTO.getSuccessImageUrl()).isNotNull();
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ @WithUserDetails(value = "api_user")
+ public void createPageWithLessColumnsComparedToTemplateForSql() {
+
+ CRUDPageResourceDTO resourceDTO = new CRUDPageResourceDTO();
+ resourceDTO.setTableName(testDatasourceConfigurationStructure.getStructure().getTables().get(1).getName());
+ resourceDTO.setDatasourceId(testDatasource.getId());
+ resourceDTO.setApplicationId(testApp.getId());
+ PageDTO newPage = new PageDTO();
+ newPage.setApplicationId(testApp.getId());
+ newPage.setName("crud-admin-page-mysql");
+ StringBuilder pluginName = new StringBuilder();
+
+ Mono<Datasource> datasourceMono = pluginRepository.findByName("MySQL")
+ .flatMap(plugin -> {
+ pluginName.append(plugin.getName());
+ Datasource datasource = new Datasource();
+ datasource.setPluginId(plugin.getId());
+ datasource.setWorkspaceId(testWorkspace.getId());
+ datasource.setName("MySql-CRUD-Page-Table-With-Less-Columns-DS");
+ datasource.setDatasourceConfiguration(datasourceConfiguration);
+ return datasourceService.create(datasource);
+ })
+ .flatMap(datasource -> {
+ DatasourceConfigurationStructure datasourceConfigurationStructure = new DatasourceConfigurationStructure();
+ datasourceConfigurationStructure.setDatasourceId(datasource.getId());
+ datasourceConfigurationStructure.setStructure(structure);
+
+ return datasourceConfigurationStructureService.save(datasourceConfigurationStructure)
+ .thenReturn(datasource);
+ });
+
+ Mono<CRUDPageResponseDTO> resultMono = datasourceMono
+ .flatMap(datasource1 -> {
+ resourceDTO.setDatasourceId(datasource1.getId());
+ return applicationPageService.createPage(newPage);
+ })
+ .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resourceDTO, null));
+
+ StepVerifier
+ .create(resultMono.zipWhen(crudPageResponseDTO -> getActions(crudPageResponseDTO.getPage().getId())))
+ .assertNext(tuple -> {
+ CRUDPageResponseDTO crudPageResponseDTO = tuple.getT1();
+ PageDTO page = crudPageResponseDTO.getPage();
+ List<NewAction> actions = tuple.getT2();
+ Layout layout = page.getLayouts().get(0);
+ assertThat(page.getName()).isEqualTo(newPage.getName());
+ assertThat(page.getLayouts()).isNotEmpty();
+ assertThat(layout.getDsl()).isNotEmpty();
+ assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
+ layout.getLayoutOnLoadActions().get(0).forEach(actionDTO -> {
+ assertThat(actionDTO.getName()).isEqualTo(SELECT_QUERY);
+ });
+ assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
+
+ assertThat(actions).hasSize(4);
+ for (NewAction action : actions) {
+ ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
+ String actionBody = actionConfiguration.getBody().replaceAll(specialCharactersRegex, "");
+ String actionName;
+ if (StringUtils.equals(action.getUnpublishedAction().getName(), UPDATE_QUERY)) {
+ actionName = "UpdateActionWithLessColumns";
+ } else if (StringUtils.equals(action.getUnpublishedAction().getName(), INSERT_QUERY)) {
+ actionName = "InsertActionWithLessColumns";
+ } else {
+ actionName = action.getUnpublishedAction().getName();
+ }
+
+ String templateActionBody = actionNameToBodyMap
+ .get(actionName)
+ .replaceAll(specialCharactersRegex, "")
+ .replace(structure.getTables().get(0).getName(), structure.getTables().get(1).getName());
+ ;
+ assertThat(actionBody).isEqualTo(templateActionBody);
+ }
+ assertThat(crudPageResponseDTO.getSuccessMessage()).containsIgnoringCase(pluginName);
+ assertThat(crudPageResponseDTO.getSuccessMessage()).containsIgnoringCase("TABLE");
+ assertThat(crudPageResponseDTO.getSuccessImageUrl()).isNotNull();
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ @WithUserDetails(value = "api_user")
+ public void createPageWithValidPageIdForMySqlDS() {
+
+ resource.setApplicationId(testApp.getId());
+ PageDTO newPage = new PageDTO();
+ newPage.setApplicationId(testApp.getId());
+ newPage.setName("crud-admin-page-mysql");
+ StringBuilder pluginName = new StringBuilder();
+
+ Mono<Datasource> datasourceMono = pluginRepository.findByName("MySQL")
+ .flatMap(plugin -> {
+ pluginName.append(plugin.getName());
+ Datasource datasource = new Datasource();
+ datasource.setPluginId(plugin.getId());
+ datasource.setWorkspaceId(testWorkspace.getId());
+ datasource.setName("MySql-CRUD-Page-Table-DS");
+ datasource.setDatasourceConfiguration(datasourceConfiguration);
+ return datasourceService.create(datasource)
+ .flatMap(datasource1 -> {
+ DatasourceConfigurationStructure datasourceConfigurationStructure = new DatasourceConfigurationStructure();
+ datasourceConfigurationStructure.setDatasourceId(datasource1.getId());
+ datasourceConfigurationStructure.setStructure(structure);
+
+ return datasourceConfigurationStructureService.save(datasourceConfigurationStructure)
+ .thenReturn(datasource1);
+ });
+ });
+
+ Mono<CRUDPageResponseDTO> resultMono = datasourceMono
+ .flatMap(datasource1 -> {
+ resource.setDatasourceId(datasource1.getId());
+ return applicationPageService.createPage(newPage);
+ })
+ .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resource, null));
+
+ StepVerifier
+ .create(resultMono.zipWhen(crudPageResponseDTO -> getActions(crudPageResponseDTO.getPage().getId())))
+ .assertNext(tuple -> {
+ CRUDPageResponseDTO crudPageResponseDTO = tuple.getT1();
+ PageDTO page = crudPageResponseDTO.getPage();
+ List<NewAction> actions = tuple.getT2();
+ Layout layout = page.getLayouts().get(0);
+ assertThat(page.getName()).isEqualTo(newPage.getName());
+ assertThat(page.getLayouts()).isNotEmpty();
+ assertThat(layout.getDsl()).isNotEmpty();
+ assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
+ layout.getLayoutOnLoadActions().get(0).forEach(actionDTO -> {
+ assertThat(actionDTO.getName()).isEqualTo(SELECT_QUERY);
+ });
+ assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
+
+ assertThat(actions).hasSize(4);
+ for (NewAction action : actions) {
+ ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
+ String actionBody = actionConfiguration.getBody().replaceAll(specialCharactersRegex, "");
+ String templateActionBody = actionNameToBodyMap
+ .get(action.getUnpublishedAction().getName()).replaceAll(specialCharactersRegex, "");
+ assertThat(actionBody).isEqualTo(templateActionBody);
+
+ if (SELECT_QUERY.equals(action.getUnpublishedAction().getName())) {
+ assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isTrue();
+ } else {
+ assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isFalse();
+ }
+ }
+ assertThat(crudPageResponseDTO.getSuccessMessage()).containsIgnoringCase(pluginName);
+ assertThat(crudPageResponseDTO.getSuccessMessage()).containsIgnoringCase("TABLE");
+ assertThat(crudPageResponseDTO.getSuccessImageUrl()).isNotNull();
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ @WithUserDetails(value = "api_user")
+ public void createPageWithValidPageIdForRedshiftDS() {
+
+ resource.setApplicationId(testApp.getId());
+ PageDTO newPage = new PageDTO();
+ newPage.setApplicationId(testApp.getId());
+ newPage.setName("crud-admin-page-redshift");
+
+ Mono<Datasource> datasourceMono = pluginRepository.findByName("Redshift")
+ .flatMap(plugin -> {
+ Datasource datasource = new Datasource();
+ datasource.setPluginId(plugin.getId());
+ datasource.setWorkspaceId(testWorkspace.getId());
+ datasource.setName("Redshift-CRUD-Page-Table-DS");
+ datasource.setDatasourceConfiguration(datasourceConfiguration);
+ return datasourceService.create(datasource)
+ .flatMap(datasource1 -> {
+ DatasourceConfigurationStructure datasourceConfigurationStructure = new DatasourceConfigurationStructure();
+ datasourceConfigurationStructure.setDatasourceId(datasource1.getId());
+ datasourceConfigurationStructure.setStructure(structure);
+
+ return datasourceConfigurationStructureService.save(datasourceConfigurationStructure)
+ .thenReturn(datasource1);
+ });
+ });
+
+ Mono<PageDTO> resultMono = datasourceMono
+ .flatMap(datasource1 -> {
+ resource.setDatasourceId(datasource1.getId());
+ return applicationPageService.createPage(newPage);
+ })
+ .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resource, ""))
+ .map(crudPageResponseDTO -> crudPageResponseDTO.getPage());
+
+ StepVerifier
+ .create(resultMono.zipWhen(pageDTO -> getActions(pageDTO.getId())))
+ .assertNext(tuple -> {
+ PageDTO page = tuple.getT1();
+ List<NewAction> actions = tuple.getT2();
+ Layout layout = page.getLayouts().get(0);
+ assertThat(page.getName()).isEqualTo(newPage.getName());
+ assertThat(page.getLayouts()).isNotEmpty();
+ assertThat(layout.getDsl()).isNotEmpty();
+ assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
+ assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
+
+ assertThat(actions).hasSize(4);
+ for (NewAction action : actions) {
+ ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
+ String actionBody = actionConfiguration.getBody().replaceAll(specialCharactersRegex, "");
+ String templateActionBody = actionNameToBodyMap
+ .get(action.getUnpublishedAction().getName()).replaceAll(specialCharactersRegex, "");
+ assertThat(actionBody).isEqualTo(templateActionBody);
+
+ if (SELECT_QUERY.equals(action.getUnpublishedAction().getName())) {
+ assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isTrue();
+ } else {
+ assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isFalse();
+ }
+ }
+ })
+ .verifyComplete();
+ }
// TODO this has been disabled as we don't have the getStructure method for mssql-plugin
@@ -756,296 +750,308 @@ public void createPageWithNullPageIdForMSSqlDS() {
}
*/
-// TODO: Uncomment after fixing generate CRUD
-// @Test
-// @WithUserDetails(value = "api_user")
-// public void createPageWithNullPageIdForSnowflake() {
-//
-// resource.setApplicationId(testApp.getId());
-//
-// Mono<Datasource> datasourceMono = pluginRepository.findByName("Snowflake")
-// .flatMap(plugin -> {
-// Datasource datasource = new Datasource();
-// datasource.setPluginId(plugin.getId());
-// datasource.setWorkspaceId(testWorkspace.getId());
-// datasource.setName("Snowflake-CRUD-Page-Table-DS");
-// datasource.setDatasourceConfiguration(datasourceConfiguration);
-// return datasourceService.create(datasource)
-// .flatMap(datasource1 -> {
-// DatasourceConfigurationStructure datasourceConfigurationStructure = new DatasourceConfigurationStructure();
-// datasourceConfigurationStructure.setDatasourceId(datasource1.getId());
-// datasourceConfigurationStructure.setStructure(structure);
-//
-// return datasourceConfigurationStructureService.save(datasourceConfigurationStructure)
-// .thenReturn(datasource1);
-// });
-//
-// });
-//
-// Mono<PageDTO> resultMono = datasourceMono
-// .flatMap(datasource1 -> {
-// resource.setDatasourceId(datasource1.getId());
-// return solution.createPageFromDBTable(null, resource, "");
-// })
-// .map(crudPageResponseDTO -> crudPageResponseDTO.getPage());
-//
-// StepVerifier
-// .create(resultMono.zipWhen(pageDTO -> getActions(pageDTO.getId())))
-// .assertNext(tuple -> {
-// PageDTO page = tuple.getT1();
-// List<NewAction> actions = tuple.getT2();
-// Layout layout = page.getLayouts().get(0);
-// assertThat(page.getName()).isEqualTo("SampleTable");
-// assertThat(page.getLayouts()).isNotEmpty();
-// assertThat(layout.getDsl()).isNotEmpty();
-// assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
-// assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
-//
-// assertThat(actions).hasSize(4);
-// for (NewAction action : actions) {
-// ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
-// String actionBody = actionConfiguration.getBody().replaceAll(specialCharactersRegex, "");
-// String templateActionBody = actionNameToBodyMap
-// .get(action.getUnpublishedAction().getName()).replaceAll(specialCharactersRegex, "");
-// assertThat(actionBody).isEqualTo(templateActionBody);
-// if (SELECT_QUERY.equals(action.getUnpublishedAction().getName())) {
-// assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isTrue();
-// } else {
-// assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isFalse();
-// }
-// }
-// })
-// .verifyComplete();
-// }
-
-// TODO: Uncomment after fixing generate CRUD
-// @Test
-// @WithUserDetails(value = "api_user")
-// public void createPageWithNullPageIdForS3() {
-//
-// resource.setApplicationId(testApp.getId());
-// StringBuilder pluginName = new StringBuilder();
-//
-// Mono<Datasource> datasourceMono = pluginRepository.findByName("S3")
-// .flatMap(plugin -> {
-// Datasource datasource = new Datasource();
-// datasource.setPluginId(plugin.getId());
-// datasource.setWorkspaceId(testWorkspace.getId());
-// datasource.setName("S3-CRUD-Page-Table-DS");
-// datasource.setDatasourceConfiguration(datasourceConfiguration);
-// pluginName.append(plugin.getName());
-// return datasourceService.create(datasource);
-// });
-//
-// Mono<CRUDPageResponseDTO> resultMono = datasourceMono
-// .flatMap(datasource1 -> {
-// resource.setDatasourceId(datasource1.getId());
-// return solution.createPageFromDBTable(null, resource, "");
-// });
-//
-// StepVerifier
-// .create(resultMono.zipWhen(crudPageResponseDTO -> getActions(crudPageResponseDTO.getPage().getId())))
-// .assertNext(tuple -> {
-// CRUDPageResponseDTO crudPage = tuple.getT1();
-// PageDTO page = crudPage.getPage();
-// List<NewAction> actions = tuple.getT2();
-// Layout layout = page.getLayouts().get(0);
-// assertThat(page.getName()).contains("SampleTable");
-// assertThat(page.getLayouts()).isNotEmpty();
-// assertThat(layout.getDsl()).isNotEmpty();
-// assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
-// assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
-// layout.getLayoutOnLoadActions().get(0).forEach(actionDTO -> {
-// assertThat(actionDTO.getName()).isEqualTo(LIST_QUERY);
-// });
-//
-// assertThat(actions).hasSize(5);
-// for (NewAction action : actions) {
-// ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
-// assertThat(((Map<String, String>) actionConfiguration.getFormData().get("bucket")).get(DATA))
-// .isEqualTo(resource.getTableName());
-// if (action.getUnpublishedAction().getName().equals(LIST_QUERY)) {
-// Map<String, Object> listObject = (Map<String, Object>) actionConfiguration.getFormData().get("list");
-// assertThat(((Map<String, Object>) ((Map<String, Object>) listObject.get("where")).get(DATA)).get("condition"))
-// .isEqualTo("AND");
-// }
-// }
-//
-// assertThat(crudPage.getSuccessMessage()).containsIgnoringCase(pluginName);
-// assertThat(crudPage.getSuccessMessage()).containsIgnoringCase("LIST");
-// })
-// .verifyComplete();
-// }
-
-// TODO: Uncomment after fixing generate CRUD
-// @Test
-// @WithUserDetails(value = "api_user")
-// public void createPageWithValidPageIdForGoogleSheet() {
-//
-// resource.setApplicationId(testApp.getId());
-// resource.setColumns(Set.of("Col1", "Col2", "Col3", "Col4"));
-// Map<String, String> pluginSpecificFields = new HashMap<>();
-// pluginSpecificFields.put("sheetUrl", "https://this/is/sheet/url");
-// pluginSpecificFields.put("tableHeaderIndex", "1");
-// pluginSpecificFields.put("sheetName", "CRUD_Sheet");
-// resource.setPluginSpecificParams(pluginSpecificFields);
-//
-// PageDTO newPage = new PageDTO();
-// newPage.setApplicationId(testApp.getId());
-// newPage.setName("crud-admin-page-GoogleSheet");
-//
-// Mono<Datasource> datasourceMono = pluginRepository.findByName("Google Sheets")
-// .flatMap(plugin -> {
-// Datasource datasource = new Datasource();
-// datasource.setPluginId(plugin.getId());
-// datasource.setWorkspaceId(testWorkspace.getId());
-// datasource.setDatasourceConfiguration(datasourceConfiguration);
-// datasource.setName("Google-Sheet-CRUD-Page-Table-DS");
-// return datasourceService.create(datasource);
-// });
-//
-// Mono<PageDTO> resultMono = datasourceMono
-// .flatMap(datasource1 -> {
-// resource.setDatasourceId(datasource1.getId());
-// return applicationPageService.createPage(newPage);
-// })
-// .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resource, null))
-// .map(crudPageResponseDTO -> crudPageResponseDTO.getPage());
-//
-// StepVerifier
-// .create(resultMono.zipWhen(pageDTO -> getActions(pageDTO.getId())))
-// .assertNext(tuple -> {
-// PageDTO page = tuple.getT1();
-// List<NewAction> actions = tuple.getT2();
-// Layout layout = page.getLayouts().get(0);
-// assertThat(page.getName()).isEqualTo(newPage.getName());
-// assertThat(page.getLayouts()).isNotEmpty();
-// assertThat(layout.getDsl()).isNotEmpty();
-// assertThat(layout.getActionsUsedInDynamicBindings()).hasSize(1);
-//
-// assertThat(actions).hasSize(4);
-// for (NewAction action : actions) {
-// ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
-// if (SELECT_QUERY.equals(action.getUnpublishedAction().getName())) {
-// assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isTrue();
-// } else {
-// assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isFalse();
-// }
-//
-// List<Property> pluginSpecifiedTemplate = actionConfiguration.getPluginSpecifiedTemplates();
-// pluginSpecifiedTemplate.forEach(template -> {
-// if (pluginSpecificFields.containsKey(template.getKey())) {
-// assertThat(template.getValue().toString()).isEqualTo(pluginSpecificFields.get(template.getKey()));
-// }
-// });
-// }
-// })
-// .verifyComplete();
-// }
-
- // TODO: Uncomment after fixing generate CRUD
-// @Test
-// @WithUserDetails(value = "api_user")
-// public void createPageWithValidPageIdForMongoDB() {
-//
-// resource.setApplicationId(testApp.getId());
-//
-// PageDTO newPage = new PageDTO();
-// newPage.setApplicationId(testApp.getId());
-// newPage.setName("crud-admin-page-Mongo");
-//
-// Mono<Datasource> datasourceMono = pluginRepository.findByName("MongoDB")
-// .flatMap(plugin -> {
-// Datasource datasource = new Datasource();
-// datasource.setPluginId(plugin.getId());
-// datasource.setWorkspaceId(testWorkspace.getId());
-// datasource.setName("Mongo-CRUD-Page-Table-DS");
-// datasource.setDatasourceConfiguration(datasourceConfiguration);
-// return datasourceService.create(datasource)
-// .flatMap(datasource1 -> {
-// DatasourceConfigurationStructure datasourceConfigurationStructure = new DatasourceConfigurationStructure();
-// datasourceConfigurationStructure.setDatasourceId(datasource1.getId());
-// datasourceConfigurationStructure.setStructure(structure);
-//
-// return datasourceConfigurationStructureService.save(datasourceConfigurationStructure)
-// .thenReturn(datasource1);
-// });
-// });
-//
-// Mono<PageDTO> resultMono = datasourceMono
-// .flatMap(datasource1 -> {
-// resource.setDatasourceId(datasource1.getId());
-// return applicationPageService.createPage(newPage);
-// })
-// .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resource, null))
-// .map(crudPageResponseDTO -> crudPageResponseDTO.getPage());
-//
-// StepVerifier
-// .create(resultMono.zipWhen(pageDTO -> getActions(pageDTO.getId())))
-// .assertNext(tuple -> {
-// PageDTO page = tuple.getT1();
-// List<NewAction> actions = tuple.getT2();
-// Layout layout = page.getLayouts().get(0);
-// assertThat(page.getName()).isEqualTo(newPage.getName());
-// assertThat(page.getLayouts()).isNotEmpty();
-// assertThat(layout.getDsl()).isNotEmpty();
-// assertThat(layout.getActionsUsedInDynamicBindings()).hasSize(1);
-// layout.getLayoutOnLoadActions().get(0).forEach(actionDTO -> {
-// assertThat(actionDTO.getName()).isEqualTo(FIND_QUERY);
-// });
-//
-// assertThat(actions).hasSize(4);
-// for (NewAction action : actions) {
-// ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
-// if (FIND_QUERY.equals(action.getUnpublishedAction().getName())) {
-// assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isTrue();
-// } else {
-// assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isFalse();
-// }
-//
-// Map<String, Object> formData = actionConfiguration.getFormData();
-// assertThat(((Map<String, Object>) formData.get("collection")).get(DATA)).isEqualTo("sampleTable");
-// String queryType = ((Map<String, String>) formData.get("command")).get(DATA);
-// if (queryType.equals("UPDATE")) {
-// Map<String, Object> updateMany = (Map<String, Object>) formData.get("updateMany");
-// assertThat(((Map<String, String>) updateMany.get("query")).get(DATA).replaceAll(specialCharactersRegex, ""))
-// .isEqualTo("{ id: ObjectId('{{data_table.selectedRow.id}}') }".replaceAll(specialCharactersRegex, ""));
-//
-// assertThat(((Map<String, Object>) updateMany.get("update")).get(DATA))
-// .isEqualTo("{\n" +
-// " $set:{{update_form.formData}}\n" +
-// "}".replaceAll(specialCharactersRegex, ""));
-// assertThat(((Map<String, Object>) formData.get("smartSubstitution")).get(DATA)).isEqualTo(true);
-// } else if (queryType.equals("DELETE")) {
-// Map<String, Object> delete = (Map<String, Object>) formData.get("delete");
-// assertThat(((Map<String, String>) delete.get("query")).get(DATA).replaceAll(specialCharactersRegex, ""))
-// .isEqualTo("{ id: ObjectId('{{data_table.triggeredRow.id}}') }".replaceAll(specialCharactersRegex, ""));
-// assertThat(((Map<String, Object>) formData.get("smartSubstitution")).get(DATA)).isEqualTo(true);
-// } else if (queryType.equals("FIND")) {
-//
-// Map<String, Object> find = (Map<String, Object>) formData.get("find");
-// assertThat(((Map<String, Object>) find.get("sort")).get(DATA).toString().replaceAll(specialCharactersRegex, ""))
-// .isEqualTo("{ \n{{data_table.sortOrder.column || 'field2'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}}}"
-// .replaceAll(specialCharactersRegex, ""));
-//
-// assertThat(((Map<String, Object>) find.get("limit")).get(DATA).toString()).isEqualTo("{{data_table.pageSize}}");
-//
-// assertThat(((Map<String, Object>) find.get("skip")).get(DATA).toString())
-// .isEqualTo("{{(data_table.pageNo - 1) * data_table.pageSize}}");
-//
-// assertThat(((Map<String, Object>) find.get("query")).get(DATA).toString().replaceAll(specialCharactersRegex, ""))
-// .isEqualTo("{ field1.something: /{{data_table.searchText||\"\"}}/i }".replaceAll(specialCharactersRegex, ""));
-//
-// assertThat(((Map<String, Object>) formData.get("smartSubstitution")).get(DATA)).isEqualTo(false);
-// } else if (queryType.equals("INSERT")) {
-// Map<String, Object> insert = (Map<String, Object>) formData.get("insert");
-//
-// assertThat(((Map<String, Object>) insert.get("documents")).get(DATA)).isEqualTo("{{insert_form.formData}}");
-// assertThat(((Map<String, Object>) formData.get("smartSubstitution")).get(DATA)).isEqualTo(true);
-// }
-// }
-// })
-// .verifyComplete();
-// }
+ @Test
+ @WithUserDetails(value = "api_user")
+ public void createPageWithNullPageIdForSnowflake() {
+
+ resource.setApplicationId(testApp.getId());
+
+ Mono<Datasource> datasourceMono = pluginRepository.findByName("Snowflake")
+ .flatMap(plugin -> {
+ Datasource datasource = new Datasource();
+ datasource.setPluginId(plugin.getId());
+ datasource.setWorkspaceId(testWorkspace.getId());
+ datasource.setName("Snowflake-CRUD-Page-Table-DS");
+ datasource.setDatasourceConfiguration(datasourceConfiguration);
+ return datasourceService.create(datasource)
+ .flatMap(datasource1 -> {
+ DatasourceConfigurationStructure datasourceConfigurationStructure = new DatasourceConfigurationStructure();
+ datasourceConfigurationStructure.setDatasourceId(datasource1.getId());
+ datasourceConfigurationStructure.setStructure(structure);
+
+ return datasourceConfigurationStructureService.save(datasourceConfigurationStructure)
+ .thenReturn(datasource1);
+ });
+
+ });
+
+ Mono<PageDTO> resultMono = datasourceMono
+ .flatMap(datasource1 -> {
+ resource.setDatasourceId(datasource1.getId());
+ return solution.createPageFromDBTable(null, resource, "");
+ })
+ .map(crudPageResponseDTO -> crudPageResponseDTO.getPage());
+
+ StepVerifier
+ .create(resultMono.zipWhen(pageDTO -> getActions(pageDTO.getId())))
+ .assertNext(tuple -> {
+ PageDTO page = tuple.getT1();
+ List<NewAction> actions = tuple.getT2();
+ Layout layout = page.getLayouts().get(0);
+ assertThat(page.getName()).isEqualTo("SampleTable");
+ assertThat(page.getLayouts()).isNotEmpty();
+ assertThat(layout.getDsl()).isNotEmpty();
+ assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
+ assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
+
+ assertThat(actions).hasSize(4);
+ for (NewAction action : actions) {
+ ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
+ String actionBody = actionConfiguration.getBody().replaceAll(specialCharactersRegex, "");
+ String templateActionBody = actionNameToBodyMap
+ .get(action.getUnpublishedAction().getName()).replaceAll(specialCharactersRegex, "");
+ assertThat(actionBody).isEqualTo(templateActionBody);
+ if (SELECT_QUERY.equals(action.getUnpublishedAction().getName())) {
+ assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isTrue();
+ } else {
+ assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isFalse();
+ }
+ }
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ @WithUserDetails(value = "api_user")
+ public void createPageWithNullPageIdForS3() {
+
+ resource.setApplicationId(testApp.getId());
+ StringBuilder pluginName = new StringBuilder();
+
+ Mono<Datasource> datasourceMono = pluginRepository.findByName("S3")
+ .flatMap(plugin -> {
+ Datasource datasource = new Datasource();
+ datasource.setPluginId(plugin.getId());
+ datasource.setWorkspaceId(testWorkspace.getId());
+ datasource.setName("S3-CRUD-Page-Table-DS");
+ datasource.setDatasourceConfiguration(datasourceConfiguration);
+ pluginName.append(plugin.getName());
+ return datasourceService.create(datasource)
+ .flatMap(datasource1 -> {
+ DatasourceConfigurationStructure datasourceConfigurationStructure = new DatasourceConfigurationStructure();
+ datasourceConfigurationStructure.setDatasourceId(datasource1.getId());
+ datasourceConfigurationStructure.setStructure(structure);
+
+ return datasourceConfigurationStructureService.save(datasourceConfigurationStructure)
+ .thenReturn(datasource1);
+ });
+ });
+
+ Mono<CRUDPageResponseDTO> resultMono = datasourceMono
+ .flatMap(datasource1 -> {
+ resource.setDatasourceId(datasource1.getId());
+ return solution.createPageFromDBTable(null, resource, "");
+ });
+
+ StepVerifier
+ .create(resultMono.zipWhen(crudPageResponseDTO -> getActions(crudPageResponseDTO.getPage().getId())))
+ .assertNext(tuple -> {
+ CRUDPageResponseDTO crudPage = tuple.getT1();
+ PageDTO page = crudPage.getPage();
+ List<NewAction> actions = tuple.getT2();
+ Layout layout = page.getLayouts().get(0);
+ assertThat(page.getName()).contains("SampleTable");
+ assertThat(page.getLayouts()).isNotEmpty();
+ assertThat(layout.getDsl()).isNotEmpty();
+ assertThat(layout.getActionsUsedInDynamicBindings()).isNotEmpty();
+ assertThat(layout.getLayoutOnLoadActions()).hasSize(1);
+ layout.getLayoutOnLoadActions().get(0).forEach(actionDTO -> {
+ assertThat(actionDTO.getName()).isEqualTo(LIST_QUERY);
+ });
+
+ assertThat(actions).hasSize(5);
+ for (NewAction action : actions) {
+ ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
+ assertThat(((Map<String, String>) actionConfiguration.getFormData().get("bucket")).get(DATA))
+ .isEqualTo(resource.getTableName());
+ if (action.getUnpublishedAction().getName().equals(LIST_QUERY)) {
+ Map<String, Object> listObject = (Map<String, Object>) actionConfiguration.getFormData().get("list");
+ assertThat(((Map<String, Object>) ((Map<String, Object>) listObject.get("where")).get(DATA)).get("condition"))
+ .isEqualTo("AND");
+ }
+ }
+
+ assertThat(crudPage.getSuccessMessage()).containsIgnoringCase(pluginName);
+ assertThat(crudPage.getSuccessMessage()).containsIgnoringCase("LIST");
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ @WithUserDetails(value = "api_user")
+ public void createPageWithValidPageIdForGoogleSheet() {
+
+ resource.setApplicationId(testApp.getId());
+ resource.setColumns(Set.of("Col1", "Col2", "Col3", "Col4"));
+ Map<String, String> pluginSpecificFields = new HashMap<>();
+ pluginSpecificFields.put("sheetUrl", "https://this/is/sheet/url");
+ pluginSpecificFields.put("tableHeaderIndex", "1");
+ pluginSpecificFields.put("sheetName", "CRUD_Sheet");
+ resource.setPluginSpecificParams(pluginSpecificFields);
+
+ PageDTO newPage = new PageDTO();
+ newPage.setApplicationId(testApp.getId());
+ newPage.setName("crud-admin-page-GoogleSheet");
+
+ Mono<Datasource> datasourceMono = pluginRepository.findByName("Google Sheets")
+ .flatMap(plugin -> {
+ Datasource datasource = new Datasource();
+ datasource.setPluginId(plugin.getId());
+ datasource.setWorkspaceId(testWorkspace.getId());
+ datasource.setDatasourceConfiguration(datasourceConfiguration);
+ datasource.setName("Google-Sheet-CRUD-Page-Table-DS");
+ return datasourceService.create(datasource)
+ .flatMap(datasource1 -> {
+ DatasourceConfigurationStructure datasourceConfigurationStructure = new DatasourceConfigurationStructure();
+ datasourceConfigurationStructure.setDatasourceId(datasource1.getId());
+ datasourceConfigurationStructure.setStructure(structure);
+
+ return datasourceConfigurationStructureService.save(datasourceConfigurationStructure)
+ .thenReturn(datasource1);
+ });
+ });
+
+ Mono<PageDTO> resultMono = datasourceMono
+ .flatMap(datasource1 -> {
+ resource.setDatasourceId(datasource1.getId());
+ return applicationPageService.createPage(newPage);
+ })
+ .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resource, null))
+ .map(crudPageResponseDTO -> crudPageResponseDTO.getPage());
+
+ StepVerifier
+ .create(resultMono.zipWhen(pageDTO -> getActions(pageDTO.getId())))
+ .assertNext(tuple -> {
+ PageDTO page = tuple.getT1();
+ List<NewAction> actions = tuple.getT2();
+ Layout layout = page.getLayouts().get(0);
+ assertThat(page.getName()).isEqualTo(newPage.getName());
+ assertThat(page.getLayouts()).isNotEmpty();
+ assertThat(layout.getDsl()).isNotEmpty();
+ assertThat(layout.getActionsUsedInDynamicBindings()).hasSize(1);
+
+ assertThat(actions).hasSize(4);
+ for (NewAction action : actions) {
+ ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
+ if (SELECT_QUERY.equals(action.getUnpublishedAction().getName())) {
+ assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isTrue();
+ } else {
+ assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isFalse();
+ }
+
+ List<Property> pluginSpecifiedTemplate = actionConfiguration.getPluginSpecifiedTemplates();
+ pluginSpecifiedTemplate.forEach(template -> {
+ if (pluginSpecificFields.containsKey(template.getKey())) {
+ assertThat(template.getValue().toString()).isEqualTo(pluginSpecificFields.get(template.getKey()));
+ }
+ });
+ }
+ })
+ .verifyComplete();
+ }
+
+ @Test
+ @WithUserDetails(value = "api_user")
+ public void createPageWithValidPageIdForMongoDB() {
+
+ resource.setApplicationId(testApp.getId());
+
+ PageDTO newPage = new PageDTO();
+ newPage.setApplicationId(testApp.getId());
+ newPage.setName("crud-admin-page-Mongo");
+
+ Mono<Datasource> datasourceMono = pluginRepository.findByName("MongoDB")
+ .flatMap(plugin -> {
+ Datasource datasource = new Datasource();
+ datasource.setPluginId(plugin.getId());
+ datasource.setWorkspaceId(testWorkspace.getId());
+ datasource.setName("Mongo-CRUD-Page-Table-DS");
+ datasource.setDatasourceConfiguration(datasourceConfiguration);
+ return datasourceService.create(datasource)
+ .flatMap(datasource1 -> {
+ DatasourceConfigurationStructure datasourceConfigurationStructure = new DatasourceConfigurationStructure();
+ datasourceConfigurationStructure.setDatasourceId(datasource1.getId());
+ datasourceConfigurationStructure.setStructure(structure);
+
+ return datasourceConfigurationStructureService.save(datasourceConfigurationStructure)
+ .thenReturn(datasource1);
+ });
+ });
+
+ Mono<PageDTO> resultMono = datasourceMono
+ .flatMap(datasource1 -> {
+ resource.setDatasourceId(datasource1.getId());
+ return applicationPageService.createPage(newPage);
+ })
+ .flatMap(savedPage -> solution.createPageFromDBTable(savedPage.getId(), resource, null))
+ .map(crudPageResponseDTO -> crudPageResponseDTO.getPage());
+
+ StepVerifier
+ .create(resultMono.zipWhen(pageDTO -> getActions(pageDTO.getId())))
+ .assertNext(tuple -> {
+ PageDTO page = tuple.getT1();
+ List<NewAction> actions = tuple.getT2();
+ Layout layout = page.getLayouts().get(0);
+ assertThat(page.getName()).isEqualTo(newPage.getName());
+ assertThat(page.getLayouts()).isNotEmpty();
+ assertThat(layout.getDsl()).isNotEmpty();
+ assertThat(layout.getActionsUsedInDynamicBindings()).hasSize(1);
+ layout.getLayoutOnLoadActions().get(0).forEach(actionDTO -> {
+ assertThat(actionDTO.getName()).isEqualTo(FIND_QUERY);
+ });
+
+ assertThat(actions).hasSize(4);
+ for (NewAction action : actions) {
+ ActionConfiguration actionConfiguration = action.getUnpublishedAction().getActionConfiguration();
+ if (FIND_QUERY.equals(action.getUnpublishedAction().getName())) {
+ assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isTrue();
+ } else {
+ assertThat(action.getUnpublishedAction().getExecuteOnLoad()).isFalse();
+ }
+
+ Map<String, Object> formData = actionConfiguration.getFormData();
+ assertThat(((Map<String, Object>) formData.get("collection")).get(DATA)).isEqualTo("sampleTable");
+ String queryType = ((Map<String, String>) formData.get("command")).get(DATA);
+ if (queryType.equals("UPDATE")) {
+ Map<String, Object> updateMany = (Map<String, Object>) formData.get("updateMany");
+ assertThat(((Map<String, String>) updateMany.get("query")).get(DATA).replaceAll(specialCharactersRegex, ""))
+ .isEqualTo("{ id: ObjectId('{{data_table.selectedRow.id}}') }".replaceAll(specialCharactersRegex, ""));
+
+ assertThat(((Map<String, Object>) updateMany.get("update")).get(DATA))
+ .isEqualTo("{\n" +
+ " $set:{{update_form.formData}}\n" +
+ "}".replaceAll(specialCharactersRegex, ""));
+ assertThat(((Map<String, Object>) formData.get("smartSubstitution")).get(DATA)).isEqualTo(true);
+ } else if (queryType.equals("DELETE")) {
+ Map<String, Object> delete = (Map<String, Object>) formData.get("delete");
+ assertThat(((Map<String, String>) delete.get("query")).get(DATA).replaceAll(specialCharactersRegex, ""))
+ .isEqualTo("{ id: ObjectId('{{data_table.triggeredRow.id}}') }".replaceAll(specialCharactersRegex, ""));
+ assertThat(((Map<String, Object>) formData.get("smartSubstitution")).get(DATA)).isEqualTo(true);
+ } else if (queryType.equals("FIND")) {
+
+ Map<String, Object> find = (Map<String, Object>) formData.get("find");
+ assertThat(((Map<String, Object>) find.get("sort")).get(DATA).toString().replaceAll(specialCharactersRegex, ""))
+ .isEqualTo("{ \n{{data_table.sortOrder.column || 'field2'}}: {{data_table.sortOrder.order == \"desc\" ? -1 : 1}}}"
+ .replaceAll(specialCharactersRegex, ""));
+
+ assertThat(((Map<String, Object>) find.get("limit")).get(DATA).toString()).isEqualTo("{{data_table.pageSize}}");
+
+ assertThat(((Map<String, Object>) find.get("skip")).get(DATA).toString())
+ .isEqualTo("{{(data_table.pageNo - 1) * data_table.pageSize}}");
+
+ assertThat(((Map<String, Object>) find.get("query")).get(DATA).toString().replaceAll(specialCharactersRegex, ""))
+ .isEqualTo("{ field1.something: /{{data_table.searchText||\"\"}}/i }".replaceAll(specialCharactersRegex, ""));
+
+ assertThat(((Map<String, Object>) formData.get("smartSubstitution")).get(DATA)).isEqualTo(false);
+ } else if (queryType.equals("INSERT")) {
+ Map<String, Object> insert = (Map<String, Object>) formData.get("insert");
+
+ assertThat(((Map<String, Object>) insert.get("documents")).get(DATA)).isEqualTo("{{insert_form.formData}}");
+ assertThat(((Map<String, Object>) formData.get("smartSubstitution")).get(DATA)).isEqualTo(true);
+ }
+ }
+ })
+ .verifyComplete();
+ }
}
|
1cf452fafa396054b7c9ab6fd3944d05600214d1
|
2024-09-09 19:52:59
|
Anna Hariprasad
|
feat: Improved-error-messages-for-postgres-connection (#35167)
| false
|
Improved-error-messages-for-postgres-connection (#35167)
|
feat
|
diff --git a/app/client/src/sagas/DatasourcesSagas.ts b/app/client/src/sagas/DatasourcesSagas.ts
index b05c609664ed..8d9b77bf4e32 100644
--- a/app/client/src/sagas/DatasourcesSagas.ts
+++ b/app/client/src/sagas/DatasourcesSagas.ts
@@ -929,7 +929,7 @@ function* testDatasourceSaga(actionPayload: ReduxAction<Datasource>) {
id: datasource.id,
environmentId: currentEnvironment,
show: true,
- error: { message: responseData.invalids.join(", ") },
+ error: { message: responseData.invalids.join("\n") },
},
});
AppsmithConsole.error({
diff --git a/app/server/appsmith-plugins/postgresPlugin/src/main/java/com/external/plugins/PostgresPlugin.java b/app/server/appsmith-plugins/postgresPlugin/src/main/java/com/external/plugins/PostgresPlugin.java
index 8a6db99d5a6d..a27e2ecc8e9b 100644
--- a/app/server/appsmith-plugins/postgresPlugin/src/main/java/com/external/plugins/PostgresPlugin.java
+++ b/app/server/appsmith-plugins/postgresPlugin/src/main/java/com/external/plugins/PostgresPlugin.java
@@ -47,6 +47,8 @@
import org.pf4j.Extension;
import org.pf4j.PluginWrapper;
import org.postgresql.util.PGobject;
+import org.postgresql.util.PSQLException;
+import org.postgresql.util.PSQLState;
import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;
import reactor.core.publisher.Mono;
@@ -1347,10 +1349,21 @@ private static HikariDataSource createConnectionPool(
try {
datasource = new HikariDataSource(config);
} catch (PoolInitializationException e) {
+ Throwable cause = e.getCause();
+ if (cause instanceof PSQLException) {
+ PSQLException psqlException = (PSQLException) cause;
+ String sqlState = psqlException.getSQLState();
+ if (PSQLState.CONNECTION_UNABLE_TO_CONNECT.getState().equals(sqlState)) {
+ throw new AppsmithPluginException(
+ AppsmithPluginError.PLUGIN_DATASOURCE_ARGUMENT_ERROR,
+ PostgresErrorMessages.DS_INVALID_HOSTNAME_AND_PORT_MSG,
+ psqlException.getMessage());
+ }
+ }
throw new AppsmithPluginException(
AppsmithPluginError.PLUGIN_DATASOURCE_ARGUMENT_ERROR,
PostgresErrorMessages.CONNECTION_POOL_CREATION_FAILED_ERROR_MSG,
- e.getMessage());
+ cause != null ? cause.getMessage() : e.getMessage());
}
return datasource;
diff --git a/app/server/appsmith-plugins/postgresPlugin/src/main/java/com/external/plugins/exceptions/PostgresErrorMessages.java b/app/server/appsmith-plugins/postgresPlugin/src/main/java/com/external/plugins/exceptions/PostgresErrorMessages.java
index daee36541178..8cee7970b58a 100644
--- a/app/server/appsmith-plugins/postgresPlugin/src/main/java/com/external/plugins/exceptions/PostgresErrorMessages.java
+++ b/app/server/appsmith-plugins/postgresPlugin/src/main/java/com/external/plugins/exceptions/PostgresErrorMessages.java
@@ -49,4 +49,6 @@ public class PostgresErrorMessages extends BasePluginErrorMessages {
public static final String DS_MISSING_PASSWORD_ERROR_MSG = "Missing password for authentication.";
public static final String DS_MISSING_DATABASE_NAME_ERROR_MSG = "Missing database name.";
+
+ public static final String DS_INVALID_HOSTNAME_AND_PORT_MSG = "Please check the host and port.";
}
|
c9e89b42c9f60f8e362bae3192f497097ce0dbcd
|
2023-12-14 18:21:18
|
Rohan Arthur
|
fix: copy change for explanation text on start-with-template option (#29616)
| false
|
copy change for explanation text on start-with-template option (#29616)
|
fix
|
diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts
index 6cf692571d44..de2e72308ec5 100644
--- a/app/client/src/ce/constants/messages.ts
+++ b/app/client/src/ce/constants/messages.ts
@@ -2266,7 +2266,7 @@ export const CREATE_NEW_APPS_STEP_SUBTITLE = () =>
"Choose an option that fits your approach, and let's shape your app together.";
export const START_FROM_TEMPLATE_TITLE = () => "Start with template";
export const START_FROM_TEMPLATE_SUBTITLE = () =>
- "Begin with a specific scenario in mind. We'll guide you through tailoring your app.";
+ "Begin with an app for a specific scenario. We'll guide you through tailoring your app.";
export const START_FROM_SCRATCH_TITLE = () => "Start from scratch";
export const START_FROM_SCRATCH_SUBTITLE = () =>
"Create an app from the ground up. Design every detail of your app on a blank canvas.";
|
7a36b245113ea11d8986e899edff1011f86edb2c
|
2024-02-26 10:02:52
|
Vemparala Surya Vamsi
|
chore: diff fixes on evalProps remove sending evaluatedData patches (#31222)
| false
|
diff fixes on evalProps remove sending evaluatedData patches (#31222)
|
chore
|
diff --git a/app/client/src/workers/Evaluation/helpers.ts b/app/client/src/workers/Evaluation/helpers.ts
index fe310dcb166c..d42c148d743b 100644
--- a/app/client/src/workers/Evaluation/helpers.ts
+++ b/app/client/src/workers/Evaluation/helpers.ts
@@ -197,42 +197,6 @@ const normaliseEvalPath = (identicalEvalPathsPatches: any) =>
},
{},
);
-//completely new updates which the diff will not traverse through needs to be attached
-const generateMissingSetPathsUpdates = (
- ignoreLargeKeys: any,
- ignoreLargeKeysHasBeenAttached: any,
- dataTree: any,
-): DiffWithReferenceState[] =>
- Object.keys(ignoreLargeKeys)
- .filter((evalPath) => !ignoreLargeKeysHasBeenAttached.has(evalPath))
- .map((evalPath) => {
- const statePath = ignoreLargeKeys[evalPath];
- //for object paths which have a "." in the object key like "a.['b.c']", we need to extract these
- // paths and break them to appropriate patch paths
-
- //get the matching value from the widget properies in the data tree
- const val = get(dataTree, statePath);
-
- const matches = evalPath.match(REGEX_NESTED_OBJECT_PATH);
- if (!matches || !matches.length) {
- //regular paths like "a.b.c"
-
- return {
- kind: "N",
- path: evalPath.split("."),
- rhs: val,
- };
- }
- // object paths which have a "." like "a.['b.c']"
- const [, firstSeg, nestedPathSeg] = matches;
- const segmentedPath = [...firstSeg.split("."), nestedPathSeg];
-
- return {
- kind: "N",
- path: segmentedPath,
- rhs: val,
- };
- });
const generateDiffUpdates = (
oldDataTree: any,
@@ -312,17 +276,7 @@ const generateDiffUpdates = (
return true;
}) || [];
- const missingSetPaths = generateMissingSetPathsUpdates(
- ignoreLargeKeys,
- ignoreLargeKeysHasBeenAttached,
- dataTree,
- );
-
- const largeDataSetUpdates = [
- ...attachDirectly,
- ...missingSetPaths,
- ...attachLater,
- ];
+ const largeDataSetUpdates = [...attachDirectly, ...attachLater];
return [...updates, ...largeDataSetUpdates];
};
|
d727ecf7c59a4bd0f87e87181ac2cda65afe5839
|
2023-11-15 18:02:12
|
Ashok Kumar M
|
chore: register offset values as per parent drop target in Anvil (#28757)
| false
|
register offset values as per parent drop target in Anvil (#28757)
|
chore
|
diff --git a/app/client/src/layoutSystems/anvil/canvasArenas/hooks/useCanvasDragging.ts b/app/client/src/layoutSystems/anvil/canvasArenas/hooks/useCanvasDragging.ts
index cb1fc02ea83f..06b6e9ed2d77 100644
--- a/app/client/src/layoutSystems/anvil/canvasArenas/hooks/useCanvasDragging.ts
+++ b/app/client/src/layoutSystems/anvil/canvasArenas/hooks/useCanvasDragging.ts
@@ -42,9 +42,8 @@ const renderOverlayWidgetDropLayer = (slidingArena: HTMLDivElement) => {
const renderBlocksOnCanvas = (
stickyCanvas: HTMLCanvasElement,
blockToRender: AnvilHighlightInfo,
- topOffset: number,
) => {
- // const topOffset = getAbsolutePixels(stickyCanvas.style.top);
+ const topOffset = getAbsolutePixels(stickyCanvas.style.top);
const leftOffset = getAbsolutePixels(stickyCanvas.style.left);
const canvasCtx = stickyCanvas.getContext("2d") as CanvasRenderingContext2D;
canvasCtx.clearRect(0, 0, stickyCanvas.width, stickyCanvas.height);
@@ -97,7 +96,7 @@ export const useCanvasDragging = (
stickyCanvasRef: React.RefObject<HTMLCanvasElement>,
props: AnvilHighlightingCanvasProps,
) => {
- const { anvilDragStates, deriveAllHighlightsFn, layoutId, onDrop } = props;
+ const { anvilDragStates, deriveAllHighlightsFn, onDrop } = props;
const {
activateOverlayWidgetDrop,
draggedBlocks,
@@ -220,30 +219,6 @@ export const useCanvasDragging = (
}
};
- const calculateTopOffset = () => {
- if (stickyCanvasRef.current) {
- const isWidgetScrolling =
- scrollParent?.className.includes("appsmith_widget_");
- const isMainContainer = layoutId === mainCanvasLayoutId;
- const totalScrollTop = scrollParent?.scrollTop || 0;
- let val = isMainContainer || isWidgetScrolling ? totalScrollTop : 0;
- const topOffset = getAbsolutePixels(
- stickyCanvasRef.current.style.top,
- );
-
- if (
- !isMainContainer &&
- totalScrollTop &&
- topOffset &&
- totalScrollTop > topOffset
- ) {
- val += totalScrollTop - topOffset;
- }
- return val;
- }
- return 0;
- };
-
const onMouseMove = (e: any) => {
if (
isDragging &&
@@ -265,11 +240,9 @@ export const useCanvasDragging = (
);
if (processedHighlight) {
currentRectanglesToDraw = processedHighlight;
- const topOffset = calculateTopOffset();
renderBlocksOnCanvas(
stickyCanvasRef.current,
currentRectanglesToDraw,
- topOffset,
);
scrollObj.lastMouseMoveEvent = {
offsetX: e.offsetX,
diff --git a/app/client/src/layoutSystems/anvil/common/AnvilFlexComponent.tsx b/app/client/src/layoutSystems/anvil/common/AnvilFlexComponent.tsx
index e4a8e157a490..2a3cad520e90 100644
--- a/app/client/src/layoutSystems/anvil/common/AnvilFlexComponent.tsx
+++ b/app/client/src/layoutSystems/anvil/common/AnvilFlexComponent.tsx
@@ -60,7 +60,11 @@ export function AnvilFlexComponent(props: AnvilFlexComponentProps) {
// Create a ref so that this DOM node can be
// observed by the observer for changes in size
const ref = React.useRef<HTMLDivElement>(null);
- usePositionObserver("widget", { widgetId: props.widgetId }, ref);
+ usePositionObserver(
+ "widget",
+ { widgetId: props.widgetId, layoutId: props.layoutId },
+ ref,
+ );
/** EO POSITIONS OBSERVER LOGIC */
const [isFillWidget, setIsFillWidget] = useState<boolean>(false);
diff --git a/app/client/src/layoutSystems/anvil/integrations/reducers/layoutElementPositionsReducer.ts b/app/client/src/layoutSystems/anvil/integrations/reducers/layoutElementPositionsReducer.ts
index 4779f6583f30..bfb432dcdfd4 100644
--- a/app/client/src/layoutSystems/anvil/integrations/reducers/layoutElementPositionsReducer.ts
+++ b/app/client/src/layoutSystems/anvil/integrations/reducers/layoutElementPositionsReducer.ts
@@ -28,6 +28,8 @@ const widgetPositionsReducer = createImmerReducer(initialState, {
width: 0,
left: 0,
top: 0,
+ offsetLeft: 0,
+ offsetTop: 0,
};
}
if (state[widgetId].height !== newPosition.height)
@@ -38,6 +40,10 @@ const widgetPositionsReducer = createImmerReducer(initialState, {
state[widgetId].left = newPosition.left;
if (state[widgetId].top !== newPosition.top)
state[widgetId].top = newPosition.top;
+ if (state[widgetId].offsetLeft !== newPosition.offsetLeft)
+ state[widgetId].offsetLeft = newPosition.offsetLeft;
+ if (state[widgetId].offsetTop !== newPosition.offsetTop)
+ state[widgetId].offsetTop = newPosition.offsetTop;
}
},
[AnvilReduxActionTypes.REMOVE_LAYOUT_ELEMENT_POSITIONS]: (
diff --git a/app/client/src/layoutSystems/anvil/integrations/sagas/LayoutElementPositionsSaga.ts b/app/client/src/layoutSystems/anvil/integrations/sagas/LayoutElementPositionsSaga.ts
index c95cb2710259..188b2f083cc3 100644
--- a/app/client/src/layoutSystems/anvil/integrations/sagas/LayoutElementPositionsSaga.ts
+++ b/app/client/src/layoutSystems/anvil/integrations/sagas/LayoutElementPositionsSaga.ts
@@ -1,10 +1,7 @@
import { AnvilReduxActionTypes } from "layoutSystems/anvil/integrations/actions/actionTypes";
import type { LayoutElementPositions } from "layoutSystems/common/types";
import { all, put, select, takeEvery, takeLatest } from "redux-saga/effects";
-import {
- extractLayoutIdFromLayoutDOMId,
- extractWidgetIdFromAnvilWidgetDOMId,
-} from "layoutSystems/common/utils/LayoutElementPositionsObserver/utils";
+import { extractWidgetIdFromAnvilWidgetDOMId } from "layoutSystems/common/utils/LayoutElementPositionsObserver/utils";
import { CANVAS_ART_BOARD } from "constants/componentClassNameConstants";
import { positionObserver } from "layoutSystems/common/utils/LayoutElementPositionsObserver";
import log from "loglevel";
@@ -13,6 +10,55 @@ import { ReduxActionTypes } from "@appsmith/constants/ReduxActionConstants";
import { APP_MODE } from "entities/App";
import { combinedPreviewModeSelector } from "selectors/editorSelectors";
import { getAppMode } from "@appsmith/selectors/entitiesSelector";
+import type { RefObject } from "react";
+/**
+ * In this function,
+ * Get the DOM elements for the registered widgets and layouts
+ * Call `getBoundingClientRect` on each of them
+ * Offset the values by the MainContainer's left and top and store them as left top values in positions
+ * Offset the values by their parent drop targets positions(if parent drop target exists) and store them as offsetTop offsetLeft values in positions.
+ * Store the values in the `positions` object
+ */
+function processPositionsForLayouts(
+ layoutDomId: string,
+ positions: LayoutElementPositions,
+ registeredLayouts: {
+ [layoutDOMId: string]: {
+ ref: RefObject<HTMLDivElement>;
+ layoutId: string;
+ canvasId: string;
+ parentDropTarget: string;
+ isDropTarget: boolean;
+ };
+ },
+ mainContainerDOMRectOffsets: {
+ left: number;
+ top: number;
+ },
+) {
+ const { left, top } = mainContainerDOMRectOffsets;
+ const { layoutId, parentDropTarget } = registeredLayouts[layoutDomId];
+ const element: HTMLElement | null = document.getElementById(layoutDomId);
+ const parentPositions = positions[parentDropTarget];
+ if (element) {
+ const rect: DOMRect = element.getBoundingClientRect();
+ positions[layoutId] = {
+ left: rect.left - left,
+ top: rect.top - top,
+ height: rect.height,
+ width: rect.width,
+ ...(parentPositions
+ ? {
+ offsetLeft: rect.left - (parentPositions.left + left),
+ offsetTop: rect.top - (parentPositions.top + top),
+ }
+ : {
+ offsetLeft: 0,
+ offsetTop: 0,
+ }),
+ };
+ }
+}
/**
* This saga is used to read(from DOM) and update(in reducers) the widget and layout positions
@@ -62,31 +108,27 @@ function* readAndUpdateLayoutElementPositions() {
// However, it doesn't work in all browsers as we need the V2 trackVisibility API
const registeredLayouts = positionObserver.getRegisteredLayouts();
const registeredWidgets = positionObserver.getRegisteredWidgets();
-
- // In the following code:
- // Get the DOM elements for the registered widgets and layouts
- // Call `getBoundingClientRect` on each of them
- // Offset the values by the MainContainer's left and top
- // Store the values in the `positions` object
-
- // Do the above for layouts
- for (const anvilLayoutDOMId of Object.keys(registeredLayouts)) {
- const element: HTMLElement | null =
- document.getElementById(anvilLayoutDOMId);
- const layoutId = extractLayoutIdFromLayoutDOMId(anvilLayoutDOMId);
- if (element) {
- const rect: DOMRect = element.getBoundingClientRect();
- positions[layoutId] = {
- left: rect.left - left,
- top: rect.top - top,
- height: rect.height,
- width: rect.width,
- };
- }
- }
-
- // Do the above for widgets
+ const dropTargetsOrder = positionObserver.getDropTargetDomIdsOrder();
+ // process drop targets positions first to capture all drop targets offset positions in order of parent to child drop target(dropTargetsOrder).
+ dropTargetsOrder.forEach((eachDomId) =>
+ processPositionsForLayouts(eachDomId, positions, registeredLayouts, {
+ left,
+ top,
+ }),
+ );
+ // process positions for layouts wrt MainContainer as well as their parent drop target layout
+ Object.keys(registeredLayouts)
+ .filter((each) => !dropTargetsOrder.includes(each))
+ .forEach((eachDomId) =>
+ processPositionsForLayouts(eachDomId, positions, registeredLayouts, {
+ left,
+ top,
+ }),
+ );
+ // process positions for widgets wrt MainContainer as well as their parent drop target layout
for (const anvilWidgetDOMId of Object.keys(registeredWidgets)) {
+ const { layoutId } = registeredWidgets[anvilWidgetDOMId];
+ const parentDropTargetPositions = positions[layoutId];
const element: HTMLElement | null =
document.getElementById(anvilWidgetDOMId);
const widgetId = extractWidgetIdFromAnvilWidgetDOMId(anvilWidgetDOMId);
@@ -97,6 +139,15 @@ function* readAndUpdateLayoutElementPositions() {
top: rect.top - top,
height: rect.height,
width: rect.width,
+ ...(parentDropTargetPositions
+ ? {
+ offsetLeft: rect.left - (parentDropTargetPositions.left + left),
+ offsetTop: rect.top - (parentDropTargetPositions.top + top),
+ }
+ : {
+ offsetLeft: 0,
+ offsetTop: 0,
+ }),
};
}
}
diff --git a/app/client/src/layoutSystems/anvil/layoutComponents/components/AlignedLayoutColumn.tsx b/app/client/src/layoutSystems/anvil/layoutComponents/components/AlignedLayoutColumn.tsx
index 552f4c92a457..bb1e9f52e2c3 100644
--- a/app/client/src/layoutSystems/anvil/layoutComponents/components/AlignedLayoutColumn.tsx
+++ b/app/client/src/layoutSystems/anvil/layoutComponents/components/AlignedLayoutColumn.tsx
@@ -41,6 +41,7 @@ class AlignedLayoutColumn extends BaseLayoutComponent {
layoutId,
layoutIndex,
layoutStyle,
+ parentDropTarget,
renderMode,
} = this.props;
@@ -51,6 +52,7 @@ class AlignedLayoutColumn extends BaseLayoutComponent {
isDropTarget={!!isDropTarget}
layoutId={layoutId}
layoutIndex={layoutIndex}
+ parentDropTarget={parentDropTarget}
renderMode={renderMode}
{...(layoutStyle || {})}
>
diff --git a/app/client/src/layoutSystems/anvil/layoutComponents/components/AlignedWidgetColumn.tsx b/app/client/src/layoutSystems/anvil/layoutComponents/components/AlignedWidgetColumn.tsx
index 8f0bbd7a3738..3ee25bd12de2 100644
--- a/app/client/src/layoutSystems/anvil/layoutComponents/components/AlignedWidgetColumn.tsx
+++ b/app/client/src/layoutSystems/anvil/layoutComponents/components/AlignedWidgetColumn.tsx
@@ -43,6 +43,7 @@ class AlignedWidgetColumn extends BaseLayoutComponent {
layoutId,
layoutIndex,
layoutStyle,
+ parentDropTarget,
renderMode,
} = this.props;
@@ -53,6 +54,7 @@ class AlignedWidgetColumn extends BaseLayoutComponent {
isDropTarget={!!isDropTarget}
layoutId={layoutId}
layoutIndex={layoutIndex}
+ parentDropTarget={parentDropTarget}
renderMode={renderMode}
{...(layoutStyle || {})}
>
diff --git a/app/client/src/layoutSystems/anvil/layoutComponents/components/AlignedWidgetRow.tsx b/app/client/src/layoutSystems/anvil/layoutComponents/components/AlignedWidgetRow.tsx
index fa7ed0a01807..819ba146ef3d 100644
--- a/app/client/src/layoutSystems/anvil/layoutComponents/components/AlignedWidgetRow.tsx
+++ b/app/client/src/layoutSystems/anvil/layoutComponents/components/AlignedWidgetRow.tsx
@@ -35,6 +35,7 @@ class AlignedWidgetRow extends BaseLayoutComponent {
layoutId,
layoutIndex,
layoutStyle,
+ parentDropTarget,
renderMode,
} = this.props;
@@ -47,6 +48,7 @@ class AlignedWidgetRow extends BaseLayoutComponent {
isDropTarget={!!isDropTarget}
layoutId={layoutId}
layoutIndex={layoutIndex}
+ parentDropTarget={parentDropTarget}
renderMode={renderMode}
wrap="wrap"
{...(layoutStyle || {})}
diff --git a/app/client/src/layoutSystems/anvil/layoutComponents/components/FlexLayout.tsx b/app/client/src/layoutSystems/anvil/layoutComponents/components/FlexLayout.tsx
index d18b7717f297..f7f3a5149829 100644
--- a/app/client/src/layoutSystems/anvil/layoutComponents/components/FlexLayout.tsx
+++ b/app/client/src/layoutSystems/anvil/layoutComponents/components/FlexLayout.tsx
@@ -31,6 +31,7 @@ export interface FlexLayoutProps
isDropTarget?: boolean;
layoutId: string;
layoutIndex: number;
+ parentDropTarget: string;
renderMode: RenderMode;
border?: string;
@@ -72,6 +73,7 @@ export const FlexLayout = React.memo((props: FlexLayoutProps) => {
minHeight,
minWidth,
padding,
+ parentDropTarget,
position,
renderMode,
rowGap,
@@ -89,6 +91,7 @@ export const FlexLayout = React.memo((props: FlexLayoutProps) => {
layoutId: layoutId,
canvasId: canvasId,
isDropTarget: isDropTarget,
+ parentDropTarget,
},
ref,
);
diff --git a/app/client/src/layoutSystems/anvil/layoutComponents/components/LayoutColumn.tsx b/app/client/src/layoutSystems/anvil/layoutComponents/components/LayoutColumn.tsx
index 386c0997a163..d6e44c18f454 100644
--- a/app/client/src/layoutSystems/anvil/layoutComponents/components/LayoutColumn.tsx
+++ b/app/client/src/layoutSystems/anvil/layoutComponents/components/LayoutColumn.tsx
@@ -40,6 +40,7 @@ class LayoutColumn extends BaseLayoutComponent {
layoutId,
layoutIndex,
layoutStyle,
+ parentDropTarget,
renderMode,
} = this.props;
@@ -50,6 +51,7 @@ class LayoutColumn extends BaseLayoutComponent {
isDropTarget={!!isDropTarget}
layoutId={layoutId}
layoutIndex={layoutIndex}
+ parentDropTarget={parentDropTarget}
renderMode={renderMode}
{...(layoutStyle || {})}
>
diff --git a/app/client/src/layoutSystems/anvil/layoutComponents/components/LayoutRow.tsx b/app/client/src/layoutSystems/anvil/layoutComponents/components/LayoutRow.tsx
index ee11e3bcb2f8..d73f5af89126 100644
--- a/app/client/src/layoutSystems/anvil/layoutComponents/components/LayoutRow.tsx
+++ b/app/client/src/layoutSystems/anvil/layoutComponents/components/LayoutRow.tsx
@@ -28,6 +28,7 @@ class LayoutRow extends BaseLayoutComponent {
layoutId,
layoutIndex,
layoutStyle,
+ parentDropTarget,
renderMode,
} = this.props;
@@ -40,6 +41,7 @@ class LayoutRow extends BaseLayoutComponent {
isDropTarget={!!isDropTarget}
layoutId={layoutId}
layoutIndex={layoutIndex}
+ parentDropTarget={parentDropTarget}
renderMode={renderMode}
{...(layoutStyle || {})}
>
diff --git a/app/client/src/layoutSystems/anvil/layoutComponents/components/WidgetColumn.tsx b/app/client/src/layoutSystems/anvil/layoutComponents/components/WidgetColumn.tsx
index 2cb75da6958e..009d98b77be0 100644
--- a/app/client/src/layoutSystems/anvil/layoutComponents/components/WidgetColumn.tsx
+++ b/app/client/src/layoutSystems/anvil/layoutComponents/components/WidgetColumn.tsx
@@ -42,6 +42,7 @@ class WidgetColumn extends BaseLayoutComponent {
layoutId,
layoutIndex,
layoutStyle,
+ parentDropTarget,
renderMode,
} = this.props;
@@ -52,6 +53,7 @@ class WidgetColumn extends BaseLayoutComponent {
isDropTarget={!!isDropTarget}
layoutId={layoutId}
layoutIndex={layoutIndex}
+ parentDropTarget={parentDropTarget}
renderMode={renderMode}
{...(layoutStyle || {})}
>
diff --git a/app/client/src/layoutSystems/anvil/layoutComponents/components/WidgetRow.tsx b/app/client/src/layoutSystems/anvil/layoutComponents/components/WidgetRow.tsx
index aa4024c99a8d..53b4c21733db 100644
--- a/app/client/src/layoutSystems/anvil/layoutComponents/components/WidgetRow.tsx
+++ b/app/client/src/layoutSystems/anvil/layoutComponents/components/WidgetRow.tsx
@@ -30,6 +30,7 @@ class WidgetRow extends BaseLayoutComponent {
layoutId,
layoutIndex,
layoutStyle,
+ parentDropTarget,
renderMode,
} = this.props;
@@ -42,6 +43,7 @@ class WidgetRow extends BaseLayoutComponent {
isDropTarget={!!isDropTarget}
layoutId={layoutId}
layoutIndex={layoutIndex}
+ parentDropTarget={parentDropTarget}
renderMode={renderMode}
{...(layoutStyle || {})}
>
diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedColumnHighlights.test.ts b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedColumnHighlights.test.ts
index 7f97572591c6..dedd0e5a8365 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedColumnHighlights.test.ts
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedColumnHighlights.test.ts
@@ -26,7 +26,14 @@ describe("AlignedColumnHighlights tests", () => {
layout: [],
});
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 400, left: 0, top: 0, width: 300 },
+ [layout.layoutId]: {
+ height: 400,
+ left: 0,
+ top: 0,
+ width: 300,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
};
const res: AnvilHighlightInfo[] = deriveAlignedColumnHighlights(
layout,
@@ -58,7 +65,14 @@ describe("AlignedColumnHighlights tests", () => {
layout: [],
});
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 400, left: 0, top: 0, width: 300 },
+ [layout.layoutId]: {
+ height: 400,
+ left: 0,
+ top: 0,
+ width: 300,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
};
const res: AnvilHighlightInfo[] = deriveAlignedColumnHighlights(
layout,
@@ -84,9 +98,30 @@ describe("AlignedColumnHighlights tests", () => {
const button: string = (layout.layout[0] as WidgetLayoutProps).widgetId;
const input: string = (layout.layout[1] as WidgetLayoutProps).widgetId;
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 400, left: 0, top: 0, width: 300 },
- [button]: { height: 40, left: 10, top: 10, width: 120 },
- [input]: { height: 70, left: 10, top: 60, width: 290 },
+ [layout.layoutId]: {
+ height: 400,
+ left: 0,
+ top: 0,
+ width: 300,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ [button]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 120,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input]: {
+ height: 70,
+ left: 10,
+ top: 60,
+ width: 290,
+ offsetLeft: 10,
+ offsetTop: 60,
+ },
};
const res: AnvilHighlightInfo[] = deriveAlignedColumnHighlights(
layout,
@@ -127,9 +162,30 @@ describe("AlignedColumnHighlights tests", () => {
const button: string = (layout.layout[0] as WidgetLayoutProps).widgetId;
const input: string = (layout.layout[1] as WidgetLayoutProps).widgetId;
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 400, left: 0, top: 0, width: 300 },
- [button]: { height: 40, left: 10, top: 10, width: 120 },
- [input]: { height: 70, left: 10, top: 60, width: 290 },
+ [layout.layoutId]: {
+ height: 400,
+ left: 0,
+ top: 0,
+ width: 300,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ [button]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 120,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input]: {
+ height: 70,
+ left: 10,
+ top: 60,
+ width: 290,
+ offsetLeft: 10,
+ offsetTop: 60,
+ },
};
const res: AnvilHighlightInfo[] = deriveAlignedColumnHighlights(
layout,
@@ -173,9 +229,30 @@ describe("AlignedColumnHighlights tests", () => {
const button: string = (layout.layout[0] as WidgetLayoutProps).widgetId;
const input: string = (layout.layout[1] as WidgetLayoutProps).widgetId;
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 400, left: 0, top: 0, width: 300 },
- [button]: { height: 40, left: 10, top: 10, width: 120 },
- [input]: { height: 70, left: 10, top: 60, width: 290 },
+ [layout.layoutId]: {
+ height: 400,
+ left: 0,
+ top: 0,
+ width: 300,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ [button]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 120,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input]: {
+ height: 70,
+ left: 10,
+ top: 60,
+ width: 290,
+ offsetLeft: 10,
+ offsetTop: 60,
+ },
};
const res: AnvilHighlightInfo[] = deriveAlignedColumnHighlights(
layout,
@@ -208,9 +285,30 @@ describe("AlignedColumnHighlights tests", () => {
const button: string = (layout.layout[0] as WidgetLayoutProps).widgetId;
const input: string = (layout.layout[1] as WidgetLayoutProps).widgetId;
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 400, left: 0, top: 0, width: 300 },
- [button]: { height: 40, left: 10, top: 10, width: 120 },
- [input]: { height: 70, left: 10, top: 60, width: 290 },
+ [layout.layoutId]: {
+ height: 400,
+ left: 0,
+ top: 0,
+ width: 300,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ [button]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 120,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input]: {
+ height: 70,
+ left: 10,
+ top: 60,
+ width: 290,
+ offsetLeft: 10,
+ offsetTop: 60,
+ },
};
/**
* Second widget (input) is being dragged over it's parent layout.
@@ -247,9 +345,30 @@ describe("AlignedColumnHighlights tests", () => {
const button: string = (layout.layout[0] as WidgetLayoutProps).widgetId;
const input: string = (layout.layout[1] as WidgetLayoutProps).widgetId;
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 400, left: 0, top: 0, width: 300 },
- [button]: { height: 40, left: 10, top: 10, width: 120 },
- [input]: { height: 70, left: 10, top: 60, width: 290 },
+ [layout.layoutId]: {
+ height: 400,
+ left: 0,
+ top: 0,
+ width: 300,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ [button]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 120,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input]: {
+ height: 70,
+ left: 10,
+ top: 60,
+ width: 290,
+ offsetLeft: 10,
+ offsetTop: 60,
+ },
};
/**
* First widget (button) is being dragged over it's parent layout.
@@ -305,13 +424,62 @@ describe("AlignedColumnHighlights tests", () => {
* Create dimensions data
*/
const dimensions: LayoutElementPositions = {
- [row1.layoutId]: { height: 80, left: 10, top: 10, width: 300 },
- [button1]: { height: 40, left: 10, top: 10, width: 100 },
- [input1]: { height: 70, left: 120, top: 10, width: 170 },
- [row2.layoutId]: { height: 80, left: 10, top: 90, width: 300 },
- [button2]: { height: 40, left: 10, top: 10, width: 100 },
- [input2]: { height: 70, left: 120, top: 10, width: 170 },
- [column.layoutId]: { height: 200, left: 0, top: 0, width: 320 },
+ [row1.layoutId]: {
+ height: 80,
+ left: 10,
+ top: 10,
+ width: 300,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [button1]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 100,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input1]: {
+ height: 70,
+ left: 120,
+ top: 10,
+ width: 170,
+ offsetLeft: 120,
+ offsetTop: 10,
+ },
+ [row2.layoutId]: {
+ height: 80,
+ left: 10,
+ top: 90,
+ width: 300,
+ offsetLeft: 10,
+ offsetTop: 90,
+ },
+ [button2]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 100,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input2]: {
+ height: 70,
+ left: 120,
+ top: 10,
+ width: 170,
+ offsetLeft: 120,
+ offsetTop: 10,
+ },
+ [column.layoutId]: {
+ height: 200,
+ left: 0,
+ top: 0,
+ width: 320,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
};
/**
@@ -390,13 +558,62 @@ describe("AlignedColumnHighlights tests", () => {
* Create dimensions data
*/
const dimensions: LayoutElementPositions = {
- [row1.layoutId]: { height: 80, left: 10, top: 10, width: 300 },
- [button1]: { height: 40, left: 10, top: 10, width: 100 },
- [input1]: { height: 70, left: 120, top: 10, width: 170 },
- [row2.layoutId]: { height: 80, left: 10, top: 90, width: 300 },
- [button2]: { height: 40, left: 10, top: 10, width: 100 },
- [input2]: { height: 70, left: 120, top: 10, width: 170 },
- [column.layoutId]: { height: 200, left: 0, top: 0, width: 320 },
+ [row1.layoutId]: {
+ height: 80,
+ left: 10,
+ top: 10,
+ width: 300,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [button1]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 100,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input1]: {
+ height: 70,
+ left: 120,
+ top: 10,
+ width: 170,
+ offsetLeft: 120,
+ offsetTop: 10,
+ },
+ [row2.layoutId]: {
+ height: 80,
+ left: 10,
+ top: 90,
+ width: 300,
+ offsetLeft: 10,
+ offsetTop: 90,
+ },
+ [button2]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 100,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input2]: {
+ height: 70,
+ left: 120,
+ top: 10,
+ width: 170,
+ offsetLeft: 120,
+ offsetTop: 10,
+ },
+ [column.layoutId]: {
+ height: 200,
+ left: 0,
+ top: 0,
+ width: 320,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
};
/**
diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedRowHighlights.test.ts b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedRowHighlights.test.ts
index 3b395d566cd4..56b4d9ea8c80 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedRowHighlights.test.ts
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedRowHighlights.test.ts
@@ -39,21 +39,34 @@ describe("AlignedRow highlights", () => {
left: 0,
top: 0,
width: 400,
+ offsetLeft: 0,
+ offsetTop: 0,
};
const centerPosition: LayoutElementPosition = {
height: 40,
left: 404,
top: 0,
width: 400,
+ offsetLeft: 404,
+ offsetTop: 0,
};
const endPosition: LayoutElementPosition = {
height: 40,
left: 808,
top: 0,
width: 400,
+ offsetLeft: 808,
+ offsetTop: 0,
};
const dimensions: LayoutElementPositions = {
- [layoutId]: { height: 40, left: 0, top: 0, width: 1208 },
+ [layoutId]: {
+ height: 40,
+ left: 0,
+ top: 0,
+ width: 1208,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
[`${layoutId}-0`]: startPosition,
[`${layoutId}-1`]: centerPosition,
[`${layoutId}-2`]: endPosition,
@@ -63,7 +76,6 @@ describe("AlignedRow highlights", () => {
layout,
"0",
[],
- layout.layoutId,
)(dimensions, [
{
widgetId: "10",
@@ -119,19 +131,34 @@ describe("AlignedRow highlights", () => {
left: 0,
top: 0,
width: 1208,
+ offsetLeft: 0,
+ offsetTop: 0,
};
const dimensions: LayoutElementPositions = {
[layoutId]: layoutPosition,
- [button]: { height: 40, left: 10, top: 4, width: 120 },
- [input]: { height: 70, left: 140, top: 4, width: 1058 },
+ [button]: {
+ height: 40,
+ left: 10,
+ top: 4,
+ width: 120,
+ offsetLeft: 10,
+ offsetTop: 4,
+ },
+ [input]: {
+ height: 70,
+ left: 140,
+ top: 4,
+ width: 1058,
+ offsetLeft: 140,
+ offsetTop: 4,
+ },
};
const res: AnvilHighlightInfo[] = deriveAlignedRowHighlights(
layout,
"0",
[],
- layout.layoutId,
)(dimensions, [
{
widgetId: "10",
@@ -187,6 +214,8 @@ describe("AlignedRow highlights", () => {
left: 0,
top: 0,
width: 1208,
+ offsetLeft: 0,
+ offsetTop: 0,
};
const dimensions: LayoutElementPositions = {
@@ -196,28 +225,47 @@ describe("AlignedRow highlights", () => {
left: 0,
top: 0,
width: 400,
+ offsetLeft: 0,
+ offsetTop: 0,
},
[getAlignmentLayoutId(layoutId, FlexLayerAlignment.Center)]: {
height: 48,
left: 404,
top: 0,
width: 400,
+ offsetLeft: 404,
+ offsetTop: 0,
},
[getAlignmentLayoutId(layoutId, FlexLayerAlignment.End)]: {
height: 48,
left: 808,
top: 0,
width: 400,
+ offsetLeft: 808,
+ offsetTop: 0,
+ },
+ [button1.widgetId]: {
+ height: 40,
+ left: 10,
+ top: 4,
+ width: 120,
+ offsetLeft: 10,
+ offsetTop: 4,
+ },
+ [button2.widgetId]: {
+ height: 40,
+ left: 540,
+ top: 4,
+ width: 120,
+ offsetLeft: 540,
+ offsetTop: 4,
},
- [button1.widgetId]: { height: 40, left: 10, top: 4, width: 120 },
- [button2.widgetId]: { height: 40, left: 540, top: 4, width: 120 },
};
const res: AnvilHighlightInfo[] = deriveAlignedRowHighlights(
layout,
"0",
[],
- layout.layoutId,
)(dimensions, [
{
widgetId: "10",
diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedRowHighlights.ts b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedRowHighlights.ts
index 25114fc20cdf..6654c80f7927 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedRowHighlights.ts
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/alignedRowHighlights.ts
@@ -28,25 +28,16 @@ import type {
} from "layoutSystems/common/types";
export const deriveAlignedRowHighlights =
- (
- layoutProps: LayoutProps,
- canvasId: string,
- layoutOrder: string[],
- parentDropTarget: string,
- ) =>
+ (layoutProps: LayoutProps, canvasId: string, layoutOrder: string[]) =>
(
positions: LayoutElementPositions,
draggedWidgets: DraggedWidget[],
): AnvilHighlightInfo[] => {
if (!draggedWidgets.length || !positions[layoutProps.layoutId]) return [];
- const { isDropTarget, layout, layoutId } = layoutProps;
-
- const parentDropTargetId: string = isDropTarget
- ? layoutId
- : parentDropTarget;
+ const { layout } = layoutProps;
const getDimensions: (id: string) => LayoutElementPosition =
- getRelativeDimensions(parentDropTargetId, positions);
+ getRelativeDimensions(positions);
/**
* Step 1: Construct a base highlight.
diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/columnHighlights.test.ts b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/columnHighlights.test.ts
index 6956d1906462..15ff43c9038c 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/columnHighlights.test.ts
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/columnHighlights.test.ts
@@ -35,9 +35,30 @@ describe("columnHighlights", () => {
const buttonId: string = (layout.layout[0] as WidgetLayoutProps).widgetId;
const inputId: string = (layout.layout[1] as WidgetLayoutProps).widgetId;
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 500, left: 0, top: 0, width: 300 },
- [buttonId]: { height: 40, left: 10, top: 10, width: 120 },
- [inputId]: { height: 70, left: 10, top: 60, width: 290 },
+ [layout.layoutId]: {
+ height: 500,
+ left: 0,
+ top: 0,
+ width: 300,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ [buttonId]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 120,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [inputId]: {
+ height: 70,
+ left: 10,
+ top: 60,
+ width: 290,
+ offsetLeft: 10,
+ offsetTop: 60,
+ },
};
const res: AnvilHighlightInfo[] = deriveColumnHighlights(
layout,
@@ -71,9 +92,30 @@ describe("columnHighlights", () => {
const buttonId: string = (layout.layout[0] as WidgetLayoutProps).widgetId;
const inputId: string = (layout.layout[1] as WidgetLayoutProps).widgetId;
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 500, left: 0, top: 0, width: 300 },
- [buttonId]: { height: 40, left: 10, top: 10, width: 120 },
- [inputId]: { height: 70, left: 10, top: 60, width: 290 },
+ [layout.layoutId]: {
+ height: 500,
+ left: 0,
+ top: 0,
+ width: 300,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ [buttonId]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 120,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [inputId]: {
+ height: 70,
+ left: 10,
+ top: 60,
+ width: 290,
+ offsetLeft: 10,
+ offsetTop: 60,
+ },
};
const res: AnvilHighlightInfo[] = deriveColumnHighlights(
layout,
@@ -107,9 +149,30 @@ describe("columnHighlights", () => {
const buttonId: string = (layout.layout[0] as WidgetLayoutProps).widgetId;
const inputId: string = (layout.layout[1] as WidgetLayoutProps).widgetId;
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 500, left: 0, top: 0, width: 300 },
- [buttonId]: { height: 40, left: 10, top: 10, width: 120 },
- [inputId]: { height: 70, left: 10, top: 60, width: 290 },
+ [layout.layoutId]: {
+ height: 500,
+ left: 0,
+ top: 0,
+ width: 300,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ [buttonId]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 120,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [inputId]: {
+ height: 70,
+ left: 10,
+ top: 60,
+ width: 290,
+ offsetLeft: 10,
+ offsetTop: 60,
+ },
};
const res: AnvilHighlightInfo[] = deriveColumnHighlights(
layout,
@@ -159,7 +222,14 @@ describe("columnHighlights", () => {
layout: [],
});
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 400, left: 0, top: 0, width: 300 },
+ [layout.layoutId]: {
+ height: 400,
+ left: 0,
+ top: 0,
+ width: 300,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
};
const res: AnvilHighlightInfo[] = deriveColumnHighlights(
layout,
@@ -182,7 +252,14 @@ describe("columnHighlights", () => {
},
});
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 400, left: 0, top: 0, width: 300 },
+ [layout.layoutId]: {
+ height: 400,
+ left: 0,
+ top: 0,
+ width: 300,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
};
const res: AnvilHighlightInfo[] = deriveColumnHighlights(
layout,
@@ -209,7 +286,14 @@ describe("columnHighlights", () => {
},
});
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 400, left: 0, top: 0, width: 300 },
+ [layout.layoutId]: {
+ height: 400,
+ left: 0,
+ top: 0,
+ width: 300,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
};
const res: AnvilHighlightInfo[] = deriveColumnHighlights(
layout,
@@ -252,13 +336,62 @@ describe("columnHighlights", () => {
* Create dimensions data
*/
const dimensions: LayoutElementPositions = {
- [row1.layoutId]: { height: 80, left: 10, top: 10, width: 300 },
- [button1]: { height: 40, left: 10, top: 10, width: 100 },
- [input1]: { height: 70, left: 120, top: 10, width: 170 },
- [row2.layoutId]: { height: 80, left: 10, top: 90, width: 300 },
- [button2]: { height: 40, left: 10, top: 10, width: 100 },
- [input2]: { height: 70, left: 120, top: 10, width: 170 },
- [column.layoutId]: { height: 200, left: 0, top: 0, width: 320 },
+ [row1.layoutId]: {
+ height: 80,
+ left: 10,
+ top: 10,
+ width: 300,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [button1]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 100,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input1]: {
+ height: 70,
+ left: 120,
+ top: 10,
+ width: 170,
+ offsetLeft: 120,
+ offsetTop: 10,
+ },
+ [row2.layoutId]: {
+ height: 80,
+ left: 10,
+ top: 90,
+ width: 300,
+ offsetLeft: 10,
+ offsetTop: 90,
+ },
+ [button2]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 100,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input2]: {
+ height: 70,
+ left: 120,
+ top: 10,
+ width: 170,
+ offsetLeft: 120,
+ offsetTop: 10,
+ },
+ [column.layoutId]: {
+ height: 200,
+ left: 0,
+ top: 0,
+ width: 320,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
};
/**
diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/dimensionUtils.ts b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/dimensionUtils.ts
index 6c9fe737e97a..d8b633defe40 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/dimensionUtils.ts
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/dimensionUtils.ts
@@ -11,14 +11,13 @@ import type {
* @returns LayoutElementPosition : Position and dimension of target widget / layout wrt to parent drop target layout.
*/
export const getRelativeDimensions =
- (parentLayoutId: string, positions: LayoutElementPositions) =>
+ (positions: LayoutElementPositions) =>
(id: string): LayoutElementPosition => {
const curr: LayoutElementPosition = positions[id];
- const parent: LayoutElementPosition = positions[parentLayoutId];
-
+ if (!curr) return curr;
return {
...curr,
- top: curr.top - parent.top,
- left: curr.left - parent.left,
+ top: curr?.offsetTop,
+ left: curr?.offsetLeft,
};
};
diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/highlightUtils.ts b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/highlightUtils.ts
index cb8c2f27d211..be421f237a00 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/highlightUtils.ts
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/highlightUtils.ts
@@ -43,10 +43,7 @@ export function deriveHighlights(
hasAlignments: boolean,
hasFillWidget?: boolean,
): AnvilHighlightInfo[] {
- const getDimensions: GetDimensions = getRelativeDimensions(
- layoutProps.isDropTarget ? layoutProps.layoutId : parentDropTargetId,
- widgetPositions,
- );
+ const getDimensions: GetDimensions = getRelativeDimensions(widgetPositions);
// If layout is empty, return an initial set of highlights to demarcate the starting position.
if (!layoutProps.layout?.length) {
return getInitialHighlights(
diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/rowHighlights.test.ts b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/rowHighlights.test.ts
index 867adae971d0..8cd2e89bc8a0 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/rowHighlights.test.ts
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/rowHighlights.test.ts
@@ -64,15 +64,40 @@ describe("rowHighlights tests", () => {
{ widgetId: "3", alignment: FlexLayerAlignment.Start },
];
const dimensions: LayoutElementPositions = {
- "0": { top: 0, left: 0, width: 200, height: 200 },
- "1": { top: 0, left: 4, width: 100, height: 40 },
- "2": { top: 0, left: 110, width: 100, height: 60 },
- "3": { top: 30, left: 220, width: 100, height: 30 },
+ "0": {
+ top: 0,
+ left: 0,
+ width: 200,
+ height: 200,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ "1": {
+ top: 0,
+ left: 4,
+ width: 100,
+ height: 40,
+ offsetLeft: 4,
+ offsetTop: 0,
+ },
+ "2": {
+ top: 0,
+ left: 110,
+ width: 100,
+ height: 60,
+ offsetLeft: 110,
+ offsetTop: 0,
+ },
+ "3": {
+ top: 30,
+ left: 220,
+ width: 100,
+ height: 30,
+ offsetLeft: 220,
+ offsetTop: 30,
+ },
};
- const getDimensions: GetDimensions = getRelativeDimensions(
- "0",
- dimensions,
- );
+ const getDimensions: GetDimensions = getRelativeDimensions(dimensions);
const res: RowMetaInformation = extractMetaInformation(
data,
getDimensions,
@@ -94,16 +119,48 @@ describe("rowHighlights tests", () => {
{ widgetId: "4", alignment: FlexLayerAlignment.Start },
];
const dimensions: LayoutElementPositions = {
- "0": { top: 0, left: 0, width: 300, height: 200 },
- "1": { top: 0, left: 4, width: 100, height: 40 },
- "2": { top: 0, left: 110, width: 100, height: 60 },
- "3": { top: 70, left: 10, width: 100, height: 30 },
- "4": { top: 70, left: 110, width: 100, height: 80 },
+ "0": {
+ top: 0,
+ left: 0,
+ width: 300,
+ height: 200,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ "1": {
+ top: 0,
+ left: 4,
+ width: 100,
+ height: 40,
+ offsetLeft: 4,
+ offsetTop: 0,
+ },
+ "2": {
+ top: 0,
+ left: 110,
+ width: 100,
+ height: 60,
+ offsetLeft: 110,
+ offsetTop: 0,
+ },
+ "3": {
+ top: 70,
+ left: 10,
+ width: 100,
+ height: 30,
+ offsetLeft: 10,
+ offsetTop: 70,
+ },
+ "4": {
+ top: 70,
+ left: 110,
+ width: 100,
+ height: 80,
+ offsetLeft: 110,
+ offsetTop: 70,
+ },
};
- const getDimensions: GetDimensions = getRelativeDimensions(
- "0",
- dimensions,
- );
+ const getDimensions: GetDimensions = getRelativeDimensions(dimensions);
const res: RowMetaInformation = extractMetaInformation(
data,
getDimensions,
@@ -127,16 +184,48 @@ describe("rowHighlights tests", () => {
{ widgetId: "4", alignment: FlexLayerAlignment.Start },
];
const dimensions: LayoutElementPositions = {
- "0": { top: 0, left: 0, width: 200, height: 200 },
- "1": { top: 70, left: 4, width: 100, height: 40 },
- "2": { top: 70, left: 110, width: 100, height: 60 },
- "3": { top: 0, left: 10, width: 100, height: 30 },
- "4": { top: 0, left: 110, width: 100, height: 80 },
+ "0": {
+ top: 0,
+ left: 0,
+ width: 200,
+ height: 200,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ "1": {
+ top: 70,
+ left: 4,
+ width: 100,
+ height: 40,
+ offsetLeft: 4,
+ offsetTop: 70,
+ },
+ "2": {
+ top: 70,
+ left: 110,
+ width: 100,
+ height: 60,
+ offsetLeft: 110,
+ offsetTop: 70,
+ },
+ "3": {
+ top: 0,
+ left: 10,
+ width: 100,
+ height: 30,
+ offsetLeft: 10,
+ offsetTop: 0,
+ },
+ "4": {
+ top: 0,
+ left: 110,
+ width: 100,
+ height: 80,
+ offsetLeft: 110,
+ offsetTop: 0,
+ },
};
- const getDimensions: GetDimensions = getRelativeDimensions(
- "0",
- dimensions,
- );
+ const getDimensions: GetDimensions = getRelativeDimensions(dimensions);
const res: RowMetaInformation = extractMetaInformation(
data,
getDimensions,
@@ -173,15 +262,40 @@ describe("rowHighlights tests", () => {
{ widgetId: "3", alignment: FlexLayerAlignment.Start },
];
const dimensions: LayoutElementPositions = {
- layoutID: { top: 0, left: 0, width: 340, height: 100 },
- "1": { top: 0, left: 4, width: 100, height: 40 },
- "2": { top: 0, left: 110, width: 100, height: 60 },
- "3": { top: 30, left: 220, width: 100, height: 30 },
+ layoutID: {
+ top: 0,
+ left: 0,
+ width: 340,
+ height: 100,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ "1": {
+ top: 0,
+ left: 4,
+ width: 100,
+ height: 40,
+ offsetLeft: 4,
+ offsetTop: 0,
+ },
+ "2": {
+ top: 0,
+ left: 110,
+ width: 100,
+ height: 60,
+ offsetLeft: 110,
+ offsetTop: 0,
+ },
+ "3": {
+ top: 30,
+ left: 220,
+ width: 100,
+ height: 30,
+ offsetLeft: 220,
+ offsetTop: 30,
+ },
};
- const getDimensions: GetDimensions = getRelativeDimensions(
- "layoutID",
- dimensions,
- );
+ const getDimensions: GetDimensions = getRelativeDimensions(dimensions);
const res: RowMetaInformation = extractMetaInformation(
data,
getDimensions,
@@ -224,15 +338,40 @@ describe("rowHighlights tests", () => {
{ widgetId: "3", alignment: FlexLayerAlignment.Start },
];
const dimensions: LayoutElementPositions = {
- layoutID: { top: 0, left: 0, width: 340, height: 100 },
- "1": { top: 0, left: 4, width: 100, height: 40 },
- "2": { top: 0, left: 110, width: 100, height: 60 },
- "3": { top: 30, left: 220, width: 100, height: 30 },
+ layoutID: {
+ top: 0,
+ left: 0,
+ width: 340,
+ height: 100,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ "1": {
+ top: 0,
+ left: 4,
+ width: 100,
+ height: 40,
+ offsetLeft: 4,
+ offsetTop: 0,
+ },
+ "2": {
+ top: 0,
+ left: 110,
+ width: 100,
+ height: 60,
+ offsetLeft: 110,
+ offsetTop: 0,
+ },
+ "3": {
+ top: 30,
+ left: 220,
+ width: 100,
+ height: 30,
+ offsetLeft: 220,
+ offsetTop: 30,
+ },
};
- const getDimensions: GetDimensions = getRelativeDimensions(
- "layoutID",
- dimensions,
- );
+ const getDimensions: GetDimensions = getRelativeDimensions(dimensions);
const res: RowMetaInformation = extractMetaInformation(
data,
getDimensions,
@@ -278,15 +417,40 @@ describe("rowHighlights tests", () => {
{ widgetId: "3", alignment: FlexLayerAlignment.Start },
];
const dimensions: LayoutElementPositions = {
- layoutID: { top: 0, left: 0, width: 230, height: 100 },
- "1": { top: 0, left: 4, width: 100, height: 40 },
- "2": { top: 0, left: 110, width: 100, height: 60 },
- "3": { top: 70, left: 10, width: 100, height: 30 },
+ layoutID: {
+ top: 0,
+ left: 0,
+ width: 230,
+ height: 100,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ "1": {
+ top: 0,
+ left: 4,
+ width: 100,
+ height: 40,
+ offsetLeft: 4,
+ offsetTop: 0,
+ },
+ "2": {
+ top: 0,
+ left: 110,
+ width: 100,
+ height: 60,
+ offsetLeft: 110,
+ offsetTop: 0,
+ },
+ "3": {
+ top: 70,
+ left: 10,
+ width: 100,
+ height: 30,
+ offsetLeft: 10,
+ offsetTop: 70,
+ },
};
- const getDimensions: GetDimensions = getRelativeDimensions(
- "layoutID",
- dimensions,
- );
+ const getDimensions: GetDimensions = getRelativeDimensions(dimensions);
const res: RowMetaInformation = extractMetaInformation(
data,
getDimensions,
@@ -335,15 +499,40 @@ describe("rowHighlights tests", () => {
{ widgetId: "3", alignment: FlexLayerAlignment.Start },
];
const dimensions: LayoutElementPositions = {
- layoutID: { top: 0, left: 0, width: 230, height: 100 },
- "1": { top: 40, left: 4, width: 100, height: 40 },
- "2": { top: 40, left: 110, width: 100, height: 60 },
- "3": { top: 0, left: 10, width: 100, height: 30 },
+ layoutID: {
+ top: 0,
+ left: 0,
+ width: 230,
+ height: 100,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
+ "1": {
+ top: 40,
+ left: 4,
+ width: 100,
+ height: 40,
+ offsetLeft: 4,
+ offsetTop: 40,
+ },
+ "2": {
+ top: 40,
+ left: 110,
+ width: 100,
+ height: 60,
+ offsetLeft: 110,
+ offsetTop: 40,
+ },
+ "3": {
+ top: 0,
+ left: 10,
+ width: 100,
+ height: 30,
+ offsetLeft: 10,
+ offsetTop: 0,
+ },
};
- const getDimensions: GetDimensions = getRelativeDimensions(
- "layoutID",
- dimensions,
- );
+ const getDimensions: GetDimensions = getRelativeDimensions(dimensions);
const res: RowMetaInformation = extractMetaInformation(
data,
getDimensions,
@@ -395,7 +584,14 @@ describe("rowHighlights tests", () => {
layout: [],
});
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 100, left: 10, top: 10, width: 500 },
+ [layout.layoutId]: {
+ height: 100,
+ left: 10,
+ top: 10,
+ width: 500,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
};
const res: AnvilHighlightInfo[] = deriveRowHighlights(
layout,
@@ -427,7 +623,14 @@ describe("rowHighlights tests", () => {
},
});
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 100, left: 10, top: 10, width: 500 },
+ [layout.layoutId]: {
+ height: 100,
+ left: 10,
+ top: 10,
+ width: 500,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
};
const res: AnvilHighlightInfo[] = deriveRowHighlights(
layout,
@@ -463,7 +666,14 @@ describe("rowHighlights tests", () => {
},
});
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 100, left: 10, top: 10, width: 500 },
+ [layout.layoutId]: {
+ height: 100,
+ left: 10,
+ top: 10,
+ width: 500,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
};
const res: AnvilHighlightInfo[] = deriveRowHighlights(
layout,
@@ -536,13 +746,62 @@ describe("rowHighlights tests", () => {
* Create a map of widget positions.
*/
const positions: LayoutElementPositions = {
- [layoutOne.layoutId]: { height: 100, left: 10, top: 10, width: 500 },
- [button1]: { height: 40, left: 10, top: 10, width: 100 },
- [input1]: { height: 100, left: 60, top: 10, width: 430 },
- [layoutTwo.layoutId]: { height: 100, left: 510, top: 10, width: 500 },
- [button2]: { height: 40, left: 10, top: 10, width: 100 },
- [input2]: { height: 100, left: 60, top: 10, width: 430 },
- [layout.layoutId]: { height: 100, left: 0, top: 0, width: 1020 },
+ [layoutOne.layoutId]: {
+ height: 100,
+ left: 10,
+ top: 10,
+ width: 500,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [button1]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 100,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input1]: {
+ height: 100,
+ left: 60,
+ top: 10,
+ width: 430,
+ offsetLeft: 60,
+ offsetTop: 10,
+ },
+ [layoutTwo.layoutId]: {
+ height: 100,
+ left: 510,
+ top: 10,
+ width: 500,
+ offsetLeft: 510,
+ offsetTop: 10,
+ },
+ [button2]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 100,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input2]: {
+ height: 100,
+ left: 60,
+ top: 10,
+ width: 430,
+ offsetLeft: 60,
+ offsetTop: 10,
+ },
+ [layout.layoutId]: {
+ height: 100,
+ left: 0,
+ top: 0,
+ width: 1020,
+ offsetLeft: 0,
+ offsetTop: 0,
+ },
};
const res: AnvilHighlightInfo[] = deriveRowHighlights(
layout,
@@ -583,9 +842,30 @@ describe("rowHighlights tests", () => {
* Create a map of widget positions.
*/
const positions: LayoutElementPositions = {
- [layout.layoutId]: { height: 100, left: 0, top: 10, width: 500 },
- [button1]: { height: 40, left: 10, top: 10, width: 100 },
- [input1]: { height: 100, left: 120, top: 10, width: 370 },
+ [layout.layoutId]: {
+ height: 100,
+ left: 0,
+ top: 10,
+ width: 500,
+ offsetLeft: 0,
+ offsetTop: 10,
+ },
+ [button1]: {
+ height: 40,
+ left: 10,
+ top: 10,
+ width: 100,
+ offsetLeft: 10,
+ offsetTop: 10,
+ },
+ [input1]: {
+ height: 100,
+ left: 120,
+ top: 10,
+ width: 370,
+ offsetLeft: 120,
+ offsetTop: 10,
+ },
};
/**
diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/rowHighlights.ts b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/rowHighlights.ts
index 0cdb78891841..9d39d4db1cc5 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/highlights/rowHighlights.ts
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/highlights/rowHighlights.ts
@@ -63,7 +63,7 @@ export const deriveRowHighlights =
: parentDropTarget;
const getDimensions: (id: string) => LayoutElementPosition =
- getRelativeDimensions(parentDropTargetId, positions);
+ getRelativeDimensions(positions);
const baseHighlight: AnvilHighlightInfo = {
alignment:
diff --git a/app/client/src/layoutSystems/anvil/utils/layouts/renderUtils.tsx b/app/client/src/layoutSystems/anvil/utils/layouts/renderUtils.tsx
index 601b3a42a3c2..815f2b280717 100644
--- a/app/client/src/layoutSystems/anvil/utils/layouts/renderUtils.tsx
+++ b/app/client/src/layoutSystems/anvil/utils/layouts/renderUtils.tsx
@@ -168,6 +168,7 @@ export function renderWidgetsInAlignedRow(
flexBasis: { base: "auto", [`${MOBILE_BREAKPOINT}px`]: "0%" },
flexGrow: 1,
flexShrink: 1,
+ parentDropTarget: props.parentDropTarget,
renderMode: props.renderMode,
wrap: { base: "wrap", [`${MOBILE_BREAKPOINT}px`]: "nowrap" },
};
diff --git a/app/client/src/layoutSystems/common/types.ts b/app/client/src/layoutSystems/common/types.ts
index 024fbcc5c210..4d09800c02fd 100644
--- a/app/client/src/layoutSystems/common/types.ts
+++ b/app/client/src/layoutSystems/common/types.ts
@@ -6,6 +6,8 @@ export interface LayoutElementPosition {
top: number;
height: number;
width: number;
+ offsetLeft: number;
+ offsetTop: number;
}
export interface LayoutElementPositions {
diff --git a/app/client/src/layoutSystems/common/utils/LayoutElementPositionsObserver/index.ts b/app/client/src/layoutSystems/common/utils/LayoutElementPositionsObserver/index.ts
index 288e47602837..0e1bd527f429 100644
--- a/app/client/src/layoutSystems/common/utils/LayoutElementPositionsObserver/index.ts
+++ b/app/client/src/layoutSystems/common/utils/LayoutElementPositionsObserver/index.ts
@@ -22,10 +22,16 @@ import ResizeObserver from "resize-observer-polyfill";
* Whenever any of the registered elements changes size, the ResizeObserver triggers
* This class then triggers a process call which is debounced.
*/
+type LayoutOrderArray = string[];
+
class LayoutElementPositionObserver {
// Objects to store registered elements
private registeredWidgets: {
- [widgetDOMId: string]: { ref: RefObject<HTMLDivElement>; id: string };
+ [widgetDOMId: string]: {
+ ref: RefObject<HTMLDivElement>;
+ id: string;
+ layoutId: string;
+ };
} = {};
private registeredLayouts: {
@@ -33,10 +39,13 @@ class LayoutElementPositionObserver {
ref: RefObject<HTMLDivElement>;
layoutId: string;
canvasId: string;
+ parentDropTarget: string;
isDropTarget: boolean;
};
} = {};
+ private dropTargetsDomIdsOrder: LayoutOrderArray = [];
+
private mutationOptions: MutationObserverInit = {
attributes: true,
attributeFilter: ["class"],
@@ -75,11 +84,15 @@ class LayoutElementPositionObserver {
);
//Method to register widgets for resize observer changes
- public observeWidget(widgetId: string, ref: RefObject<HTMLDivElement>) {
+ public observeWidget(
+ widgetId: string,
+ layoutId: string,
+ ref: RefObject<HTMLDivElement>,
+ ) {
if (ref.current) {
if (!this.registeredWidgets.hasOwnProperty(widgetId)) {
const widgetDOMId = getAnvilWidgetDOMId(widgetId);
- this.registeredWidgets[widgetDOMId] = { ref, id: widgetId };
+ this.registeredWidgets[widgetDOMId] = { ref, id: widgetId, layoutId };
this.resizeObserver.observe(ref.current);
this.mutationObserver.observe(ref.current, this.mutationOptions);
}
@@ -105,6 +118,7 @@ class LayoutElementPositionObserver {
public observeLayout(
layoutId: string,
canvasId: string,
+ parentDropTarget: string,
isDropTarget: boolean,
ref: RefObject<HTMLDivElement>,
) {
@@ -116,8 +130,23 @@ class LayoutElementPositionObserver {
ref,
canvasId,
layoutId,
+ parentDropTarget,
isDropTarget,
};
+ if (
+ isDropTarget &&
+ !this.dropTargetsDomIdsOrder.includes(layoutDOMId)
+ ) {
+ const parentIndex = this.dropTargetsDomIdsOrder.findIndex(
+ (each) => each === parentDropTarget,
+ );
+ if (parentIndex === -1) {
+ // main canvas drop target
+ this.dropTargetsDomIdsOrder.push(layoutDOMId);
+ } else {
+ this.dropTargetsDomIdsOrder.splice(parentIndex, 0, layoutDOMId);
+ }
+ }
this.resizeObserver.observe(ref.current);
this.mutationObserver.observe(ref.current, this.mutationOptions);
}
@@ -126,11 +155,20 @@ class LayoutElementPositionObserver {
//Method to de register layouts for resize observer changes
public unObserveLayout(layoutDOMId: string) {
- const element = this.registeredLayouts[layoutDOMId]?.ref?.current;
+ const layoutObj = this.registeredLayouts[layoutDOMId];
+ const element = layoutObj?.ref?.current;
if (element) {
this.resizeObserver.unobserve(element);
}
-
+ const { isDropTarget } = layoutObj;
+ if (isDropTarget) {
+ const layoutIndex = this.dropTargetsDomIdsOrder.findIndex(
+ (each) => each === layoutDOMId,
+ );
+ if (layoutIndex !== -1) {
+ this.dropTargetsDomIdsOrder.splice(layoutIndex, 1);
+ }
+ }
delete this.registeredLayouts[layoutDOMId];
store.dispatch(
deleteLayoutElementPositions([
@@ -177,6 +215,10 @@ class LayoutElementPositionObserver {
return this.registeredLayouts;
}
+ public getDropTargetDomIdsOrder() {
+ return this.dropTargetsDomIdsOrder;
+ }
+
private trackEntry(DOMId: string) {
if (DOMId.indexOf(ANVIL_WIDGET) > -1) {
this.addWidgetToProcess(DOMId);
diff --git a/app/client/src/layoutSystems/common/utils/LayoutElementPositionsObserver/usePositionObserver.ts b/app/client/src/layoutSystems/common/utils/LayoutElementPositionsObserver/usePositionObserver.ts
index 6d2c51a0b7e8..e38cf3c5a68c 100644
--- a/app/client/src/layoutSystems/common/utils/LayoutElementPositionsObserver/usePositionObserver.ts
+++ b/app/client/src/layoutSystems/common/utils/LayoutElementPositionsObserver/usePositionObserver.ts
@@ -21,6 +21,7 @@ export function usePositionObserver(
widgetId?: string;
layoutId?: string;
canvasId?: string;
+ parentDropTarget?: string;
isDropTarget?: boolean;
},
ref: RefObject<HTMLDivElement>,
@@ -43,7 +44,7 @@ export function usePositionObserver(
case "widget":
if (ids.widgetId === undefined)
throw Error("Failed to observe widget: widgetId is undefined");
- positionObserver.observeWidget(ids.widgetId, ref);
+ positionObserver.observeWidget(ids.widgetId, ids.layoutId || "", ref);
break;
case "layout":
if (ids.layoutId === undefined)
@@ -53,6 +54,7 @@ export function usePositionObserver(
positionObserver.observeLayout(
ids.layoutId,
ids.canvasId,
+ ids.parentDropTarget || "",
!!ids.isDropTarget,
ref,
);
|
0fd51922965d07292bd38f419932d8bd2a1f3a85
|
2023-03-08 03:29:34
|
Vijetha-Kaja
|
test: Merge table.ts & tableV2.ts pages (#21094)
| false
|
Merge table.ts & tableV2.ts pages (#21094)
|
test
|
diff --git a/app/client/cypress/integration/Regression_TestSuite/Application/CommunityIssues_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/Application/CommunityIssues_Spec.ts
index 4ae0059c3857..05f90fd1c995 100644
--- a/app/client/cypress/integration/Regression_TestSuite/Application/CommunityIssues_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/Application/CommunityIssues_Spec.ts
@@ -231,7 +231,7 @@ describe("AForce - Community Issues page validations", function() {
});
for (let i = 0; i < 8; i++) {
- table.ReadTableRowColumnData(i, 1, 100).then(($cellData) => {
+ table.ReadTableRowColumnData(i, 1, "v1", 100).then(($cellData) => {
if ($cellData.toLowerCase().includes("query"))
filterTitle.push($cellData);
});
@@ -245,12 +245,12 @@ describe("AForce - Community Issues page validations", function() {
//Two filters - AND
table.OpenNFilterTable("Votes", "greater than", "2");
- table.ReadTableRowColumnData(0, 1, 3000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1,"v1", 3000).then(($cellData) => {
expect($cellData).to.eq("Combine queries from different datasources");
});
table.OpenNFilterTable("Title", "contains", "button", "AND", 1);
- table.ReadTableRowColumnData(0, 1, 3000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1,"v1", 3000).then(($cellData) => {
expect($cellData).to.eq(
"Change the video in the video player with a button click",
);
@@ -297,11 +297,11 @@ describe("AForce - Community Issues page validations", function() {
table.SearchTable("Suggestion", 2);
table.WaitUntilTableLoad();
- table.ReadTableRowColumnData(0, 0, 4000).then((cellData) => {
+ table.ReadTableRowColumnData(0, 0,"v1", 4000).then((cellData) => {
expect(cellData).to.be.equal("Suggestion");
});
- table.ReadTableRowColumnData(0, 1, 1000).then((cellData) => {
+ table.ReadTableRowColumnData(0, 1).then((cellData) => {
expect(cellData).to.be.equal("Adding Title Suggestion via script");
});
});
@@ -358,11 +358,11 @@ describe("AForce - Community Issues page validations", function() {
);
agHelper.ClickButton("Save");
agHelper.Sleep(2000);
- table.ReadTableRowColumnData(0, 0, 2000).then((cellData) => {
+ table.ReadTableRowColumnData(0, 0,"v1",2000).then((cellData) => {
expect(cellData).to.be.equal("Troubleshooting");
});
- table.ReadTableRowColumnData(0, 1, 1000).then((cellData) => {
+ table.ReadTableRowColumnData(0, 1).then((cellData) => {
expect(cellData).to.be.equal(
"Adding Title Suggestion via script-updating title",
);
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/AllWidgets_Reset_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/AllWidgets_Reset_Spec.ts
index bba9f220967b..c27ba5f627e2 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/AllWidgets_Reset_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/AllWidgets_Reset_Spec.ts
@@ -5,7 +5,7 @@ const agHelper = ObjectsRegistry.AggregateHelper,
ee = ObjectsRegistry.EntityExplorer,
deployMode = ObjectsRegistry.DeployMode,
propPane = ObjectsRegistry.PropertyPane,
- table = ObjectsRegistry.TableV2,
+ table = ObjectsRegistry.Table,
locator = ObjectsRegistry.CommonLocators;
import { WIDGET } from "../../../../locators/WidgetLocators";
@@ -187,7 +187,7 @@ function selectTabAndReset() {
}
function selectTableAndReset() {
- table.SelectTableRow(1);
+ table.SelectTableRow(1,0, true, "v2");
agHelper.GetNAssertElementText(
locator._textWidgetInDeployed,
"#2",
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Moment_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Moment_Spec.ts
index 27c249f2a5f4..4704bad50a83 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Moment_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/BugTests/Moment_Spec.ts
@@ -1,38 +1,26 @@
-import { ObjectsRegistry } from "../../../../support/Objects/Registry";
+import * as _ from "../../../../support/Objects/ObjectsCore";
let dsName: any, query: string;
-const agHelper = ObjectsRegistry.AggregateHelper,
- ee = ObjectsRegistry.EntityExplorer,
- dataSources = ObjectsRegistry.DataSources,
- propPane = ObjectsRegistry.PropertyPane,
- table = ObjectsRegistry.Table,
- locator = ObjectsRegistry.CommonLocators,
- deployMode = ObjectsRegistry.DeployMode,
- jsEditor = ObjectsRegistry.JSEditor,
- appSettings = ObjectsRegistry.AppSettings;
describe("Bug #14299 - The data from the query does not show up on the widget", function() {
- before(() => {
+ before("Create Postgress DS & set theme", () => {
cy.fixture("/Bugs/14299dsl").then((val: any) => {
- agHelper.AddDsl(val);
+ _.agHelper.AddDsl(val);
});
- appSettings.OpenPaneAndChangeThemeColors(13, 22);
- });
-
- it("1. Create Postgress DS", function() {
- dataSources.CreateDataSource("Postgres");
+ _.appSettings.OpenPaneAndChangeThemeColors(13, 22);
+ _.dataSources.CreateDataSource("Postgres");
cy.get("@dsName").then(($dsName) => {
dsName = $dsName;
});
});
- it("2. Creating query & JSObject", () => {
+ it("1. Creating query & JSObject", () => {
query = `SELECT id, name, date_of_birth, date_of_death, nationality FROM public."astronauts" LIMIT 20;`;
- dataSources.NavigateFromActiveDS(dsName, true);
- agHelper.GetNClick(dataSources._templateMenu);
- agHelper.RenameWithInPane("getAstronauts");
- dataSources.EnterQuery(query);
- jsEditor.CreateJSObject(
+ _.dataSources.NavigateFromActiveDS(dsName, true);
+ _.agHelper.GetNClick(_.dataSources._templateMenu);
+ _.agHelper.RenameWithInPane("getAstronauts");
+ _.dataSources.EnterQuery(query);
+ _.jsEditor.CreateJSObject(
`export default {
runAstros: () => {
return getAstronauts.run();
@@ -46,90 +34,96 @@ describe("Bug #14299 - The data from the query does not show up on the widget",
},
);
- ee.SelectEntityByName("Table1");
- propPane.UpdatePropertyFieldValue(
+ _.entityExplorer.SelectEntityByName("Table1");
+ _.propPane.UpdatePropertyFieldValue(
"Table Data",
`{{JSObject1.runAstros.data}}`,
);
- ee.SelectEntityByName("DatePicker1");
- propPane.UpdatePropertyFieldValue(
+ _.entityExplorer.SelectEntityByName("DatePicker1");
+ _.propPane.UpdatePropertyFieldValue(
"Default Date",
`{{moment(Table1.selectedRow.date_of_death)}}`,
);
- ee.SelectEntityByName("Text1");
- propPane.UpdatePropertyFieldValue(
+ _.entityExplorer.SelectEntityByName("Text1");
+ _.propPane.UpdatePropertyFieldValue(
"Text",
`Date: {{moment(Table1.selectedRow.date_of_death).toString()}}`,
);
});
- it("3. Deploy & Verify table is populated even when moment returns Null", () => {
- deployMode.DeployApp();
- table.WaitUntilTableLoad();
- table.AssertSelectedRow(0);
- agHelper
- .GetText(locator._datePickerValue, "val")
+ it("2. Deploy & Verify _.table is populated even when moment returns Null", () => {
+ _.deployMode.DeployApp();
+ _.table.WaitUntilTableLoad();
+ _.table.AssertSelectedRow(0);
+ _.agHelper
+ .GetText(_.locators._datePickerValue, "val")
.then(($date) => expect($date).to.eq(""));
- agHelper
- .GetText(locator._textWidgetInDeployed)
+ _.agHelper
+ .GetText(_.locators._textWidgetInDeployed)
.then(($date) => expect($date).to.eq("Date: Invalid date"));
- table.SelectTableRow(2); //Asserting here table is available for selection
- table.ReadTableRowColumnData(2, 0, 200).then(($cellData) => {
+ _.table.SelectTableRow(2); //Asserting here _.table is available for selection
+ _.table.ReadTableRowColumnData(2, 0, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("213");
});
- agHelper
- .GetText(locator._datePickerValue, "val")
+ _.agHelper
+ .GetText(_.locators._datePickerValue, "val")
.then(($date) => expect($date).to.not.eq(""));
- agHelper
- .GetText(locator._textWidgetInDeployed)
+ _.agHelper
+ .GetText(_.locators._textWidgetInDeployed)
.then(($date) => expect($date).to.not.eq("Date: Invalid date"));
- table.SelectTableRow(4); //Asserting here table is available for selection
- table.ReadTableRowColumnData(4, 0, 200).then(($cellData) => {
+ _.table.SelectTableRow(4); //Asserting here _.table is available for selection
+ _.table.ReadTableRowColumnData(4, 0, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("713");
});
- agHelper
- .GetText(locator._datePickerValue, "val")
+ _.agHelper
+ .GetText(_.locators._datePickerValue, "val")
.then(($date) => expect($date).to.eq(""));
- agHelper
- .GetText(locator._textWidgetInDeployed)
+ _.agHelper
+ .GetText(_.locators._textWidgetInDeployed)
.then(($date) => expect($date).to.eq("Date: Invalid date"));
- table.NavigateToNextPage(false);
- table.WaitUntilTableLoad();
- table.SelectTableRow(1); //Asserting here table is available for selection
- table.ReadTableRowColumnData(1, 0, 200).then(($cellData) => {
+ _.table.NavigateToNextPage(false, "v1");
+ _.table.WaitUntilTableLoad();
+ _.table.SelectTableRow(1); //Asserting here _.table is available for selection
+ _.table.ReadTableRowColumnData(1, 0, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("286");
});
- agHelper
- .GetText(locator._datePickerValue, "val")
+ _.agHelper
+ .GetText(_.locators._datePickerValue, "val")
.then(($date) => expect($date).to.eq(""));
- agHelper
- .GetText(locator._textWidgetInDeployed)
+ _.agHelper
+ .GetText(_.locators._textWidgetInDeployed)
.then(($date) => expect($date).to.eq("Date: Invalid date"));
});
- it("4. Verify Deletion of the datasource after all created queries are Deleted", () => {
- deployMode.NavigateBacktoEditor();
- agHelper.AssertContains("ran successfully"); //runAstros triggered on PageLaoad of Edit page!
- ee.ExpandCollapseEntity("Queries/JS");
- ee.ActionContextMenuByEntityName(
- "getAstronauts",
- "Delete",
- "Are you sure?",
- );
- ee.ActionContextMenuByEntityName(
- "JSObject1",
- "Delete",
- "Are you sure?",
- true,
- );
- deployMode.DeployApp(locator._widgetInDeployed("tablewidget"), false);
- deployMode.NavigateBacktoEditor();
- ee.ExpandCollapseEntity("Datasources");
- dataSources.DeleteDatasouceFromWinthinDS(dsName, 200); //ProductLines, Employees pages are still using this ds
- });
+ after(
+ "Verify Deletion of the datasource after all created queries are Deleted",
+ () => {
+ _.deployMode.NavigateBacktoEditor();
+ _.agHelper.AssertContains("ran successfully"); //runAstros triggered on PageLaoad of Edit page!
+ _.entityExplorer.ExpandCollapseEntity("Queries/JS");
+ _.entityExplorer.ActionContextMenuByEntityName(
+ "getAstronauts",
+ "Delete",
+ "Are you sure?",
+ );
+ _.entityExplorer.ActionContextMenuByEntityName(
+ "JSObject1",
+ "Delete",
+ "Are you sure?",
+ true,
+ );
+ _.deployMode.DeployApp(
+ _.locators._widgetInDeployed("tablewidget"),
+ false,
+ );
+ _.deployMode.NavigateBacktoEditor();
+ _.entityExplorer.ExpandCollapseEntity("Datasources");
+ _.dataSources.DeleteDatasouceFromWinthinDS(dsName, 200); //ProductLines, Employees pages are still using this ds
+ },
+ );
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/CreateNewApp_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/CreateNewApp_spec.js
index b66414c47897..ec71c8ba19d7 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/CreateNewApp_spec.js
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/CreateNewApp_spec.js
@@ -22,6 +22,16 @@ describe("Creating new app after discontinuing guided tour should not start the
}
});
datasources.CloseReconnectDataSourceModal(); // Check if reconnect data source modal is visible and close it
+
+ cy.get("body").then(($ele) => {
+ if ($ele.find(guidedTourLocators.startBuilding).length == 0) {
+ cy.get(commonlocators.homeIcon).click({ force: true });
+ cy.get(guidedTourLocators.welcomeTour)
+ .click()
+ .wait(4000);
+ }
+ });
+
cy.get(guidedTourLocators.startBuilding).should("be.visible");
// Go back to applications page
cy.get(commonlocators.homeIcon).click({ force: true });
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/GuidedTour_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/GuidedTour_spec.js
index 58f5b622d937..55636a75257f 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/GuidedTour_spec.js
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Onboarding/GuidedTour_spec.js
@@ -50,6 +50,7 @@ describe("Guided Tour", function() {
cy.wait(1000);
cy.get(guidedTourLocators.inputfields)
.first()
+ .clear({ force: true })
.click({ force: true }); //Name input
cy.testJsontext("defaultvalue", "{{CustomersTable.selectedRow.name}}");
}
@@ -58,6 +59,7 @@ describe("Guided Tour", function() {
// Step 5: Add binding to the rest of the widgets in the container
cy.get(guidedTourLocators.inputfields)
.eq(1)
+ .clear({ force: true })
.click({ force: true }); //Email input
cy.testJsontext("defaultvalue", "{{CustomersTable.selectedRow.email}}");
cy.get(".t--entity-name")
@@ -66,6 +68,7 @@ describe("Guided Tour", function() {
cy.wait(1000);
cy.get(guidedTourLocators.inputfields)
.eq(2)
+ .clear({ force: true })
.click({ force: true }); //Country input
cy.testJsontext("defaultvalue", "{{CustomersTable.selectedRow.country}}");
cy.get(".t--entity-name")
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Widget_Error_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Widget_Error_spec.js
index 55c41951db59..a568c708790e 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Widget_Error_spec.js
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/OtherUIFeatures/Widget_Error_spec.js
@@ -71,13 +71,13 @@ describe("Widget error state", function() {
_.entityExplorer.DragDropWidgetNVerify(WIDGET.TABLE, 150, 300);
_.entityExplorer.SelectEntityByName("Table1", "Widgets");
- _.tableV2.AddColumn("customColumn1");
+ _.table.AddColumn("customColumn1");
_.propPane.OpenTableColumnSettings("customColumn1");
_.propPane.UpdatePropertyFieldValue("Computed Value", "{{test}}");
_.debuggerHelper.AssertDebugError("test is not defined", "", false, false);
- _.tableV2.DeleteColumn("customColumn1");
+ _.table.DeleteColumn("customColumn1");
_.debuggerHelper.DebuggerListDoesnotContain("test is not defined");
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Childwigets/Listv2_Button_Widget_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Childwigets/Listv2_Button_Widget_spec.js
deleted file mode 100644
index 9e2042bfede0..000000000000
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Childwigets/Listv2_Button_Widget_spec.js
+++ /dev/null
@@ -1,41 +0,0 @@
-const dsl = require("../../../../../../fixtures/Listv2/simpleListWithInputAndButton.json");
-const commonlocators = require("../../../../../../locators/commonlocators.json");
-
-const widgetSelector = (name) => `[data-widgetname-cy="${name}"]`;
-const toggleJSButton = (name) => `.t--property-control-${name} .t--js-toggle`;
-
-describe("List v2- Tabs Widget", () => {
- before(() => {
- cy.addDsl(dsl);
- });
-
- it("1. should not throw error when on click event is changed No Action", () => {
- cy.openPropertyPaneByWidgetName("Button1", "buttonwidget");
-
- // Enable JS mode for onClick
- cy.get(toggleJSButton("onclick")).click({ force: true });
-
- cy.testJsontext("onclick", "{{showAlert('Hello')}}");
-
- cy.get(widgetSelector("Button1"))
- .find("button")
- .click({ force: true });
-
- cy.get(commonlocators.toastmsg).contains("Hello");
-
- // Wait for toastmsg to close
- cy.wait(1000);
- cy.get(commonlocators.toastmsg).should("not.exist");
-
- // Clear the event
- cy.testJsontext("onclick", "");
-
- cy.get(widgetSelector("Button1"))
- .find("button")
- .click({ force: true });
-
- cy.wait(1000);
-
- cy.get(commonlocators.toastmsg, { timeout: 500 }).should("not.exist");
- });
-});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Childwigets/Listv2_Button_Widget_spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Childwigets/Listv2_Button_Widget_spec.ts
new file mode 100644
index 000000000000..a97d3f1ade31
--- /dev/null
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/ListV2/Childwigets/Listv2_Button_Widget_spec.ts
@@ -0,0 +1,29 @@
+import * as _ from "../../../../../../support/Objects/ObjectsCore";
+
+describe("List v2- Tabs Widget", () => {
+ before(() => {
+ cy.fixture("/Listv2/simpleListWithInputAndButton").then((val) => {
+ _.agHelper.AddDsl(val);
+ });
+ });
+
+ it("1. should not throw error when on click event is changed No Action", () => {
+ _.entityExplorer.ExpandCollapseEntity("List1");
+ _.entityExplorer.ExpandCollapseEntity("Container1");
+ _.entityExplorer.SelectEntityByName("Button1");
+ _.propPane.EnterJSContext("onClick", "{{showAlert('Hello')}}");
+ _.agHelper.Sleep();
+ _.agHelper.ClickButton("Submit");
+ _.agHelper.ValidateToastMessage("Hello");
+
+ // Wait for toastmsg to close
+ _.agHelper.WaitUntilAllToastsDisappear();
+
+ // Clear the event
+ _.propPane.UpdatePropertyFieldValue("onClick", "");
+ _.agHelper.Sleep();
+ _.agHelper.ClickButton("Submit");
+
+ _.agHelper.AssertElementAbsence(_.locators._specificToast("Hello"));
+ });
+});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/TableFilter1_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/TableFilter1_Spec.ts
index ce56a54a4b38..3dc0233d7699 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/TableFilter1_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/TableFilter1_Spec.ts
@@ -30,7 +30,7 @@ describe("Verify various Table_Filter combinations", function() {
});
it("2. Table Widget Search Functionality", function() {
- table.ReadTableRowColumnData(1, 3, 2000).then((cellData) => {
+ table.ReadTableRowColumnData(1, 3,"v1", 2000).then((cellData) => {
expect(cellData).to.eq("Lindsay Ferguson");
table.SearchTable(cellData);
table.ReadTableRowColumnData(0, 3).then((afterSearch) => {
@@ -187,10 +187,10 @@ describe("Verify various Table_Filter combinations", function() {
table.ReadTableRowColumnData(0, 4).then(($cellData) => {
expect($cellData).to.eq("Chicken Sandwich");
});
- table.ReadTableRowColumnData(1, 4, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Beef steak");
});
- table.ReadTableRowColumnData(2, 4, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 4, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Chicken Sandwich");
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/TableFilter2_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/TableFilter2_Spec.ts
index 8d8a8e6d8f3f..f5297cbc8d8f 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/TableFilter2_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV1/TableFilter2_Spec.ts
@@ -158,7 +158,7 @@ describe("Verify various Table_Filter combinations", function() {
table.ReadTableRowColumnData(0, 3).then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Lindsay Ferguson");
});
@@ -177,10 +177,10 @@ describe("Verify various Table_Filter combinations", function() {
table.ReadTableRowColumnData(0, 3).then(($cellData) => {
expect($cellData).to.eq("Tobias Funke");
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v1",200).then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
- table.ReadTableRowColumnData(2, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3, "v1",200).then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
@@ -193,13 +193,13 @@ describe("Verify various Table_Filter combinations", function() {
table.ReadTableRowColumnData(0, 3).then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3,"v1", 200).then(($cellData) => {
expect($cellData).to.eq("Lindsay Ferguson");
});
- table.ReadTableRowColumnData(2, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
- table.ReadTableRowColumnData(3, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(3, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
@@ -212,7 +212,7 @@ describe("Verify various Table_Filter combinations", function() {
table.ReadTableRowColumnData(0, 3).then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
@@ -234,10 +234,10 @@ describe("Verify various Table_Filter combinations", function() {
table.ReadTableRowColumnData(0, 3).then(($cellData) => {
expect($cellData).to.eq("Lindsay Ferguson");
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
- table.ReadTableRowColumnData(2, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
table.RemoveFilterNVerify("2381224", true, false);
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2Filter1_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2Filter1_Spec.ts
index 3bdafbf221f2..432088470457 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2Filter1_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2Filter1_Spec.ts
@@ -3,7 +3,7 @@ import { ObjectsRegistry } from "../../../../../support/Objects/Registry";
let dataSet: any;
const agHelper = ObjectsRegistry.AggregateHelper,
ee = ObjectsRegistry.EntityExplorer,
- table = ObjectsRegistry.TableV2,
+ table = ObjectsRegistry.Table,
homePage = ObjectsRegistry.HomePage,
deployMode = ObjectsRegistry.DeployMode,
propPane = ObjectsRegistry.PropertyPane;
@@ -31,134 +31,134 @@ describe("Verify various Table_Filter combinations", function() {
From this PR onwards columns with number data (like id and orderAmount here)
will be auto-assigned as "NUMBER" type column
*/
- table.ChangeColumnTypeV2("id", "Plain Text");
- table.ChangeColumnTypeV2("orderAmount", "Plain Text");
+ table.ChangeColumnType("id", "Plain Text", "v2");
+ table.ChangeColumnType("orderAmount", "Plain Text", "v2");
deployMode.DeployApp();
});
it("2. Table Widget Search Functionality", function() {
- table.ReadTableRowColumnData(1, 3).then((cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v2").then((cellData) => {
expect(cellData).to.eq("Lindsay Ferguson");
table.SearchTable(cellData);
- table.ReadTableRowColumnData(0, 3).then((afterSearch) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then((afterSearch) => {
expect(afterSearch).to.eq("Lindsay Ferguson");
});
});
- table.RemoveSearchTextNVerify("2381224");
+ table.RemoveSearchTextNVerify("2381224", "v2");
table.SearchTable("7434532");
- table.ReadTableRowColumnData(0, 3).then((afterSearch) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then((afterSearch) => {
expect(afterSearch).to.eq("Byron Fields");
});
- table.RemoveSearchTextNVerify("2381224");
+ table.RemoveSearchTextNVerify("2381224", "v2");
});
it("3. Verify Table Filter for 'contain'", function() {
table.OpenNFilterTable("userName", "contains", "Lindsay");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Lindsay Ferguson");
});
- table.RemoveFilterNVerify("2381224");
+ table.RemoveFilterNVerify("2381224", true, true, 0, "v2");
});
it("4. Verify Table Filter for 'does not contain'", function() {
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Tuna Salad");
});
table.OpenNFilterTable("productName", "does not contain", "Tuna");
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Beef steak");
});
- table.RemoveFilterNVerify("2381224");
+ table.RemoveFilterNVerify("2381224", true, true, 0, "v2");
});
it("5. Verify Table Filter for 'starts with'", function() {
- table.ReadTableRowColumnData(4, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(4, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Avocado Panini");
});
table.OpenNFilterTable("productName", "starts with", "Avo");
- table.ReadTableRowColumnData(0, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Avocado Panini");
});
- table.RemoveFilterNVerify("2381224");
+ table.RemoveFilterNVerify("2381224", true, true, 0, "v2");
});
it("6. Verify Table Filter for 'ends with' - case sensitive", function() {
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Tuna Salad");
});
table.OpenNFilterTable("productName", "ends with", "wich");
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Chicken Sandwich");
});
- table.RemoveFilterNVerify("2381224");
+ table.RemoveFilterNVerify("2381224", true, true, 0, "v2");
});
it("7. Verify Table Filter for 'ends with' - case insenstive", function() {
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Tuna Salad");
});
table.OpenNFilterTable("productName", "ends with", "WICH");
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Chicken Sandwich");
});
- table.RemoveFilterNVerify("2381224");
+ table.RemoveFilterNVerify("2381224", true, true, 0, "v2");
});
it("8. Verify Table Filter for 'ends with' - on wrong column", function() {
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Tuna Salad");
});
table.OpenNFilterTable("userName", "ends with", "WICH");
- table.WaitForTableEmpty();
- table.RemoveFilterNVerify("2381224");
+ table.WaitForTableEmpty("v2");
+ table.RemoveFilterNVerify("2381224", true, true, 0, "v2");
});
it("9. Verify Table Filter for 'is exactly' - case sensitive", function() {
- table.ReadTableRowColumnData(2, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Beef steak");
});
table.OpenNFilterTable("productName", "is exactly", "Beef steak");
- table.ReadTableRowColumnData(0, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Beef steak");
});
- table.RemoveFilterNVerify("2381224", true);
+ table.RemoveFilterNVerify("2381224", true, true, 0, "v2");
});
it("10. Verify Table Filter for 'is exactly' - case insensitive", function() {
- table.ReadTableRowColumnData(2, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Beef steak");
});
table.OpenNFilterTable("productName", "is exactly", "Beef STEAK");
- table.WaitForTableEmpty();
- table.RemoveFilterNVerify("2381224", true);
+ table.WaitForTableEmpty("v2");
+ table.RemoveFilterNVerify("2381224", true, true, 0, "v2");
});
it("11. Verify Table Filter for 'empty'", function() {
table.OpenNFilterTable("email", "empty");
- table.WaitForTableEmpty();
- table.RemoveFilterNVerify("2381224");
+ table.WaitForTableEmpty("v2");
+ table.RemoveFilterNVerify("2381224", true, true, 0, "v2");
});
it("12. Verify Table Filter for 'not empty'", function() {
- table.ReadTableRowColumnData(4, 5).then(($cellData) => {
+ table.ReadTableRowColumnData(4, 5, "v2").then(($cellData) => {
expect($cellData).to.eq("7.99");
});
table.OpenNFilterTable("orderAmount", "not empty");
- table.ReadTableRowColumnData(4, 5).then(($cellData) => {
+ table.ReadTableRowColumnData(4, 5, "v2").then(($cellData) => {
expect($cellData).to.eq("7.99");
});
- table.RemoveFilterNVerify("2381224");
+ table.RemoveFilterNVerify("2381224", true, true, 0, "v2");
});
it("13. Verify Table Filter - Where Edit - Change condition along with input value", function() {
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
table.OpenNFilterTable("orderAmount", "is exactly", "4.99");
- table.ReadTableRowColumnData(1, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
@@ -168,7 +168,7 @@ describe("Verify various Table_Filter combinations", function() {
.contains("empty")
.click();
agHelper.ClickButton("APPLY");
- table.WaitForTableEmpty();
+ table.WaitForTableEmpty("v2");
//Change condition - 2nd time
agHelper.GetNClick(table._filterConditionDropdown);
@@ -180,25 +180,25 @@ describe("Verify various Table_Filter combinations", function() {
.type("19")
.wait(500);
agHelper.ClickButton("APPLY");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Tobias Funke");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false, 0, "v2");
});
it("14. Verify Table Filter - Where Edit - Single Column, Condition & input value", function() {
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
table.OpenNFilterTable("productName", "contains", "e");
- table.ReadTableRowColumnData(0, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Chicken Sandwich");
});
- table.ReadTableRowColumnData(1, 4, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4, "v2", 200).then(($cellData) => {
expect($cellData).to.eq("Beef steak");
});
- table.ReadTableRowColumnData(2, 4, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 4, "v2", 200).then(($cellData) => {
expect($cellData).to.eq("Chicken Sandwich");
});
@@ -208,10 +208,10 @@ describe("Verify various Table_Filter combinations", function() {
.contains("does not contain")
.click();
agHelper.ClickButton("APPLY");
- table.ReadTableRowColumnData(0, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Tuna Salad");
});
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4, "v2").then(($cellData) => {
expect($cellData).to.eq("Avocado Panini");
});
@@ -225,7 +225,7 @@ describe("Verify various Table_Filter combinations", function() {
.contains("does not contain")
.click();
agHelper.ClickButton("APPLY");
- table.WaitForTableEmpty();
+ table.WaitForTableEmpty("v2");
//Change input value
agHelper
@@ -234,101 +234,101 @@ describe("Verify various Table_Filter combinations", function() {
.type("i")
.wait(500);
agHelper.ClickButton("APPLY");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false, 0, "v2");
});
it("15. Verify Table Filter for OR operator - different row match", function() {
- table.ReadTableRowColumnData(2, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Tobias Funke");
});
table.OpenNFilterTable("email", "contains", "on");
- table.ReadTableRowColumnData(2, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
table.OpenNFilterTable("productName", "ends with", "steak", "OR", 1);
- table.ReadTableRowColumnData(2, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Tobias Funke");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false, 0, "v2");
});
it("16. Verify Table Filter for OR operator - same row match", function() {
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
table.OpenNFilterTable("email", "contains", "hol");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
table.OpenNFilterTable("userName", "starts with", "ry", "OR", 1);
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false, 0, "v2");
});
it("17. Verify Table Filter for OR operator - two 'ORs'", function() {
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
table.OpenNFilterTable("email", "starts with", "by");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
table.OpenNFilterTable("productName", "ends with", "ni", "OR", 1);
- table.ReadTableRowColumnData(1, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
table.OpenNFilterTable("userName", "contains", "law", "OR", 2);
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false, 0, "v2");
});
it("18. Verify Table Filter for AND operator - different row match", function() {
- table.ReadTableRowColumnData(3, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(3, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
table.OpenNFilterTable("userName", "starts with", "b");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
table.OpenNFilterTable("productName", "does not contain", "WICH", "AND", 1);
- table.WaitForTableEmpty();
- table.RemoveFilterNVerify("2381224", true, false);
+ table.WaitForTableEmpty("v2");
+ table.RemoveFilterNVerify("2381224", true, false, 0, "v2");
});
it("19. Verify Table Filter for AND operator - same row match", function() {
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
table.OpenNFilterTable("userName", "ends with", "s");
- table.ReadTableRowColumnData(1, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
table.OpenNFilterTable("orderAmount", "is exactly", "4.99", "AND", 1);
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false, 0, "v2");
});
it("20. Verify Table Filter for AND operator - same row match - edit input text value", function() {
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
table.OpenNFilterTable("userName", "ends with", "s");
- table.ReadTableRowColumnData(1, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
table.OpenNFilterTable("orderAmount", "is exactly", "4.99", "AND", 1);
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
agHelper
@@ -337,9 +337,9 @@ describe("Verify various Table_Filter combinations", function() {
.type("7.99")
.wait(500);
agHelper.ClickButton("APPLY");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v2").then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false, 0, "v2");
});
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2Filter2_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2Filter2_Spec.ts
index 29958ff8995c..80e45bbd0d02 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2Filter2_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2Filter2_Spec.ts
@@ -3,7 +3,7 @@ import { ObjectsRegistry } from "../../../../../support/Objects/Registry";
let dataSet: any;
const agHelper = ObjectsRegistry.AggregateHelper,
ee = ObjectsRegistry.EntityExplorer,
- table = ObjectsRegistry.TableV2,
+ table = ObjectsRegistry.Table,
homePage = ObjectsRegistry.HomePage,
deployMode = ObjectsRegistry.DeployMode,
propPane = ObjectsRegistry.PropertyPane;
@@ -31,22 +31,22 @@ describe("Verify various Table_Filter combinations", function() {
From this PR onwards columns with number data (like id and orderAmount here)
will be auto-assigned as "NUMBER" type column
*/
- table.ChangeColumnTypeV2("id", "Plain Text");
- table.ChangeColumnTypeV2("orderAmount", "Plain Text");
+ table.ChangeColumnType("id", "Plain Text",'v2');
+ table.ChangeColumnType("orderAmount", "Plain Text",'v2');
deployMode.DeployApp();
});
it("2. Verify Table Filter for AND operator - same row match - Where Edit - input value", function() {
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
table.OpenNFilterTable("userName", "ends with", "s");
- table.ReadTableRowColumnData(1, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
table.OpenNFilterTable("orderAmount", "is exactly", "4.99", "AND", 1);
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
agHelper
@@ -55,87 +55,87 @@ describe("Verify various Table_Filter combinations", function() {
.type("7.99")
.wait(500);
agHelper.ClickButton("APPLY");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false,0,'v2');
});
it("3. Verify Table Filter for AND operator - two 'ANDs' - clearAll", function() {
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
table.OpenNFilterTable("id", "contains", "7434532");
- table.ReadTableRowColumnData(1, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
table.OpenNFilterTable("productName", "contains", "i", "AND", 1);
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
table.OpenNFilterTable("orderAmount", "starts with", "7", "AND", 2);
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false,0,'v2');
});
it("4. Verify Table Filter for AND operator - two 'ANDs' - removeOne filter condition + Bug 12638", function() {
table.OpenNFilterTable("id", "contains", "2");
- table.ReadTableRowColumnData(1, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Lindsay Ferguson");
});
table.OpenNFilterTable("productName", "ends with", "WICH", "AND", 1);
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
table.OpenNFilterTable("userName", "does not contain", "son", "AND", 2);
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
- table.RemoveFilterNVerify("7434532", false, true, 1);
+ table.RemoveFilterNVerify("7434532", false, true, 1,'v2');
//Bug 12638
- table.ReadTableRowColumnData(1, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false,0,'v2');
});
it("5. Verify Table Filter for AND operator - two 'ANDs' - removeOne filter twice + Bug 12638", function() {
table.OpenNFilterTable("id", "starts with", "2");
- table.ReadTableRowColumnData(1, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Lindsay Ferguson");
});
table.OpenNFilterTable("productName", "ends with", "WICH", "AND", 1);
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
table.OpenNFilterTable("userName", "contains", "on", "AND", 2);
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
- table.RemoveFilterNVerify("2381224", false, true, 1);
- table.RemoveFilterNVerify("2381224", false, true, 0);
+ table.RemoveFilterNVerify("2381224", false, true, 1, 'v2');
+ table.RemoveFilterNVerify("2381224", false, true, 0,'v2');
//Bug 12638 - verification to add here - once closed
- table.ReadTableRowColumnData(1, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Lindsay Ferguson");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false,0,'v2');
});
it("6. Verify Table Filter for changing from AND -> OR -> AND", function() {
table.OpenNFilterTable("id", "contains", "7");
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4,'v2').then(($cellData) => {
expect($cellData).to.eq("Beef steak");
});
table.OpenNFilterTable("productName", "contains", "I", "AND", 1);
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4,'v2').then(($cellData) => {
expect($cellData).to.eq("Avocado Panini");
});
table.OpenNFilterTable("userName", "starts with", "r", "AND", 2);
- table.ReadTableRowColumnData(0, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 4,'v2').then(($cellData) => {
expect($cellData).to.eq("Avocado Panini");
});
@@ -145,7 +145,7 @@ describe("Verify various Table_Filter combinations", function() {
.click();
agHelper.ClickButton("APPLY");
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4,'v2').then(($cellData) => {
expect($cellData).to.eq("Tuna Salad");
});
@@ -155,23 +155,23 @@ describe("Verify various Table_Filter combinations", function() {
.click();
agHelper.ClickButton("APPLY");
- table.ReadTableRowColumnData(0, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 4,'v2').then(($cellData) => {
expect($cellData).to.eq("Avocado Panini");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false,0,'v2');
});
it("7. Verify Table Filter for changing from AND -> OR -> along with changing Where clause condions", function() {
table.OpenNFilterTable("id", "starts with", "2");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v2",200).then(($cellData) => {
expect($cellData).to.eq("Lindsay Ferguson");
});
table.OpenNFilterTable("orderAmount", "contains", "19", "OR", 1);
- table.ReadTableRowColumnData(2, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Tobias Funke");
});
@@ -182,13 +182,13 @@ describe("Verify various Table_Filter combinations", function() {
.type("7")
.wait(500);
agHelper.ClickButton("APPLY");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Tobias Funke");
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3,'v2',200).then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
- table.ReadTableRowColumnData(2, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3, 'v2', 200).then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
@@ -198,16 +198,16 @@ describe("Verify various Table_Filter combinations", function() {
.contains("does not contain")
.click();
agHelper.ClickButton("APPLY");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Michael Lawson");
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3,'v2', 200).then(($cellData) => {
expect($cellData).to.eq("Lindsay Ferguson");
});
- table.ReadTableRowColumnData(2, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3,'v2', 200).then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
- table.ReadTableRowColumnData(3, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(3, 3,'v2', 200).then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
@@ -217,10 +217,10 @@ describe("Verify various Table_Filter combinations", function() {
.contains("AND")
.click();
agHelper.ClickButton("APPLY");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, 'v2',200).then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
@@ -239,30 +239,30 @@ describe("Verify various Table_Filter combinations", function() {
.type("9")
.wait(500);
agHelper.ClickButton("APPLY");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Lindsay Ferguson");
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, 'v2',200).then(($cellData) => {
expect($cellData).to.eq("Byron Fields");
});
- table.ReadTableRowColumnData(2, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3,'v2', 200).then(($cellData) => {
expect($cellData).to.eq("Ryan Holmes");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false,0,'v2');
});
//Skipping until bug closed
it.skip("8. Verify Table Filter for changing from AND -> OR [Remove a filter] -> AND + Bug 12642", function() {
table.OpenNFilterTable("id", "contains", "7");
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4,'v2').then(($cellData) => {
expect($cellData).to.eq("Beef steak");
});
table.OpenNFilterTable("productName", "contains", "I", "AND", 1);
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4,'v2').then(($cellData) => {
expect($cellData).to.eq("Avocado Panini");
});
table.OpenNFilterTable("userName", "starts with", "r", "AND", 2);
- table.ReadTableRowColumnData(0, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 4,'v2').then(($cellData) => {
expect($cellData).to.eq("Avocado Panini");
});
@@ -272,11 +272,11 @@ describe("Verify various Table_Filter combinations", function() {
.click();
agHelper.ClickButton("APPLY");
- table.ReadTableRowColumnData(1, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4,'v2').then(($cellData) => {
expect($cellData).to.eq("Tuna Salad");
});
- table.RemoveFilterNVerify("2381224", false, true, 0); //Verifies bug 12642
+ table.RemoveFilterNVerify("2381224", false, true, 0,'v2');; //Verifies bug 12642
agHelper.GetNClick(table._filterOperatorDropdown);
cy.get(table._dropdownText)
@@ -284,10 +284,10 @@ describe("Verify various Table_Filter combinations", function() {
.click();
agHelper.ClickButton("APPLY");
- table.ReadTableRowColumnData(0, 4).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 4,'v2').then(($cellData) => {
expect($cellData).to.eq("Avocado Panini");
});
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false,0,'v2');
});
it("9. Verify Full table data - download csv and download Excel", function() {
@@ -302,7 +302,7 @@ describe("Verify various Table_Filter combinations", function() {
it("10. Verify Searched data - download csv and download Excel", function() {
table.SearchTable("7434532");
- table.ReadTableRowColumnData(0, 3).then((afterSearch) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then((afterSearch) => {
expect(afterSearch).to.eq("Byron Fields");
});
@@ -314,7 +314,7 @@ describe("Verify various Table_Filter combinations", function() {
table.DownloadFromTable("Download as Excel");
table.ValidateDownloadNVerify("Table1.xlsx", "Ryan Holmes");
- table.RemoveSearchTextNVerify("2381224");
+ table.RemoveSearchTextNVerify("2381224",'v2');
table.DownloadFromTable("Download as CSV");
table.ValidateDownloadNVerify("Table1.csv", "2736212");
@@ -325,7 +325,7 @@ describe("Verify various Table_Filter combinations", function() {
it("11. Verify Filtered data - download csv and download Excel", function() {
table.OpenNFilterTable("id", "starts with", "6");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Tobias Funke");
});
table.CloseFilter();
@@ -339,7 +339,7 @@ describe("Verify various Table_Filter combinations", function() {
table.ValidateDownloadNVerify("Table1.xlsx", "[email protected]");
agHelper.GetNClick(table._filterBtn);
- table.RemoveFilterNVerify("2381224", true, false);
+ table.RemoveFilterNVerify("2381224", true, false,0,'v2');
table.DownloadFromTable("Download as CSV");
table.ValidateDownloadNVerify("Table1.csv", "Tuna Salad");
@@ -350,16 +350,16 @@ describe("Verify various Table_Filter combinations", function() {
it("12. Import TableFilter application & verify all filters for same FirstName (one word column) + Bug 13334", () => {
deployMode.NavigateBacktoEditor();
- table.WaitUntilTableLoad();
+ table.WaitUntilTableLoad(0,0,'v2');
homePage.NavigateToHome();
homePage.ImportApp("Table/TableFilterImportApp.json");
homePage.AssertImportToast();
deployMode.DeployApp();
- table.WaitUntilTableLoad();
+ table.WaitUntilTableLoad(0,0,'v2');
//Contains
table.OpenNFilterTable("FirstName", "contains", "Della");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Alvarado");
});
@@ -373,7 +373,7 @@ describe("Verify various Table_Filter combinations", function() {
filterOnlyCondition("empty", "0");
filterOnlyCondition("not empty", "50");
filterOnlyCondition("starts with", "3", "ge");
- table.ReadTableRowColumnData(0, 3).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,'v2').then(($cellData) => {
expect($cellData).to.eq("Chandler");
});
@@ -387,13 +387,13 @@ describe("Verify various Table_Filter combinations", function() {
.then(($count) => expect($count).contain("2"));
table.OpenFilter();
- table.RemoveFilterNVerify("1", true, false);
+ table.RemoveFilterNVerify("1", true, false, 0, 'v2');
});
it("13. Verify all filters for same FullName (two word column) + Bug 13334", () => {
//Contains
table.OpenNFilterTable("FullName", "contains", "torres");
- table.ReadTableRowColumnData(0, 2).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 2, "v2").then(($cellData) => {
expect($cellData).to.eq("Virgie");
});
@@ -404,7 +404,7 @@ describe("Verify various Table_Filter combinations", function() {
filterOnlyCondition("empty", "0");
filterOnlyCondition("not empty", "50");
filterOnlyCondition("contains", "1", "wolf");
- table.ReadTableRowColumnData(0, 2).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 2,"v2").then(($cellData) => {
expect($cellData).to.eq("Teresa");
});
@@ -424,7 +424,7 @@ describe("Verify various Table_Filter combinations", function() {
.then(($count) => expect($count).contain("3"));
table.OpenFilter();
- table.RemoveFilterNVerify("1", true, false);
+ table.RemoveFilterNVerify("1", true, false, 0, 'v2');
});
it("14. Verify Table Filter for correct value in filter value input after removing second filter - Bug 12638", function() {
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_Url_Column_spec.ts b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_Url_Column_spec.ts
index f6c9ae64f364..6d9d52494db6 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_Url_Column_spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_Url_Column_spec.ts
@@ -1,7 +1,7 @@
import { ObjectsRegistry } from "../../../../../support/Objects/Registry";
const agHelper = ObjectsRegistry.AggregateHelper,
- table = ObjectsRegistry.TableV2;
+ table = ObjectsRegistry.Table;
describe("16108 - Verify Table URL column bugs", function() {
before(() => {
@@ -11,11 +11,11 @@ describe("16108 - Verify Table URL column bugs", function() {
});
it("Verify click on URL column with display text takes to the correct link", function() {
- table.ReadTableRowColumnData(0, 0).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v2").then(($cellData) => {
expect($cellData).to.eq("Profile pic");
});
- table.ReadTableRowColumnData(3, 0).then(($cellData) => {
+ table.ReadTableRowColumnData(3, 0, "v2").then(($cellData) => {
expect($cellData).to.eq("Profile pic");
});
@@ -23,11 +23,13 @@ describe("16108 - Verify Table URL column bugs", function() {
0,
0,
"https://randomuser.me/api/portraits/med/women/39.jpg",
+ "v2",
);
table.AssertURLColumnNavigation(
3,
0,
"https://randomuser.me/api/portraits/med/men/52.jpg",
+ "v2",
);
});
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_spec.js
index 8337bc8ddd02..106a9942526f 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_spec.js
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Widgets/TableV2/TableV2_spec.js
@@ -5,7 +5,7 @@ const publish = require("../../../../../locators/publishWidgetspage.json");
const dsl = require("../../../../../fixtures/tableV2WidgetDsl.json");
import { ObjectsRegistry } from "../../../../../support/Objects/Registry";
-const table = ObjectsRegistry.TableV2;
+const table = ObjectsRegistry.Table;
const PropPane = ObjectsRegistry.PropertyPane;
describe("Table Widget V2 Functionality", function() {
diff --git a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/DeleteWorkspace_spec.js b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/DeleteWorkspace_spec.js
index 0c1d698a40fa..1a320d09944f 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/DeleteWorkspace_spec.js
+++ b/app/client/cypress/integration/Regression_TestSuite/ClientSideTests/Workspace/DeleteWorkspace_spec.js
@@ -29,9 +29,7 @@ describe("Delete workspace test spec", function() {
newWorkspaceName = uid;
_.homePage.CreateNewWorkspace(newWorkspaceName);
cy.wait(500);
- cy.contains(".cs-text", "Delete Workspace")
- .scrollIntoView()
- .click();
+ cy.contains(".cs-text", "Delete Workspace"); //only to check if Delete workspace is shown to an admin user
_.homePage.InviteUserToWorkspace(
newWorkspaceName,
Cypress.env("TESTUSERNAME1"),
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Datatypes/MySQL_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Datatypes/MySQL_Spec.ts
index 081919d03e5e..c73bb43cdbf5 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Datatypes/MySQL_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Datatypes/MySQL_Spec.ts
@@ -88,7 +88,7 @@ describe("MySQL Datatype tests", function() {
cy.wait(2000);
inputData.result.forEach((res_array, i) => {
res_array.forEach((value, j) => {
- table.ReadTableRowColumnData(j, i, 0).then(($cellData) => {
+ table.ReadTableRowColumnData(j, i, "v1",0).then(($cellData) => {
if (i === inputData.result.length - 1) {
const obj = JSON.parse($cellData);
expect(JSON.stringify(obj)).to.eq(JSON.stringify(value));
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Mongo_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Mongo_Spec.ts
index 452566f72462..e45e27636d53 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Mongo_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Mongo_Spec.ts
@@ -98,13 +98,13 @@ describe("Validate Mongo CRUD with JSON Form", () => {
//Validating loaded table
agHelper.AssertElementExist(dataSources._selectedRow);
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq(col1Text);
});
- table.ReadTableRowColumnData(0, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3,"v1", 200).then(($cellData) => {
expect($cellData).to.eq(col2Text);
});
- table.ReadTableRowColumnData(0, 6, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 6,"v1", 200).then(($cellData) => {
expect($cellData).to.eq(col3Text);
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL1_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL1_Spec.ts
index 4399218a6957..3940619f8185 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL1_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL1_Spec.ts
@@ -169,25 +169,25 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => {
//Validating loaded table
agHelper.AssertElementExist(dataSources._selectedRow);
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0,"v1", 2000).then(($cellData) => {
expect($cellData).to.eq("Classic Cars");
});
- table.ReadTableRowColumnData(1, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0,"v1", 200).then(($cellData) => {
expect($cellData).to.eq("Motorcycles");
});
- table.ReadTableRowColumnData(2, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0,"v1", 200).then(($cellData) => {
expect($cellData).to.eq("Planes");
});
- table.ReadTableRowColumnData(3, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(3, 0,"v1", 200).then(($cellData) => {
expect($cellData).to.eq("Ships");
});
- table.ReadTableRowColumnData(4, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(4, 0, "v1",200).then(($cellData) => {
expect($cellData).to.eq("Trains");
});
- table.ReadTableRowColumnData(5, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 0,"v1",200).then(($cellData) => {
expect($cellData).to.eq("Trucks and Buses");
});
- table.ReadTableRowColumnData(6, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(6, 0,"v1", 200).then(($cellData) => {
expect($cellData).to.eq("Vintage Cars");
});
//Validating loaded JSON form
@@ -233,7 +233,7 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => {
table.AssertSelectedRow(3);
//validating update happened fine!
- table.ReadTableRowColumnData(3, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(3, 2,"v1", 200).then(($cellData) => {
expect($cellData).to.eq(
"The largest cruise ship is twice the length of the Washington Monument. Some cruise ships have virtual balconies.",
);
@@ -303,13 +303,13 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => {
//Validating loaded table
agHelper.AssertElementExist(dataSources._selectedRow);
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0,"v1", 2000).then(($cellData) => {
expect($cellData).to.eq(col1Text);
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1,"v1", 200).then(($cellData) => {
expect($cellData).to.eq(col2Text);
});
- table.ReadTableRowColumnData(0, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 2,"v1", 200).then(($cellData) => {
expect($cellData).to.eq(col3Text);
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL2_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL2_Spec.ts
index 8bf13087e6ad..c3582a5bedf3 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL2_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/MySQL2_Spec.ts
@@ -184,14 +184,14 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => {
agHelper.GetNClick(dataSources._refreshIcon);
//Store Address deletion remains
- table.ReadTableRowColumnData(4, 3, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(4, 3,"v1", 2000).then(($cellData) => {
expect($cellData).to.eq("");
});
- table.ReadTableRowColumnData(7, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(7, 3,"v1", 200).then(($cellData) => {
expect($cellData).to.eq("");
});
- table.ReadTableRowColumnData(5, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 0,"v1", 200).then(($cellData) => {
expect($cellData).not.eq("2132"); //Deleted record Store_ID
});
@@ -320,7 +320,7 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => {
agHelper.ValidateNetworkStatus("@postExecute", 200);
agHelper.Sleep(3000); //for Delete to reflect!
table.AssertSelectedRow(0); //Control going back to 1st row in table
- table.ReadTableRowColumnData(0, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0,"v1", 200).then(($cellData) => {
expect($cellData).not.eq("2105"); //Deleted record Store_ID
});
});
@@ -376,13 +376,13 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => {
//Validating loaded table
agHelper.AssertElementExist(dataSources._selectedRow);
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0,"v1", 2000).then(($cellData) => {
expect($cellData).to.eq(col1Text);
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1,"v1", 200).then(($cellData) => {
expect($cellData).to.eq(col2Text);
});
- table.ReadTableRowColumnData(0, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 2,"v1", 200).then(($cellData) => {
expect($cellData).to.eq(col3Text);
});
@@ -400,7 +400,7 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => {
function generateStoresSecretInfo(rowIndex: number) {
let secretInfo: string = "";
- table.ReadTableRowColumnData(rowIndex, 3, 200).then(($cellData: any) => {
+ table.ReadTableRowColumnData(rowIndex, 3,"v1", 200).then(($cellData: any) => {
var points = $cellData.match(/((.*))/).pop(); //(/(?<=\()).+?(?=\))/g)
let secretCode: string[] = (points as string).split(",");
secretCode[0] = secretCode[0].slice(0, 5);
@@ -427,7 +427,7 @@ describe("Validate MySQL Generate CRUD with JSON Form", () => {
table.AssertSelectedRow(rowIndex);
//validating update happened fine!
- table.ReadTableRowColumnData(rowIndex, colIndex, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(rowIndex, colIndex,"v1", 200).then(($cellData) => {
expect($cellData).to.eq(expectedTableData);
});
}
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres1_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres1_Spec.ts
index 9f1d88243228..b6bd9146310e 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres1_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres1_Spec.ts
@@ -129,13 +129,13 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => {
//Validating loaded table
agHelper.AssertElementExist(dataSources._selectedRow);
- table.ReadTableRowColumnData(0, 1, 4000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 4000).then(($cellData) => {
expect($cellData).to.eq(col1Text);
});
- table.ReadTableRowColumnData(0, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq(col2Text);
});
- table.ReadTableRowColumnData(0, 4, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 4, "v1", 200).then(($cellData) => {
expect($cellData).to.eq(col3Text);
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres2_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres2_Spec.ts
index 396ff36c5370..a41631850c20 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres2_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/GenerateCRUD/Postgres2_Spec.ts
@@ -93,34 +93,34 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => {
//Validating loaded table
agHelper.AssertElementExist(dataSources._selectedRow);
- table.ReadTableRowColumnData(0, 2, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 2, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("EMMA MAERSK");
});
- table.ReadTableRowColumnData(1, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("ECLIPSE");
});
- table.ReadTableRowColumnData(2, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("QUEEN ELIZABETH");
});
- table.ReadTableRowColumnData(3, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(3, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("QUEEN MARY 2");
});
- table.ReadTableRowColumnData(4, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(4, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("OASIS OF THE SEAS");
});
- table.ReadTableRowColumnData(5, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("TIME BANDIT");
});
- table.ReadTableRowColumnData(6, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(6, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("PAUL R TREGURTHA");
});
- table.ReadTableRowColumnData(7, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(7, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("WIZARD");
});
- table.ReadTableRowColumnData(8, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(8, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("NORTHWESTERN");
});
- table.ReadTableRowColumnData(9, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(9, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("EVER GIVEN");
});
@@ -140,7 +140,7 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => {
table.WaitUntilTableLoad();
// //Delete the test data
// ee.ActionContextMenuByEntityName("Productlines", "Delete", "Are you sure?");
- // agHelper.ValidateNetworkStatus("@deletePage", 200);
+ // agHelper.ValidateNetworkStatus("@deletePage" , 200);
});
it("5. Update the UpdateQuery to update all columns from UI", () => {
@@ -242,40 +242,40 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => {
it("7. Verify Update data from Deploy page - on Vessels - existing record", () => {
updateNVerify(5, 2, "DISNEY DREAM");
- table.ReadTableRowColumnData(5, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("France");
});
- table.ReadTableRowColumnData(5, 4, 100).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 4, "v1", 100).then(($cellData) => {
expect($cellData).to.eq("SYDNEY");
});
- table.ReadTableRowColumnData(5, 5, 100).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 5, "v1", 100).then(($cellData) => {
expect($cellData).to.eq("FR BAY");
});
- table.ReadTableRowColumnData(5, 6, 100).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 6, "v1", 100).then(($cellData) => {
expect($cellData).to.eq("Pleasure Craft");
});
- table.ReadTableRowColumnData(5, 7, 100).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 7, "v1", 100).then(($cellData) => {
expect($cellData).to.eq("-7");
});
- table.ReadTableRowColumnData(5, 8, 100).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 8, "v1", 100).then(($cellData) => {
expect($cellData).to.eq("Underway by Sail");
});
- table.ReadTableRowColumnData(5, 9, 100).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 9, "v1", 100).then(($cellData) => {
expect($cellData).to.eq("2017");
});
- table.ReadTableRowColumnData(5, 10, 100).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 10, "v1", 100).then(($cellData) => {
expect($cellData).to.eq("BSEA - Black Sea");
});
- table.ReadTableRowColumnData(5, 11, 100).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 11, "v1", 100).then(($cellData) => {
expect($cellData).to.eq("17.6");
});
- table.ReadTableRowColumnData(5, 12, 100).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 12, "v1", 100).then(($cellData) => {
expect($cellData).to.contain(23);
});
- table.ReadTableRowColumnData(5, 13, 100).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 13, "v1", 100).then(($cellData) => {
expect($cellData).to.eq("303");
});
- table.ReadTableRowColumnData(5, 14, 100).then(($cellData) => {
+ table.ReadTableRowColumnData(5, 14, "v1", 100).then(($cellData) => {
expect($cellData).to.eq("BAYONNE");
});
});
@@ -357,14 +357,14 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => {
agHelper.GetNClick(dataSources._refreshIcon);
//Store Address deletion remains
- table.ReadTableRowColumnData(7, 3, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(7, 3, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("");
});
- table.ReadTableRowColumnData(7, 4, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(7, 4, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("");
});
- table.ReadTableRowColumnData(1, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 200).then(($cellData) => {
expect($cellData).not.eq("371584"); //Deleted record ship_id should not be present anymore!
});
@@ -590,7 +590,7 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => {
agHelper.ValidateNetworkStatus("@postExecute", 200);
table.AssertSelectedRow(0); //Control going back to 1st row in table
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).not.eq("159180"); //Deleted record Store_ID
});
});
@@ -658,13 +658,13 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => {
//Validating loaded table
agHelper.AssertElementExist(dataSources._selectedRow);
- table.ReadTableRowColumnData(0, 1, 4000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1,"v1", 4000).then(($cellData) => {
expect($cellData).to.eq(col1Text);
});
- table.ReadTableRowColumnData(0, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq(col2Text);
});
- table.ReadTableRowColumnData(0, 4, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 4, "v1", 200).then(($cellData) => {
expect($cellData).to.eq(col3Text);
});
@@ -682,22 +682,28 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => {
function generateCallsignInfo(rowIndex: number) {
//let callSign: string = "";
- table.ReadTableRowColumnData(rowIndex, 9, 200).then(($yearBuilt: any) => {
- table.ReadTableRowColumnData(rowIndex, 11, 200).then(($areaCode: any) => {
- table.ReadTableRowColumnData(rowIndex, 3, 200).then(($country: any) => {
- const callSign =
- ($country as string).slice(0, 2) +
- ($areaCode as string).slice(0, 3) +
- ($yearBuilt as string).slice(0, 2); //(/(?<=\()).+?(?=\))/g)
- deployMode.ClearJSONFieldValue("Callsign");
- deployMode.EnterJSONInputValue("Callsign", callSign);
- cy.xpath(deployMode._jsonFormFieldByName("Callsign", true))
- .invoke("attr", "type")
- .should("eq", "password");
- cy.wrap(callSign).as("Callsign");
- });
+ table
+ .ReadTableRowColumnData(rowIndex, 9, "v1", 200)
+ .then(($yearBuilt: any) => {
+ table
+ .ReadTableRowColumnData(rowIndex, 11, "v1", 200)
+ .then(($areaCode: any) => {
+ table
+ .ReadTableRowColumnData(rowIndex, 3, "v1", 200)
+ .then(($country: any) => {
+ const callSign =
+ ($country as string).slice(0, 2) +
+ ($areaCode as string).slice(0, 3) +
+ ($yearBuilt as string).slice(0, 2); //(/(?<=\()).+?(?=\))/g)
+ deployMode.ClearJSONFieldValue("Callsign");
+ deployMode.EnterJSONInputValue("Callsign", callSign);
+ cy.xpath(deployMode._jsonFormFieldByName("Callsign", true))
+ .invoke("attr", "type")
+ .should("eq", "password");
+ cy.wrap(callSign).as("Callsign");
+ });
+ });
});
- });
}
function updateNVerify(
@@ -713,9 +719,11 @@ describe("Validate Postgres Generate CRUD with JSON Form", () => {
table.AssertSelectedRow(rowIndex); //Validate Primary key column selection
//validating update happened fine!
- table.ReadTableRowColumnData(rowIndex, colIndex, 200).then(($cellData) => {
- expect($cellData).to.eq(expectedTableData);
- });
+ table
+ .ReadTableRowColumnData(rowIndex, colIndex, "v1", 200)
+ .then(($cellData) => {
+ expect($cellData).to.eq(expectedTableData);
+ });
}
function updatingVesselsJSONPropertyFileds() {
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/JsFunctionExecution/JSFunctionExecution_spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/JsFunctionExecution/JSFunctionExecution_spec.ts
index 8210c5794d23..4d18360ebfdc 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/JsFunctionExecution/JSFunctionExecution_spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/JsFunctionExecution/JSFunctionExecution_spec.ts
@@ -242,7 +242,7 @@ describe("JS Function Execution", function() {
// Deploy App and test that table loads properly
deployMode.DeployApp();
table.WaitUntilTableLoad();
- table.ReadTableRowColumnData(0, 1, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //validating id column value - row 0
deployMode.NavigateBacktoEditor();
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Params/PassingParams_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Params/PassingParams_Spec.ts
index 8ada6ef617a7..558244a0042b 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Params/PassingParams_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Params/PassingParams_Spec.ts
@@ -32,7 +32,11 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
_.entityExplorer.SelectEntityByName("Button1", "Widgets");
cy.get("@jsObjName").then((jsObjName) => {
jsName = jsObjName;
- _.propPane.SelectJSFunctionToExecute("onClick", jsName as string, "myFun1");
+ _.propPane.SelectJSFunctionToExecute(
+ "onClick",
+ jsName as string,
+ "myFun1",
+ );
});
_.entityExplorer.SelectEntityByName("Table1");
_.propPane.UpdatePropertyFieldValue("Table Data", "{{ParamsTest.data}}");
@@ -44,7 +48,7 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
_.agHelper.SelectDropDown("7");
_.agHelper.ClickButton("Submit");
_.agHelper.ValidateNetworkExecutionSuccess("@postExecute");
- _.table.ReadTableRowColumnData(0, 0, 3000).then((cellData) => {
+ _.table.ReadTableRowColumnData(0, 0, "v1", 3000).then((cellData) => {
expect(cellData).to.be.equal("7");
});
});
@@ -59,7 +63,7 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
_.agHelper.SelectDropDown("9");
_.agHelper.ClickButton("Submit");
_.agHelper.ValidateNetworkExecutionSuccess("@postExecute");
- _.table.ReadTableRowColumnData(0, 0, 2000).then((cellData) => {
+ _.table.ReadTableRowColumnData(0, 0, "v1", 2000).then((cellData) => {
expect(cellData).to.be.equal("9");
});
});
@@ -74,7 +78,7 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
_.agHelper.SelectDropDown("7");
_.agHelper.ClickButton("Submit");
_.agHelper.ValidateNetworkExecutionSuccess("@postExecute");
- _.table.ReadTableRowColumnData(0, 0, 2000).then((cellData) => {
+ _.table.ReadTableRowColumnData(0, 0, "v1", 2000).then((cellData) => {
expect(cellData).to.be.equal("7");
});
});
@@ -89,7 +93,7 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
_.agHelper.SelectDropDown("9");
_.agHelper.ClickButton("Submit");
_.agHelper.ValidateNetworkExecutionSuccess("@postExecute");
- _.table.ReadTableRowColumnData(0, 0, 2000).then((cellData) => {
+ _.table.ReadTableRowColumnData(0, 0, "v1", 2000).then((cellData) => {
expect(cellData).to.be.equal("9");
});
});
@@ -104,7 +108,7 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
_.agHelper.SelectDropDown("7");
_.agHelper.ClickButton("Submit");
_.agHelper.ValidateNetworkExecutionSuccess("@postExecute");
- _.table.ReadTableRowColumnData(0, 0, 2000).then((cellData) => {
+ _.table.ReadTableRowColumnData(0, 0, "v1", 2000).then((cellData) => {
expect(cellData).to.be.equal("7");
});
});
@@ -119,7 +123,7 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
_.agHelper.SelectDropDown("9");
_.agHelper.ClickButton("Submit");
_.agHelper.ValidateNetworkExecutionSuccess("@postExecute");
- _.table.ReadTableRowColumnData(0, 0, 2000).then((cellData) => {
+ _.table.ReadTableRowColumnData(0, 0, "v1", 2000).then((cellData) => {
expect(cellData).to.be.equal("9");
});
});
@@ -134,7 +138,7 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
_.agHelper.SelectDropDown("7");
_.agHelper.ClickButton("Submit");
_.agHelper.ValidateNetworkExecutionSuccess("@postExecute");
- _.table.ReadTableRowColumnData(0, 0, 2000).then((cellData) => {
+ _.table.ReadTableRowColumnData(0, 0, "v1", 2000).then((cellData) => {
expect(cellData).to.be.equal("7");
});
});
@@ -149,7 +153,7 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
_.agHelper.SelectDropDown("8");
_.agHelper.ClickButton("Submit");
_.agHelper.ValidateNetworkExecutionSuccess("@postExecute");
- _.table.ReadTableRowColumnData(0, 0, 2000).then((cellData) => {
+ _.table.ReadTableRowColumnData(0, 0, "v1", 2000).then((cellData) => {
expect(cellData).to.be.equal("8");
});
});
@@ -164,7 +168,7 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
_.agHelper.SelectDropDown("9");
_.agHelper.ClickButton("Submit");
_.agHelper.ValidateNetworkExecutionSuccess("@postExecute");
- _.table.ReadTableRowColumnData(0, 0, 2000).then((cellData) => {
+ _.table.ReadTableRowColumnData(0, 0, "v1", 2000).then((cellData) => {
expect(cellData).to.be.equal("9");
});
});
@@ -183,7 +187,7 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
).within(() => cy.get(_.locators._crossBtn).click());
_.agHelper.ClickButton("Submit");
_.agHelper.ValidateNetworkExecutionSuccess("@postExecute");
- _.table.ReadTableRowColumnData(0, 0, 2000).then((cellData) => {
+ _.table.ReadTableRowColumnData(0, 0, "v1", 2000).then((cellData) => {
expect(cellData).to.be.equal("7");
});
});
@@ -197,7 +201,7 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
_.deployMode.DeployApp(_.locators._spanButton("Submit"));
_.agHelper.ClickButton("Submit");
_.agHelper.ValidateNetworkExecutionSuccess("@postExecute");
- _.table.ReadTableRowColumnData(0, 0, 2000).then((cellData) => {
+ _.table.ReadTableRowColumnData(0, 0, "v1", 2000).then((cellData) => {
expect(cellData).to.be.equal("8");
});
});
@@ -205,7 +209,11 @@ describe("[Bug] - 10784 - Passing params from JS to SQL query should not break",
it("12. Delete all entities - Query, JSObjects, Datasource + Bug 12532", () => {
_.deployMode.NavigateBacktoEditor();
_.entityExplorer.ExpandCollapseEntity("Queries/JS");
- _.entityExplorer.ActionContextMenuByEntityName("ParamsTest", "Delete", "Are you sure?");
+ _.entityExplorer.ActionContextMenuByEntityName(
+ "ParamsTest",
+ "Delete",
+ "Are you sure?",
+ );
_.agHelper.ValidateNetworkStatus("@deleteAction", 200);
_.entityExplorer.ActionContextMenuByEntityName(
jsName as string,
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Array_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Array_Spec.ts
index fdc4bd210c02..d22277241c4a 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Array_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Array_Spec.ts
@@ -101,10 +101,10 @@ describe("Array Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locator._toastMsg); //Assert that Insert did not fail
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
@@ -119,10 +119,10 @@ describe("Array Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(1, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
@@ -140,10 +140,10 @@ describe("Array Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
@@ -164,13 +164,13 @@ describe("Array Datatype tests", function() {
agHelper.ClickButton("Update");
agHelper.AssertElementAbsence(locator._toastMsg); //Assert that Update did not fail
agHelper.AssertElementVisible(locator._spanButton("Run UpdateQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3");
});
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //Since recently updated column to pushed to last!
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
@@ -607,10 +607,10 @@ describe("Array Datatype tests", function() {
agHelper.ValidateNetworkStatus("@postExecute", 200);
agHelper.ValidateNetworkStatus("@postExecute", 200);
agHelper.Sleep(2500); //Allwowing time for delete to be success
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).not.to.eq("3"); //asserting 2nd record is deleted
});
- table.ReadTableRowColumnData(1, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("2");
});
});
@@ -632,10 +632,10 @@ describe("Array Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Binary_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Binary_Spec.ts
index 4c06db09e0a5..50edb46ade80 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Binary_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Binary_Spec.ts
@@ -106,7 +106,7 @@ describe("Binary Datatype tests", function() {
table.ReadTableRowColumnData(0, 0).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Bridge.jpg");
});
table.AssertTableRowImageColumnIsLoaded(0, 2).then(($oldimage) => {
@@ -134,7 +134,7 @@ describe("Binary Datatype tests", function() {
table.ReadTableRowColumnData(1, 0).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(1, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Georgia.jpeg");
});
table.AssertTableRowImageColumnIsLoaded(1, 2).then(($oldimage) => {
@@ -162,7 +162,7 @@ describe("Binary Datatype tests", function() {
table.ReadTableRowColumnData(2, 0).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Maine.jpeg");
});
table.AssertTableRowImageColumnIsLoaded(2, 2).then(($oldimage) => {
@@ -188,10 +188,10 @@ describe("Binary Datatype tests", function() {
agHelper.AssertElementAbsence(locator._spinner, 20000); //for the update row to appear at last
table.WaitUntilTableLoad();
agHelper.Sleep(10000); //some more time for rows to rearrange!
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("NewJersey.jpeg");
});
table.AssertTableRowImageColumnIsLoaded(2, 2).then(($oldimage) => {
@@ -345,7 +345,7 @@ describe("Binary Datatype tests", function() {
table.ReadTableRowColumnData(1, 0).then(($cellData) => {
expect($cellData).not.to.eq("3"); //asserting 2nd record is deleted
});
- table.ReadTableRowColumnData(1, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("2");
});
});
@@ -372,10 +372,10 @@ describe("Binary Datatype tests", function() {
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
table.WaitUntilTableLoad();
agHelper.Sleep(2000); //for all rows with images to be populated
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Massachusetts.jpeg");
});
table.AssertTableRowImageColumnIsLoaded(0, 2).then(($oldimage) => {
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/BooleanEnum_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/BooleanEnum_Spec.ts
index 526f36479a08..95c79e7487f7 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/BooleanEnum_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/BooleanEnum_Spec.ts
@@ -114,13 +114,13 @@ describe("Boolean & Enum Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locator._toastMsg); //Assert that Insert did not fail
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Monday");
});
- table.ReadTableRowColumnData(0, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("true");
});
});
@@ -132,13 +132,13 @@ describe("Boolean & Enum Datatype tests", function() {
agHelper.ToggleSwitch("Areweworking", "uncheck");
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(1, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Saturday");
});
- table.ReadTableRowColumnData(1, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("false");
});
});
@@ -150,13 +150,13 @@ describe("Boolean & Enum Datatype tests", function() {
agHelper.ToggleSwitch("Areweworking", "uncheck");
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Friday");
});
- table.ReadTableRowColumnData(2, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("false");
});
});
@@ -169,13 +169,13 @@ describe("Boolean & Enum Datatype tests", function() {
agHelper.ClickButton("Update");
agHelper.AssertElementAbsence(locator._toastMsg); //Assert that Update did not fail
agHelper.AssertElementVisible(locator._spanButton("Run UpdateQuery"));
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Friday");
});
- table.ReadTableRowColumnData(2, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("true");
});
});
@@ -216,10 +216,10 @@ describe("Boolean & Enum Datatype tests", function() {
agHelper.ValidateNetworkStatus("@postExecute", 200);
agHelper.ValidateNetworkStatus("@postExecute", 200);
agHelper.Sleep(2500); //Allwowing time for delete to be success
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).not.to.eq("2"); //asserting 2nd record is deleted
});
- table.ReadTableRowColumnData(1, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("3");
});
});
@@ -238,13 +238,13 @@ describe("Boolean & Enum Datatype tests", function() {
agHelper.ToggleSwitch("Areweworking", "check");
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Wednesday");
});
- table.ReadTableRowColumnData(0, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("true");
});
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Character_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Character_Spec.ts
index c5479b68c0e6..c2872341a6f3 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Character_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Character_Spec.ts
@@ -93,19 +93,19 @@ describe("Character Datatype tests", function() {
agHelper.AssertElementVisible(locator._modal);
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq(" "); //white space for padding length!
});
- table.ReadTableRowColumnData(0, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("");
});
- table.ReadTableRowColumnData(0, 5, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 5, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.eq(0);
});
- table.ReadTableRowColumnData(0, 6, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 6, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.eq(0);
});
});
@@ -127,19 +127,19 @@ describe("Character Datatype tests", function() {
);
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(1, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("a");
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Ocea"); //asserting only 4 chars are inserted due to column dt constraint
});
- table.ReadTableRowColumnData(1, 5, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 5, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.be.greaterThan(0); //asserting length columns
});
- table.ReadTableRowColumnData(1, 6, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 6, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.be.greaterThan(0); //asserting length columns
});
});
@@ -161,19 +161,19 @@ describe("Character Datatype tests", function() {
);
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("<");
});
- table.ReadTableRowColumnData(2, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Plan");
});
- table.ReadTableRowColumnData(2, 5, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 5, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.be.greaterThan(0);
});
- table.ReadTableRowColumnData(2, 6, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 6, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.be.greaterThan(0);
});
});
@@ -192,19 +192,19 @@ describe("Character Datatype tests", function() {
agHelper.ClearInputText("Unlimited", false);
agHelper.ClickButton("Update");
agHelper.AssertElementVisible(locator._spanButton("Run UpdateQuery"));
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq(">");
});
- table.ReadTableRowColumnData(2, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Flig");
});
- table.ReadTableRowColumnData(2, 5, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 5, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.be.greaterThan(0);
});
- table.ReadTableRowColumnData(2, 6, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 6, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.eq(0);
});
});
@@ -215,10 +215,10 @@ describe("Character Datatype tests", function() {
agHelper.ValidateNetworkStatus("@postExecute", 200);
agHelper.ValidateNetworkStatus("@postExecute", 200);
agHelper.Sleep(2500); //Allwowing time for delete to be success
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).not.to.eq("2"); //asserting 2nd record is deleted
});
- table.ReadTableRowColumnData(1, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("3");
});
});
@@ -240,20 +240,20 @@ describe("Character Datatype tests", function() {
);
agHelper.ClickButton("Update");
agHelper.AssertElementVisible(locator._spanButton("Run UpdateQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
//since record updated is moving to last row in table - BUg 14347!
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(1, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq(" "); //Not updating one column
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("Tram");
});
- table.ReadTableRowColumnData(1, 5, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 5, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.be.greaterThan(0);
});
- table.ReadTableRowColumnData(1, 6, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 6, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.be.greaterThan(0);
});
});
@@ -274,19 +274,19 @@ describe("Character Datatype tests", function() {
);
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("e");
});
- table.ReadTableRowColumnData(2, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq(""); //asserting empty field inserted
});
- table.ReadTableRowColumnData(2, 5, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 5, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.be.greaterThan(0); //asserting length columns
});
- table.ReadTableRowColumnData(2, 6, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 6, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.be.greaterThan(0); //asserting length columns
});
});
@@ -295,10 +295,10 @@ describe("Character Datatype tests", function() {
table.SelectTableRow(1);
agHelper.ClickButton("DeleteQuery", 1);
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).not.to.eq("3"); //asserting 3rd record is deleted
});
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4");
});
});
@@ -315,19 +315,19 @@ describe("Character Datatype tests", function() {
agHelper.AssertElementVisible(locator._modal);
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("5"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq(" ");
});
- table.ReadTableRowColumnData(0, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("");
});
- table.ReadTableRowColumnData(0, 5, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 5, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.eq(0);
});
- table.ReadTableRowColumnData(0, 6, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 6, "v1", 200).then(($cellData) => {
expect(Number($cellData)).to.eq(0);
});
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/DateTime_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/DateTime_Spec.ts
index 61618e11b077..69f217fb9ae0 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/DateTime_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/DateTime_Spec.ts
@@ -135,21 +135,21 @@ describe("DateTime Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($ts) => {
- table.ReadTableRowColumnData(0, 2, 200).then(($tstz) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($ts) => {
+ table.ReadTableRowColumnData(0, 2, "v1", 200).then(($tstz) => {
expect($ts).to.not.eq($tstz); //ts & tstz not equal since tstz is time zone applied
});
});
- table.ReadTableRowColumnData(0, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("1989-01-19"); //date format!
});
- table.ReadTableRowColumnData(0, 4, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 4, "v1",200).then(($cellData) => {
expect($cellData).to.eq("16:05:00"); //time format
});
- table.ReadTableRowColumnData(0, 6, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 6, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("6 years 5 mons 4 days 3 hours 2 mins 1.0 secs"); //Interval format!
});
table.ReadTableRowColumnData(0, 7).then(($cellData) => {
@@ -173,24 +173,24 @@ describe("DateTime Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(1, 1, 200).then(($ts) => {
- table.ReadTableRowColumnData(1, 2, 200).then(($tstz) => {
+ table.ReadTableRowColumnData(1, 1, "v1",200).then(($ts) => {
+ table.ReadTableRowColumnData(1, 2, "v1", 200).then(($tstz) => {
expect($ts).to.not.eq($tstz); //ts & tstz not equal since tstz is time zone applied
});
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v1",200).then(($cellData) => {
expect($cellData).to.eq("2045-12-29");
});
- table.ReadTableRowColumnData(1, 4, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4, "v1",200).then(($cellData) => {
expect($cellData).to.eq("04:05:00");
});
- table.ReadTableRowColumnData(1, 6, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 6, "v1",200).then(($cellData) => {
expect($cellData).to.eq("0 years 0 mons 3 days 4 hours 5 mins 6.0 secs");
});
- table.ReadTableRowColumnData(1, 7, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 7, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("29.12.2045");
});
agHelper
@@ -211,24 +211,24 @@ describe("DateTime Datatype tests", function() {
agHelper.ClickButton("Update");
agHelper.AssertElementVisible(locator._spanButton("Run UpdateQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is same
});
- table.ReadTableRowColumnData(1, 1, 200).then(($ts) => {
- table.ReadTableRowColumnData(1, 2, 200).then(($tstz) => {
+ table.ReadTableRowColumnData(1, 1, "v1",200).then(($ts) => {
+ table.ReadTableRowColumnData(1, 2, "v1",200).then(($tstz) => {
expect($ts).to.not.eq($tstz);
});
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v1",200).then(($cellData) => {
expect($cellData).to.eq("2014-03-17");
});
- table.ReadTableRowColumnData(1, 4, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4, "v1",200).then(($cellData) => {
expect($cellData).to.eq("04:05:06.789");
});
- table.ReadTableRowColumnData(1, 6, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 6, "v1",200).then(($cellData) => {
expect($cellData).to.eq("1 years 3 mons 2 days 6 hours 4 mins 5.0 secs");
});
- table.ReadTableRowColumnData(1, 7, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 7,"v1", 200).then(($cellData) => {
expect($cellData).to.eq("17.03.2014");
});
agHelper
@@ -259,24 +259,24 @@ describe("DateTime Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(1, 1, 200).then(($ts) => {
- table.ReadTableRowColumnData(1, 2, 200).then(($tstz) => {
+ table.ReadTableRowColumnData(1, 1, "v1", 200).then(($ts) => {
+ table.ReadTableRowColumnData(1, 2, "v1",200).then(($tstz) => {
expect($ts).to.not.eq($tstz); //ts & tstz not equal since tstz is time zone applied
});
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v1",200).then(($cellData) => {
expect($cellData).to.eq("1999-01-08");
});
- table.ReadTableRowColumnData(1, 4, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 4, "v1",200).then(($cellData) => {
expect($cellData).to.eq("18:14:16");
});
- table.ReadTableRowColumnData(1, 6, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 6, "v1",200).then(($cellData) => {
expect($cellData).to.eq("1 years 2 mons 0 days 0 hours 0 mins 0.0 secs");
});
- table.ReadTableRowColumnData(1, 7, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 7, "v1",200).then(($cellData) => {
expect($cellData).to.eq("08.01.1999");
});
agHelper
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Json_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Json_Spec.ts
index 8d4c631c0ab9..a9d1eafc46f2 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Json_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Json_Spec.ts
@@ -109,10 +109,10 @@ describe("Json & JsonB Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locator._toastMsg); //Assert that Insert did not fail
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
@@ -129,10 +129,10 @@ describe("Json & JsonB Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(1, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
@@ -149,10 +149,10 @@ describe("Json & JsonB Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
@@ -170,13 +170,13 @@ describe("Json & JsonB Datatype tests", function() {
agHelper.ClickButton("Update");
agHelper.AssertElementAbsence(locator._toastMsg); //Assert that Update did not fail
agHelper.AssertElementVisible(locator._spanButton("Run UpdateQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3");
});
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //Since recently updated column to pushed to last!
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
@@ -271,10 +271,10 @@ describe("Json & JsonB Datatype tests", function() {
agHelper.ValidateNetworkStatus("@postExecute", 200);
agHelper.ValidateNetworkStatus("@postExecute", 200);
agHelper.Sleep(2500); //Allwowing time for delete to be success
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).not.to.eq("3"); //asserting 2nd record is deleted
});
- table.ReadTableRowColumnData(1, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("2");
});
});
@@ -302,10 +302,10 @@ describe("Json & JsonB Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
@@ -462,10 +462,10 @@ describe("Json & JsonB Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementAbsence(locator._toastMsg); //Assert that Insert did not fail
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
@@ -488,10 +488,10 @@ describe("Json & JsonB Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(1, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
@@ -511,10 +511,10 @@ describe("Json & JsonB Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0,"v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1",200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
@@ -543,13 +543,13 @@ describe("Json & JsonB Datatype tests", function() {
agHelper.ClickButton("Update");
agHelper.AssertElementAbsence(locator._toastMsg); //Assert that Update did not fail
agHelper.AssertElementVisible(locator._spanButton("Run UpdateQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3");
});
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //Since recently updated column to pushed to last!
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
@@ -639,10 +639,10 @@ describe("Json & JsonB Datatype tests", function() {
agHelper.ValidateNetworkStatus("@postExecute", 200);
agHelper.ValidateNetworkStatus("@postExecute", 200);
agHelper.Sleep(2500); //Allwowing time for delete to be success
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).not.to.eq("3"); //asserting 2nd record is deleted
});
- table.ReadTableRowColumnData(1, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("1");
});
});
@@ -674,10 +674,10 @@ describe("Json & JsonB Datatype tests", function() {
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).not.to.eq("");
});
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Numeric_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Numeric_Spec.ts
index 377e188e9806..a32743867b83 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Numeric_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/Numeric_Spec.ts
@@ -95,16 +95,16 @@ describe("Numeric Datatype tests", function() {
agHelper.EnterInputText("Numericid", "2147483647.2147484"); //2147483647.2147483647
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("922337203685477");
});
- table.ReadTableRowColumnData(0, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("865456.987654567");
});
- table.ReadTableRowColumnData(0, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("2147483647.2147484");
});
});
@@ -117,16 +117,16 @@ describe("Numeric Datatype tests", function() {
agHelper.EnterInputText("Numericid", "9877700000.143423"); //9877700000.14342340008876
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(1, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("-922337203685477"); //-9223372036854775808
});
- table.ReadTableRowColumnData(1, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 2, "v1",200).then(($cellData) => {
expect($cellData).to.eq("232143455655456.34");
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("9877700000.143423");
});
});
@@ -139,16 +139,16 @@ describe("Numeric Datatype tests", function() {
agHelper.EnterInputText("Numericid", "86542300099.1"); //86542300099.1000099999876
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("12233720368547758");
});
- table.ReadTableRowColumnData(2, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 2, "v1",200).then(($cellData) => {
expect($cellData).to.eq("877675655441232.1");
});
- table.ReadTableRowColumnData(2, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("86542300099.1");
});
});
@@ -162,16 +162,16 @@ describe("Numeric Datatype tests", function() {
agHelper.EnterInputText("Numericid", "76542300099.10988", true); //76542300099.109876788
agHelper.ClickButton("Update");
agHelper.AssertElementVisible(locator._spanButton("Run UpdateQuery"));
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1",2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("11233720368547758");
});
- table.ReadTableRowColumnData(2, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("777675655441232.1");
});
- table.ReadTableRowColumnData(2, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3, "v1",200).then(($cellData) => {
expect($cellData).to.eq("76542300099.10988");
});
});
@@ -182,10 +182,10 @@ describe("Numeric Datatype tests", function() {
agHelper.ValidateNetworkStatus("@postExecute", 200);
agHelper.ValidateNetworkStatus("@postExecute", 200);
agHelper.Sleep(2500); //Allwowing time for delete to be success
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1",2000).then(($cellData) => {
expect($cellData).not.to.eq("2"); //asserting 2nd record is deleted
});
- table.ReadTableRowColumnData(1, 0, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1",200).then(($cellData) => {
expect($cellData).to.eq("3");
});
});
@@ -199,16 +199,16 @@ describe("Numeric Datatype tests", function() {
agHelper.EnterInputText("Numericid", "66542300099.00088", true); //66542300099.0008767675
agHelper.ClickButton("Update");
agHelper.AssertElementVisible(locator._spanButton("Run UpdateQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1",2000).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(1, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("11133720368547700");
});
- table.ReadTableRowColumnData(1, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 2, "v1",200).then(($cellData) => {
expect($cellData).to.eq("777575655441232.1");
});
- table.ReadTableRowColumnData(1, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("66542300099.00088");
});
});
@@ -221,16 +221,16 @@ describe("Numeric Datatype tests", function() {
agHelper.EnterInputText("Numericid", "87654356.98765436"); // 87654356.987654356
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(2, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("11111720368547700");
});
- table.ReadTableRowColumnData(2, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 2, "v1",200).then(($cellData) => {
expect($cellData).to.eq("8765456.987654345");
});
- table.ReadTableRowColumnData(2, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(2, 3, "v1",200).then(($cellData) => {
expect($cellData).to.eq("87654356.98765436");
});
});
@@ -239,10 +239,10 @@ describe("Numeric Datatype tests", function() {
table.SelectTableRow(1);
agHelper.ClickButton("DeleteQuery", 1);
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1", 2000).then(($cellData) => {
expect($cellData).not.to.eq("3"); //asserting 3rd record is deleted
});
- table.ReadTableRowColumnData(1, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(1, 0, "v1",2000).then(($cellData) => {
expect($cellData).to.eq("4");
});
});
@@ -262,16 +262,16 @@ describe("Numeric Datatype tests", function() {
agHelper.EnterInputText("Numericid", "87654356.98765436"); // 87654356.9876543567
agHelper.ClickButton("Insert");
agHelper.AssertElementVisible(locator._spanButton("Run InsertQuery"));
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1",2000).then(($cellData) => {
expect($cellData).to.eq("5"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("11111720368547700");
});
- table.ReadTableRowColumnData(0, 2, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 2, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("8765456.987654345");
});
- table.ReadTableRowColumnData(0, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq("87654356.98765436");
});
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/UUID_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/UUID_Spec.ts
index 68227c02b812..08bbb587f8ea 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/UUID_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/Postgres_DataTypes/UUID_Spec.ts
@@ -116,16 +116,16 @@ describe("UUID Datatype tests", function() {
table.ReadTableRowColumnData(0, 0).then(($cellData) => {
expect($cellData).to.eq("1"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($v1) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($v1) => {
expect($v1).not.empty;
});
- table.ReadTableRowColumnData(0, 2, 200).then(($v4) => {
+ table.ReadTableRowColumnData(0, 2, "v1", 200).then(($v4) => {
expect($v4).not.empty;
});
- table.ReadTableRowColumnData(0, 3, 200).then(($guid) => {
+ table.ReadTableRowColumnData(0, 3, "v1", 200).then(($guid) => {
expect($guid).not.empty;
});
- table.ReadTableRowColumnData(0, 4, 200).then(($nil) => {
+ table.ReadTableRowColumnData(0, 4, "v1", 200).then(($nil) => {
expect($nil).not.empty;
});
});
@@ -145,16 +145,16 @@ describe("UUID Datatype tests", function() {
table.ReadTableRowColumnData(1, 0).then(($cellData) => {
expect($cellData).to.eq("2"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(1, 1, 200).then(($v1) => {
+ table.ReadTableRowColumnData(1, 1, "v1", 200).then(($v1) => {
expect($v1).not.empty;
});
- table.ReadTableRowColumnData(1, 2, 200).then(($v4) => {
+ table.ReadTableRowColumnData(1, 2, "v1", 200).then(($v4) => {
expect($v4).not.empty;
});
- table.ReadTableRowColumnData(1, 3, 200).then(($guid) => {
+ table.ReadTableRowColumnData(1, 3, "v1", 200).then(($guid) => {
expect($guid).not.empty;
});
- table.ReadTableRowColumnData(1, 4, 200).then(($nil) => {
+ table.ReadTableRowColumnData(1, 4, "v1", 200).then(($nil) => {
expect($nil).not.empty;
});
});
@@ -174,16 +174,16 @@ describe("UUID Datatype tests", function() {
table.ReadTableRowColumnData(2, 0).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($v1) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($v1) => {
expect($v1).not.empty;
});
- table.ReadTableRowColumnData(2, 2, 200).then(($v4) => {
+ table.ReadTableRowColumnData(2, 2, "v1", 200).then(($v4) => {
expect($v4).not.empty;
});
- table.ReadTableRowColumnData(2, 3, 200).then(($guid) => {
+ table.ReadTableRowColumnData(2, 3, "v1", 200).then(($guid) => {
expect($guid).not.empty;
});
- table.ReadTableRowColumnData(2, 4, 200).then(($nil) => {
+ table.ReadTableRowColumnData(2, 4, "v1", 200).then(($nil) => {
expect($nil).not.empty;
});
});
@@ -192,8 +192,8 @@ describe("UUID Datatype tests", function() {
table.SelectTableRow(2); //As Table Selected row has issues due to fast selction
agHelper.Sleep(2000); //for table selection to be captured
- table.ReadTableRowColumnData(2, 1, 200).then(($oldV1) => {
- table.ReadTableRowColumnData(2, 2, 200).then(($oldV4) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($oldV1) => {
+ table.ReadTableRowColumnData(2, 2, "v1", 200).then(($oldV4) => {
agHelper.ClickButton("Run UpdateQuery");
agHelper.AssertElementVisible(locator._modal);
@@ -209,10 +209,10 @@ describe("UUID Datatype tests", function() {
table.ReadTableRowColumnData(2, 0).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($newV1) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($newV1) => {
expect($oldV1).to.not.eq($newV1); //making sure new v1 is updated
});
- table.ReadTableRowColumnData(2, 2, 200).then(($newV4) => {
+ table.ReadTableRowColumnData(2, 2, "v1", 200).then(($newV4) => {
expect($oldV4).to.eq($newV4); //making sure new v4 is not updated
});
});
@@ -221,9 +221,9 @@ describe("UUID Datatype tests", function() {
it("9. Updating record - uuidtype - updating v4, guid", () => {
//table.SelectTableRow(2); //As Table Selected row has issues due to fast selction
- table.ReadTableRowColumnData(2, 1, 200).then(($oldV1) => {
- table.ReadTableRowColumnData(2, 2, 200).then(($oldV4) => {
- table.ReadTableRowColumnData(2, 3, 200).then(($oldguid) => {
+ table.ReadTableRowColumnData(2, 1,"v1", 200).then(($oldV1) => {
+ table.ReadTableRowColumnData(2, 2, "v1", 200).then(($oldV4) => {
+ table.ReadTableRowColumnData(2, 3,"v1", 200).then(($oldguid) => {
agHelper.ClickButton("Run UpdateQuery");
agHelper.AssertElementVisible(locator._modal);
@@ -242,13 +242,13 @@ describe("UUID Datatype tests", function() {
table.ReadTableRowColumnData(2, 0).then(($cellData) => {
expect($cellData).to.eq("3"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(2, 1, 200).then(($newV1) => {
+ table.ReadTableRowColumnData(2, 1, "v1", 200).then(($newV1) => {
expect($oldV1).to.eq($newV1); //making sure v1 is same
});
- table.ReadTableRowColumnData(2, 2, 200).then(($newV4) => {
+ table.ReadTableRowColumnData(2, 2, "v1", 200).then(($newV4) => {
expect($oldV4).to.not.eq($newV4); //making sure new v4 is updated
});
- table.ReadTableRowColumnData(2, 3, 200).then(($newguid) => {
+ table.ReadTableRowColumnData(2, 3, "v1", 200).then(($newguid) => {
expect($oldguid).to.not.eq($newguid); //making sure new guid is updated
});
});
@@ -330,7 +330,7 @@ describe("UUID Datatype tests", function() {
});
deployMode.DeployApp();
table.WaitUntilTableLoad();
- table.ReadTableRowColumnData(1, 5, 200).then(($newFormedguid2) => {
+ table.ReadTableRowColumnData(1, 5, "v1", 200).then(($newFormedguid2) => {
expect($newFormedguid1).to.eq($newFormedguid2);
});
});
@@ -377,19 +377,19 @@ describe("UUID Datatype tests", function() {
table.ReadTableRowColumnData(0, 0).then(($cellData) => {
expect($cellData).to.eq("4"); //asserting serial column is inserting fine in sequence
});
- table.ReadTableRowColumnData(0, 1, 200).then(($v1) => {
+ table.ReadTableRowColumnData(0, 1, "v1", 200).then(($v1) => {
expect($v1).not.empty;
});
- table.ReadTableRowColumnData(0, 2, 200).then(($v4) => {
+ table.ReadTableRowColumnData(0, 2, "v1", 200).then(($v4) => {
expect($v4).not.empty;
});
- table.ReadTableRowColumnData(0, 3, 200).then(($guid) => {
+ table.ReadTableRowColumnData(0, 3, "v1", 200).then(($guid) => {
expect($guid).not.empty;
});
- table.ReadTableRowColumnData(0, 4, 200).then(($nil) => {
+ table.ReadTableRowColumnData(0, 4, "v1", 200).then(($nil) => {
expect($nil).not.empty;
});
- table.ReadTableRowColumnData(0, 5, 200).then(($newGenUUID) => {
+ table.ReadTableRowColumnData(0, 5, "v1", 200).then(($newGenUUID) => {
expect($newGenUUID).not.empty;
});
});
diff --git a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/QueryPane/Mongo_Spec.ts b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/QueryPane/Mongo_Spec.ts
index 6e8db078df7c..fe2ed7824d35 100644
--- a/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/QueryPane/Mongo_Spec.ts
+++ b/app/client/cypress/integration/Regression_TestSuite/ServerSideTests/QueryPane/Mongo_Spec.ts
@@ -795,13 +795,13 @@ describe("Validate Mongo Query Pane Validations", () => {
//Validating loaded table
agHelper.AssertElementExist(dataSources._selectedRow);
- table.ReadTableRowColumnData(0, 0, 2000).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 0, "v1", 2000).then(($cellData) => {
expect($cellData).to.eq(col1Text);
});
- table.ReadTableRowColumnData(0, 3, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 3, "v1", 200).then(($cellData) => {
expect($cellData).to.eq(col2Text);
});
- table.ReadTableRowColumnData(0, 6, 200).then(($cellData) => {
+ table.ReadTableRowColumnData(0, 6, "v1", 200).then(($cellData) => {
expect($cellData).to.eq(col3Text);
});
diff --git a/app/client/cypress/support/Objects/ObjectsCore.ts b/app/client/cypress/support/Objects/ObjectsCore.ts
index c7cb7103df90..a7d2a5851409 100644
--- a/app/client/cypress/support/Objects/ObjectsCore.ts
+++ b/app/client/cypress/support/Objects/ObjectsCore.ts
@@ -16,7 +16,6 @@ export const gitSync = ObjectsRegistry.GitSync;
export const apiPage = ObjectsRegistry.ApiPage;
export const dataSources = ObjectsRegistry.DataSources;
export const inviteModal = ObjectsRegistry.InviteModal;
-export const tableV2 = ObjectsRegistry.TableV2;
export const table = ObjectsRegistry.Table;
export const debuggerHelper = ObjectsRegistry.DebuggerHelper;
export const templates = ObjectsRegistry.Templates;
diff --git a/app/client/cypress/support/Objects/Registry.ts b/app/client/cypress/support/Objects/Registry.ts
index 9aa241787ef1..b3416673d2b6 100644
--- a/app/client/cypress/support/Objects/Registry.ts
+++ b/app/client/cypress/support/Objects/Registry.ts
@@ -6,7 +6,6 @@ import { ApiPage } from "../Pages/ApiPage";
import { HomePage } from "../Pages/HomePage";
import { DataSources } from "../Pages/DataSources";
import { Table } from "../Pages/Table";
-import { TableV2 } from "../Pages/TableV2";
import { PropertyPane } from "../Pages/PropertyPane";
import { DeployMode } from "../Pages/DeployModeHelper";
import { GitSync } from "../Pages/GitSync";
@@ -87,14 +86,6 @@ export class ObjectsRegistry {
return ObjectsRegistry.table__;
}
- private static tableV2__: TableV2;
- static get TableV2(): TableV2 {
- if (ObjectsRegistry.tableV2__ === undefined) {
- ObjectsRegistry.tableV2__ = new TableV2();
- }
- return ObjectsRegistry.tableV2__;
- }
-
private static propertyPane__: PropertyPane;
static get PropertyPane(): PropertyPane {
if (ObjectsRegistry.propertyPane__ === undefined) {
diff --git a/app/client/cypress/support/Pages/Table.ts b/app/client/cypress/support/Pages/Table.ts
index 8f67275590f4..239071fe4747 100644
--- a/app/client/cypress/support/Pages/Table.ts
+++ b/app/client/cypress/support/Pages/Table.ts
@@ -30,6 +30,7 @@ export class Table {
public agHelper = ObjectsRegistry.AggregateHelper;
public deployMode = ObjectsRegistry.DeployMode;
public locator = ObjectsRegistry.CommonLocators;
+ public propPane = ObjectsRegistry.PropertyPane;
private _tableWrap = "//div[@class='tableWrap']";
private _tableHeader =
@@ -39,20 +40,39 @@ export class Table {
"//div[@class='thead']//div[@class='tr'][1]//div[@role='columnheader']//span[text()='" +
columnName +
"']/parent::div/parent::div/parent::div";
- private _nextPage = ".t--widget-tablewidget .t--table-widget-next-page";
- private _previousPage = ".t--widget-tablewidget .t--table-widget-prev-page";
+ private _tableWidgetVersion = (version: "v1" | "v2") =>
+ `.t--widget-tablewidget${version == "v1" ? "" : version}`;
+ private _nextPage = (version: "v1" | "v2") =>
+ this._tableWidgetVersion(version) + " .t--table-widget-next-page";
+ private _previousPage = (version: "v1" | "v2") =>
+ this._tableWidgetVersion(version) + " .t--table-widget-prev-page";
+ private _pageNumber = ".t--widget-tablewidgetv2 .page-item";
+ private _pageNumberServerSideOff =
+ ".t--widget-tablewidgetv2 .t--table-widget-page-input input";
private _pageNumberServerSidePagination = ".t--widget-tablewidget .page-item";
private _pageNumberClientSidePagination =
".t--widget-tablewidget .t--table-widget-page-input input";
- _tableRow = (rowNum: number, colNum: number) =>
- `.t--widget-tablewidget .tbody .td[data-rowindex=${rowNum}][data-colindex=${colNum}]`;
- _tableRowColumnData = (rowNum: number, colNum: number) =>
- this._tableRow(rowNum, colNum) + ` div div`;
- _tableLoadStateDelete =
- this._tableRow(0, 0) + ` div div button span:contains('Delete')`;
- _tableRowImageColumnData = (rowNum: number, colNum: number) =>
- this._tableRow(rowNum, colNum) + ` div div.image-cell`;
- _tableEmptyColumnData = `.t--widget-tablewidget .tbody .td`; //selected-row
+ _tableRow = (rowNum: number, colNum: number, version: "v1" | "v2") =>
+ this._tableWidgetVersion(version) +
+ ` .tbody .td[data-rowindex=${rowNum}][data-colindex=${colNum}]`;
+ _tableRowColumnDataVersion = (version: "v1" | "v2") =>
+ `${version == "v1" ? " div div" : " .cell-wrapper"}`;
+ _tableRowColumnData = (
+ rowNum: number,
+ colNum: number,
+ version: "v1" | "v2",
+ ) =>
+ this._tableRow(rowNum, colNum, version) +
+ this._tableRowColumnDataVersion(version);
+ _tableLoadStateDelete = (version: "v1" | "v2") =>
+ this._tableRow(0, 0, version) + ` div div button span:contains('Delete')`;
+ _tableRowImageColumnData = (
+ rowNum: number,
+ colNum: number,
+ version: "v1" | "v2",
+ ) => this._tableRow(rowNum, colNum, version) + ` div div.image-cell`;
+ _tableEmptyColumnData = (version: "v1" | "v2") =>
+ this._tableWidgetVersion(version) + " .tbody .td"; //selected-row
_tableSelectedRow =
this._tableWrap +
"//div[contains(@class, 'tbody')]//div[contains(@class, 'selected-row')]/div";
@@ -71,6 +91,10 @@ export class Table {
_dropdownText = ".t--dropdown-option";
_filterConditionDropdown = ".t--table-filter-conditions-dropdown";
_filterInputValue = ".t--table-filter-value-input";
+ _addColumn = ".t--add-column-btn";
+ _deleteColumn = ".t--delete-column-btn";
+ _defaultColName =
+ "[data-rbd-draggable-id='customColumn1'] input[type='text']";
private _filterApplyBtn = ".t--apply-filter-btn";
private _filterCloseBtn = ".t--close-filter-btn";
private _removeFilter = ".t--table-filter-remove-btn";
@@ -83,25 +107,52 @@ export class Table {
"//input[@placeholder='Column Title'][@value='" +
columnName +
"']/parent::div/parent::div/following-sibling::div/div[contains(@class, 't--edit-column-btn')]";
+ _columnSettingsV2 = (columnName: string) =>
+ `.t--property-pane-view .tablewidgetv2-primarycolumn-list div[data-rbd-draggable-id=${columnName}] .t--edit-column-btn`;
_showPageItemsCount = "div.show-page-items";
_filtersCount = this._filterBtn + " span.action-title";
- public WaitUntilTableLoad(rowIndex = 0, colIndex = 0) {
- this.agHelper
- .GetElement(this._tableRowColumnData(rowIndex, colIndex), 30000)
- .waitUntil(($ele) =>
- cy
- .wrap($ele)
- .children("button")
- .should("have.length", 0),
- ); //or below will work:
- //this.agHelper.AssertElementAbsence(this._tableLoadStateDelete, 30000);
- // this.agHelper.Sleep(500);
+ public WaitUntilTableLoad(
+ rowIndex = 0,
+ colIndex = 0,
+ tableVersion: "v1" | "v2" = "v1",
+ ) {
+ // this.agHelper
+ // .GetElement(this._tableRowColumnData(rowIndex, colIndex, tableVersion), 30000)
+ // .waitUntil(($ele) =>
+ // cy
+ // .wrap($ele)
+ // .children("button")
+ // .should("have.length", 0),
+ // );
+ //or above will also work:
+ this.agHelper.AssertElementAbsence(
+ this._tableLoadStateDelete(tableVersion),
+ 30000,
+ ); //For CURD generated pages Delete button appears first when table is loading & not fully loaded, hence validating that here!
+ cy.waitUntil(
+ () => this.ReadTableRowColumnData(rowIndex, colIndex, tableVersion),
+ {
+ errorMsg: "Table is not populated",
+ timeout: 10000,
+ interval: 2000,
+ },
+ ).then((cellData) => {
+ expect(cellData).not.empty;
+ });
+ this.agHelper.Sleep(500); //for table to settle loading!
}
- public AssertTableLoaded(rowIndex = 0, colIndex = 0) {
+ public AssertTableLoaded(
+ rowIndex = 0,
+ colIndex = 0,
+ tableVersion: "v1" | "v2" = "v1",
+ ) {
this.agHelper
- .GetElement(this._tableRowColumnData(rowIndex, colIndex), 30000)
+ .GetElement(
+ this._tableRowColumnData(rowIndex, colIndex, tableVersion),
+ 30000,
+ )
.waitUntil(($ele) =>
cy
.wrap($ele)
@@ -110,8 +161,8 @@ export class Table {
);
}
- public WaitForTableEmpty() {
- cy.waitUntil(() => cy.get(this._tableEmptyColumnData), {
+ public WaitForTableEmpty(tableVersion: "v1" | "v2" = "v1") {
+ cy.waitUntil(() => cy.get(this._tableEmptyColumnData(tableVersion)), {
errorMsg: "Table is populated when not expected",
timeout: 10000,
interval: 2000,
@@ -135,12 +186,13 @@ export class Table {
public ReadTableRowColumnData(
rowNum: number,
colNum: number,
+ tableVersion: "v1" | "v2" = "v1",
timeout = 1000,
) {
//timeout can be sent higher values incase of larger tables
this.agHelper.Sleep(timeout); //Settling time for table!
return this.agHelper
- .GetElement(this._tableRowColumnData(rowNum, colNum), 30000)
+ .GetElement(this._tableRowColumnData(rowNum, colNum, tableVersion), 30000)
.invoke("text");
}
@@ -148,11 +200,12 @@ export class Table {
rowNum: number,
colNum: number,
timeout = 200,
+ tableVersion: "v1" | "v2" = "v1",
) {
//timeout can be sent higher values incase of larger tables
this.agHelper.Sleep(timeout); //Settling time for table!
return cy
- .get(this._tableRowImageColumnData(rowNum, colNum))
+ .get(this._tableRowImageColumnData(rowNum, colNum, tableVersion))
.invoke("attr", "style")
.should("not.be.empty");
}
@@ -167,63 +220,97 @@ export class Table {
});
}
- public NavigateToNextPage(isServerPagination = true) {
+ public NavigateToNextPage(
+ isServerPagination = true,
+ tableVersion: "v1" | "v2" = "v1",
+ ) {
let curPageNo: number;
- this.agHelper
- .GetText(
- isServerPagination
- ? this._pageNumberServerSidePagination
- : this._pageNumberClientSidePagination,
- isServerPagination ? "text" : "val",
- )
- .then(($currentPageNo) => (curPageNo = Number($currentPageNo)));
- cy.get(this._nextPage).click();
- this.agHelper
- .GetText(
- isServerPagination
- ? this._pageNumberServerSidePagination
- : this._pageNumberClientSidePagination,
- isServerPagination ? "text" : "val",
- )
- .then(($newPageNo) => expect(Number($newPageNo)).to.eq(curPageNo + 1));
+ if (tableVersion == "v1") {
+ this.agHelper
+ .GetText(
+ isServerPagination
+ ? this._pageNumberServerSidePagination
+ : this._pageNumberClientSidePagination,
+ isServerPagination ? "text" : "val",
+ )
+ .then(($currentPageNo) => (curPageNo = Number($currentPageNo)));
+ cy.get(this._nextPage(tableVersion)).click();
+ this.agHelper
+ .GetText(
+ isServerPagination
+ ? this._pageNumberServerSidePagination
+ : this._pageNumberClientSidePagination,
+ isServerPagination ? "text" : "val",
+ )
+ .then(($newPageNo) => expect(Number($newPageNo)).to.eq(curPageNo + 1));
+ } else if (tableVersion == "v2") {
+ cy.get(this._pageNumber)
+ .invoke("text")
+ .then(($currentPageNo) => (curPageNo = Number($currentPageNo)));
+ cy.get(this._nextPage(tableVersion)).click();
+ cy.get(this._pageNumber)
+ .invoke("text")
+ .then(($newPageNo) => expect(Number($newPageNo)).to.eq(curPageNo + 1));
+ }
}
- public NavigateToPreviousPage(isServerPagination = true) {
+ public NavigateToPreviousPage(
+ isServerPagination = true,
+ tableVersion: "v1" | "v2" = "v1",
+ ) {
let curPageNo: number;
- this.agHelper
- .GetText(
- isServerPagination
- ? this._pageNumberServerSidePagination
- : this._pageNumberClientSidePagination,
- isServerPagination ? "text" : "val",
- )
- .then(($currentPageNo) => (curPageNo = Number($currentPageNo)));
- cy.get(this._previousPage).click();
- this.agHelper
- .GetText(
- isServerPagination
- ? this._pageNumberServerSidePagination
- : this._pageNumberClientSidePagination,
- isServerPagination ? "text" : "val",
- )
- .then(($newPageNo) => expect(Number($newPageNo)).to.eq(curPageNo - 1));
+ if (tableVersion == "v1") {
+ this.agHelper
+ .GetText(
+ isServerPagination
+ ? this._pageNumberServerSidePagination
+ : this._pageNumberClientSidePagination,
+ isServerPagination ? "text" : "val",
+ )
+ .then(($currentPageNo) => (curPageNo = Number($currentPageNo)));
+ cy.get(this._previousPage(tableVersion)).click();
+ this.agHelper
+ .GetText(
+ isServerPagination
+ ? this._pageNumberServerSidePagination
+ : this._pageNumberClientSidePagination,
+ isServerPagination ? "text" : "val",
+ )
+ .then(($newPageNo) => expect(Number($newPageNo)).to.eq(curPageNo - 1));
+ } else if (tableVersion == "v2") {
+ cy.get(this._pageNumber)
+ .invoke("text")
+ .then(($currentPageNo) => (curPageNo = Number($currentPageNo)));
+ cy.get(this._previousPage(tableVersion)).click();
+ cy.get(this._pageNumber)
+ .invoke("text")
+ .then(($newPageNo) => expect(Number($newPageNo)).to.eq(curPageNo - 1));
+ }
}
- public AssertPageNumber(pageNo: number, serverSide: "Off" | "On" = "On") {
+ public AssertPageNumber(
+ pageNo: number,
+ serverSide: "Off" | "On" | "" = "On",
+ tableVersion: "v1" | "v2" = "v1",
+ ) {
+ const serverSideOn =
+ tableVersion == "v1"
+ ? this._pageNumberServerSidePagination
+ : this._pageNumber;
+ const serverSideOff =
+ tableVersion == "v1"
+ ? this._pageNumberClientSidePagination
+ : this._pageNumberServerSideOff;
+
if (serverSide == "On")
- cy.get(this._pageNumberServerSidePagination).should(
- "have.text",
- Number(pageNo),
- );
+ cy.get(serverSideOn).should("have.text", Number(pageNo));
else {
- cy.get(this._pageNumberClientSidePagination).should(
- "have.value",
- Number(pageNo),
- );
- cy.get(this._previousPage).should("have.attr", "disabled");
- cy.get(this._nextPage).should("have.attr", "disabled");
+ cy.get(serverSideOff).should("have.value", Number(pageNo));
+ cy.get(this._previousPage(tableVersion)).should("have.attr", "disabled");
+ cy.get(this._nextPage(tableVersion)).should("have.attr", "disabled");
}
- if (pageNo == 1) cy.get(this._previousPage).should("have.attr", "disabled");
+ if (pageNo == 1)
+ cy.get(this._previousPage(tableVersion)).should("have.attr", "disabled");
}
public AssertSelectedRow(rowNum: number = 0) {
@@ -234,10 +321,15 @@ export class Table {
});
}
- public SelectTableRow(rowIndex: number, columnIndex = 0, select = true) {
+ public SelectTableRow(
+ rowIndex: number,
+ columnIndex = 0,
+ select = true,
+ tableVersion: "v1" | "v2" = "v1",
+ ) {
//rowIndex - 0 for 1st row
this.agHelper
- .GetElement(this._tableRow(rowIndex, columnIndex))
+ .GetElement(this._tableRow(rowIndex, columnIndex, tableVersion))
.parent("div")
.invoke("attr", "class")
.then(($classes: any) => {
@@ -246,7 +338,7 @@ export class Table {
(!select && $classes?.includes("selected-row"))
)
this.agHelper.GetNClick(
- this._tableRow(rowIndex, columnIndex),
+ this._tableRow(rowIndex, columnIndex, tableVersion),
0,
true,
);
@@ -265,11 +357,16 @@ export class Table {
.type(searchTxt);
}
- public RemoveSearchTextNVerify(cellDataAfterSearchRemoved: string) {
+ public RemoveSearchTextNVerify(
+ cellDataAfterSearchRemoved: string,
+ tableVersion: "v1" | "v2" = "v1",
+ ) {
this.agHelper.GetNClick(this._searchBoxCross);
- this.ReadTableRowColumnData(0, 0).then((aftSearchRemoved: any) => {
- expect(aftSearchRemoved).to.eq(cellDataAfterSearchRemoved);
- });
+ this.ReadTableRowColumnData(0, 0, tableVersion).then(
+ (aftSearchRemoved: any) => {
+ expect(aftSearchRemoved).to.eq(cellDataAfterSearchRemoved);
+ },
+ );
}
public OpenFilter() {
@@ -309,14 +406,16 @@ export class Table {
toClose = true,
removeOne = true,
index = 0,
+ tableVersion: "v1" | "v2" = "v1",
) {
if (removeOne) this.agHelper.GetNClick(this._removeFilter, index);
else this.agHelper.GetNClick(this._clearAllFilter);
-
if (toClose) this.CloseFilter();
- this.ReadTableRowColumnData(0, 0).then((aftFilterRemoved: any) => {
- expect(aftFilterRemoved).to.eq(cellDataAfterFilterRemoved);
- });
+ this.ReadTableRowColumnData(0, 0, tableVersion).then(
+ (aftFilterRemoved: any) => {
+ expect(aftFilterRemoved).to.eq(cellDataAfterFilterRemoved);
+ },
+ );
}
public CloseFilter() {
@@ -346,29 +445,77 @@ export class Table {
}).should((buffer) => expect(buffer).to.contain(textToBePresent));
}
- public ChangeColumnType(columnName: string, newDataType: columnTypeValues) {
- this.agHelper.GetNClick(this._columnSettings(columnName));
+ public ChangeColumnType(
+ columnName: string,
+ newDataType: columnTypeValues,
+ tableVersion: "v1" | "v2" = "v1",
+ ) {
+ const colSettings =
+ tableVersion == "v1"
+ ? this._columnSettings(columnName)
+ : this._columnSettingsV2(columnName);
+
+ this.agHelper.GetNClick(colSettings);
this.agHelper.SelectDropdownList("Column Type", newDataType);
this.agHelper.ValidateNetworkStatus("@updateLayout");
+ if (tableVersion == "v2") this.propPane.NavigateBackToPropertyPane();
}
public AssertURLColumnNavigation(
row: number,
col: number,
expectedURL: string,
+ tableVersion: "v1" | "v2" = "v1",
) {
this.deployMode.StubbingWindow();
this.agHelper
- .GetNClick(this._tableRowColumnData(row, col))
+ .GetNClick(this._tableRowColumnData(row, col, tableVersion))
.then(($cellData) => {
//Cypress.$($cellData).trigger('click');
cy.url().should("eql", expectedURL);
this.agHelper.Sleep();
cy.go(-1);
- this.WaitUntilTableLoad();
+ this.WaitUntilTableLoad(0, 0, tableVersion);
});
}
+ public AddColumn(colId: string) {
+ cy.get(this._addColumn).scrollIntoView();
+ cy.get(this._addColumn)
+ .should("be.visible")
+ .click({ force: true });
+ // eslint-disable-next-line cypress/no-unnecessary-waiting
+ cy.wait(3000);
+ cy.get(this._defaultColName).clear({
+ force: true,
+ });
+ cy.get(this._defaultColName).type(colId, { force: true });
+ }
+
+ public EditColumn(colId: string, shouldReturnToMainPane = true) {
+ if (shouldReturnToMainPane) {
+ this.propPane.NavigateBackToPropertyPane();
+ }
+ cy.get("[data-rbd-draggable-id='" + colId + "'] .t--edit-column-btn").click(
+ {
+ force: true,
+ },
+ );
+ // eslint-disable-next-line cypress/no-unnecessary-waiting
+ cy.wait(1500);
+ }
+
+ public DeleteColumn(colId: string) {
+ this.propPane.NavigateBackToPropertyPane();
+ cy.get(
+ "[data-rbd-draggable-id='" + colId + "'] .t--delete-column-btn",
+ ).click({
+ force: true,
+ });
+ // eslint-disable-next-line cypress/no-unnecessary-waiting
+ cy.wait(1000);
+ }
+
//List methods - keeping it for now!
public NavigateToNextPage_List() {
let curPageNo: number;
diff --git a/app/client/cypress/support/Pages/TableV2.ts b/app/client/cypress/support/Pages/TableV2.ts
deleted file mode 100644
index a2e237da3597..000000000000
--- a/app/client/cypress/support/Pages/TableV2.ts
+++ /dev/null
@@ -1,417 +0,0 @@
-import { ObjectsRegistry } from "../Objects/Registry";
-const path = require("path");
-
-type filterTypes =
- | "contains"
- | "does not contain"
- | "starts with"
- | "ends with"
- | "is exactly"
- | "empty"
- | "not empty"
- | "is equal to"
- | "not equal to"
- | "greater than"
- | "greater than or equal to"
- | "less than"
- | "less than or equal to";
-type columnTypeValues =
- | "Plain Text"
- | "URL"
- | "Number"
- | "Image"
- | "Video"
- | "Date"
- | "Button"
- | "Menu Button"
- | "Icon Button";
-
-export class TableV2 {
- public agHelper = ObjectsRegistry.AggregateHelper;
- public locator = ObjectsRegistry.CommonLocators;
- public deployMode = ObjectsRegistry.DeployMode;
- public propPane = ObjectsRegistry.PropertyPane;
-
- private _tableWrap = "//div[@class='tableWrap']";
- private _tableHeader =
- this._tableWrap + "//div[@class='thead']//div[@class='tr'][1]";
- private _columnHeader = (columnName: string) =>
- this._tableWrap +
- "//div[@class='thead']//div[@class='tr'][1]//div[@role='columnheader']//div[text()='" +
- columnName +
- "']/parent::div/parent::div";
- private _nextPage = ".t--widget-tablewidgetv2 .t--table-widget-next-page";
- private _previousPage = ".t--widget-tablewidgetv2 .t--table-widget-prev-page";
- private _pageNumber = ".t--widget-tablewidgetv2 .page-item";
- private _pageNumberServerSideOff =
- ".t--widget-tablewidgetv2 .t--table-widget-page-input input";
- _tableRow = (rowNum: number, colNum: number) =>
- `.t--widget-tablewidgetv2 .tbody .td[data-rowindex=${rowNum}][data-colindex=${colNum}]`;
- _tableRowColumnData = (rowNum: number, colNum: number) =>
- this._tableRow(rowNum, colNum) + ` .cell-wrapper`;
- _tableEmptyColumnData = `.t--widget-tablewidgetv2 .tbody .td`; //selected-row
- _tableSelectedRow =
- this._tableWrap +
- "//div[contains(@class, 'tbody')]//div[contains(@class, 'selected-row')]/div";
- _liNextPage = "li[title='Next Page']";
- _liPreviousPage = "li[title='Previous Page']";
- _liCurrentSelectedPage =
- "//div[@type='LIST_WIDGET']//ul[contains(@class, 'rc-pagination')]/li[contains(@class, 'rc-pagination-item-active')]/a";
- private _searchText = "input[type='search']";
- _searchBoxCross =
- "//div[contains(@class, 't--search-input')]/following-sibling::div";
- _addIcon = "button span[icon='add']";
- _trashIcon = "button span[icon='trash']";
- _visibleTextSpan = (spanText: string) => "//span[text()='" + spanText + "']";
- _filterBtn = ".t--table-filter-toggle-btn";
- _filterColumnsDropdown = ".t--table-filter-columns-dropdown";
- _dropdownText = ".t--dropdown-option";
- _filterConditionDropdown = ".t--table-filter-conditions-dropdown";
- _filterInputValue = ".t--table-filter-value-input";
- _addColumn = ".t--add-column-btn";
- _deleteColumn = ".t--delete-column-btn";
- _defaultColNameV2 =
- "[data-rbd-draggable-id='customColumn1'] input[type='text']";
- private _filterApplyBtn = ".t--apply-filter-btn";
- private _filterCloseBtn = ".t--close-filter-btn";
- private _removeFilter = ".t--table-filter-remove-btn";
- private _clearAllFilter = ".t--clear-all-filter-btn";
- private _addFilter = ".t--add-filter-btn";
- _filterOperatorDropdown = ".t--table-filter-operators-dropdown";
- private _downloadBtn = ".t--table-download-btn";
- private _downloadOption = ".t--table-download-data-option";
- private _tableWidgetV2 = ".t--widget-tablewidgetv2";
- private _propertyPaneBackBtn = ".t--property-pane-back-btn";
-
- _columnSettings = (columnName: string) =>
- "//input[@placeholder='Column Title'][@value='" +
- columnName +
- "']/ancestor::div/following-sibling::div[contains(@class, 't--edit-column-btn')]";
- _columnSettingsV2 = (columnName: string) =>
- `.t--property-pane-view .tablewidgetv2-primarycolumn-list div[data-rbd-draggable-id=${columnName}] .t--edit-column-btn`;
- _showPageItemsCount = "div.show-page-items";
- _filtersCount = this._filterBtn + " span.action-title";
-
- public WaitUntilTableLoad() {
- cy.waitUntil(() => this.ReadTableRowColumnData(0, 0, 2000), {
- errorMsg: "Table is not populated",
- timeout: 10000,
- interval: 2000,
- }).then((cellData) => {
- expect(cellData).not.empty;
- this.agHelper.Sleep(500);
- });
- }
-
- public WaitForTableEmpty() {
- cy.waitUntil(() => cy.get(this._tableEmptyColumnData), {
- errorMsg: "Table is populated when not expected",
- timeout: 10000,
- interval: 2000,
- }).then(($children) => {
- cy.wrap($children)
- .children()
- .should("have.length", 0); //or below
- //expect($children).to.have.lengthOf(0)
- this.agHelper.Sleep(500);
- });
- }
-
- public AssertTableHeaderOrder(expectedOrder: string) {
- cy.xpath(this._tableHeader)
- .invoke("text")
- .then((x) => {
- expect(x).to.eq(expectedOrder);
- });
- }
-
- public ReadTableRowColumnData(
- rowNum: number,
- colNum: number,
- timeout = 1000,
- ) {
- //timeout can be sent higher values incase of larger tables
- this.agHelper.Sleep(timeout); //Settling time for table!
- return cy.get(this._tableRowColumnData(rowNum, colNum)).invoke("text");
- }
-
- public AssertHiddenColumns(columnNames: string[]) {
- columnNames.forEach(($header) => {
- cy.xpath(this._columnHeader($header))
- .invoke("attr", "class")
- .then((classes) => {
- expect(classes).includes("hidden-header");
- });
- });
- }
-
- public NavigateToNextPage() {
- let curPageNo: number;
- cy.get(this._pageNumber)
- .invoke("text")
- .then(($currentPageNo) => (curPageNo = Number($currentPageNo)));
- cy.get(this._nextPage).click();
- cy.get(this._pageNumber)
- .invoke("text")
- .then(($newPageNo) => expect(Number($newPageNo)).to.eq(curPageNo + 1));
- }
-
- public NavigateToPreviousPage() {
- let curPageNo: number;
- cy.get(this._pageNumber)
- .invoke("text")
- .then(($currentPageNo) => (curPageNo = Number($currentPageNo)));
- cy.get(this._previousPage).click();
- cy.get(this._pageNumber)
- .invoke("text")
- .then(($newPageNo) => expect(Number($newPageNo)).to.eq(curPageNo - 1));
- }
-
- public AssertPageNumber(pageNo: number, serverSide: "Off" | "On" = "On") {
- if (serverSide == "On")
- cy.get(this._pageNumber).should("have.text", Number(pageNo));
- else {
- cy.get(this._pageNumberServerSideOff).should(
- "have.value",
- Number(pageNo),
- );
- cy.get(this._previousPage).should("have.attr", "disabled");
- cy.get(this._nextPage).should("have.attr", "disabled");
- }
- if (pageNo == 1) cy.get(this._previousPage).should("have.attr", "disabled");
- }
-
- public AssertSelectedRow(rowNum = 0) {
- cy.xpath(this._tableSelectedRow)
- .invoke("attr", "data-rowindex")
- .then(($rowIndex) => {
- expect(Number($rowIndex)).to.eq(rowNum);
- });
- }
-
- public SelectTableRow(rowIndex: number, columnIndex = 0, select = true) {
- //rowIndex - 0 for 1st row
- this.agHelper
- .GetElement(this._tableRow(rowIndex, columnIndex))
- .parent("div")
- .invoke("attr", "class")
- .then(($classes: any) => {
- if (
- (select && !$classes?.includes("selected-row")) ||
- (!select && $classes?.includes("selected-row"))
- )
- this.agHelper.GetNClick(
- this._tableRow(rowIndex, columnIndex),
- 0,
- true,
- );
- });
-
- this.agHelper.Sleep(); //for select to reflect
- }
-
- public AssertSearchText(searchTxt: string) {
- cy.get(this._searchText).should("have.value", searchTxt);
- }
-
- public SearchTable(searchTxt: string, index = 0) {
- cy.get(this._searchText)
- .eq(index)
- .type(searchTxt);
- }
-
- public RemoveSearchTextNVerify(cellDataAfterSearchRemoved: string) {
- this.agHelper.GetNClick(this._searchBoxCross);
- this.ReadTableRowColumnData(0, 0).then((aftSearchRemoved) => {
- expect(aftSearchRemoved).to.eq(cellDataAfterSearchRemoved);
- });
- }
-
- public OpenFilter() {
- this.agHelper.GetNClick(this._filterBtn);
- }
-
- public OpenNFilterTable(
- colName: string,
- colCondition: filterTypes,
- inputText = "",
- operator: "AND" | "OR" | "" = "",
- index = 0,
- ) {
- if (operator) {
- this.agHelper.GetNClick(this._addFilter);
- this.agHelper.GetNClick(this._filterOperatorDropdown);
- cy.get(this._dropdownText)
- .contains(operator)
- .click();
- } else this.OpenFilter();
-
- this.agHelper.GetNClick(this._filterColumnsDropdown, index, true);
- cy.get(this._dropdownText)
- .contains(colName)
- .click();
- this.agHelper.GetNClick(this._filterConditionDropdown, index, true);
- cy.get(this._dropdownText)
- .contains(colCondition)
- .click();
-
- if (inputText)
- this.agHelper
- .GetNClick(this._filterInputValue, index, true)
- .type(inputText)
- .wait(500);
-
- this.agHelper.GetNClick(this._filterApplyBtn, undefined, true);
- //this.agHelper.ClickButton("APPLY")
- }
-
- public RemoveFilterNVerify(
- cellDataAfterFilterRemoved: string,
- toClose = true,
- removeOne = true,
- index = 0,
- ) {
- if (removeOne) this.agHelper.GetNClick(this._removeFilter, index);
- else this.agHelper.GetNClick(this._clearAllFilter);
-
- if (toClose) this.CloseFilter();
- this.ReadTableRowColumnData(0, 0).then((aftFilterRemoved) => {
- expect(aftFilterRemoved).to.eq(cellDataAfterFilterRemoved);
- });
- }
-
- public CloseFilter() {
- this.agHelper.GetNClick(this._filterCloseBtn);
- }
-
- public DownloadFromTable(filetype: "Download as CSV" | "Download as Excel") {
- cy.get(this._downloadBtn).click({ force: true });
- cy.get(this._downloadOption)
- .contains(filetype)
- .click({ force: true });
- }
-
- public ValidateDownloadNVerify(fileName: string, textToBePresent: string) {
- const downloadsFolder = Cypress.config("downloadsFolder");
- cy.log("downloadsFolder is:" + downloadsFolder);
- cy.readFile(path.join(downloadsFolder, fileName)).should("exist");
- this.VerifyDownloadedFile(fileName, textToBePresent);
- }
-
- public VerifyDownloadedFile(fileName: string, textToBePresent: string) {
- const downloadedFilename = Cypress.config("downloadsFolder")
- .concat("/")
- .concat(fileName);
- cy.readFile(downloadedFilename, "binary", {
- timeout: 15000,
- }).should((buffer) => expect(buffer).to.contain(textToBePresent));
- }
-
- public ChangeColumnType(columnName: string, newDataType: columnTypeValues) {
- this.agHelper.GetNClick(this._columnSettings(columnName));
- this.agHelper.SelectDropdownList("Column Type", newDataType);
- this.agHelper.ValidateNetworkStatus("@updateLayout");
- }
-
- public ChangeColumnTypeV2(columnName: string, newDataType: columnTypeValues) {
- cy.get(this._tableWidgetV2)
- .click()
- .then(() => {
- cy.get(this._columnSettingsV2(columnName)).click();
- this.agHelper.SelectDropdownList("Column Type", newDataType);
- cy.get(this._propertyPaneBackBtn).click();
- });
- }
-
- public AssertURLColumnNavigation(
- row: number,
- col: number,
- expectedURL: string,
- ) {
- this.deployMode.StubbingWindow();
- this.agHelper
- .GetNClick(this._tableRowColumnData(row, col))
- .then(($cellData) => {
- //Cypress.$($cellData).trigger('click');
- cy.url().should("eql", expectedURL);
- this.agHelper.Sleep();
- cy.go(-1);
- this.WaitUntilTableLoad();
- });
- }
-
- //List methods - keeping it for now!
- public NavigateToNextPage_List() {
- let curPageNo: number;
- cy.xpath(this._liCurrentSelectedPage)
- .invoke("text")
- .then(($currentPageNo) => (curPageNo = Number($currentPageNo)));
- cy.get(this._liNextPage).click();
- //cy.scrollTo('top', { easing: 'linear' })
- cy.xpath(this._liCurrentSelectedPage)
- .invoke("text")
- .then(($newPageNo) => expect(Number($newPageNo)).to.eq(curPageNo + 1));
- }
-
- public NavigateToPreviousPage_List() {
- let curPageNo: number;
- cy.xpath(this._liCurrentSelectedPage)
- .invoke("text")
- .then(($currentPageNo) => (curPageNo = Number($currentPageNo)));
- cy.get(this._liPreviousPage).click();
- //cy.scrollTo('top', { easing: 'linear' })
- cy.xpath(this._liCurrentSelectedPage)
- .invoke("text")
- .then(($newPageNo) => expect(Number($newPageNo)).to.eq(curPageNo - 1));
- }
-
- public AssertPageNumber_List(pageNo: number, checkNoNextPage = false) {
- cy.xpath(this._liCurrentSelectedPage)
- .invoke("text")
- .then(($currentPageNo) => expect(Number($currentPageNo)).to.eq(pageNo));
-
- if (pageNo == 1)
- cy.get(this._liPreviousPage).should("have.attr", "aria-disabled", "true");
-
- if (checkNoNextPage)
- cy.get(this._liNextPage).should("have.attr", "aria-disabled", "true");
- else cy.get(this._liNextPage).should("have.attr", "aria-disabled", "false");
- }
-
- public AddColumn(colId: string) {
- cy.get(this._addColumn).scrollIntoView();
- cy.get(this._addColumn)
- .should("be.visible")
- .click({ force: true });
- // eslint-disable-next-line cypress/no-unnecessary-waiting
- cy.wait(3000);
- cy.get(this._defaultColNameV2).clear({
- force: true,
- });
- cy.get(this._defaultColNameV2).type(colId, { force: true });
- }
-
- public EditColumn(colId: string, shouldReturnToMainPane = true) {
- if (shouldReturnToMainPane) {
- this.propPane.NavigateBackToPropertyPane();
- }
- cy.get("[data-rbd-draggable-id='" + colId + "'] .t--edit-column-btn").click(
- {
- force: true,
- },
- );
- // eslint-disable-next-line cypress/no-unnecessary-waiting
- cy.wait(1500);
- }
-
- public DeleteColumn(colId: string) {
- this.propPane.NavigateBackToPropertyPane();
- cy.get(
- "[data-rbd-draggable-id='" + colId + "'] .t--delete-column-btn",
- ).click({
- force: true,
- });
- // eslint-disable-next-line cypress/no-unnecessary-waiting
- cy.wait(1000);
- }
-}
|
3bce03173accc0c910fb57777f295db9a39cc34a
|
2021-03-31 11:21:24
|
Ashok Kumar M
|
fix: Property pane improvements and bug fixes (#3766)
| false
|
Property pane improvements and bug fixes (#3766)
|
fix
|
diff --git a/app/client/src/components/ads/DatePickerComponent.tsx b/app/client/src/components/ads/DatePickerComponent.tsx
index 9cca9481648e..b455082ea4f8 100644
--- a/app/client/src/components/ads/DatePickerComponent.tsx
+++ b/app/client/src/components/ads/DatePickerComponent.tsx
@@ -115,7 +115,7 @@ const DatePickerComponent = (props: DatePickerComponentProps) => {
formatDate={props.formatDate}
parseDate={props.parseDate}
className={Classes.DATE_PICKER_OVARLAY}
- popoverProps={{ usePortal: false }}
+ popoverProps={{ usePortal: true }}
/>
);
};
diff --git a/app/client/src/components/ads/Tooltip.tsx b/app/client/src/components/ads/Tooltip.tsx
index 765773b6af0f..6c858528bd4b 100644
--- a/app/client/src/components/ads/Tooltip.tsx
+++ b/app/client/src/components/ads/Tooltip.tsx
@@ -31,6 +31,9 @@ const TooltipComponent = (props: TooltipProps) => {
openOnTargetFocus={props.openOnTargetFocus}
minimal={props.minimal}
popoverClassName={GLOBAL_STYLE_TOOLTIP_CLASSNAME}
+ modifiers={{
+ preventOverflow: { enabled: false },
+ }}
>
{props.children}
</Tooltip>
diff --git a/app/client/src/components/editorComponents/ActionCreator.tsx b/app/client/src/components/editorComponents/ActionCreator.tsx
index 1e0202d3b986..ec8c70e7908c 100644
--- a/app/client/src/components/editorComponents/ActionCreator.tsx
+++ b/app/client/src/components/editorComponents/ActionCreator.tsx
@@ -1076,6 +1076,7 @@ function useModalDropdownList() {
label: "New Modal",
value: "Modal",
id: "create",
+ icon: "plus",
className: "t--create-modal-btn",
onSelect: (option: TreeDropdownOption, setter?: Function) => {
const modalName = nextModalName;
|
9b8e684d177e6e6746e5071791d7515068ade319
|
2022-09-29 16:12:07
|
Aman Agarwal
|
fix: failing rts build due to jest config (#17177)
| false
|
failing rts build due to jest config (#17177)
|
fix
|
diff --git a/app/rts/build.sh b/app/rts/build.sh
index 32a59562009b..642edfae0f61 100755
--- a/app/rts/build.sh
+++ b/app/rts/build.sh
@@ -3,6 +3,7 @@
set -o errexit
cd "$(dirname "$0")"
+rm -rf dist/
yarn install --frozen-lockfile
npx tsc && npx tsc-alias
# Copying node_modules directory into dist as rts server requires node_modules to run server build properly.
diff --git a/app/rts/package.json b/app/rts/package.json
index 30dc659c89bc..4312cb8f8600 100644
--- a/app/rts/package.json
+++ b/app/rts/package.json
@@ -26,7 +26,7 @@
"typescript": "^4.2.3"
},
"scripts": {
- "test:unit": "export APPSMITH_API_BASE_URL=http APPSMITH_MONGODB_URI=mongodb && $(npm bin)/jest -b --colors --no-cache --silent --coverage --collectCoverage=true --coverageDirectory='../../' --coverageReporters='json-summary'",
+ "test:unit": "export APPSMITH_API_BASE_URL=http APPSMITH_MONGODB_URI=mongodb && $(npm bin)/jest -b --colors --no-cache --silent --coverage --collectCoverage=true --coverageDirectory='./' --coverageReporters='json-summary'",
"test:jest": "export APPSMITH_API_BASE_URL=http APPSMITH_MONGODB_URI=mongodb && $(npm bin)/jest --watch ",
"preinstall": "CURRENT_SCOPE=rts node ../shared/build-shared-dep.js",
"build": "./build.sh",
diff --git a/app/rts/tsconfig.json b/app/rts/tsconfig.json
index 9ee5400337f4..d292fcb10f90 100644
--- a/app/rts/tsconfig.json
+++ b/app/rts/tsconfig.json
@@ -17,5 +17,6 @@
"@utils/*": ["./src/utils/*"]
}
},
+ "exclude": ["jest.config.js", "src/test"],
"lib": ["es2015"]
}
|
468fff707e575be6284bcbbb626715fa223ea7ec
|
2023-10-20 14:32:30
|
Pawan Kumar
|
chore: Create WDS Text Widget (#28211)
| false
|
Create WDS Text Widget (#28211)
|
chore
|
diff --git a/app/client/src/components/wds/constants.ts b/app/client/src/components/wds/constants.ts
index b7f75929ee4d..c89ff8b02659 100644
--- a/app/client/src/components/wds/constants.ts
+++ b/app/client/src/components/wds/constants.ts
@@ -2,5 +2,6 @@ export const WDS_V2_WIDGET_MAP = {
BUTTON_WIDGET: "WDS_BUTTON_WIDGET",
INPUT_WIDGET_V2: "WDS_INPUT_WIDGET",
CHECKBOX_WIDGET: "WDS_CHECKBOX_WIDGET",
+ TEXT_WIDGET: "WDS_TEXT_WIDGET",
TABLE_WIDGET_V2: "WDS_TABLE_WIDGET",
};
diff --git a/app/client/src/widgets/index.ts b/app/client/src/widgets/index.ts
index b011ad59a0c3..d022c05e2d0b 100644
--- a/app/client/src/widgets/index.ts
+++ b/app/client/src/widgets/index.ts
@@ -60,6 +60,7 @@ import ListWidgetV2 from "./ListWidgetV2";
import { WDSButtonWidget } from "./wds/WDSButtonWidget";
import { WDSInputWidget } from "./wds/WDSInputWidget";
import { WDSCheckboxWidget } from "./wds/WDSCheckboxWidget";
+import { WDSTextWidget } from "./wds/WDSTextWidget";
import type BaseWidget from "./BaseWidget";
import { WDSTableWidget } from "./wds/WDSTableWidget";
@@ -116,6 +117,7 @@ const Widgets = [
WDSButtonWidget,
WDSInputWidget,
WDSCheckboxWidget,
+ WDSTextWidget,
WDSTableWidget,
//Deprecated Widgets
diff --git a/app/client/src/widgets/wds/WDSTextWidget/config/autocompleteConfig.ts b/app/client/src/widgets/wds/WDSTextWidget/config/autocompleteConfig.ts
new file mode 100644
index 000000000000..93f81c10570e
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/config/autocompleteConfig.ts
@@ -0,0 +1,9 @@
+import { DefaultAutocompleteDefinitions } from "widgets/WidgetUtils";
+
+export const autocompleteConfig = {
+ "!doc":
+ "Text widget is used to display textual information. Whether you want to display a paragraph or information or add a heading to a container, a text widget makes it easy to style and display text",
+ "!url": "https://docs.appsmith.com/widget-reference/text",
+ isVisible: DefaultAutocompleteDefinitions.isVisible,
+ text: "string",
+};
diff --git a/app/client/src/widgets/wds/WDSTextWidget/config/defaultsConfig.ts b/app/client/src/widgets/wds/WDSTextWidget/config/defaultsConfig.ts
new file mode 100644
index 000000000000..e38de62cf3c6
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/config/defaultsConfig.ts
@@ -0,0 +1,52 @@
+import { get } from "lodash";
+import type { WidgetProps } from "widgets/BaseWidget";
+import { isDynamicValue } from "utils/DynamicBindingUtils";
+import type { DynamicPath } from "utils/DynamicBindingUtils";
+import { FILL_WIDGET_MIN_WIDTH } from "constants/minWidthConstants";
+import { BlueprintOperationTypes } from "WidgetProvider/constants";
+import { ResponsiveBehavior } from "layoutSystems/common/utils/constants";
+
+export const defaultsConfig = {
+ text: "Hello {{appsmith.user.name || appsmith.user.email}}",
+ fontSize: "body",
+ textAlign: "left",
+ textColor: "neutral",
+ rows: 4,
+ columns: 16,
+ widgetName: "Text",
+ shouldTruncate: false,
+ version: 1,
+ animateLoading: true,
+ responsiveBehavior: ResponsiveBehavior.Fill,
+ minWidth: FILL_WIDGET_MIN_WIDTH,
+ blueprint: {
+ operations: [
+ {
+ type: BlueprintOperationTypes.MODIFY_PROPS,
+ fn: (widget: WidgetProps & { children?: WidgetProps[] }) => {
+ if (!isDynamicValue(widget.text)) {
+ return [];
+ }
+
+ const dynamicBindingPathList: DynamicPath[] = [
+ ...get(widget, "dynamicBindingPathList", []),
+ ];
+
+ dynamicBindingPathList.push({
+ key: "text",
+ });
+
+ const updatePropertyMap = [
+ {
+ widgetId: widget.widgetId,
+ propertyName: "dynamicBindingPathList",
+ propertyValue: dynamicBindingPathList,
+ },
+ ];
+
+ return updatePropertyMap;
+ },
+ },
+ ],
+ },
+};
diff --git a/app/client/src/widgets/wds/WDSTextWidget/config/featuresConfig.ts b/app/client/src/widgets/wds/WDSTextWidget/config/featuresConfig.ts
new file mode 100644
index 000000000000..ae5d5d203834
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/config/featuresConfig.ts
@@ -0,0 +1,6 @@
+export const featuresConfig = {
+ dynamicHeight: {
+ sectionIndex: 0,
+ active: true,
+ },
+};
diff --git a/app/client/src/widgets/wds/WDSTextWidget/config/index.ts b/app/client/src/widgets/wds/WDSTextWidget/config/index.ts
new file mode 100644
index 000000000000..9c9abc242477
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/config/index.ts
@@ -0,0 +1,7 @@
+export * from "./propertyPaneConfig";
+export { metaConfig } from "./metaConfig";
+export { settersConfig } from "./settersConfig";
+export { methodsConfig } from "./methodsConfig";
+export { defaultsConfig } from "./defaultsConfig";
+export { featuresConfig } from "./featuresConfig";
+export { autocompleteConfig } from "./autocompleteConfig";
diff --git a/app/client/src/widgets/wds/WDSTextWidget/config/metaConfig.ts b/app/client/src/widgets/wds/WDSTextWidget/config/metaConfig.ts
new file mode 100644
index 000000000000..455ac9b9715a
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/config/metaConfig.ts
@@ -0,0 +1,9 @@
+import IconSVG from "../icon.svg";
+import { WIDGET_TAGS } from "constants/WidgetConstants";
+
+export const metaConfig = {
+ name: "Text",
+ iconSVG: IconSVG,
+ tags: [WIDGET_TAGS.SUGGESTED_WIDGETS, WIDGET_TAGS.CONTENT],
+ searchTags: ["typography", "paragraph", "label"],
+};
diff --git a/app/client/src/widgets/wds/WDSTextWidget/config/methodsConfig.ts b/app/client/src/widgets/wds/WDSTextWidget/config/methodsConfig.ts
new file mode 100644
index 000000000000..2222c9a73bf4
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/config/methodsConfig.ts
@@ -0,0 +1,18 @@
+import type {
+ PropertyUpdates,
+ SnipingModeProperty,
+} from "WidgetProvider/constants";
+
+export const methodsConfig = {
+ getSnipingModeUpdates: (
+ propValueMap: SnipingModeProperty,
+ ): PropertyUpdates[] => {
+ return [
+ {
+ propertyPath: "text",
+ propertyValue: propValueMap.data,
+ isDynamicPropertyPath: true,
+ },
+ ];
+ },
+};
diff --git a/app/client/src/widgets/wds/WDSTextWidget/config/propertyPaneConfig/contentConfig.ts b/app/client/src/widgets/wds/WDSTextWidget/config/propertyPaneConfig/contentConfig.ts
new file mode 100644
index 000000000000..60289881add0
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/config/propertyPaneConfig/contentConfig.ts
@@ -0,0 +1,58 @@
+import { ValidationTypes } from "constants/WidgetValidation";
+
+export const propertyPaneContentConfig = [
+ {
+ sectionName: "General",
+ children: [
+ {
+ propertyName: "text",
+ helpText: "Sets the text of the widget",
+ label: "Text",
+ controlType: "INPUT_TEXT",
+ placeholderText: "Name:",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: {
+ type: ValidationTypes.TEXT,
+ params: { limitLineBreaks: true },
+ },
+ },
+ {
+ propertyName: "lineClamp",
+ helpText: "Controls the number of lines displayed",
+ label: "Line clamp (max lines)",
+ controlType: "INPUT_TEXT",
+ placeholderText: "No. of lines to display",
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: {
+ type: ValidationTypes.NUMBER,
+ params: {
+ min: 1,
+ },
+ },
+ },
+ {
+ propertyName: "isVisible",
+ helpText: "Controls the visibility of the widget",
+ label: "Visible",
+ controlType: "SWITCH",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.BOOLEAN },
+ },
+ {
+ propertyName: "animateLoading",
+ label: "Animate loading",
+ controlType: "SWITCH",
+ helpText: "Controls the loading of the widget",
+ defaultValue: true,
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.BOOLEAN },
+ },
+ ],
+ },
+];
diff --git a/app/client/src/widgets/wds/WDSTextWidget/config/propertyPaneConfig/index.ts b/app/client/src/widgets/wds/WDSTextWidget/config/propertyPaneConfig/index.ts
new file mode 100644
index 000000000000..4273f741257f
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/config/propertyPaneConfig/index.ts
@@ -0,0 +1,2 @@
+export { propertyPaneContentConfig } from "./contentConfig";
+export { propertyPaneStyleConfig } from "./styleConfig";
diff --git a/app/client/src/widgets/wds/WDSTextWidget/config/propertyPaneConfig/styleConfig.ts b/app/client/src/widgets/wds/WDSTextWidget/config/propertyPaneConfig/styleConfig.ts
new file mode 100644
index 000000000000..45002e2e8b9e
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/config/propertyPaneConfig/styleConfig.ts
@@ -0,0 +1,159 @@
+import { COLORS } from "@design-system/widgets";
+import { TYPOGRAPHY_VARIANTS } from "@design-system/theming";
+import { ValidationTypes } from "constants/WidgetValidation";
+
+export const propertyPaneStyleConfig = [
+ {
+ sectionName: "General",
+ children: [
+ {
+ propertyName: "fontSize",
+ label: "Font size",
+ helpText: "Controls the size of the font used",
+ controlType: "DROP_DOWN",
+ defaultValue: "body",
+ options: [
+ {
+ label: "Footnote",
+ value: "footnote",
+ },
+ {
+ label: "Body",
+ value: "body",
+ },
+ {
+ label: "Caption",
+ value: "caption",
+ },
+ {
+ label: "Subtitle",
+ value: "subtitle",
+ },
+ {
+ label: "Title",
+ value: "title",
+ },
+ {
+ label: "Heading",
+ value: "heading",
+ },
+ ],
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: {
+ type: ValidationTypes.TEXT,
+ params: {
+ allowedValues: Object.values(TYPOGRAPHY_VARIANTS),
+ default: TYPOGRAPHY_VARIANTS.body,
+ },
+ },
+ },
+ ],
+ },
+ {
+ sectionName: "Color",
+ children: [
+ {
+ propertyName: "textColor",
+ label: "Text Color",
+ helpText: "Controls the color of the text displayed",
+ controlType: "DROP_DOWN",
+ defaultValue: "neutral",
+ options: [
+ {
+ label: "Accent",
+ value: "accent",
+ },
+ {
+ label: "Neutral",
+ value: "neutral",
+ },
+ {
+ label: "Positive",
+ value: "positive",
+ },
+ {
+ label: "Negative",
+ value: "negative",
+ },
+ {
+ label: "Warning",
+ value: "warning",
+ },
+ {
+ label: "Heading",
+ value: "heading",
+ },
+ ],
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: {
+ type: ValidationTypes.TEXT,
+ params: {
+ allowedValues: Object.values(COLORS),
+ default: COLORS.neutral,
+ },
+ },
+ },
+ ],
+ },
+ {
+ sectionName: "Text formatting",
+ children: [
+ {
+ propertyName: "textAlign",
+ label: "Alignment",
+ helpText: "Controls the horizontal alignment of the text",
+ controlType: "ICON_TABS",
+ fullWidth: true,
+ options: [
+ {
+ startIcon: "align-left",
+ value: "left",
+ },
+ {
+ startIcon: "align-center",
+ value: "center",
+ },
+ {
+ startIcon: "align-right",
+ value: "right",
+ },
+ ],
+ defaultValue: "left",
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: {
+ type: ValidationTypes.TEXT,
+ params: {
+ allowedValues: ["left", "center", "right"],
+ default: "left",
+ },
+ },
+ },
+ {
+ propertyName: "fontStyle",
+ label: "Emphasis",
+ helpText: "Controls the font emphasis of the text displayed",
+ controlType: "BUTTON_GROUP",
+ options: [
+ {
+ icon: "text-bold",
+ value: "bold",
+ },
+ {
+ icon: "text-italic",
+ value: "italic",
+ },
+ ],
+ isJSConvertible: true,
+ isBindProperty: true,
+ isTriggerProperty: false,
+ validation: { type: ValidationTypes.TEXT },
+ },
+ ],
+ },
+];
diff --git a/app/client/src/widgets/wds/WDSTextWidget/config/settersConfig.ts b/app/client/src/widgets/wds/WDSTextWidget/config/settersConfig.ts
new file mode 100644
index 000000000000..db9f8e4646c8
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/config/settersConfig.ts
@@ -0,0 +1,24 @@
+export const settersConfig = {
+ __setters: {
+ setVisibility: {
+ path: "isVisible",
+ type: "boolean",
+ },
+ setDisabled: {
+ path: "isDisabled",
+ type: "boolean",
+ },
+ setRequired: {
+ path: "isRequired",
+ type: "boolean",
+ },
+ setText: {
+ path: "text",
+ type: "string",
+ },
+ setTextColor: {
+ path: "textColor",
+ type: "string",
+ },
+ },
+};
diff --git a/app/client/src/widgets/wds/WDSTextWidget/icon.svg b/app/client/src/widgets/wds/WDSTextWidget/icon.svg
new file mode 100644
index 000000000000..a4058c4d93f7
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/icon.svg
@@ -0,0 +1,3 @@
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M10.3334 19V5.66666H5.66667V8.33337H3V3H21.6667V8.33337H19V5.66666H14.3333V19H17V21.6667H7.66665V19H10.3334Z" fill="#4C5664"/>
+</svg>
diff --git a/app/client/src/widgets/wds/WDSTextWidget/index.ts b/app/client/src/widgets/wds/WDSTextWidget/index.ts
new file mode 100644
index 000000000000..23bcf89eb9f1
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/index.ts
@@ -0,0 +1,3 @@
+import { WDSTextWidget } from "./widget";
+
+export { WDSTextWidget };
diff --git a/app/client/src/widgets/wds/WDSTextWidget/widget/index.tsx b/app/client/src/widgets/wds/WDSTextWidget/widget/index.tsx
new file mode 100644
index 000000000000..4baef8e3c2ac
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/widget/index.tsx
@@ -0,0 +1,81 @@
+import React from "react";
+import type { SetterConfig } from "entities/AppTheming";
+import type { DerivedPropertiesMap } from "WidgetProvider/factory";
+
+import * as config from "./../config";
+import BaseWidget from "widgets/BaseWidget";
+import { Text } from "@design-system/widgets";
+import type { TextWidgetProps } from "./types";
+import type { WidgetState } from "widgets/BaseWidget";
+
+class WDSTextWidget extends BaseWidget<TextWidgetProps, WidgetState> {
+ static type = "WDS_TEXT_WIDGET";
+
+ static getConfig() {
+ return config.metaConfig;
+ }
+
+ static getFeatures() {
+ return config.featuresConfig;
+ }
+
+ static getDefaults() {
+ return config.defaultsConfig;
+ }
+
+ static getMethods() {
+ return config.methodsConfig;
+ }
+
+ static getAutoLayoutConfig() {
+ return {};
+ }
+
+ static getAutocompleteDefinitions() {
+ return config.autocompleteConfig;
+ }
+
+ static getPropertyPaneContentConfig() {
+ return config.propertyPaneContentConfig;
+ }
+
+ static getPropertyPaneStyleConfig() {
+ return config.propertyPaneStyleConfig;
+ }
+
+ static getDefaultPropertiesMap(): Record<string, string> {
+ return {};
+ }
+
+ static getDerivedPropertiesMap(): DerivedPropertiesMap {
+ return {
+ value: `{{ this.text }}`,
+ };
+ }
+
+ static getMetaPropertiesMap(): Record<string, any> {
+ return {};
+ }
+
+ static getSetterConfig(): SetterConfig {
+ return config.settersConfig;
+ }
+
+ getWidgetView() {
+ return (
+ <Text
+ color={this.props.textColor}
+ isBold={this.props?.fontStyle?.includes("bold")}
+ isItalic={this.props?.fontStyle?.includes("italic")}
+ lineClamp={this.props.lineClamp ? this.props.lineClamp : undefined}
+ textAlign={this.props.textAlign}
+ title={this.props.lineClamp ? this.props.text : undefined}
+ variant={this.props.fontSize}
+ >
+ {this.props.text}
+ </Text>
+ );
+ }
+}
+
+export { WDSTextWidget };
diff --git a/app/client/src/widgets/wds/WDSTextWidget/widget/types.ts b/app/client/src/widgets/wds/WDSTextWidget/widget/types.ts
new file mode 100644
index 000000000000..c796c7cfa1b2
--- /dev/null
+++ b/app/client/src/widgets/wds/WDSTextWidget/widget/types.ts
@@ -0,0 +1,3 @@
+import type { WidgetProps } from "widgets/BaseWidget";
+
+export interface TextWidgetProps extends WidgetProps {}
|
ec39a210e1c631800d07998ff23eed8129d604fe
|
2025-02-25 14:41:36
|
Shrikant Sharat Kandula
|
ci: Fix re-runs in server suite (#39429)
| false
|
Fix re-runs in server suite (#39429)
|
ci
|
diff --git a/.github/workflows/server-build.yml b/.github/workflows/server-build.yml
index 2a6507d70e9e..cfb57a57bdf1 100644
--- a/.github/workflows/server-build.yml
+++ b/.github/workflows/server-build.yml
@@ -233,21 +233,16 @@ jobs:
rm -f "$OUTPUT_FILE"
touch "$OUTPUT_FILE"
- failed_modules=()
skipped_modules=()
# Process mvn_test.log for FAILURE and SKIPPED statuses
while IFS= read -r line; do
- if [[ $line == *"FAILURE"* ]]; then
- module_name=$(echo "$line" | awk '{print $2}')
- failed_modules+=("$module_name")
- elif [[ $line == *"SKIPPED"* ]]; then
+ if [[ $line == *"SKIPPED"* ]]; then
module_name=$(echo "$line" | awk '{print $2}')
skipped_modules+=("$module_name")
fi
done < mvn_test.log
- echo "Failed Modules: ${failed_modules[*]}"
echo "Skipped Modules: ${skipped_modules[*]}"
# Handle older approach for reading failed tests from XML files
@@ -256,11 +251,6 @@ jobs:
| sort -u \
| tee "$failed_tests_from_xml"
- # Filter out failed modules and add only relevant tests to the final failed list
- for module in "${failed_modules[@]}"; do
- grep -v "$module" "$failed_tests_from_xml" > temp_file && mv temp_file "$failed_tests_from_xml"
- done
-
# Include all skipped module test files in the final list
for module in "${skipped_modules[@]}"; do
module_directories=$(find . -path "*/${module}*/src/test/java/*" -type f -name "*Test.java" -exec dirname {} \; | sort -u)
@@ -287,7 +277,7 @@ jobs:
sed 's/^/- /' "$OUTPUT_FILE"
)"
echo "$content" >> "$GITHUB_STEP_SUMMARY"
-
+
# Post a comment to the PR
curl --silent --show-error \
--header "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
f921305e95dc680038053cad902ca2134d1b139f
|
2021-12-29 12:53:03
|
Anagh Hegde
|
feat: Add analytics for BE git events (#9899)
| false
|
Add analytics for BE git events (#9899)
|
feat
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/AnalyticsEvents.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/AnalyticsEvents.java
index 77f93631b01c..767c2cc96f52 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/AnalyticsEvents.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/AnalyticsEvents.java
@@ -17,6 +17,16 @@ public enum AnalyticsEvents {
SUBSCRIBE_MARKETING_EMAILS,
UNSUBSCRIBE_MARKETING_EMAILS,
INSTALLATION_SETUP_COMPLETE("Installation Setup Complete"),
+ GIT_CONNECT,
+ GIT_CREATE_BRANCH,
+ GIT_COMMIT,
+ GIT_PUSH,
+ GIT_MERGE,
+ GIT_PULL,
+ GIT_PRUNE,
+ GIT_DISCONNECT,
+ GIT_CHECKOUT_BRANCH,
+ GIT_CHECKOUT_REMOTE_BRANCH
;
private final String eventName;
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/GitServiceImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/GitServiceImpl.java
index aac3666f1488..4d3489cc9ae5 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/GitServiceImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/GitServiceImpl.java
@@ -33,7 +33,8 @@ public GitServiceImpl(UserService userService,
EmailConfig emailConfig,
CommonConfig commonConfig,
ConfigService configService,
- CloudServicesConfig cloudServicesConfig) {
- super(userService, userDataService, sessionUserService, applicationService, applicationPageService, newPageService, newActionService, actionCollectionService, fileUtils, importExportApplicationService, gitExecutor, responseUtils, emailConfig, commonConfig, configService, cloudServicesConfig);
+ CloudServicesConfig cloudServicesConfig,
+ AnalyticsService analyticsService) {
+ super(userService, userDataService, sessionUserService, applicationService, applicationPageService, newPageService, newActionService, actionCollectionService, fileUtils, importExportApplicationService, gitExecutor, responseUtils, emailConfig, commonConfig, configService, cloudServicesConfig, analyticsService);
}
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/GitServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/GitServiceCEImpl.java
index 2d1e4a489fd8..4b814418f325 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/GitServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/GitServiceCEImpl.java
@@ -1,6 +1,7 @@
package com.appsmith.server.services.ce;
import com.appsmith.external.dtos.GitBranchDTO;
+import com.appsmith.external.dtos.GitBranchListDTO;
import com.appsmith.external.dtos.GitLogDTO;
import com.appsmith.external.dtos.GitStatusDTO;
import com.appsmith.external.dtos.MergeStatusDTO;
@@ -10,6 +11,7 @@
import com.appsmith.server.configurations.CloudServicesConfig;
import com.appsmith.server.configurations.CommonConfig;
import com.appsmith.server.configurations.EmailConfig;
+import com.appsmith.server.constants.AnalyticsEvents;
import com.appsmith.server.constants.Assets;
import com.appsmith.server.constants.Entity;
import com.appsmith.server.constants.FieldName;
@@ -19,6 +21,7 @@
import com.appsmith.server.domains.GitApplicationMetadata;
import com.appsmith.server.domains.GitAuth;
import com.appsmith.server.domains.GitProfile;
+import com.appsmith.server.domains.User;
import com.appsmith.server.domains.UserData;
import com.appsmith.server.dtos.GitCommitDTO;
import com.appsmith.server.dtos.GitConnectDTO;
@@ -32,6 +35,7 @@
import com.appsmith.server.helpers.GitFileUtils;
import com.appsmith.server.helpers.GitUtils;
import com.appsmith.server.helpers.ResponseUtils;
+import com.appsmith.server.services.AnalyticsService;
import com.appsmith.server.services.ActionCollectionService;
import com.appsmith.server.services.ApplicationPageService;
import com.appsmith.server.services.ApplicationService;
@@ -75,6 +79,7 @@
import static com.appsmith.server.constants.CommentConstants.APPSMITH_BOT_USERNAME;
import static com.appsmith.server.constants.FieldName.DEFAULT;
import static com.appsmith.server.helpers.DefaultResourcesUtils.createPristineDefaultIdsAndUpdateWithGivenResourceIds;
+import static org.apache.commons.lang.ObjectUtils.defaultIfNull;
@Slf4j
@RequiredArgsConstructor
@@ -97,6 +102,7 @@ public class GitServiceCEImpl implements GitServiceCE {
private final CommonConfig commonConfig;
private final ConfigService configService;
private final CloudServicesConfig cloudServicesConfig;
+ private final AnalyticsService analyticsService;
private final static String DEFAULT_COMMIT_MESSAGE = "System generated commit, ";
private final static String EMPTY_COMMIT_ERROR_MESSAGE = "On current branch nothing to commit, working tree clean";
@@ -398,8 +404,17 @@ public Mono<String> commitApplication(GitCommitDTO commitDTO, String defaultAppl
.flatMap(branchedApplication -> {
GitApplicationMetadata gitApplicationMetadata = branchedApplication.getGitApplicationMetadata();
if (gitApplicationMetadata == null) {
- return Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_CONFIGURATION, "Unable to find the git " +
- "configuration, please configure the your application to use version control service"));
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_COMMIT.getEventName(),
+ branchedApplication.getOrganizationId(),
+ defaultApplicationId,
+ branchedApplication.getId(),
+ AppsmithError.INVALID_GIT_CONFIGURATION.getTitle(),
+ AppsmithError.INVALID_GIT_CONFIGURATION.getMessage("Unable to find the git " +
+ "configuration, please configure the your application to use version control service"),
+ branchedApplication.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_CONFIGURATION, "Unable to find the git " +
+ "configuration, please configure the your application to use version control service")));
}
String errorEntity = "";
if (StringUtils.isEmptyOrNull(gitApplicationMetadata.getBranchName())) {
@@ -434,7 +449,15 @@ public Mono<String> commitApplication(GitCommitDTO commitDTO, String defaultAppl
} catch (IOException | GitAPIException e) {
log.error("Unable to open git directory, with error : ", e);
if (e instanceof RepositoryNotFoundException) {
- return Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "commit", e));
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_COMMIT.getEventName(),
+ childApplication.getOrganizationId(),
+ defaultApplicationId,
+ childApplication.getId(),
+ ((RepositoryNotFoundException) e).getClass().getName(),
+ e.getMessage(),
+ childApplication.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "commit", e)));
}
return Mono.error(new AppsmithException(AppsmithError.GIT_FILE_SYSTEM_ERROR, e.getMessage()));
}
@@ -458,19 +481,44 @@ public Mono<String> commitApplication(GitCommitDTO commitDTO, String defaultAppl
}
if (authorProfile == null || StringUtils.isEmptyOrNull(authorProfile.getAuthorName())) {
- return Mono.error(new AppsmithException(
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_COMMIT.getEventName(),
+ childApplication.getOrganizationId(),
+ defaultApplicationId,
+ childApplication.getId(),
+ AppsmithError.INVALID_GIT_CONFIGURATION.getTitle(),
+ AppsmithError.INVALID_GIT_CONFIGURATION.getMessage("Unable to find git author configuration for logged-in user." +
+ " You can set up a git profile from the user profile section."),
+ childApplication.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(
AppsmithError.INVALID_GIT_CONFIGURATION, "Unable to find git author configuration for logged-in user." +
" You can set up a git profile from the user profile section."
- ));
+ )));
}
result.append("Commit Result : ");
return Mono.zip(
gitExecutor.commitApplication(baseRepoPath, commitMessage, authorProfile.getAuthorName(), authorProfile.getAuthorEmail(), false)
.onErrorResume(error -> {
if (error instanceof EmptyCommitException) {
- return Mono.just(EMPTY_COMMIT_ERROR_MESSAGE);
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_COMMIT.getEventName(),
+ childApplication.getOrganizationId(),
+ defaultApplicationId,
+ childApplication.getId(),
+ error.getClass().getName(),
+ error.getMessage(),
+ childApplication.getGitApplicationMetadata().getIsRepoPrivate()
+ ).thenReturn(EMPTY_COMMIT_ERROR_MESSAGE);
}
- return Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "commit", error.getMessage()));
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_COMMIT.getEventName(),
+ childApplication.getOrganizationId(),
+ defaultApplicationId,
+ childApplication.getId(),
+ error.getClass().getName(),
+ error.getMessage(),
+ childApplication.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "commit", error.getMessage())));
}),
Mono.just(childApplication)
);
@@ -484,9 +532,24 @@ public Mono<String> commitApplication(GitCommitDTO commitDTO, String defaultAppl
// Push flow
result.append(".\nPush Result : ");
return pushApplication(childApplication.getId(), false)
- .map(pushResult -> result.append(pushResult).toString());
+ .map(pushResult -> result.append(pushResult).toString())
+ .zipWith(Mono.just(childApplication));
}
- return Mono.just(result.toString());
+ return Mono.zip(Mono.just(result.toString()), Mono.just(childApplication));
+ })
+ // Add BE analytics
+ .flatMap(tuple -> {
+ String status = tuple.getT1();
+ Application application = tuple.getT2();
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_COMMIT.getEventName(),
+ application.getOrganizationId(),
+ defaultApplicationId,
+ application.getId(),
+ "",
+ "",
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).thenReturn(status);
});
}
@@ -578,7 +641,15 @@ public Mono<Application> connectApplicationToGit(String defaultApplicationId, Gi
return applicationService.getGitConnectedApplicationCount(application.getOrganizationId())
.flatMap(count -> {
if (limitCount <= count) {
- return Mono.error(new AppsmithException(AppsmithError.GIT_APPLICATION_LIMIT_ERROR));
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_CONNECT.getEventName(),
+ application.getOrganizationId(),
+ defaultApplicationId,
+ application.getId(),
+ AppsmithError.GIT_APPLICATION_LIMIT_ERROR.getTitle(),
+ AppsmithError.GIT_APPLICATION_LIMIT_ERROR.getMessage(),
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.GIT_APPLICATION_LIMIT_ERROR)));
}
return Mono.just(application);
});
@@ -599,10 +670,26 @@ public Mono<Application> connectApplicationToGit(String defaultApplicationId, Gi
).onErrorResume(error -> {
log.error("Error while cloning the remote repo, {}", error.getMessage());
if (error instanceof TransportException) {
- return Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_SSH_CONFIGURATION));
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_CONNECT.getEventName(),
+ application.getOrganizationId(),
+ defaultApplicationId,
+ application.getId(),
+ error.getClass().getName(),
+ error.getMessage(),
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_CONFIGURATION)));
}
if (error instanceof InvalidRemoteException) {
- return Mono.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, "remote url"));
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_CONNECT.getEventName(),
+ application.getOrganizationId(),
+ defaultApplicationId,
+ application.getId(),
+ error.getClass().getName(),
+ error.getMessage(),
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, "remote url")));
}
return Mono.error(new AppsmithException(AppsmithError.GIT_EXECUTION_TIMEOUT));
});
@@ -625,7 +712,15 @@ public Mono<Application> connectApplicationToGit(String defaultApplicationId, Gi
return fileUtils.checkIfDirectoryIsEmpty(repoPath)
.flatMap(isEmpty -> {
if (!isEmpty) {
- return Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_REPO));
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_CONNECT.getEventName(),
+ application.getOrganizationId(),
+ defaultApplicationId,
+ application.getId(),
+ AppsmithError.INVALID_GIT_REPO.getTitle(),
+ AppsmithError.INVALID_GIT_REPO.getMessage(),
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_REPO)));
} else {
GitApplicationMetadata gitApplicationMetadata = application.getGitApplicationMetadata();
gitApplicationMetadata.setDefaultApplicationId(applicationId);
@@ -718,7 +813,15 @@ public Mono<Application> connectApplicationToGit(String defaultApplicationId, Gi
fileUtils.detachRemote(baseRepoSuffix)
.flatMap(isDeleted -> {
if (error instanceof TransportException) {
- return Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_SSH_CONFIGURATION));
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_CONNECT.getEventName(),
+ application.getOrganizationId(),
+ defaultApplicationId,
+ application.getId(),
+ error.getClass().getName(),
+ error.getMessage(),
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.INVALID_GIT_CONFIGURATION)));
}
return Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "push", error.getMessage()));
})
@@ -729,7 +832,17 @@ public Mono<Application> connectApplicationToGit(String defaultApplicationId, Gi
log.error("Error while cloning the remote repo, {}", e.getMessage());
return Mono.error(new AppsmithException(AppsmithError.GIT_FILE_SYSTEM_ERROR, e.getMessage()));
}
- });
+ })
+ // Add BE analytics
+ .flatMap(application -> addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_CONNECT.getEventName(),
+ application.getOrganizationId(),
+ defaultApplicationId,
+ application.getId(),
+ "",
+ "",
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).thenReturn(application));
}
private Mono<Integer> getPrivateRepoLimitForOrg(String orgId, boolean isClearCache) {
@@ -812,7 +925,6 @@ private Mono<String> pushApplication(String applicationId, boolean doPublish) {
|| StringUtils.isEmptyOrNull(gitData.getBranchName())
|| StringUtils.isEmptyOrNull(gitData.getDefaultApplicationId())
|| StringUtils.isEmptyOrNull(gitData.getGitAuth().getPrivateKey())) {
-
return Mono.error(new AppsmithException(
AppsmithError.INVALID_GIT_CONFIGURATION, "Please reconfigure the application to connect to git repo"
));
@@ -827,25 +939,66 @@ private Mono<String> pushApplication(String applicationId, boolean doPublish) {
gitData.getRemoteUrl(),
gitAuth.getPublicKey(),
gitAuth.getPrivateKey(),
- gitData.getBranchName()))
+ gitData.getBranchName()).zipWith(Mono.just(application)))
.onErrorResume(error -> {
if (error instanceof TransportException) {
- return Mono.error(new AppsmithException(
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_PUSH.getEventName(),
+ application.getOrganizationId(),
+ gitData.getDefaultApplicationId(),
+ application.getId(),
+ error.getClass().getName(),
+ error.getMessage(),
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(
AppsmithError.GIT_ACTION_FAILED,
"push",
- " Uh oh! you haven't provided the write permission to deploy keys. Appsmith needs write access to push to remote, please provide one to proceed"));
+ " Uh oh! you haven't provided the write permission to deploy keys. Appsmith needs write access to push to remote, please provide one to proceed")));
}
- return Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "push", error.getMessage()));
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_PUSH.getEventName(),
+ application.getOrganizationId(),
+ gitData.getDefaultApplicationId(),
+ application.getId(),
+ error.getClass().getName(),
+ error.getMessage(),
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "push", error.getMessage())));
});
})
- .flatMap(pushResult -> {
+ .flatMap(tuple -> {
+ String pushResult = tuple.getT1();
+ Application application = tuple.getT2();
if (pushResult.contains("REJECTED")) {
final String error = "Failed to push some refs to remote\n" +
"> To prevent you from losing history, non-fast-forward updates were rejected\n" +
"> Merge the remote changes (e.g. 'git pull') before pushing again.";
- return Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, " push", error));
+
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_PUSH.getEventName(),
+ application.getOrganizationId(),
+ application.getGitApplicationMetadata().getDefaultApplicationId(),
+ applicationId,
+ AppsmithError.GIT_ACTION_FAILED.getTitle(),
+ AppsmithError.GIT_ACTION_FAILED.getMessage(error),
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, " push", error)));
}
- return Mono.just(pushResult);
+ return Mono.just(pushResult).zipWith(Mono.just(tuple.getT2()));
+ })
+ // Add BE analytics
+ .flatMap(tuple -> {
+ String pushStatus = tuple.getT1();
+ Application application = tuple.getT2();
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_PUSH.getEventName(),
+ application.getOrganizationId(),
+ application.getGitApplicationMetadata().getDefaultApplicationId(),
+ application.getId(),
+ "",
+ "",
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).thenReturn(pushStatus);
});
}
@@ -927,7 +1080,17 @@ public Mono<Application> detachRemote(String defaultApplicationId) {
)
.then()
.thenReturn(responseUtils.updateApplicationWithDefaultResources(application))
- );
+ )
+ // Add BE analytics
+ .flatMap(application -> addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_DISCONNECT.getEventName(),
+ application.getOrganizationId(),
+ defaultApplicationId,
+ application.getId(),
+ "",
+ "",
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).thenReturn(application));
}
public Mono<Application> createBranch(String defaultApplicationId, GitBranchDTO branchDTO, String srcBranch) {
@@ -977,11 +1140,19 @@ public Mono<Application> createBranch(String defaultApplicationId, GitBranchDTO
.equals(branchDTO.getBranchName()));
if (isDuplicateName) {
- return Mono.error(new AppsmithException(
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_CREATE_BRANCH.getEventName(),
+ srcApplication.getOrganizationId(),
+ defaultApplicationId,
+ srcApplication.getId(),
+ AppsmithError.DUPLICATE_KEY_USER_ERROR.getTitle(),
+ AppsmithError.DUPLICATE_KEY_USER_ERROR.getMessage("remotes/origin/"),
+ srcApplication.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(
AppsmithError.DUPLICATE_KEY_USER_ERROR,
"remotes/origin/" + branchDTO.getBranchName(),
FieldName.BRANCH_NAME
- ));
+ )));
}
return gitExecutor.createAndCheckoutToBranch(repoSuffix, branchDTO.getBranchName());
}))
@@ -1021,7 +1192,17 @@ public Mono<Application> createBranch(String defaultApplicationId, GitBranchDTO
.thenReturn(application);
});
})
- .map(responseUtils::updateApplicationWithDefaultResources);
+ .map(responseUtils::updateApplicationWithDefaultResources)
+ // Add BE analytics
+ .flatMap(application -> addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_CREATE_BRANCH.getEventName(),
+ application.getOrganizationId(),
+ defaultApplicationId,
+ application.getId(),
+ "",
+ "",
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).thenReturn(application));
}
public Mono<Application> checkoutBranch(String defaultApplicationId, String branchName) {
@@ -1049,7 +1230,17 @@ public Mono<Application> checkoutBranch(String defaultApplicationId, String bran
branchName, defaultApplicationId, READ_APPLICATIONS
);
})
- .map(responseUtils::updateApplicationWithDefaultResources);
+ .map(responseUtils::updateApplicationWithDefaultResources)
+ // Add BE analytics
+ .flatMap(application -> addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_CHECKOUT_BRANCH.getEventName(),
+ application.getOrganizationId(),
+ defaultApplicationId,
+ application.getId(),
+ "",
+ "",
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).thenReturn(application));
}
private Mono<Application> checkoutRemoteBranch(String defaultApplicationId, String branchName) {
@@ -1102,7 +1293,17 @@ private Mono<Application> checkoutRemoteBranch(String defaultApplicationId, Stri
Application application = tuple.getT2();
return importExportApplicationService
.importApplicationInOrganization(application.getOrganizationId(), applicationJson, application.getId(), branchName);
- });
+ })
+ // Add BE analytics
+ .flatMap(application -> addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_CHECKOUT_REMOTE_BRANCH.getEventName(),
+ application.getOrganizationId(),
+ defaultApplicationId,
+ application.getId(),
+ "",
+ "",
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).thenReturn(application));
}
private Mono<Application> publishAndOrGetApplication(String applicationId, boolean publish) {
@@ -1176,19 +1377,28 @@ public Mono<GitPullDTO> pullApplication(String applicationId, String branchName)
})
.flatMap(tuple -> {
GitStatusDTO status = tuple.getT2();
- // Check if the repo is clean
- if (!CollectionUtils.isNullOrEmpty(status.getModified())) {
- return Mono.error(
- new AppsmithException(AppsmithError.GIT_ACTION_FAILED,
- "pull",
- "There are uncommitted changes present in your local. Please commit them first and then try git pull"));
- }
-
Path repoSuffix = tuple.getT1();
GitAuth gitAuth = tuple.getT3();
Application branchedApplication = tuple.getT4();
GitApplicationMetadata gitApplicationMetadata = branchedApplication.getGitApplicationMetadata();
+ // Check if the repo is clean
+ if (!CollectionUtils.isNullOrEmpty(status.getModified())) {
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_PULL.getEventName(),
+ branchedApplication.getOrganizationId(),
+ gitApplicationMetadata.getDefaultApplicationId(),
+ branchedApplication.getId(),
+ AppsmithError.GIT_ACTION_FAILED.getTitle(),
+ AppsmithError.GIT_ACTION_FAILED.getMessage(
+ "pull",
+ "There are uncommitted changes present in your local. Please commit them first and then try git pull"),
+ branchedApplication.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED,
+ "pull",
+ "There are uncommitted changes present in your local. Please commit them first and then try git pull")));
+ }
+
// 2. git pull origin branchName
Mono<MergeStatusDTO> pullStatus = null;
try {
@@ -1197,21 +1407,23 @@ public Mono<GitPullDTO> pullApplication(String applicationId, String branchName)
gitApplicationMetadata.getRemoteUrl(),
gitApplicationMetadata.getBranchName(),
gitAuth.getPrivateKey(),
- gitAuth.getPublicKey()) .onErrorResume(error -> {
+ gitAuth.getPublicKey())
+ .onErrorResume(error -> {
if (error.getMessage().contains("Nothing to fetch")) {
MergeStatusDTO mergeStatus = new MergeStatusDTO();
mergeStatus.setStatus("Nothing to fetch from remote. All changes are up to date.");
mergeStatus.setMergeAble(true);
return Mono.just(mergeStatus);
}
- //else if(error.getMessage().contains("Merge conflict")) {
- // On merge conflict send the response with the error message
- //MergeStatusDTO mergeStatus = new MergeStatusDTO();
- //mergeStatus.setStatus(error.getMessage());
- //mergeStatus.setMergeAble(false);
- //return Mono.just(mergeStatus);
- //}
- return Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "pull", error.getMessage()));
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_PULL.getEventName(),
+ branchedApplication.getOrganizationId(),
+ gitApplicationMetadata.getDefaultApplicationId(),
+ branchedApplication.getId(),
+ error.getClass().getName(),
+ error.getMessage(),
+ branchedApplication.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "pull", error.getMessage())));
});
} catch (IOException e) {
return Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "pull", e.getMessage()));
@@ -1250,6 +1462,18 @@ public Mono<GitPullDTO> pullApplication(String applicationId, String branchName)
return this.commitApplication(commitDTO, application1.getGitApplicationMetadata().getDefaultApplicationId(), branchName)
.thenReturn(getPullDTO(application1, status));
});
+ })
+ // Add BE analytics
+ .flatMap(gitPullDTO -> {
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_PULL.getEventName(),
+ gitPullDTO.getApplication().getOrganizationId(),
+ applicationId,
+ gitPullDTO.getApplication().getId(),
+ ",",
+ "",
+ gitPullDTO.getApplication().getGitApplicationMetadata().getIsRepoPrivate()
+ ).thenReturn(gitPullDTO);
});
}
@@ -1289,7 +1513,8 @@ public Mono<List<GitBranchDTO>> listBranchForApplication(String defaultApplicati
);
return Mono.zip(gitBranchDTOMono, Mono.just(application), Mono.just(repoPath));
- }).flatMap(tuple -> {
+ })
+ .flatMap(tuple -> {
List<GitBranchDTO> gitBranchListDTOS = tuple.getT1();
Application application = tuple.getT2();
GitApplicationMetadata gitApplicationMetadata = application.getGitApplicationMetadata();
@@ -1328,7 +1553,7 @@ public Mono<List<GitBranchDTO>> listBranchForApplication(String defaultApplicati
.flatMap(applicationPageService::deleteApplicationByResource)
.flatMap(application1 -> gitExecutor.deleteBranch(repoPath, application1.getGitApplicationMetadata().getBranchName())))
.then(applicationService.save(application)
- .then(Mono.just(gitBranchListDTOS)));
+ .then(Mono.just(gitBranchListDTOS)).zipWith(Mono.just(application)));
} else {
gitBranchListDTOS
@@ -1336,8 +1561,22 @@ public Mono<List<GitBranchDTO>> listBranchForApplication(String defaultApplicati
.filter(branchDTO -> StringUtils.equalsIgnoreCase(branchDTO.getBranchName(), dbDefaultBranch))
.findFirst()
.ifPresent(branchDTO -> branchDTO.setDefault(true));
- return Mono.just(gitBranchListDTOS);
+ return Mono.just(gitBranchListDTOS).zipWith(Mono.just(application));
}
+ })
+ // Add BE analytics
+ .flatMap(tuple -> {
+ List<GitBranchDTO> gitBranchDTOList = tuple.getT1();
+ Application application = tuple.getT2();
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_PRUNE.getEventName(),
+ application.getOrganizationId(),
+ defaultApplicationId,
+ application.getId(),
+ "",
+ "",
+ application.getGitApplicationMetadata().getIsRepoPrivate()
+ ).thenReturn(gitBranchDTOList);
});
}
@@ -1468,9 +1707,27 @@ public Mono<GitPullDTO> mergeBranch(String defaultApplicationId, GitMergeDTO git
// On merge conflict create a new branch and push the branch to remote. Let the user resolve it the git client like github/gitlab handleMergeConflict
.onErrorResume(error -> {
if (error.getMessage().contains("Merge conflict")) {
- return Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "Merge", error.getMessage()));
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_MERGE.getEventName(),
+ defaultApplication.getOrganizationId(),
+ defaultApplicationId,
+ defaultApplication.getId(),
+ error.getClass().getName(),
+ error.getMessage(),
+ defaultApplication.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "Merge", error.getMessage())));
}
- return Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "Merge", error.getMessage()));
+
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_MERGE.getEventName(),
+ defaultApplication.getOrganizationId(),
+ defaultApplicationId,
+ defaultApplication.getId(),
+ error.getClass().getName(),
+ error.getMessage(),
+ defaultApplication.getGitApplicationMetadata().getIsRepoPrivate()
+ ).flatMap(user -> Mono.error(new AppsmithException(AppsmithError.GIT_ACTION_FAILED, "Merge", error.getMessage())));
+
});
})
.flatMap(mergeStatusTuple -> {
@@ -1515,6 +1772,18 @@ public Mono<GitPullDTO> mergeBranch(String defaultApplicationId, GitMergeDTO git
return gitPullDTO;
});
});
+ })
+ // Add BE analytics
+ .flatMap(gitPullDTO -> {
+ return addAnalyticsForGitOperation(
+ AnalyticsEvents.GIT_MERGE.getEventName(),
+ gitPullDTO.getApplication().getOrganizationId(),
+ defaultApplicationId,
+ gitPullDTO.getApplication().getId(),
+ "",
+ "",
+ gitPullDTO.getApplication().getGitApplicationMetadata().getIsRepoPrivate()
+ ).thenReturn(gitPullDTO);
});
}
@@ -1641,7 +1910,10 @@ private boolean isInvalidDefaultApplicationGitMetadata(GitApplicationMetadata gi
|| StringUtils.isEmptyOrNull(gitApplicationMetadata.getGitAuth().getPublicKey());
}
- private Mono<String> commitAndPushWithDefaultCommit(Path repoSuffix, GitAuth auth, GitApplicationMetadata gitApplicationMetadata, DEFAULT_COMMIT_REASONS reason) {
+ private Mono<String> commitAndPushWithDefaultCommit(Path repoSuffix,
+ GitAuth auth,
+ GitApplicationMetadata gitApplicationMetadata,
+ DEFAULT_COMMIT_REASONS reason) {
return gitExecutor.commitApplication(repoSuffix, DEFAULT_COMMIT_MESSAGE + reason.getReason(), APPSMITH_BOT_USERNAME, emailConfig.getSupportEmailAddress(), true)
.onErrorResume(error -> {
if (error instanceof EmptyCommitException) {
@@ -1668,4 +1940,32 @@ private Mono<String> commitAndPushWithDefaultCommit(Path repoSuffix, GitAuth aut
);
}
+ private Mono<User> addAnalyticsForGitOperation(String eventName,
+ String orgId,
+ String applicationId,
+ String branchApplicationId,
+ String errorType,
+ String errorMessage,
+ Boolean repoType) {
+ if (!analyticsService.isActive()) {
+ return Mono.empty();
+ }
+
+ return sessionUserService.getCurrentUser()
+ .map(user -> {
+ analyticsService.sendEvent(
+ eventName,
+ user.getUsername(),
+ Map.of(
+ "applicationId", defaultIfNull(applicationId, ""),
+ "organizationId", defaultIfNull(orgId, ""),
+ "branchApplicationId", defaultIfNull(branchApplicationId, ""),
+ "errorMessage", defaultIfNull(errorMessage, ""),
+ "errorType", defaultIfNull(errorType, ""),
+ "repoType", defaultIfNull(repoType, "")
+ )
+ );
+ return user;
+ });
+ }
}
|
5d0115f029b8d40b5fe3025eec9077f0d70c5184
|
2023-12-06 00:37:00
|
Nidhi
|
chore: Allow datasource to be null in client payloads (#29344)
| false
|
Allow datasource to be null in client payloads (#29344)
|
chore
|
diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/ce/ActionCE_DTO.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/ce/ActionCE_DTO.java
index 50e7d406cb7a..2a0dc91789bc 100644
--- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/ce/ActionCE_DTO.java
+++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/models/ce/ActionCE_DTO.java
@@ -182,22 +182,6 @@ public class ActionCE_DTO implements Identifiable, Executable {
@JsonView(Views.Internal.class)
protected Instant updatedAt;
- /**
- * If the Datasource is null, create one and set the autoGenerated flag to true. This is required because spring-data
- * cannot add the createdAt and updatedAt properties for null embedded objects. At this juncture, we couldn't find
- * a way to disable the auditing for nested objects.
- *
- * @return
- */
- @JsonView(Views.Public.class)
- public Datasource getDatasource() {
- if (this.datasource == null) {
- this.datasource = new Datasource();
- this.datasource.setIsAutoGenerated(true);
- }
- return datasource;
- }
-
@Override
@JsonView(Views.Public.class)
public String getValidName() {
@@ -298,4 +282,11 @@ public LayoutExecutableUpdateDTO createLayoutExecutableUpdateDTO() {
return layoutExecutableUpdateDTO;
}
+
+ public void autoGenerateDatasource() {
+ if (this.datasource == null) {
+ this.datasource = new Datasource();
+ this.datasource.setIsAutoGenerated(true);
+ }
+ }
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java
index f080682ef279..57d8bd412740 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java
@@ -257,6 +257,13 @@ public void generateAndSetActionPolicies(NewPage page, NewAction action) {
action.setPolicies(documentPolicies);
}
+ /**
+ * Whenever we save an action into the repository using this method, we expect that the action has all its required fields populated,
+ * and that this is not a partial update. As a result, all validations can be performed, and values can be reset if they do not fit
+ * our validations.
+ * @param newAction
+ * @return
+ */
@Override
public Mono<ActionDTO> validateAndSaveActionToRepository(NewAction newAction) {
@@ -309,7 +316,17 @@ public Mono<ActionDTO> validateAndSaveActionToRepository(NewAction newAction) {
validator.validate(actionConfig).stream().forEach(x -> invalids.add(x.getMessage()));
}
- if (action.getDatasource() == null || action.getDatasource().getIsAutoGenerated()) {
+ /**
+ * If the Datasource is null, create one and set the autoGenerated flag to true. This is required because spring-data
+ * cannot add the createdAt and updatedAt properties for null embedded objects. At this juncture, we couldn't find
+ * a way to disable the auditing for nested objects.
+ *
+ */
+ if (action.getDatasource() == null) {
+ action.autoGenerateDatasource();
+ }
+
+ if (action.getDatasource().getIsAutoGenerated()) {
if (action.getPluginType() != PluginType.JS) {
// This action isn't of type JS functions which requires that the pluginType be set by the client.
// Hence, datasource is very much required for such an action.
@@ -547,13 +564,16 @@ private Mono<ActionDTO> setTransientFieldsInUnpublishedAction(NewAction newActio
public Mono<ActionDTO> updateUnpublishedAction(String id, ActionDTO action) {
return updateUnpublishedActionWithoutAnalytics(id, action, Optional.of(actionPermission.getEditPermission()))
- .zipWith(Mono.defer(() -> {
- if (action.getDatasource() != null && action.getDatasource().getId() != null) {
- return datasourceService.findById(action.getDatasource().getId());
+ .zipWhen(zippedActions -> {
+ ActionDTO updatedActionDTO = zippedActions.getT1();
+ if (updatedActionDTO.getDatasource() != null
+ && updatedActionDTO.getDatasource().getId() != null) {
+ return datasourceService.findById(
+ updatedActionDTO.getDatasource().getId());
} else {
- return Mono.justOrEmpty(action.getDatasource());
+ return Mono.justOrEmpty(updatedActionDTO.getDatasource());
}
- }))
+ })
.flatMap(zippedData -> {
final Tuple2<ActionDTO, NewAction> zippedActions = zippedData.getT1();
final Datasource datasource = zippedData.getT2();
@@ -610,8 +630,7 @@ public Mono<Tuple2<ActionDTO, NewAction>> updateUnpublishedActionWithoutAnalytic
copyNestedNonNullProperties(action, unpublishedAction);
return dbAction;
})
- .flatMap(this::extractAndSetNativeQueryFromFormData)
- .cache();
+ .flatMap(newAction -> this.extractAndSetNativeQueryFromFormData(newAction));
return updatedActionMono.flatMap(savedNewAction ->
this.validateAndSaveActionToRepository(savedNewAction).zipWith(Mono.just(savedNewAction)));
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java
index c769f9b189a6..c0b694d3ad79 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutActionServiceCEImpl.java
@@ -466,13 +466,16 @@ public Mono<ActionDTO> createAction(ActionDTO action, AppsmithEventContext event
.flatMap(savedNewAction -> newActionService
.validateAndSaveActionToRepository(savedNewAction)
.zipWith(Mono.just(savedNewAction)))
- .zipWith(Mono.defer(() -> {
- if (action.getDatasource() != null && action.getDatasource().getId() != null) {
- return datasourceService.findById(action.getDatasource().getId());
+ .zipWhen(zippedActions -> {
+ ActionDTO savedActionDTO = zippedActions.getT1();
+ if (savedActionDTO.getDatasource() != null
+ && savedActionDTO.getDatasource().getId() != null) {
+ return datasourceService.findById(
+ savedActionDTO.getDatasource().getId());
} else {
- return Mono.justOrEmpty(action.getDatasource());
+ return Mono.justOrEmpty(savedActionDTO.getDatasource());
}
- }))
+ })
.flatMap(zippedData -> {
final Tuple2<ActionDTO, NewAction> zippedActions = zippedData.getT1();
final Datasource datasource = zippedData.getT2();
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java
index 898a91baa280..d26cee8e8315 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/LayoutCollectionServiceCEImpl.java
@@ -114,6 +114,9 @@ public Mono<ActionCollectionDTO> createCollection(ActionCollectionDTO collection
if (action.getId() == null) {
// Make sure that the proper values are used for the new action
// Scope the actions' fully qualified names by collection name
+ if (action.getDatasource() == null) {
+ action.autoGenerateDatasource();
+ }
action.getDatasource().setWorkspaceId(collection.getWorkspaceId());
action.getDatasource().setPluginId(collection.getPluginId());
action.getDatasource().setName(FieldName.UNUSED_DATASOURCE);
@@ -435,6 +438,9 @@ public Mono<ActionCollectionDTO> updateUnpublishedActionCollection(
actionDTO.setApplicationId(branchedActionCollection.getApplicationId());
if (actionDTO.getId() == null) {
actionDTO.setCollectionId(branchedActionCollection.getId());
+ if (actionDTO.getDatasource() == null) {
+ actionDTO.autoGenerateDatasource();
+ }
actionDTO.getDatasource().setWorkspaceId(actionCollectionDTO.getWorkspaceId());
actionDTO.getDatasource().setPluginId(actionCollectionDTO.getPluginId());
actionDTO.getDatasource().setName(FieldName.UNUSED_DATASOURCE);
|
866a16e13bcbcd142c184859cb3915f1681d644b
|
2023-05-30 10:59:01
|
Ankit Srivastava
|
feat: in-app ramps for "invite user to an application" and "custom roles" (#23588)
| false
|
in-app ramps for "invite user to an application" and "custom roles" (#23588)
|
feat
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Workspace/MemberRoles_Spec.ts b/app/client/cypress/e2e/Regression/ClientSide/Workspace/MemberRoles_Spec.ts
index eab174f6da0c..9a5e69499c68 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Workspace/MemberRoles_Spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/Workspace/MemberRoles_Spec.ts
@@ -92,9 +92,19 @@ describe("Create new workspace and invite user & validate all roles", () => {
_.agHelper.GetNClick(_.homePage._shareWorkspace(workspaceId));
_.agHelper.Sleep(2000);
_.agHelper.GetNClick(HomePage.selectRole);
- cy.get(".rc-select-item-option")
- .should("have.length", 2)
- .and("contain.text", `App Viewer`, `Developer`);
+ if (CURRENT_REPO === REPO.CE) {
+ cy.get(".rc-select-item-option")
+ .should("have.length", 3)
+ .should("contain.text", "App Viewer")
+ .should("contain.text", "Developer")
+ .should("contain.text", "Custom role");
+ } else {
+ cy.get(".rc-select-item-option")
+ .should("have.length", 2)
+ .should("contain.text", "App Viewer")
+ .should("contain.text", "Developer");
+ }
+
_.agHelper.GetNClick(HomePage.closeBtn);
_.agHelper.GetNClick(_.homePage._appHoverIcon("edit"));
@@ -133,9 +143,20 @@ describe("Create new workspace and invite user & validate all roles", () => {
_.agHelper.GetNClick(_.homePage._shareWorkspace(workspaceId));
_.agHelper.Sleep(2000);
_.agHelper.GetNClick(HomePage.selectRole);
- cy.get(".rc-select-item-option")
- .should("have.length", 3)
- .should("contain.text", `App Viewer`, `Developer`);
+ if (CURRENT_REPO === REPO.CE) {
+ cy.get(".rc-select-item-option")
+ .should("have.length", 4)
+ .should("contain.text", "Administrator")
+ .should("contain.text", "Developer")
+ .should("contain.text", "App Viewer")
+ .should("contain.text", "Custom role");
+ } else {
+ cy.get(".rc-select-item-option")
+ .should("have.length", 3)
+ .should("contain.text", "Administrator")
+ .should("contain.text", "Developer")
+ .should("contain.text", "App Viewer");
+ }
cy.get(".rc-select-item-option").should("contain.text", `Administrator`);
_.agHelper.GetNClick(HomePage.closeBtn);
_.agHelper.GetNClick(_.homePage._appHoverIcon("edit"));
diff --git a/app/client/cypress/support/Pages/HomePage.ts b/app/client/cypress/support/Pages/HomePage.ts
index 0105f4fb1bb4..b7dd1d2b72bb 100644
--- a/app/client/cypress/support/Pages/HomePage.ts
+++ b/app/client/cypress/support/Pages/HomePage.ts
@@ -442,8 +442,9 @@ export class HomePage {
: "The user/group have been invited successfully";
this.StubPostHeaderReq();
this.agHelper.AssertElementExist(
- "//span[text()='Users will have access to all applications in this workspace']",
+ "//span[text()='Users will have access to all applications in the workspace. For application-level access, try out our ']",
);
+ this.agHelper.AssertElementExist("//span[text()='business edition']");
cy.xpath(this._email).click({ force: true }).type(email);
cy.xpath(this._selectRole).first().click({ force: true });
this.agHelper.Sleep(500);
diff --git a/app/client/src/ce/constants/messages.ts b/app/client/src/ce/constants/messages.ts
index 776d4f0ef35b..20fdc0ca134b 100644
--- a/app/client/src/ce/constants/messages.ts
+++ b/app/client/src/ce/constants/messages.ts
@@ -165,11 +165,20 @@ export const INVITE_USER_SUBMIT_SUCCESS = (
) => `The user has been invited successfully`;
export const INVITE_USERS_VALIDATION_EMAILS_EMPTY = () =>
`Please enter the user emails`;
+export const INVITE_USER_RAMP_TEXT = () =>
+ "Users will have access to all applications in the workspace. For application-level access, try out our ";
+export const CUSTOM_ROLES_RAMP_TEXT = () =>
+ "To build and assign custom roles, try out our ";
+export const BUSINESS_TEXT = () => "Business";
+export const CUSTOM_ROLE_TEXT = () => "Custom role";
+export const CUSTOM_ROLE_DISABLED_OPTION_TEXT = () =>
+ "Can access specific applications or only certain pages and queries within an application";
export const USERS_HAVE_ACCESS_TO_ALL_APPS = () =>
"Users will have access to all applications in this workspace";
export const USERS_HAVE_ACCESS_TO_ONLY_THIS_APP = () =>
"Users will only have access to this application";
export const NO_USERS_INVITED = () => "You haven't invited any users yet";
+export const BUSINESS_EDITION_TEXT = () => "business edition";
export const USER_PROFILE_PICTURE_UPLOAD_FAILED = () =>
"Unable to upload display picture.";
diff --git a/app/client/src/ce/pages/workspace/Members.tsx b/app/client/src/ce/pages/workspace/Members.tsx
index 50bc79175024..b2a9214f8338 100644
--- a/app/client/src/ce/pages/workspace/Members.tsx
+++ b/app/client/src/ce/pages/workspace/Members.tsx
@@ -37,6 +37,9 @@ import {
PERMISSION_TYPE,
} from "@appsmith/utils/permissionHelpers";
import { getInitials } from "utils/AppsmithUtils";
+import { CustomRolesRamp } from "./WorkspaceInviteUsersForm";
+import { showProductRamps } from "utils/ProductRamps";
+import { RAMP_NAME } from "utils/ProductRamps/RampsControlList";
const { cloudHosting } = getAppsmithConfigs();
@@ -389,7 +392,7 @@ export default function MemberSettings(props: PageProps) {
roleChangingUserInfo &&
roleChangingUserInfo.username === data.username
}
- listHeight={300}
+ listHeight={400}
onSelect={(_value: string, option: any) => {
dispatch(
changeWorkspaceUserRole(workspaceId, option.key, data.username),
@@ -413,6 +416,11 @@ export default function MemberSettings(props: PageProps) {
</div>
</Option>
))}
+ {showProductRamps(RAMP_NAME.CUSTOM_ROLES) && (
+ <Option disabled>
+ <CustomRolesRamp />
+ </Option>
+ )}
</Select>
);
},
@@ -551,6 +559,11 @@ export default function MemberSettings(props: PageProps) {
</div>
</Option>
))}
+ {showProductRamps(RAMP_NAME.CUSTOM_ROLES) && (
+ <Option disabled>
+ <CustomRolesRamp />
+ </Option>
+ )}
</Select>
)}
<DeleteIcon
diff --git a/app/client/src/ce/pages/workspace/WorkspaceInviteUsersForm.tsx b/app/client/src/ce/pages/workspace/WorkspaceInviteUsersForm.tsx
index 23cf2f044620..b758791031ce 100644
--- a/app/client/src/ce/pages/workspace/WorkspaceInviteUsersForm.tsx
+++ b/app/client/src/ce/pages/workspace/WorkspaceInviteUsersForm.tsx
@@ -21,6 +21,12 @@ import {
INVITE_USERS_VALIDATION_ROLE_EMPTY,
USERS_HAVE_ACCESS_TO_ALL_APPS,
NO_USERS_INVITED,
+ BUSINESS_EDITION_TEXT,
+ INVITE_USER_RAMP_TEXT,
+ CUSTOM_ROLES_RAMP_TEXT,
+ BUSINESS_TEXT,
+ CUSTOM_ROLE_DISABLED_OPTION_TEXT,
+ CUSTOM_ROLE_TEXT,
} from "@appsmith/constants/messages";
import { isEmail } from "utils/formhelpers";
import {
@@ -41,6 +47,8 @@ import {
Option,
Tooltip,
toast,
+ Tag,
+ Link,
} from "design-system";
import { getInitialsFromName } from "utils/AppsmithUtils";
import ManageUsers from "pages/workspace/ManageUsers";
@@ -52,6 +60,8 @@ import {
import { USER_PHOTO_ASSET_URL } from "constants/userConstants";
import { importSvg } from "design-system-old";
import type { WorkspaceUserRoles } from "@appsmith/constants/workspaceConstants";
+import { getRampLink, showProductRamps } from "utils/ProductRamps";
+import { RAMP_NAME } from "utils/ProductRamps/RampsControlList";
const NoEmailConfigImage = importSvg(
() => import("assets/images/email-not-configured.svg"),
@@ -165,6 +175,18 @@ export const ErrorTextContainer = styled.div`
}
`;
+export const WorkspaceText = styled.div`
+ a {
+ display: inline;
+ }
+`;
+export const CustomRoleRampTooltip = styled(Tooltip)`
+ pointer-events: auto;
+`;
+export const RampLink = styled(Link)`
+ display: inline;
+`;
+
const validateFormValues = (values: {
users: string;
role?: string;
@@ -221,6 +243,75 @@ const validate = (values: any) => {
return errors;
};
+function InviteUserText({
+ isApplicationInvite,
+}: {
+ isApplicationInvite: boolean;
+}) {
+ return (
+ <Text
+ color="var(--ads-v2-color-fg)"
+ data-testid="helper-message"
+ kind="action-m"
+ >
+ {showProductRamps(RAMP_NAME.INVITE_USER_TO_APP) && isApplicationInvite ? (
+ <>
+ {createMessage(INVITE_USER_RAMP_TEXT)}
+ <Link kind="primary" target="_blank" to={getRampLink("app_share")}>
+ {createMessage(BUSINESS_EDITION_TEXT)}
+ </Link>
+ </>
+ ) : (
+ createMessage(USERS_HAVE_ACCESS_TO_ALL_APPS)
+ )}
+ </Text>
+ );
+}
+
+export function CustomRolesRamp() {
+ const [dynamicProps, setDynamicProps] = useState<any>({});
+ const rampText = (
+ <Text color="var(--ads-v2-color-white)" kind="action-m">
+ {createMessage(CUSTOM_ROLES_RAMP_TEXT)}{" "}
+ <RampLink
+ className="inline"
+ kind="primary"
+ onClick={() => {
+ setDynamicProps({ visible: false });
+ window.open(getRampLink("workspace_share"), "_blank");
+ // This reset of prop is required because, else the tooltip will be controlled by the state
+ setTimeout(() => {
+ setDynamicProps({});
+ }, 1);
+ }}
+ >
+ {createMessage(BUSINESS_EDITION_TEXT)}
+ </RampLink>
+ </Text>
+ );
+ return (
+ <CustomRoleRampTooltip
+ content={rampText}
+ placement="right"
+ {...dynamicProps}
+ >
+ <div className="flex flex-col gap-1">
+ <div className="flex gap-1">
+ <Text color="var(--ads-v2-color-fg-emphasis)" kind="heading-xs">
+ {createMessage(CUSTOM_ROLE_TEXT)}
+ </Text>
+ <Tag isClosable={false} size="md">
+ {createMessage(BUSINESS_TEXT)}
+ </Tag>
+ </div>
+ <Text kind="body-s">
+ {createMessage(CUSTOM_ROLE_DISABLED_OPTION_TEXT)}
+ </Text>
+ </div>
+ </CustomRoleRampTooltip>
+ );
+}
+
function WorkspaceInviteUsersForm(props: any) {
const [emailError, setEmailError] = useState("");
const [selectedOption, setSelectedOption] = useState<any[]>([]);
@@ -381,16 +472,6 @@ function WorkspaceInviteUsersForm(props: any) {
);
})}
>
- <div className="flex gap-2 mb-2">
- <Text
- color="var(--ads-v2-color-fg)"
- data-testid="helper-message"
- kind="action-m"
- >
- {createMessage(USERS_HAVE_ACCESS_TO_ALL_APPS)}
- </Text>
- </div>
-
<StyledInviteFieldGroup>
<div style={{ width: "60%" }}>
<TagListField
@@ -443,6 +524,11 @@ function WorkspaceInviteUsersForm(props: any) {
</div>
</Option>
))}
+ {showProductRamps(RAMP_NAME.CUSTOM_ROLES) && (
+ <Option disabled>
+ <CustomRolesRamp />
+ </Option>
+ )}
</Select>
</div>
<div>
@@ -457,7 +543,12 @@ function WorkspaceInviteUsersForm(props: any) {
</Button>
</div>
</StyledInviteFieldGroup>
-
+ <div className="flex gap-2 mt-2 items-start">
+ <Icon className="mt-1" name="user-3-line" size="md" />
+ <WorkspaceText>
+ <InviteUserText isApplicationInvite={isApplicationInvite} />
+ </WorkspaceText>
+ </div>
{isLoading ? (
<div className="pt-4 overflow-hidden">
<Spinner size="lg" />
diff --git a/app/client/src/utils/ProductRamps/RampTypes.ts b/app/client/src/utils/ProductRamps/RampTypes.ts
new file mode 100644
index 000000000000..545842ad4eeb
--- /dev/null
+++ b/app/client/src/utils/ProductRamps/RampTypes.ts
@@ -0,0 +1,10 @@
+export type EnvTypes = "CLOUD_HOSTED" | "SELF_HOSTED";
+export type RampSection = "workspace_share" | "app_share";
+
+export type RampsForRolesTypes = {
+ [key: string]: boolean;
+};
+
+export type SupportedRampsType = {
+ [key in EnvTypes]: RampsForRolesTypes;
+};
diff --git a/app/client/src/utils/ProductRamps/RampsControlList.ts b/app/client/src/utils/ProductRamps/RampsControlList.ts
new file mode 100644
index 000000000000..af177d050d7e
--- /dev/null
+++ b/app/client/src/utils/ProductRamps/RampsControlList.ts
@@ -0,0 +1,43 @@
+import type { SupportedRampsType } from "./RampTypes";
+
+export const RAMP_NAME = {
+ INVITE_USER_TO_APP: "INVITE_USER_TO_APP",
+ CUSTOM_ROLES: "CUSTOM_ROLES",
+};
+
+export const RAMP_FOR_ROLES = {
+ SUPER_USER: "Super User",
+ ADMIN: "Administrator",
+ DEVELOPER: "Developer",
+ APP_VIEWER: "App Viewer",
+};
+
+export const INVITE_USER_TO_APP: SupportedRampsType = {
+ CLOUD_HOSTED: {
+ [RAMP_FOR_ROLES.SUPER_USER]: true,
+ [RAMP_FOR_ROLES.ADMIN]: true,
+ [RAMP_FOR_ROLES.DEVELOPER]: true,
+ [RAMP_FOR_ROLES.APP_VIEWER]: true,
+ },
+ SELF_HOSTED: {
+ [RAMP_FOR_ROLES.SUPER_USER]: true,
+ [RAMP_FOR_ROLES.ADMIN]: true,
+ [RAMP_FOR_ROLES.DEVELOPER]: true,
+ [RAMP_FOR_ROLES.APP_VIEWER]: true,
+ },
+};
+
+export const CUSTOM_ROLES: SupportedRampsType = {
+ CLOUD_HOSTED: {
+ [RAMP_FOR_ROLES.SUPER_USER]: true,
+ [RAMP_FOR_ROLES.ADMIN]: true,
+ [RAMP_FOR_ROLES.DEVELOPER]: true,
+ [RAMP_FOR_ROLES.APP_VIEWER]: false,
+ },
+ SELF_HOSTED: {
+ [RAMP_FOR_ROLES.SUPER_USER]: true,
+ [RAMP_FOR_ROLES.ADMIN]: true,
+ [RAMP_FOR_ROLES.DEVELOPER]: true,
+ [RAMP_FOR_ROLES.APP_VIEWER]: false,
+ },
+};
diff --git a/app/client/src/utils/ProductRamps/index.test.ts b/app/client/src/utils/ProductRamps/index.test.ts
new file mode 100644
index 000000000000..253e4f36c469
--- /dev/null
+++ b/app/client/src/utils/ProductRamps/index.test.ts
@@ -0,0 +1,117 @@
+import store from "store";
+import {
+ PRODUCT_RAMPS_LIST,
+ getUserRoleInWorkspace,
+ showProductRamps,
+} from ".";
+import { RAMP_FOR_ROLES, RAMP_NAME } from "./RampsControlList";
+import type { SupportedRampsType } from "./RampTypes";
+
+jest.mock("store");
+
+describe("getUserRoleInWorkspace", () => {
+ test("should return Super User role when isSuperUser is true", () => {
+ const stateMock = {
+ ui: {
+ users: {
+ currentUser: {
+ isSuperUser: true,
+ },
+ },
+ },
+ };
+ (store.getState as jest.Mock).mockReturnValue(stateMock);
+
+ const result = getUserRoleInWorkspace();
+ expect(result).toBe(RAMP_FOR_ROLES.SUPER_USER);
+ });
+
+ test("should return the role when isSuperUser is false and workspaceUsers has roles", () => {
+ const roles = ["Administrator", "Developer", "App Viewer"];
+
+ roles.forEach((role) => {
+ const stateMock = {
+ ui: {
+ users: {
+ currentUser: {
+ isSuperUser: false,
+ username: "testuser",
+ },
+ },
+ workspaces: {
+ workspaceUsers: [
+ {
+ username: "testuser",
+ roles: [
+ {
+ name: `${role}-role`,
+ },
+ ],
+ },
+ ],
+ },
+ },
+ };
+ (store.getState as jest.Mock).mockReturnValue(stateMock);
+
+ const result = getUserRoleInWorkspace();
+ expect(result).toBe(role);
+ });
+ });
+});
+
+describe("showProductRamps", () => {
+ test("should return false when rampName is not in PRODUCT_RAMPS_LIST", () => {
+ const stateMock = {
+ ui: {
+ users: {
+ currentUser: {
+ isSuperUser: true,
+ },
+ },
+ },
+ };
+ (store.getState as jest.Mock).mockReturnValue(stateMock);
+ const rampName = "INVALID_RAMP";
+ const result = showProductRamps(rampName);
+ expect(result).toBe(false);
+ });
+
+ test("should return the correct rampConfig based on role and env", () => {
+ const rampNames = [RAMP_NAME.INVITE_USER_TO_APP, RAMP_NAME.CUSTOM_ROLES];
+ const envs = ["SELF_HOSTED", "CLOUD_HOSTED"];
+ const roles = ["Administrator", "Developer", "App Viewer"];
+ rampNames.forEach((ramp) => {
+ envs.forEach((env) => {
+ roles.forEach((role) => {
+ (store.getState as jest.Mock).mockReturnValueOnce({
+ ui: {
+ users: {
+ currentUser: {
+ isSuperUser: false,
+ username: "testuser",
+ },
+ },
+ workspaces: {
+ workspaceUsers: [
+ {
+ username: "testuser",
+ roles: [
+ {
+ name: `${role}-role`,
+ },
+ ],
+ },
+ ],
+ },
+ },
+ });
+ const result = showProductRamps(ramp);
+ const expected =
+ PRODUCT_RAMPS_LIST[ramp][env as keyof SupportedRampsType][role];
+ expect(result).toBe(expected);
+ });
+ });
+ });
+ });
+});
diff --git a/app/client/src/utils/ProductRamps/index.ts b/app/client/src/utils/ProductRamps/index.ts
new file mode 100644
index 000000000000..f699cb205a90
--- /dev/null
+++ b/app/client/src/utils/ProductRamps/index.ts
@@ -0,0 +1,54 @@
+import { PRICING_PAGE_URL } from "constants/ThirdPartyConstants";
+import type { EnvTypes, RampSection, SupportedRampsType } from "./RampTypes";
+import {
+ CUSTOM_ROLES,
+ INVITE_USER_TO_APP,
+ RAMP_FOR_ROLES,
+ RAMP_NAME,
+} from "./RampsControlList";
+import { getAppsmithConfigs } from "@appsmith/configs";
+import store from "store";
+
+const { cloudHosting, pricingUrl } = getAppsmithConfigs();
+
+export const PRODUCT_RAMPS_LIST: { [key: string]: SupportedRampsType } = {
+ [RAMP_NAME.INVITE_USER_TO_APP]: INVITE_USER_TO_APP,
+ [RAMP_NAME.CUSTOM_ROLES]: CUSTOM_ROLES,
+};
+
+export const getRampLink = (section: RampSection) => {
+ const state = store.getState();
+ const instanceId = state?.tenant?.instanceId;
+ const source = cloudHosting ? "cloud" : "CE";
+ const RAMP_LINK_TO = PRICING_PAGE_URL(pricingUrl, source, instanceId);
+ return `${RAMP_LINK_TO}&feature=GAC§ion=${section}`;
+};
+
+export const getUserRoleInWorkspace = () => {
+ const state = store.getState();
+ const { currentUser } = state?.ui?.users;
+ const isSuperUser = currentUser?.isSuperUser;
+ if (isSuperUser) return RAMP_FOR_ROLES.SUPER_USER;
+ const workspaceUsers = state?.ui?.workspaces?.workspaceUsers;
+ if (workspaceUsers?.length) {
+ const workspaceUser = workspaceUsers.find(
+ (user: any) => user?.username === currentUser?.username,
+ );
+ if (workspaceUser?.roles?.length) {
+ const [role] = workspaceUser.roles[0]?.name?.split("-");
+ if (role) {
+ return role.trim();
+ }
+ }
+ }
+};
+
+export const showProductRamps = (rampName: string) => {
+ const role = getUserRoleInWorkspace();
+ const env: EnvTypes = cloudHosting ? "CLOUD_HOSTED" : "SELF_HOSTED";
+ if (rampName in PRODUCT_RAMPS_LIST) {
+ const rampConfig = PRODUCT_RAMPS_LIST[rampName][env];
+ return rampConfig[role];
+ }
+ return false;
+};
|
8e6ba37d00849b87ff61e5a0621093f48c164c7d
|
2021-09-23 16:44:01
|
NandanAnantharamu
|
test: fix/Updated common method (#7734)
| false
|
fix/Updated common method (#7734)
|
test
|
diff --git a/app/client/cypress/fixtures/checkboxgroupDsl.json b/app/client/cypress/fixtures/checkboxgroupDsl.json
new file mode 100644
index 000000000000..cb2e7027d02b
--- /dev/null
+++ b/app/client/cypress/fixtures/checkboxgroupDsl.json
@@ -0,0 +1,57 @@
+{
+ "dsl": {
+ "widgetName": "MainContainer",
+ "backgroundColor": "none",
+ "rightColumn": 1280,
+ "snapColumns": 64,
+ "detachFromLayout": true,
+ "widgetId": "0",
+ "topRow": 0,
+ "bottomRow": 530,
+ "containerStyle": "none",
+ "snapRows": 129,
+ "parentRowSpace": 1,
+ "type": "CANVAS_WIDGET",
+ "canExtend": true,
+ "version": 39,
+ "minHeight": 590,
+ "parentColumnSpace": 1,
+ "dynamicBindingPathList": [],
+ "leftColumn": 0,
+ "children": [
+ {
+ "isRequired": false,
+ "widgetName": "CheckboxGroup1",
+ "rightColumn": 64,
+ "defaultSelectedValues": "apple",
+ "widgetId": "g6sddv09d5",
+ "topRow": 1,
+ "bottomRow": 33,
+ "parentRowSpace": 10,
+ "isVisible": true,
+ "type": "CHECKBOX_GROUP_WIDGET",
+ "version": 1,
+ "parentId": "0",
+ "isLoading": false,
+ "parentColumnSpace": 7.852001953124999,
+ "leftColumn": 24,
+ "dynamicBindingPathList": [],
+ "options": [
+ {
+ "label": "Apple",
+ "value": "apple"
+ },
+ {
+ "label": "Orange",
+ "value": "orange"
+ },
+ {
+ "label": "Lemon",
+ "value": "lemon"
+ }
+ ],
+ "isDisabled": false
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/CheckboxGroup_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/CheckboxGroup_spec.js
index d034dfbbeb8f..26acce57abab 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/CheckboxGroup_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/FormWidgets/CheckboxGroup_spec.js
@@ -1,7 +1,7 @@
const commonlocators = require("../../../../locators/commonlocators.json");
const formWidgetsPage = require("../../../../locators/FormWidgets.json");
const publish = require("../../../../locators/publishWidgetspage.json");
-const dsl = require("../../../../fixtures/newFormDsl.json");
+const dsl = require("../../../../fixtures/checkboxgroupDsl.json");
const pages = require("../../../../locators/Pages.json");
describe("Checkbox Group Widget Functionality", function() {
diff --git a/app/client/cypress/support/commands.js b/app/client/cypress/support/commands.js
index 44a0213ff790..ec2941b64b69 100644
--- a/app/client/cypress/support/commands.js
+++ b/app/client/cypress/support/commands.js
@@ -1853,8 +1853,8 @@ Cypress.Commands.add("addAPIFromLightningMenu", (ApiName) => {
Cypress.Commands.add("radioInput", (index, text) => {
cy.get(widgetsPage.RadioInput)
.eq(index)
- .click()
- .clear()
+ .click({ force: true })
+ .clear({ force: true })
.type(text)
.wait(200);
});
|
c5ce3dc0ecb507bf90823ae520444bd65559eabc
|
2023-07-04 11:38:40
|
Vijetha-Kaja
|
test: Cypress - Skipping test to unblock CI (#25053)
| false
|
Cypress - Skipping test to unblock CI (#25053)
|
test
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/MobileResponsiveTests/AutoFillWidgets_Reflow_spec.ts b/app/client/cypress/e2e/Regression/ClientSide/MobileResponsiveTests/AutoFillWidgets_Reflow_spec.ts
index bf1e671f3f61..1eac736fbc8d 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/MobileResponsiveTests/AutoFillWidgets_Reflow_spec.ts
+++ b/app/client/cypress/e2e/Regression/ClientSide/MobileResponsiveTests/AutoFillWidgets_Reflow_spec.ts
@@ -33,7 +33,7 @@ describe("Copy paste widget related tests for Auto layout", () => {
"wrap",
);
});
- it("2. Auto Layout Reflow should work in public apps as well", () => {
+ it.skip("2. Auto Layout Reflow should work in public apps as well", () => {
let currentUrl = "";
cy.url().then((url) => {
currentUrl = url;
|
2a6108d92ff246cb8c37d6e40c04266fa391a522
|
2022-10-27 15:13:27
|
ChandanBalajiBP
|
test: Cases to check ast client integration (#17625)
| false
|
Cases to check ast client integration (#17625)
|
test
|
diff --git a/app/client/src/workers/DependencyMap/utils.test.ts b/app/client/src/workers/DependencyMap/utils.test.ts
new file mode 100644
index 000000000000..e7452379f5d6
--- /dev/null
+++ b/app/client/src/workers/DependencyMap/utils.test.ts
@@ -0,0 +1,92 @@
+import { entityRefactorFromCode } from "@shared/ast";
+
+const entityRefactor = [
+ {
+ script: "ApiNever",
+ oldName: "ApiNever",
+ newName: "ApiForever",
+ isJSObject: false,
+ evalVersion: 2,
+ },
+ {
+ script: "ApiNever.data",
+ oldName: "ApiNever",
+ newName: "ApiForever",
+ isJSObject: false,
+ evalVersion: 2,
+ },
+ {
+ script:
+ "// ApiNever \n function ApiNever(abc) {let foo = \"I'm getting data from ApiNever but don't rename this string\" + ApiNever.data; \n if(true) { return ApiNever }}",
+ oldName: "ApiNever",
+ newName: "ApiForever",
+ isJSObject: false,
+ evalVersion: 2,
+ },
+ {
+ script:
+ "//ApiNever \n function ApiNever(abc) {let ApiNever = \"I'm getting data from ApiNever but don't rename this string\" + ApiNever.data; \n if(true) { return ApiNever }}",
+ oldName: "ApiNever",
+ newName: "ApiForever",
+ isJSObject: false,
+ evalVersion: 2,
+ },
+ {
+ script:
+ "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\t\tsearch: () => {\n\t\tif(Input1Copy.text.length==0){\n\t\t\treturn select_repair_db.data\n\t\t}\n\t\telse{\n\t\t\treturn(select_repair_db.data.filter(word => word.cust_name.toLowerCase().includes(Input1Copy.text.toLowerCase())))\n\t\t}\n\t},\n}",
+ oldName: "Input1Copy",
+ newName: "Input1",
+ isJSObject: true,
+ evalVersion: 2,
+ },
+];
+const expectedResponse = [
+ { script: "ApiForever", refactorCount: 1 },
+ { script: "ApiForever.data", refactorCount: 1 },
+ {
+ script:
+ "// ApiNever \n function ApiNever(abc) {let foo = \"I'm getting data from ApiNever but don't rename this string\" + ApiForever.data; \n if(true) { return ApiForever }}",
+ refactorCount: 2,
+ },
+ {
+ script:
+ "//ApiNever \n function ApiNever(abc) {let ApiNever = \"I'm getting data from ApiNever but don't rename this string\" + ApiNever.data; \n if(true) { return ApiNever }}",
+ refactorCount: 0,
+ },
+ {
+ script:
+ "export default {\n\tmyVar1: [],\n\tmyVar2: {},\n\t\tsearch: () => {\n\t\tif(Input1.text.length==0){\n\t\t\treturn select_repair_db.data\n\t\t}\n\t\telse{\n\t\t\treturn(select_repair_db.data.filter(word => word.cust_name.toLowerCase().includes(Input1.text.toLowerCase())))\n\t\t}\n\t},\n}",
+ refactorCount: 2,
+ },
+];
+
+type EntityRefactorResponse = {
+ isSuccess: boolean;
+ body: { script: string; refactorCount: number };
+};
+
+describe("Check if shared/ast module is loaded", () => {
+ const input = {
+ script: '"ApiNever"+ ApiNever.data',
+ oldName: "ApiNever",
+ newName: "ApiForever",
+ evalVersion: 2,
+ };
+
+ //These are integration test to verify the loading of @shared/ast module.
+ entityRefactor.forEach(async (input, index) => {
+ it(`Entity refactor test case ${index + 1}`, async () => {
+ const res = entityRefactorFromCode(
+ input.script,
+ input.oldName,
+ input.newName,
+ input.isJSObject,
+ input.evalVersion,
+ ) as EntityRefactorResponse;
+ expect(res.body.script).toEqual(expectedResponse[index].script);
+ expect(res.body.refactorCount).toEqual(
+ expectedResponse[index].refactorCount,
+ );
+ });
+ });
+});
|
71f09b5f7d83a8ac92d4f211fddbc811c027c34e
|
2023-08-08 21:36:30
|
Aishwarya-U-R
|
test: Cypress | CI Stabilize (#26172)
| false
|
Cypress | CI Stabilize (#26172)
|
test
|
diff --git a/app/client/cypress/e2e/Regression/ServerSide/LoginTests/LoginFailure_spec.js b/app/client/cypress/e2e/Regression/ServerSide/LoginTests/LoginFailure_spec.js
index e25bf2f3aaaa..44f75e55c2d1 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/LoginTests/LoginFailure_spec.js
+++ b/app/client/cypress/e2e/Regression/ServerSide/LoginTests/LoginFailure_spec.js
@@ -14,9 +14,11 @@ describe("Login failure", function () {
.then((location) => {
appUrl = location.href.split("?")[0];
cy.LogOutUser();
+ agHelper.AssertElementVisible(homePage._username); //check if user is logged out & then try to visit app url
cy.window({ timeout: 60000 }).then((win) => {
win.location.href = appUrl;
});
+ agHelper.Sleep(2000); //for page redirect to complete
assertHelper.AssertNetworkStatus("signUpLogin");
agHelper.AssertElementVisible(homePage._username);
})
diff --git a/app/client/cypress/support/Pages/AggregateHelper.ts b/app/client/cypress/support/Pages/AggregateHelper.ts
index a81da8a011f4..25f38a8ee8a4 100644
--- a/app/client/cypress/support/Pages/AggregateHelper.ts
+++ b/app/client/cypress/support/Pages/AggregateHelper.ts
@@ -1363,6 +1363,8 @@ export class AggregateHelper extends ReusableHelper {
return this.GetElement(selector, timeout)
.eq(index)
.scrollIntoView()
+ .should("exist")
+ .wait(200)
.should("be.visible");
}
|
145c07307a88bce06cd9400e568db340fc32f7a2
|
2023-11-22 19:24:23
|
sneha122
|
fix: gsheet invalid ds query redirect issue fixed (#29009)
| false
|
gsheet invalid ds query redirect issue fixed (#29009)
|
fix
|
diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/exceptions/pluginExceptions/AppsmithPluginError.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/exceptions/pluginExceptions/AppsmithPluginError.java
index 9f5b575b81ef..d7533e23470e 100644
--- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/exceptions/pluginExceptions/AppsmithPluginError.java
+++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/exceptions/pluginExceptions/AppsmithPluginError.java
@@ -108,7 +108,7 @@ public enum AppsmithPluginError implements BasePluginError {
"{0}",
"{1}"),
PLUGIN_DATASOURCE_AUTHENTICATION_ERROR(
- 400,
+ 401,
AppsmithPluginErrorCode.PLUGIN_DATASOURCE_AUTHENTICATION_ERROR.getCode(),
"Invalid authentication credentials. Please check datasource configuration.",
AppsmithErrorAction.DEFAULT,
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java
index cfbe2e0e5d0b..e69f619a9d73 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java
@@ -233,7 +233,8 @@ public Mono<ResponseDTO<ErrorDTO>> catchServerWebInputException(
@ExceptionHandler
@ResponseBody
public Mono<ResponseDTO<ErrorDTO>> catchPluginException(AppsmithPluginException e, ServerWebExchange exchange) {
- exchange.getResponse().setStatusCode(HttpStatus.resolve(e.getHttpStatus()));
+ AppsmithError appsmithError = AppsmithError.INTERNAL_SERVER_ERROR;
+ exchange.getResponse().setStatusCode(HttpStatus.resolve(appsmithError.getHttpErrorCode()));
doLog(e);
String urlPath = exchange.getRequest().getPath().toString();
ResponseDTO<ErrorDTO> response = new ResponseDTO<>(
|
cb76fdf6815dd4b60c218ae85ca9c1f54dfca719
|
2024-05-07 15:26:48
|
Ankita Kinger
|
chore: Removing widgets related feature flags for the features that are GA (#33229)
| false
|
Removing widgets related feature flags for the features that are GA (#33229)
|
chore
|
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Chart/Custom_Chart_Data_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Chart/Custom_Chart_Data_spec.js
index 27699f75975b..d416f39a8998 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Chart/Custom_Chart_Data_spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Chart/Custom_Chart_Data_spec.js
@@ -1,5 +1,4 @@
import * as _ from "../../../../../support/Objects/ObjectsCore";
-import { featureFlagIntercept } from "../../../../../support/Objects/FeatureFlags";
describe(
"Chart Widget Functionality around custom chart data",
@@ -11,9 +10,6 @@ describe(
it("1. change chart type to custom chart", function () {
const value1 = 40;
- featureFlagIntercept({
- deprecate_custom_fusioncharts_enabled: true,
- });
cy.openPropertyPane("chartwidget");
cy.UpdateChartType("Custom Fusion Charts (deprecated)");
//change chart value via input widget and validate
diff --git a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Chart/Custom_Chart_spec.js b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Chart/Custom_Chart_spec.js
index 292d6e10da27..6e204e3cacc9 100644
--- a/app/client/cypress/e2e/Regression/ClientSide/Widgets/Chart/Custom_Chart_spec.js
+++ b/app/client/cypress/e2e/Regression/ClientSide/Widgets/Chart/Custom_Chart_spec.js
@@ -5,7 +5,6 @@ import EditorNavigation, {
const viewWidgetsPage = require("../../../../../locators/ViewWidgets.json");
const widgetsPage = require("../../../../../locators/Widgets.json");
import * as _ from "../../../../../support/Objects/ObjectsCore";
-import { featureFlagIntercept } from "../../../../../support/Objects/FeatureFlags";
describe(
"Chart Widget Functionality around custom chart feature",
@@ -76,9 +75,6 @@ describe(
it("2. Custom Chart Widget Functionality", function () {
//changing the Chart type
//cy.get(widgetsPage.toggleChartType).click({ force: true });
- featureFlagIntercept({
- deprecate_custom_fusioncharts_enabled: true,
- });
cy.UpdateChartType("Custom Fusion Charts (deprecated)");
cy.testJsontext(
diff --git a/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/unitTestUtils.ts b/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/unitTestUtils.ts
index 1d0fcc98c927..a40a0c0667f4 100644
--- a/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/unitTestUtils.ts
+++ b/app/client/src/components/editorComponents/PartialImportExport/PartialExportModal/unitTestUtils.ts
@@ -12755,11 +12755,9 @@ export const defaultAppState = {
release_embed_hide_share_settings_enabled: false,
ab_gsheet_schema_enabled: true,
release_table_serverside_filtering_enabled: false,
- release_custom_echarts_enabled: false,
license_branding_enabled: false,
license_sso_saml_enabled: false,
license_sso_oidc_enabled: false,
- deprecate_custom_fusioncharts_enabled: false,
ab_mock_mongo_schema_enabled: true,
license_private_embeds_enabled: false,
release_show_publish_app_to_community_enabled: false,
|
979acc9640e2cb4983852b7bb4a5fc1495ebe405
|
2024-12-17 14:02:40
|
Manish Kumar
|
chore: added status changes (#38170)
| false
|
added status changes (#38170)
|
chore
|
diff --git a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/dtos/ce/GitStatusCE_DTO.java b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/dtos/ce/GitStatusCE_DTO.java
index ed4e074f2417..0c1666a517b7 100644
--- a/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/dtos/ce/GitStatusCE_DTO.java
+++ b/app/server/appsmith-interfaces/src/main/java/com/appsmith/external/dtos/ce/GitStatusCE_DTO.java
@@ -8,6 +8,7 @@
/**
* DTO to convey the status local git repo
*/
+// TODO: @Manish modify git status DTO accordingly
@Data
public class GitStatusCE_DTO {
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceCE.java
index 4254b5d4dd2a..40b65564d7e3 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceCE.java
@@ -1,5 +1,6 @@
package com.appsmith.server.git.central;
+import com.appsmith.external.dtos.GitStatusDTO;
import com.appsmith.git.dto.CommitDTO;
import com.appsmith.server.constants.ArtifactType;
import com.appsmith.server.constants.ce.RefType;
@@ -33,4 +34,7 @@ Mono<String> fetchRemoteChanges(
RefType refType);
Mono<? extends Artifact> discardChanges(String branchedArtifactId, ArtifactType artifactType, GitType gitType);
+
+ Mono<GitStatusDTO> getStatus(
+ String branchedArtifactId, boolean compareRemote, ArtifactType artifactType, GitType gitType);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceCEImpl.java
index 55e1692b816e..9d244ab846fd 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/CentralGitServiceCEImpl.java
@@ -1,6 +1,7 @@
package com.appsmith.server.git.central;
import com.appsmith.external.constants.AnalyticsEvents;
+import com.appsmith.external.dtos.GitStatusDTO;
import com.appsmith.external.git.constants.GitConstants;
import com.appsmith.external.git.constants.GitSpan;
import com.appsmith.external.models.Datasource;
@@ -67,6 +68,7 @@
import static com.appsmith.external.git.constants.ce.GitConstantsCE.GIT_CONFIG_ERROR;
import static com.appsmith.external.git.constants.ce.GitConstantsCE.GIT_PROFILE_ERROR;
import static com.appsmith.external.git.constants.ce.GitSpanCE.OPS_COMMIT;
+import static com.appsmith.external.git.constants.ce.GitSpanCE.OPS_STATUS;
import static com.appsmith.external.helpers.AppsmithBeanUtils.copyNestedNonNullProperties;
import static com.appsmith.server.constants.FieldName.BRANCH_NAME;
import static com.appsmith.server.constants.FieldName.DEFAULT;
@@ -929,6 +931,137 @@ private boolean isBaseGitMetadataInvalid(GitArtifactMetadata gitArtifactMetadata
.isGitAuthInvalid(gitArtifactMetadata.getGitAuth());
}
+ private Mono<GitStatusDTO> getStatusAfterComparingWithRemote(
+ String baseArtifactId, boolean isFileLock, ArtifactType artifactType, GitType gitType) {
+ return getStatus(baseArtifactId, isFileLock, true, artifactType, gitType);
+ }
+
+ @Override
+ public Mono<GitStatusDTO> getStatus(
+ String branchedArtifactId, boolean compareRemote, ArtifactType artifactType, GitType gitType) {
+ return getStatus(branchedArtifactId, true, compareRemote, artifactType, gitType);
+ }
+
+ /**
+ * Get the status of the artifact for given branched id
+ *
+ * @param branchedArtifactId branched id of the artifact
+ * @param isFileLock if the locking is required, since the status API is used in the other flows of git
+ * Only for the direct hits from the client the locking will be added
+ * @param artifactType Type of artifact in context
+ * @param gitType Type of the service
+ * @return Map of json file names which are added, modified, conflicting, removed and the working tree if this is clean
+ */
+ private Mono<GitStatusDTO> getStatus(
+ String branchedArtifactId,
+ boolean isFileLock,
+ boolean compareRemote,
+ ArtifactType artifactType,
+ GitType gitType) {
+
+ Mono<Tuple2<? extends Artifact, ? extends Artifact>> baseAndBranchedArtifacts =
+ getBaseAndBranchedArtifacts(branchedArtifactId, artifactType);
+
+ return baseAndBranchedArtifacts.flatMap(artifactTuple -> {
+ Artifact baseArtifact = artifactTuple.getT1();
+ Artifact branchedArtifact = artifactTuple.getT2();
+ return getStatus(baseArtifact, branchedArtifact, isFileLock, compareRemote, gitType);
+ });
+ }
+
+ protected Mono<GitStatusDTO> getStatus(
+ Artifact baseArtifact,
+ Artifact branchedArtifact,
+ boolean isFileLock,
+ boolean compareRemote,
+ GitType gitType) {
+
+ ArtifactType artifactType = baseArtifact.getArtifactType();
+ GitArtifactHelper<?> gitArtifactHelper = gitArtifactHelperResolver.getArtifactHelper(artifactType);
+ GitHandlingService gitHandlingService = gitHandlingServiceResolver.getGitHandlingService(gitType);
+
+ GitArtifactMetadata baseGitMetadata = baseArtifact.getGitArtifactMetadata();
+ final String baseArtifactId = baseGitMetadata.getDefaultArtifactId();
+
+ GitArtifactMetadata branchedGitMetadata = branchedArtifact.getGitArtifactMetadata();
+ branchedGitMetadata.setGitAuth(baseGitMetadata.getGitAuth());
+
+ final String finalBranchName = branchedGitMetadata.getBranchName();
+
+ if (!StringUtils.hasText(finalBranchName)) {
+ return Mono.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, FieldName.BRANCH_NAME));
+ }
+
+ Mono<? extends ArtifactExchangeJson> exportedArtifactJsonMono =
+ exportService.exportByArtifactId(branchedArtifact.getId(), VERSION_CONTROL, artifactType);
+
+ Mono<GitStatusDTO> statusMono = exportedArtifactJsonMono
+ .flatMap(artifactExchangeJson -> {
+ return gitRedisUtils
+ .acquireGitLock(baseArtifactId, GitConstants.GitCommandConstants.STATUS, isFileLock)
+ .thenReturn(artifactExchangeJson);
+ })
+ .flatMap(artifactExchangeJson -> {
+ ArtifactJsonTransformationDTO jsonTransformationDTO = new ArtifactJsonTransformationDTO();
+ jsonTransformationDTO.setRefType(RefType.BRANCH);
+ jsonTransformationDTO.setWorkspaceId(baseArtifact.getWorkspaceId());
+ jsonTransformationDTO.setBaseArtifactId(baseArtifact.getId());
+ jsonTransformationDTO.setRepoName(
+ branchedArtifact.getGitArtifactMetadata().getRepoName());
+ jsonTransformationDTO.setArtifactType(artifactExchangeJson.getArtifactJsonType());
+ jsonTransformationDTO.setRefName(finalBranchName);
+
+ Mono<Boolean> prepareForStatus =
+ gitHandlingService.prepareChangesToBeCommitted(jsonTransformationDTO, artifactExchangeJson);
+ Mono<String> fetchRemoteMono;
+
+ if (compareRemote) {
+ fetchRemoteMono = Mono.defer(
+ () -> fetchRemoteChanges(baseArtifact, branchedArtifact, FALSE, gitType, RefType.BRANCH)
+ .onErrorResume(error -> Mono.error(new AppsmithException(
+ AppsmithError.GIT_GENERIC_ERROR, error.getMessage()))));
+ } else {
+ fetchRemoteMono = Mono.just("ignored");
+ }
+
+ return Mono.zip(prepareForStatus, fetchRemoteMono)
+ .then(gitHandlingService.getStatus(jsonTransformationDTO));
+ })
+ .doFinally(signalType -> gitRedisUtils.releaseFileLock(baseArtifactId, isFileLock))
+ .onErrorResume(throwable -> {
+ /*
+ in case of any error, the global exception handler will release the lock
+ hence we don't need to do that manually
+ */
+ log.error(
+ "Error to get status for application: {}, branch: {}",
+ baseArtifactId,
+ finalBranchName,
+ throwable);
+ return Mono.error(new AppsmithException(AppsmithError.GIT_GENERIC_ERROR, throwable.getMessage()));
+ });
+
+ return Mono.zip(statusMono, sessionUserService.getCurrentUser())
+ .elapsed()
+ .flatMap(objects -> {
+ Long elapsedTime = objects.getT1();
+ GitStatusDTO gitStatusDTO = objects.getT2().getT1();
+ User currentUser = objects.getT2().getT2();
+ String flowName;
+ if (compareRemote) {
+ flowName = AnalyticsEvents.GIT_STATUS.getEventName();
+ } else {
+ flowName = AnalyticsEvents.GIT_STATUS_WITHOUT_FETCH.getEventName();
+ }
+
+ return gitAnalyticsUtils
+ .sendUnitExecutionTimeAnalyticsEvent(flowName, elapsedTime, currentUser, branchedArtifact)
+ .thenReturn(gitStatusDTO);
+ })
+ .name(OPS_STATUS)
+ .tap(Micrometer.observation(observationRegistry));
+ }
+
public Mono<String> fetchRemoteChanges(
Artifact baseArtifact, Artifact refArtifact, boolean isFileLock, GitType gitType, RefType refType) {
@@ -967,7 +1100,9 @@ public Mono<String> fetchRemoteChanges(
.then(Mono.defer(() ->
gitHandlingService.fetchRemoteChanges(jsonTransformationDTO, baseArtifactGitData.getGitAuth())))
.flatMap(fetchedRemoteStatusString -> {
- return gitRedisUtils.releaseFileLock(baseArtifactId).thenReturn(fetchedRemoteStatusString);
+ return gitRedisUtils
+ .releaseFileLock(baseArtifactId, isFileLock)
+ .thenReturn(fetchedRemoteStatusString);
})
.onErrorResume(throwable -> {
/*
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/GitHandlingServiceCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/GitHandlingServiceCE.java
index de387a9e75ee..57a2847af58c 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/GitHandlingServiceCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/central/GitHandlingServiceCE.java
@@ -1,5 +1,6 @@
package com.appsmith.server.git.central;
+import com.appsmith.external.dtos.GitStatusDTO;
import com.appsmith.git.dto.CommitDTO;
import com.appsmith.server.domains.Artifact;
import com.appsmith.server.domains.GitArtifactMetadata;
@@ -51,6 +52,7 @@ Mono<Boolean> initialiseReadMe(
Mono<String> createFirstCommit(ArtifactJsonTransformationDTO jsonTransformationDTO, CommitDTO commitDTO);
+ // TODO: provide a proper name
Mono<Boolean> prepareChangesToBeCommitted(
ArtifactJsonTransformationDTO jsonTransformationDTO, ArtifactExchangeJson artifactExchangeJson);
@@ -61,4 +63,6 @@ Mono<Tuple2<? extends Artifact, String>> commitArtifact(
Mono<? extends ArtifactExchangeJson> recreateArtifactJsonFromLastCommit(
ArtifactJsonTransformationDTO jsonTransformationDTO);
+
+ Mono<GitStatusDTO> getStatus(ArtifactJsonTransformationDTO jsonTransformationDTO);
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/fs/GitFSServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/fs/GitFSServiceCEImpl.java
index 27dc09fde456..6b6f412c1e1e 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/git/fs/GitFSServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/git/fs/GitFSServiceCEImpl.java
@@ -2,6 +2,7 @@
import com.appsmith.external.constants.AnalyticsEvents;
import com.appsmith.external.dtos.GitBranchDTO;
+import com.appsmith.external.dtos.GitStatusDTO;
import com.appsmith.external.git.constants.GitConstants;
import com.appsmith.external.git.constants.GitSpan;
import com.appsmith.external.git.handler.FSGitHandler;
@@ -617,4 +618,19 @@ public Mono<? extends ArtifactExchangeJson> recreateArtifactJsonFromLastCommit(
workspaceId, baseArtifactId, repoName, refName, artifactType);
});
}
+
+ @Override
+ public Mono<GitStatusDTO> getStatus(ArtifactJsonTransformationDTO jsonTransformationDTO) {
+ String workspaceId = jsonTransformationDTO.getWorkspaceId();
+ String baseArtifactId = jsonTransformationDTO.getBaseArtifactId();
+ String repoName = jsonTransformationDTO.getRepoName();
+ String refName = jsonTransformationDTO.getRefName();
+
+ ArtifactType artifactType = jsonTransformationDTO.getArtifactType();
+ GitArtifactHelper<?> gitArtifactHelper = gitArtifactHelperResolver.getArtifactHelper(artifactType);
+ Path repoSuffix = gitArtifactHelper.getRepoSuffixPath(workspaceId, baseArtifactId, repoName);
+
+ Path repoPath = fsGitHandler.createRepoPath(repoSuffix);
+ return fsGitHandler.getStatus(repoPath, refName);
+ }
}
|
f484eec2dda063d19d09ee7ffeec6d12e63d3b22
|
2023-09-01 14:01:17
|
vadim
|
chore: WDS color docs (#26754)
| false
|
WDS color docs (#26754)
|
chore
|
diff --git a/app/client/packages/design-system/theming/src/color/src/DarkModeTheme.ts b/app/client/packages/design-system/theming/src/color/src/DarkModeTheme.ts
index 8d76235937c0..3088df4b4f45 100644
--- a/app/client/packages/design-system/theming/src/color/src/DarkModeTheme.ts
+++ b/app/client/packages/design-system/theming/src/color/src/DarkModeTheme.ts
@@ -46,15 +46,17 @@ export class DarkModeTheme implements ColorModeTheme {
bg: this.bg.to("sRGB").toString(),
bgAccent: this.bgAccent.to("sRGB").toString(),
bgAccentHover: this.bgAccentHover.to("sRGB").toString(),
- bgAccentActive: this.bgAccentActive.toString(),
- bgAccentSubtleHover: this.bgAccentSubtleHover.toString(),
- bgAccentSubtleActive: this.bgAccentSubtleActive.toString(),
- bgAssistive: this.bgAssistive.toString(),
- bgNeutral: this.bgNeutral.toString(),
- bgNeutralHover: this.bgNeutralHover.toString(),
- bgNeutralActive: this.bgNeutralActive.toString(),
- bgNeutralSubtleHover: this.bgNeutralSubtleHover.toString(),
- bgNeutralSubtleActive: this.bgNeutralSubtleActive.toString(),
+ bgAccentActive: this.bgAccentActive.to("sRGB").toString(),
+ bgAccentSubtle: this.bgAccentSubtle.to("sRGB").toString(),
+ bgAccentSubtleHover: this.bgAccentSubtleHover.to("sRGB").toString(),
+ bgAccentSubtleActive: this.bgAccentSubtleActive.to("sRGB").toString(),
+ bgAssistive: this.bgAssistive.to("sRGB").toString(),
+ bgNeutral: this.bgNeutral.to("sRGB").toString(),
+ bgNeutralHover: this.bgNeutralHover.to("sRGB").toString(),
+ bgNeutralActive: this.bgNeutralActive.to("sRGB").toString(),
+ bgNeutralSubtle: this.bgNeutralSubtle.to("sRGB").toString(),
+ bgNeutralSubtleHover: this.bgNeutralSubtleHover.to("sRGB").toString(),
+ bgNeutralSubtleActive: this.bgNeutralSubtleActive.to("sRGB").toString(),
bgPositive: this.bgPositive.to("sRGB").toString(),
bgPositiveHover: this.bgPositiveHover.to("sRGB").toString(),
bgPositiveActive: this.bgPositiveActive.to("sRGB").toString(),
@@ -71,24 +73,25 @@ export class DarkModeTheme implements ColorModeTheme {
bgWarningSubtleHover: this.bgWarningSubtleHover.to("sRGB").toString(),
bgWarningSubtleActive: this.bgWarningSubtleActive.to("sRGB").toString(),
- fg: this.fg.toString(),
- fgAccent: this.fgAccent.toString(),
- fgNeutral: this.fgNeutral.toString(),
+ fg: this.fg.to("sRGB").toString(),
+ fgAccent: this.fgAccent.to("sRGB").toString(),
+ fgNeutral: this.fgNeutral.to("sRGB").toString(),
fgPositive: this.fgPositive.to("sRGB").toString(),
fgNegative: this.fgNegative.to("sRGB").toString(),
fgWarning: this.fgWarning.to("sRGB").toString(),
- fgOnAccent: this.fgOnAccent.toString(),
+ fgOnAccent: this.fgOnAccent.to("sRGB").toString(),
fgOnAssistive: this.fgOnAssistive.to("sRGB").toString(),
fgOnNeutral: this.fgOnNeutral.to("sRGB").toString(),
fgOnPositive: this.fgOnPositive.to("sRGB").toString(),
fgOnNegative: this.fgOnNegative.to("sRGB").toString(),
fgOnWarning: this.fgOnWarning.to("sRGB").toString(),
- bdAccent: this.bdAccent.toString(),
- bdFocus: this.bdFocus.toString(),
- bdNeutral: this.bdNeutral.toString(),
- bdNeutralHover: this.bdNeutralHover.toString(),
+ bd: this.bd.to("sRGB").toString(),
+ bdAccent: this.bdAccent.to("sRGB").toString(),
+ bdFocus: this.bdFocus.to("sRGB").toString(),
+ bdNeutral: this.bdNeutral.to("sRGB").toString(),
+ bdNeutralHover: this.bdNeutralHover.to("sRGB").toString(),
bdPositive: this.bdPositive.to("sRGB").toString(),
bdPositiveHover: this.bdPositiveHover.to("sRGB").toString(),
bdNegative: this.bdNegative.to("sRGB").toString(),
@@ -96,7 +99,7 @@ export class DarkModeTheme implements ColorModeTheme {
bdWarning: this.bdWarning.to("sRGB").toString(),
bdWarningHover: this.bdWarningHover.to("sRGB").toString(),
- bdOnAccent: this.bdOnAccent.toString(),
+ bdOnAccent: this.bdOnAccent.to("sRGB").toString(),
bdOnNeutral: this.bdOnNeutral.to("sRGB").toString(),
bdOnPositive: this.bdOnPositive.to("sRGB").toString(),
bdOnNegative: this.bdOnNegative.to("sRGB").toString(),
@@ -793,6 +796,14 @@ export class DarkModeTheme implements ColorModeTheme {
* Border colors
*/
+ private get bd() {
+ const color = this.fg.clone();
+
+ color.oklch.l = 0.4;
+
+ return color;
+ }
+
private get bdAccent() {
const color = this.seedColor.clone();
diff --git a/app/client/packages/design-system/theming/src/color/src/LightModeTheme.ts b/app/client/packages/design-system/theming/src/color/src/LightModeTheme.ts
index f3b4e0c9e29a..5bd9471fe5d0 100644
--- a/app/client/packages/design-system/theming/src/color/src/LightModeTheme.ts
+++ b/app/client/packages/design-system/theming/src/color/src/LightModeTheme.ts
@@ -46,15 +46,17 @@ export class LightModeTheme implements ColorModeTheme {
bg: this.bg.to("sRGB").toString(),
bgAccent: this.bgAccent.to("sRGB").toString(),
bgAccentHover: this.bgAccentHover.to("sRGB").toString(),
- bgAccentActive: this.bgAccentActive.toString(),
- bgAccentSubtleHover: this.bgAccentSubtleHover.toString(),
- bgAccentSubtleActive: this.bgAccentSubtleActive.toString(),
- bgAssistive: this.bgAssistive.toString(),
- bgNeutral: this.bgNeutral.toString(),
- bgNeutralHover: this.bgNeutralHover.toString(),
- bgNeutralActive: this.bgNeutralActive.toString(),
- bgNeutralSubtleHover: this.bgNeutralSubtleHover.toString(),
- bgNeutralSubtleActive: this.bgNeutralSubtleActive.toString(),
+ bgAccentActive: this.bgAccentActive.to("sRGB").toString(),
+ bgAccentSubtle: this.bgAccentSubtle.to("sRGB").toString(),
+ bgAccentSubtleHover: this.bgAccentSubtleHover.to("sRGB").toString(),
+ bgAccentSubtleActive: this.bgAccentSubtleActive.to("sRGB").toString(),
+ bgAssistive: this.bgAssistive.to("sRGB").toString(),
+ bgNeutral: this.bgNeutral.to("sRGB").toString(),
+ bgNeutralHover: this.bgNeutralHover.to("sRGB").toString(),
+ bgNeutralActive: this.bgNeutralActive.to("sRGB").toString(),
+ bgNeutralSubtle: this.bgNeutralSubtle.to("sRGB").toString(),
+ bgNeutralSubtleHover: this.bgNeutralSubtleHover.to("sRGB").toString(),
+ bgNeutralSubtleActive: this.bgNeutralSubtleActive.to("sRGB").toString(),
bgPositive: this.bgPositive.to("sRGB").toString(),
bgPositiveHover: this.bgPositiveHover.to("sRGB").toString(),
bgPositiveActive: this.bgPositiveActive.to("sRGB").toString(),
@@ -71,24 +73,25 @@ export class LightModeTheme implements ColorModeTheme {
bgWarningSubtleHover: this.bgWarningSubtleHover.to("sRGB").toString(),
bgWarningSubtleActive: this.bgWarningSubtleActive.to("sRGB").toString(),
- fg: this.fg.toString(),
- fgAccent: this.fgAccent.toString(),
- fgNeutral: this.fgNeutral.toString(),
+ fg: this.fg.to("sRGB").toString(),
+ fgAccent: this.fgAccent.to("sRGB").toString(),
+ fgNeutral: this.fgNeutral.to("sRGB").toString(),
fgPositive: this.fgPositive.to("sRGB").toString(),
fgNegative: this.fgNegative.to("sRGB").toString(),
fgWarning: this.fgWarning.to("sRGB").toString(),
- fgOnAccent: this.fgOnAccent.toString(),
+ fgOnAccent: this.fgOnAccent.to("sRGB").toString(),
fgOnAssistive: this.fgOnAssistive.to("sRGB").toString(),
fgOnNeutral: this.fgOnNeutral.to("sRGB").toString(),
fgOnPositive: this.fgOnPositive.to("sRGB").toString(),
fgOnNegative: this.fgOnNegative.to("sRGB").toString(),
fgOnWarning: this.fgOnWarning.to("sRGB").toString(),
- bdAccent: this.bdAccent.toString(),
- bdFocus: this.bdFocus.toString(),
- bdNeutral: this.bdNeutral.toString(),
- bdNeutralHover: this.bdNeutralHover.toString(),
+ bd: this.bd.to("sRGB").toString(),
+ bdAccent: this.bdAccent.to("sRGB").toString(),
+ bdFocus: this.bdFocus.to("sRGB").toString(),
+ bdNeutral: this.bdNeutral.to("sRGB").toString(),
+ bdNeutralHover: this.bdNeutralHover.to("sRGB").toString(),
bdPositive: this.bdPositive.to("sRGB").toString(),
bdPositiveHover: this.bdPositiveHover.to("sRGB").toString(),
bdNegative: this.bdNegative.to("sRGB").toString(),
@@ -96,7 +99,7 @@ export class LightModeTheme implements ColorModeTheme {
bdWarning: this.bdWarning.to("sRGB").toString(),
bdWarningHover: this.bdWarningHover.to("sRGB").toString(),
- bdOnAccent: this.bdOnAccent.toString(),
+ bdOnAccent: this.bdOnAccent.to("sRGB").toString(),
bdOnNeutral: this.bdOnNeutral.to("sRGB").toString(),
bdOnPositive: this.bdOnPositive.to("sRGB").toString(),
bdOnNegative: this.bdOnNegative.to("sRGB").toString(),
@@ -823,6 +826,14 @@ export class LightModeTheme implements ColorModeTheme {
* Border colors
*/
+ private get bd() {
+ const color = this.fg.clone();
+
+ color.oklch.l = 0.8;
+
+ return color;
+ }
+
private get bdAccent() {
// Accent border color
const color = this.seedColor.clone();
diff --git a/app/client/packages/design-system/theming/src/theme/src/ThemeProvider.tsx b/app/client/packages/design-system/theming/src/theme/src/ThemeProvider.tsx
index 4c28d80651b2..841fd67c3641 100644
--- a/app/client/packages/design-system/theming/src/theme/src/ThemeProvider.tsx
+++ b/app/client/packages/design-system/theming/src/theme/src/ThemeProvider.tsx
@@ -11,7 +11,7 @@ const { fontFaces } = createGlobalFontStack();
const GlobalStyles = createGlobalStyle`${fontFaces}`;
export const ThemeProvider = (props: ThemeProviderProps) => {
- const { children, className, theme } = props;
+ const { children, className, style, theme } = props;
const { fontFamily, typography, ...rest } = theme;
return (
@@ -26,6 +26,7 @@ export const ThemeProvider = (props: ThemeProviderProps) => {
$typography={typography}
className={className}
data-theme-provider=""
+ style={style}
theme={rest}
>
{children}
diff --git a/app/client/packages/design-system/theming/src/theme/src/types.ts b/app/client/packages/design-system/theming/src/theme/src/types.ts
index 6638024b79be..37d2a79bd14d 100644
--- a/app/client/packages/design-system/theming/src/theme/src/types.ts
+++ b/app/client/packages/design-system/theming/src/theme/src/types.ts
@@ -1,3 +1,4 @@
+import type { CSSProperties } from "react";
import type { ReactNode } from "react";
import type { ColorMode } from "../../color";
@@ -18,6 +19,7 @@ export interface ThemeProviderProps {
theme: Theme;
children: ReactNode;
className?: string;
+ style?: CSSProperties;
}
export type UseThemeProps = {
diff --git a/app/client/packages/design-system/theming/src/theme/stories/Color.stories.mdx b/app/client/packages/design-system/theming/src/theme/stories/Color.stories.mdx
index 39d649cd2706..8fa39139701b 100644
--- a/app/client/packages/design-system/theming/src/theme/stories/Color.stories.mdx
+++ b/app/client/packages/design-system/theming/src/theme/stories/Color.stories.mdx
@@ -1,28 +1,21 @@
-import {
- TokenTable,
- StyledTable,
- StyledSquarePreview,
-} from "@design-system/storybook";
+import React from "react";
+import { StyledTable } from "@design-system/storybook";
import { Meta } from "@storybook/addon-docs";
-import { useTheme, ThemeProvider } from "@design-system/theming";
+import { ColorTable } from "@design-system/storybook";
<Meta title="Design-system/Theme/Tokens/Color" />
# Color
-Color is a crucial element in any design system. It communicates
-information, creates hierarchy, and evokes emotions. Therefore, it is
-essential to establish a consistent and meaningful color palette for
-your design system.
+WDS generates a full harmonious color scheme used in Widgets from a single color input `seed` and a set of additional props (currently only `colorMode` that can be `dark` or `light`).
-## Semantic Color Naming Strategy
+Colors are generated in [OkLCh](https://bottosson.github.io/posts/oklab/) color space using [color.js](https://colorjs.io/docs/spaces#oklch) to ensure perceptual uniformity when producing colors from the seed. This achieves monochromatic color harmony between UI elements.
-This naming schema is for the most part inspired by the one shown in The
-hardest part about building dark mode is that people think it’s easy
-talk by [Hassan and Jacob Miller at Figma Config 2022](https://www.youtube.com/watch?v=1DTnojio89Y&t=454s).
-This enables flexibility and focuses on deriving these tokens from a
-starting seed rather than assuming those can be hand-picked by a
-designer.
+To ensure visibility of critical UI elements we're checking key colors' conformance to [APCA](https://github.com/Myndex/SAPC-APCA).
+
+## Color token naming
+
+Tokens are named using four-part schema. Every part of the name except `type` is optional. Suffixes describe visual function of the color in the UI.
<StyledTable>
<thead>
@@ -37,116 +30,156 @@ designer.
<tr>
<td>bg</td>
<td>accent</td>
- <td>regular (default)</td>
- <td>resting (default)</td>
+ <td>subtle</td>
+ <td>hover</td>
</tr>
<tr>
<td>fg</td>
<td>neutral</td>
- <td>strong</td>
- <td>hover</td>
- </tr>
- <tr>
- <td>bd</td>
- <td>content</td>
- <td>subtle</td>
+ <td></td>
<td>active</td>
</tr>
<tr>
+ <td>bd</td>
+ <td>positive</td>
<td></td>
- <td>assistive</td>
- <td></td>
- <td>disabled</td>
+ <td>focus</td>
</tr>
<tr>
<td></td>
<td>negative</td>
<td></td>
- <td>focus</td>
+ <td></td>
</tr>
<tr>
<td></td>
- <td>positive</td>
+ <td>warning</td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
- <td>warning</td>
+ <td>on*</td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
- <td>on*</td>
+ <td>assistive</td>
<td></td>
<td></td>
</tr>
</tbody>
</StyledTable>
-## Background Tokens Table
-
-export const Background = () => {
- const { theme } = useTheme();
- const { color } = theme;
- return (
- <ThemeProvider theme={theme}>
- <TokenTable prefix="color" filter="bg" tokens={color}>
- {(cssVar) => (
- <StyledSquarePreview
- style={{
- background: cssVar,
- }}
- />
- )}
- </TokenTable>
- </ThemeProvider>
- );
-};
-
-<Background />
-
-## Foreground Tokens Table
-
-export const Foreground = () => {
- const { theme } = useTheme();
- const { color } = theme;
- return (
- <ThemeProvider theme={theme}>
- <TokenTable prefix="color" filter="fg" tokens={color}>
- {(cssVar) => (
- <StyledSquarePreview
- style={{
- background: cssVar,
- }}
- />
- )}
- </TokenTable>
- </ThemeProvider>
- );
-};
-
-<Foreground />
-
-### Border Tokens Table
-
-export const Border = () => {
- const { theme } = useTheme();
- const { color } = theme;
- return (
- <ThemeProvider theme={theme}>
- <TokenTable prefix="color" filter="bd" tokens={color}>
- {(cssVar) => (
- <StyledSquarePreview
- style={{
- background: cssVar,
- }}
- />
- )}
- </TokenTable>
- </ThemeProvider>
- );
-};
-
-<Border />
+### Type
+
+Type defines how the color is going to be applied to UI elements.
+
+`bg` (backgrounds) are surfaces of color.
+
+`fg` (foregrounds) are content elements (text and icons) on top of colored surfaces. Minimal APCA contrast of `60` to satisfy accessibility requirement.
+
+`bd` (borders) are separators. Borders can be subtle with lower contrast requirement of `25`.
+
+<ColorTable filter={["bg-neutral", "fg-neutral", "bd-neutral"]} />
+
+### Role
+
+#### No role
+
+Absence of role suffix signifies default application.
+
+Main background color `bg` is applied to the canvas. In dark mode it is extremely dark shade of user-set seed color. In light mode it is extremely light tint of user-set seed color. This ensures harmonious combination with main accents and neutrals.
+
+Default content color `fg` is applied to text and icons. In light mode it is dark shade of user-set seed color. In dark mode it is light tint of user-set seed color.
+
+Focus outline `bd-focus` is applied as an outline around interactive elements when they receive keyboard-focus.
+
+<ColorTable filter={["bg", "fg", "bd-focus"]} />
+
+#### Accent
+
+Accent colors indicate high prominence. They are as close to the seed as possible given accessibility requirements for their type and a requirement for `bgAccent` to be visible on top of `bg`.
+
+<ColorTable filter={["bg-accent", "fg-accent", "bd-accent"]} />
+
+#### Neutral
+
+Neutral colors have less prominence than accent. Unless the seed is completely achromatic they contain small amounts of chroma to produce harmony with accents.
+
+<ColorTable filter={["bg-neutral", "fg-neutral", "bd-neutral"]} />
+
+#### Semaphore (positive, negative, warning)
+
+Three roles to use for color-coding conventional types of highlights in the UI. They start from preselected values and are checked for being too similar to seed and accent. In case of a clash they are adjusted to less resemble accent colors.
+
+<ColorTable
+ filter={["bg-accent", "bg-positive", "bg-negative", "bg-warning"]}
+/>
+
+#### on\*
+
+Used for naming foreground and border colors that are intended to be displayed on top of specific backgrounds, e.g. `onPositive`, `onAccent`.
+
+<ColorTable
+ filter={[
+ "fg-on-accent",
+ "fg-on-positive",
+ "fg-on-negative",
+ "fg-on-warning",
+ "fg-on-assistive",
+ "fg-on-neutral",
+ "fg-on-assistive",
+ ]}
+/>
+
+#### Assistive
+
+Used for high-contrast assistive elements, e.g. a tooltip.
+
+<ColorTable filter={["bg-assistive"]} />
+
+### Prominence
+
+If no prominence is specified the default looks of the color are assumed. If subtle prominence is specified less saturated and contrasting variation of color is produced.
+
+<ColorTable
+ filter={["bg-accent", "bg-accent-subtle", "bg-neutral", "bg-neutral-subtle"]}
+/>
+
+### State
+
+#### No state
+
+If no state is specified, a resting state of UI element is assumed.
+
+<ColorTable filter={["bg-accent", "bg-neutral", "bg-positive"]} />
+
+#### Hover
+
+Slightly lighter than the resting state to produce the effect of moving closer to the viewer / inspection.
+
+<ColorTable
+ filter={["bg-accent-hover", "bg-neutral-hover", "bg-positive-hover"]}
+/>
+
+#### Active
+
+Slightly darker than the resting state to produce the effect of moving further from the viewer / being pushed down.
+
+<ColorTable
+ filter={["bg-accent-active", "bg-neutral-active", "bg-positive-active"]}
+/>
+
+## Background Tokens
+
+<ColorTable isExactMatch={false} filter={["bg"]} />
+
+## Foreground Tokens
+
+<ColorTable isExactMatch={false} filter={["fg"]} />
+
+### Border Tokens
+
+<ColorTable isExactMatch={false} filter={["bd"]} />
diff --git a/app/client/packages/design-system/widgets/src/components/Flex/src/Flex.tsx b/app/client/packages/design-system/widgets/src/components/Flex/src/Flex.tsx
index 69201f82bf31..0c55bf23a8eb 100644
--- a/app/client/packages/design-system/widgets/src/components/Flex/src/Flex.tsx
+++ b/app/client/packages/design-system/widgets/src/components/Flex/src/Flex.tsx
@@ -9,6 +9,7 @@ const _Flex = (props: FlexProps, ref: React.Ref<HTMLDivElement>) => {
alignItems,
alignSelf,
children,
+ className,
columnGap,
direction,
flex,
@@ -38,6 +39,7 @@ const _Flex = (props: FlexProps, ref: React.Ref<HTMLDivElement>) => {
paddingRight,
paddingTop,
rowGap,
+ style,
width,
wrap,
} = props;
@@ -77,8 +79,10 @@ const _Flex = (props: FlexProps, ref: React.Ref<HTMLDivElement>) => {
$rowGap={rowGap}
$width={width}
$wrap={wrap}
+ className={className}
id={id}
ref={ref}
+ style={style}
>
{children}
</StyledFlex>
diff --git a/app/client/packages/design-system/widgets/src/components/Flex/src/dimensions.ts b/app/client/packages/design-system/widgets/src/components/Flex/src/dimensions.ts
index 7bf4c54badc4..a7793fc65724 100644
--- a/app/client/packages/design-system/widgets/src/components/Flex/src/dimensions.ts
+++ b/app/client/packages/design-system/widgets/src/components/Flex/src/dimensions.ts
@@ -6,6 +6,8 @@ export type SpacingDimension =
| "spacing-4"
| "spacing-5"
| "spacing-6"
+ | "spacing-7"
+ | "spacing-8"
// eslint-disable-next-line @typescript-eslint/ban-types
| (string & {})
| number;
diff --git a/app/client/packages/storybook/.storybook/addons/theming/ThemingPanel.tsx b/app/client/packages/storybook/.storybook/addons/theming/ThemingPanel.tsx
deleted file mode 100644
index c4005eda422b..000000000000
--- a/app/client/packages/storybook/.storybook/addons/theming/ThemingPanel.tsx
+++ /dev/null
@@ -1,130 +0,0 @@
-import * as React from "react";
-import { useCallback, useState } from "react";
-import { FORCE_RE_RENDER } from "@storybook/core-events";
-import { useGlobals, addons } from "@storybook/manager-api";
-import { AddonPanel, H6, Form } from "@storybook/components";
-import { ColorControl, BooleanControl, NumberControl } from "@storybook/blocks";
-import { fontMetrics } from "@design-system/theming";
-import { debounce } from "lodash";
-import styled from "styled-components";
-
-interface PanelProps {
- active: boolean;
-}
-
-const StyledSelect = styled(Form.Select)`
- appearance: none;
- padding-right: 30px;
- -moz-appearance: none;
- -webkit-appearance: none;
- appearance: none;
- background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23696969%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
- background-repeat: no-repeat, repeat;
- background-position: right 0.8em top 50%, 0 0;
- background-size: 0.65em auto, 100%;
-`;
-
-const Wrapper = styled.div`
- padding: 10px;
- display: flex;
- flex-direction: column;
- gap: 10px;
-`;
-
-export const ThemingPanel: React.FC<PanelProps> = (props) => {
- const [globals, updateGlobals] = useGlobals();
- const [isDarkMode, setDarkMode] = useState(false);
-
- const updateGlobal = (key, value) => {
- updateGlobals({
- [key]: value,
- }),
- // Invokes Storybook's addon API method (with the FORCE_RE_RENDER) event to trigger a UI refresh
- addons.getChannel().emit(FORCE_RE_RENDER);
- };
-
- const colorChange = (value) => updateGlobal("accentColor", value);
- const debouncedColorChange = useCallback(debounce(colorChange, 300), []);
- return (
- <AddonPanel {...props}>
- <Wrapper style={{ maxWidth: "250px" }}>
- <div>
- <H6>Dark mode</H6>
- <BooleanControl
- name="colorScheme"
- value={isDarkMode}
- onChange={(checked) => {
- setDarkMode(checked);
- updateGlobal("colorMode", checked ? "dark" : "light");
- }}
- />
- </div>
-
- <div>
- <H6>Border Radius</H6>
- <StyledSelect
- id="border-radius"
- title="Border Radius"
- size="100%"
- defaultValue={globals.borderRadius}
- onChange={(e) => updateGlobal("borderRadius", e.target.value)}
- >
- <option value="0px">Sharp</option>
- <option value="6px">Rounded</option>
- <option value="14px">Pill</option>
- </StyledSelect>
- </div>
-
- <div>
- <H6>Accent Color</H6>
- <ColorControl
- id="accent-color"
- name="accent-color"
- label="Accent Color"
- defaultValue={globals.accentColor}
- value={globals.accentColor}
- onChange={debouncedColorChange}
- />
- </div>
-
- <div>
- <H6>Font Family</H6>
- <StyledSelect
- id="font-family"
- size="100%"
- title="Font Family"
- defaultValue={globals.fontFamily}
- onChange={(e) => updateGlobal("fontFamily", e.target.value)}
- >
- <option value="">System Default</option>
- {Object.keys(fontMetrics)
- .filter((item) => {
- return (
- ["-apple-system", "BlinkMacSystemFont", "Segoe UI"].includes(
- item,
- ) === false
- );
- })
- .map((font) => (
- <option value={font} key={`font-famiy-${font}`}>
- {font}
- </option>
- ))}
- </StyledSelect>
- </div>
-
- <div>
- <H6>Root Unit Ratio</H6>
- <NumberControl
- name="root-unit-ratio"
- value={globals.rootUnitRatio ?? 1}
- min={0.8}
- max={1.2}
- step={0.01}
- onChange={(value) => updateGlobal("rootUnitRatio", value)}
- />
- </div>
- </Wrapper>
- </AddonPanel>
- );
-};
diff --git a/app/client/packages/storybook/.storybook/addons/theming/ThemingPopup.tsx b/app/client/packages/storybook/.storybook/addons/theming/ThemingPopup.tsx
new file mode 100644
index 000000000000..f84957d7afc8
--- /dev/null
+++ b/app/client/packages/storybook/.storybook/addons/theming/ThemingPopup.tsx
@@ -0,0 +1,70 @@
+import * as React from "react";
+import { useEffect } from "react";
+import { FORCE_RE_RENDER } from "@storybook/core-events";
+import { useGlobals, addons } from "@storybook/manager-api";
+import styled from "styled-components";
+import { ThemeSettings } from "../../../src";
+
+interface PanelProps {
+ leftShift: number;
+ onClose: (e: Event) => void;
+}
+
+const Wrapper = styled.div`
+ position: relative;
+ padding: 10px;
+ display: flex;
+ flex-direction: column;
+ gap: 10px;
+ width: 260px;
+ background-color: #fff;
+ filter: drop-shadow(0px 5px 5px rgba(0, 0, 0, 0.05))
+ drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
+ top: 48px;
+`;
+
+export const ThemingPopup: React.FC<PanelProps> = ({ leftShift, onClose }) => {
+ const [globals, updateGlobals] = useGlobals();
+ const updateGlobal = (key, value) => {
+ updateGlobals({
+ [key]: value,
+ }),
+ // Invokes Storybook's addon API method (with the FORCE_RE_RENDER) event to trigger a UI refresh
+ addons.getChannel().emit(FORCE_RE_RENDER);
+ };
+
+ useEffect(() => {
+ document.getElementById("root").addEventListener("click", onClose);
+ // we have to additionally handle click on Iframe
+ document
+ .getElementById("storybook-preview-iframe")
+ // @ts-expect-error: type mismatch
+ .contentWindow.document.addEventListener("click", onClose);
+ return () => {
+ document.getElementById("root").removeEventListener("click", onClose);
+ document
+ .getElementById("storybook-preview-iframe")
+ // @ts-expect-error: type mismatch
+ .contentWindow.document.removeEventListener("click", onClose);
+ };
+ }, [onClose]);
+
+ return (
+ <Wrapper style={{ left: `${leftShift}px` }}>
+ <ThemeSettings
+ isDarkMode={globals.colorMode === "dark"}
+ setDarkMode={(value) =>
+ updateGlobal("colorMode", value ? "dark" : "light")
+ }
+ borderRadius={globals.borderRadius}
+ setBorderRadius={(value) => updateGlobal("borderRadius", value)}
+ seedColor={globals.seedColor}
+ setSeedColor={(value) => updateGlobal("seedColor", value)}
+ fontFamily={globals.fontFamily}
+ setFontFamily={(value) => updateGlobal("fontFamily", value)}
+ rootUnitRatio={globals.rootUnitRatio}
+ setRootUnitRatio={(value) => updateGlobal("rootUnitRatio", value)}
+ />
+ </Wrapper>
+ );
+};
diff --git a/app/client/packages/storybook/.storybook/addons/theming/ThemingTool.tsx b/app/client/packages/storybook/.storybook/addons/theming/ThemingTool.tsx
new file mode 100644
index 000000000000..d060592b4725
--- /dev/null
+++ b/app/client/packages/storybook/.storybook/addons/theming/ThemingTool.tsx
@@ -0,0 +1,42 @@
+import * as React from "react";
+import { memo, useState, useRef } from "react";
+import { IconButton } from "@storybook/components";
+import { Icon } from "@storybook/components/experimental";
+import { ThemingPopup } from "./ThemingPopup";
+import { createPortal } from "react-dom";
+
+export const ThemingTool = memo(function MyAddonSelector() {
+ const [isThemingPopupOpen, setThemingPopupOpen] = useState(false);
+ const ref = useRef(null);
+
+ const togglePopup = (e: Event) => {
+ e.stopPropagation();
+
+ if (ref.current === e.currentTarget && isThemingPopupOpen) {
+ return setThemingPopupOpen(false);
+ }
+
+ return setThemingPopupOpen(!isThemingPopupOpen);
+ };
+
+ return (
+ <>
+ <IconButton
+ key={"theming-tool"}
+ active={isThemingPopupOpen}
+ onClick={togglePopup}
+ ref={ref}
+ >
+ <Icon.Lightning />
+ </IconButton>
+ {isThemingPopupOpen &&
+ createPortal(
+ <ThemingPopup
+ leftShift={ref.current?.getBoundingClientRect().left}
+ onClose={togglePopup}
+ />,
+ document.body,
+ )}
+ </>
+ );
+});
diff --git a/app/client/packages/storybook/.storybook/addons/theming/manager.ts b/app/client/packages/storybook/.storybook/addons/theming/manager.ts
index 72b5435a5f19..f2965ca03a42 100644
--- a/app/client/packages/storybook/.storybook/addons/theming/manager.ts
+++ b/app/client/packages/storybook/.storybook/addons/theming/manager.ts
@@ -1,23 +1,10 @@
import { addons, types } from "@storybook/manager-api";
-import { ThemingPanel } from "./ThemingPanel";
+import { ThemingTool } from "./ThemingTool";
-// Register the addon
addons.register("widgets/theming", () => {
- // Register the tool
- addons.add("widgets-addon/panel", {
- type: types.PANEL,
- title: "Theming",
- match: (args) => {
- const { viewMode, storyId } = args;
-
- // show the addon only on wds
- return !!(
- storyId &&
- storyId?.includes("widgets") &&
- !storyId?.includes("widgets-old") &&
- !!(viewMode && viewMode.match(/^(story|docs)$/))
- );
- },
- render: ThemingPanel,
+ addons.add("theming-tool", {
+ type: types.TOOL,
+ title: "Theming tool",
+ render: ThemingTool,
});
});
diff --git a/app/client/packages/storybook/.storybook/decorators/theming.tsx b/app/client/packages/storybook/.storybook/decorators/theming.tsx
index 0ab03736dd53..167cfb17445b 100644
--- a/app/client/packages/storybook/.storybook/decorators/theming.tsx
+++ b/app/client/packages/storybook/.storybook/decorators/theming.tsx
@@ -1,5 +1,6 @@
import * as React from "react";
import styled from "styled-components";
+// @ts-ignore
import isChromatic from "chromatic/isChromatic";
import { ThemeProvider, useTheme } from "@design-system/theming";
@@ -16,7 +17,7 @@ const StyledThemeProvider = styled(ThemeProvider)`
export const theming = (Story, args) => {
const { theme } = useTheme({
- seedColor: args.globals.accentColor,
+ seedColor: args.globals.seedColor,
colorMode: args.parameters.colorMode || args.globals.colorMode,
borderRadius: args.globals.borderRadius,
fontFamily: args.globals.fontFamily,
diff --git a/app/client/packages/storybook/.storybook/main.ts b/app/client/packages/storybook/.storybook/main.ts
index 5a26edb6b275..eecdaad17425 100644
--- a/app/client/packages/storybook/.storybook/main.ts
+++ b/app/client/packages/storybook/.storybook/main.ts
@@ -1,15 +1,18 @@
import { mergeConfig } from "vite";
import svgr from "vite-plugin-svgr";
+import * as glob from "glob";
+import * as path from "path";
+
+const dsDir = path.resolve(__dirname, "../../design-system");
function getStories() {
if (process.env.CHROMATIC) {
return ["../../design-system/**/*.chromatic.stories.@(js|jsx|ts|tsx)"];
}
- return [
- "../../design-system/**/*.stories.mdx",
- "../../design-system/**/*.stories.@(js|jsx|ts|tsx)",
- ];
+ return glob
+ .sync(`${dsDir}/**/*.stories.@(js|jsx|ts|tsx|mdx)`, { nosort: true })
+ .filter((storyPath) => !storyPath.includes("chromatic"));
}
module.exports = {
diff --git a/app/client/packages/storybook/.storybook/manager.ts b/app/client/packages/storybook/.storybook/manager.ts
index c888e2fe6f22..8850627a2584 100644
--- a/app/client/packages/storybook/.storybook/manager.ts
+++ b/app/client/packages/storybook/.storybook/manager.ts
@@ -1,4 +1,4 @@
-import { addons } from "@storybook/addons";
+import { addons } from "@storybook/manager-api";
import appsmithTheme from "./appsmith-theme";
addons.setConfig({
diff --git a/app/client/packages/storybook/.storybook/preview-head.html b/app/client/packages/storybook/.storybook/preview-head.html
index eb249d821e78..74b74da6a5b5 100644
--- a/app/client/packages/storybook/.storybook/preview-head.html
+++ b/app/client/packages/storybook/.storybook/preview-head.html
@@ -1 +1,29 @@
<script defer src="https://cdn.jsdelivr.net/npm/container-query-polyfill@1/dist/container-query-polyfill.modern.js"></script>
+
+<style>
+ h1, h2, h3, h4, h5, h6, p, th, td {
+ color: var(--color-fg) !important;
+ border-color: var(--color-bd) !important;
+ }
+
+ tr {
+ background-color: var(--color-bg) !important;
+ }
+
+ th, td,
+ .css-s230ta {
+ border-color: var(--color-bd) !important;
+ background-color: var(--color-bg) !important;
+ }
+
+ code,
+ .css-o1d7ko {
+ background-color: var(--color-bg-neutral) !important;
+ color: var(--color-fg-on-neutral) !important;
+ border: none !important;
+ }
+
+ a {
+ color: var(--color-fg-accent) !important;
+ }
+</style>
diff --git a/app/client/packages/storybook/.storybook/preview.ts b/app/client/packages/storybook/.storybook/preview.tsx
similarity index 75%
rename from app/client/packages/storybook/.storybook/preview.ts
rename to app/client/packages/storybook/.storybook/preview.tsx
index 2d0574ae816b..124dd84a73c1 100644
--- a/app/client/packages/storybook/.storybook/preview.ts
+++ b/app/client/packages/storybook/.storybook/preview.tsx
@@ -2,6 +2,8 @@ import { theming } from "./decorators/theming";
import "@blueprintjs/icons/lib/css/blueprint-icons.css";
import "@blueprintjs/core/lib/css/blueprint.css";
import "./styles.css";
+import { DocsContainer } from "@storybook/addon-docs";
+import { StoryThemeProvider } from "../src";
export const decorators = [theming];
@@ -54,13 +56,22 @@ const preview = {
globalTypes: {
colorMode: {},
borderRadius: {},
- accentColor: {},
+ seedColor: {},
fontFamily: {},
rootUnitRatio: {},
},
parameters: {
viewport: { viewports: customViewports },
actions: { argTypesRegex: "^on[A-Z].*" },
+ docs: {
+ container: ({ children, context }) => (
+ <DocsContainer context={context}>
+ <StoryThemeProvider theme={context.store.globals.globals}>
+ {children}
+ </StoryThemeProvider>
+ </DocsContainer>
+ ),
+ },
},
};
diff --git a/app/client/packages/storybook/.storybook/styles.css b/app/client/packages/storybook/.storybook/styles.css
index 54d49e2a22fb..ac1ff74549c0 100644
--- a/app/client/packages/storybook/.storybook/styles.css
+++ b/app/client/packages/storybook/.storybook/styles.css
@@ -15,6 +15,14 @@ body,
width: 100%;
}
+.sbdocs.sbdocs-wrapper {
+ padding: 20px;
+}
+
+.sbdocs.sbdocs-content {
+ max-width: unset;
+}
+
/** we are stopping animation for all elements for chromatic so that our snapshopts are consistent */
.is-chromatic * {
animation: none !important;
diff --git a/app/client/packages/storybook/package.json b/app/client/packages/storybook/package.json
index 17641536ca99..6eedd3bfcb29 100644
--- a/app/client/packages/storybook/package.json
+++ b/app/client/packages/storybook/package.json
@@ -20,6 +20,7 @@
"@storybook/addon-viewport": "^7.3.1",
"@storybook/blocks": "^7.3.1",
"@storybook/builder-vite": "^7.3.1",
+ "@storybook/client-api": "^7.4.0",
"@storybook/components": "^7.3.1",
"@storybook/manager-api": "^7.3.1",
"@storybook/preset-create-react-app": "^7.3.1",
diff --git a/app/client/packages/storybook/src/components/ColorTable.tsx b/app/client/packages/storybook/src/components/ColorTable.tsx
new file mode 100644
index 000000000000..1de401ea3f12
--- /dev/null
+++ b/app/client/packages/storybook/src/components/ColorTable.tsx
@@ -0,0 +1,58 @@
+import React from "react";
+import { useState } from "react";
+import {
+ TokenTable,
+ StyledSquarePreview,
+ ThemeSettings,
+} from "@design-system/storybook";
+import { useTheme, ThemeProvider } from "@design-system/theming";
+import { defaultTokens } from "@design-system/theming";
+
+interface ColorTableProps {
+ filter?: string | string[];
+ isExactMatch?: boolean;
+}
+
+export const ColorTable = ({
+ filter,
+ isExactMatch = true,
+}: ColorTableProps) => {
+ const [seedColor, setSeedColor] = useState(defaultTokens.seedColor);
+ const [isDarkMode, setDarkMode] = useState(false);
+ const { theme } = useTheme({
+ seedColor,
+ colorMode: isDarkMode ? "dark" : "light",
+ });
+ const { color } = theme;
+
+ return (
+ <>
+ <ThemeSettings
+ direction="row"
+ isDarkMode={isDarkMode}
+ seedColor={seedColor}
+ setDarkMode={setDarkMode}
+ setSeedColor={setSeedColor}
+ />
+ <ThemeProvider
+ style={{ backgroundColor: "var(--color-bg)" }}
+ theme={theme}
+ >
+ <TokenTable
+ filter={filter}
+ isExactMatch={isExactMatch}
+ prefix="color"
+ tokens={color}
+ >
+ {(cssVar) => (
+ <StyledSquarePreview
+ style={{
+ background: cssVar,
+ }}
+ />
+ )}
+ </TokenTable>
+ </ThemeProvider>
+ </>
+ );
+};
diff --git a/app/client/packages/storybook/src/components/StoryThemeProvider.tsx b/app/client/packages/storybook/src/components/StoryThemeProvider.tsx
new file mode 100644
index 000000000000..73ca12d6324b
--- /dev/null
+++ b/app/client/packages/storybook/src/components/StoryThemeProvider.tsx
@@ -0,0 +1,33 @@
+import * as React from "react";
+import styled from "styled-components";
+import type { UseThemeProps } from "@design-system/theming";
+import { ThemeProvider, useTheme } from "@design-system/theming";
+
+const StyledThemeProvider = styled(ThemeProvider)`
+ display: inline-flex;
+ min-width: 100%;
+ min-height: 100%;
+ padding: 36px;
+ background: var(--color-bg);
+ color: var(--color-fg);
+ flex-direction: column;
+ align-items: center;
+`;
+
+interface StoryThemeProviderProps {
+ children: React.ReactNode;
+ theme: UseThemeProps;
+}
+
+export const StoryThemeProvider = ({
+ children,
+ theme,
+}: StoryThemeProviderProps) => {
+ const { theme: currentTheme } = useTheme(theme);
+
+ return (
+ <StyledThemeProvider theme={currentTheme}>
+ <div style={{ maxWidth: "1000px", width: "100%" }}>{children}</div>
+ </StyledThemeProvider>
+ );
+};
diff --git a/app/client/packages/storybook/src/components/ThemeSettings.tsx b/app/client/packages/storybook/src/components/ThemeSettings.tsx
new file mode 100644
index 000000000000..c67a034b1568
--- /dev/null
+++ b/app/client/packages/storybook/src/components/ThemeSettings.tsx
@@ -0,0 +1,147 @@
+import { Form } from "@storybook/components";
+import React, { useCallback } from "react";
+import { Flex, Text } from "@design-system/widgets";
+import { ColorControl, BooleanControl, NumberControl } from "@storybook/blocks";
+import { fontMetrics } from "@design-system/theming";
+import styled from "styled-components";
+import { debounce } from "lodash";
+import { AddonPanel } from "@storybook/components";
+
+const StyledSelect = styled(Form.Select)`
+ appearance: none;
+ padding-right: 30px;
+ -moz-appearance: none;
+ -webkit-appearance: none;
+ appearance: none;
+ background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23696969%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
+ background-repeat: no-repeat, repeat;
+ background-position: right 0.8em top 50%, 0 0;
+ background-size: 0.65em auto, 100%;
+`;
+
+interface ThemeSettingsProps {
+ seedColor?: string;
+ setSeedColor?: (value: string) => void;
+ isDarkMode?: boolean;
+ setDarkMode?: (value: boolean) => void;
+ borderRadius?: string;
+ setBorderRadius?: (value: string) => void;
+ fontFamily?: string;
+ setFontFamily?: (value: string) => void;
+ rootUnitRatio?: number;
+ setRootUnitRatio?: (value: number) => void;
+ direction?: "column" | "row";
+}
+
+export const ThemeSettings = ({
+ borderRadius,
+ direction = "column",
+ fontFamily,
+ isDarkMode,
+ rootUnitRatio,
+ seedColor,
+ setBorderRadius,
+ setDarkMode,
+ setFontFamily,
+ setRootUnitRatio,
+ setSeedColor,
+}: ThemeSettingsProps) => {
+ const colorChange = (value: string) => setSeedColor && setSeedColor(value);
+ const debouncedSeedColorChange = useCallback(debounce(colorChange, 300), []);
+
+ return (
+ // AddonPanel is necessary that ColorControl works correctly
+ <AddonPanel active>
+ <Flex direction={direction} gap="12px" padding="4px">
+ {setDarkMode && (
+ <Flex
+ alignItems="start"
+ direction="column"
+ gap="4px"
+ marginBottom="-8px"
+ >
+ <Text variant="caption">Dark mode</Text>
+ <BooleanControl
+ name="color-scheme"
+ onChange={setDarkMode}
+ value={isDarkMode}
+ />
+ </Flex>
+ )}
+
+ {setSeedColor && (
+ <Flex direction="column" gap="4px">
+ <Text variant="caption">Seed</Text>
+ <ColorControl
+ defaultValue={seedColor}
+ name="seed-color"
+ onChange={debouncedSeedColorChange}
+ value={seedColor}
+ />
+ </Flex>
+ )}
+
+ {setBorderRadius && (
+ <Flex direction="column" gap="4px">
+ <Text variant="caption">Border Radius</Text>
+ <StyledSelect
+ defaultValue={borderRadius}
+ id="border-radius"
+ onChange={(e) => setBorderRadius(e.target.value)}
+ size="100%"
+ title="Border Radius"
+ >
+ <option value="0px">Sharp</option>
+ <option value="6px">Rounded</option>
+ <option value="14px">Pill</option>
+ </StyledSelect>
+ </Flex>
+ )}
+
+ {setFontFamily && (
+ <Flex direction="column" gap="4px">
+ <Text>Font Family</Text>
+ <StyledSelect
+ defaultValue={fontFamily}
+ id="font-family"
+ onChange={(e) => setFontFamily(e.target.value)}
+ size="100%"
+ title="Font Family"
+ >
+ <option value="">System Default</option>
+ {Object.keys(fontMetrics)
+ .filter((item) => {
+ return (
+ [
+ "-apple-system",
+ "BlinkMacSystemFont",
+ "Segoe UI",
+ ].includes(item) === false
+ );
+ })
+ .map((font) => (
+ <option key={`font-famiy-${font}`} value={font}>
+ {font}
+ </option>
+ ))}
+ </StyledSelect>
+ </Flex>
+ )}
+
+ {setRootUnitRatio && (
+ <Flex direction="column" gap="4px">
+ <Text>Root Unit Ratio</Text>
+ <NumberControl
+ max={1.2}
+ min={0.8}
+ name="root-unit-ratio"
+ onChange={(value) => setRootUnitRatio(value ?? 1)}
+ step={0.01}
+ value={rootUnitRatio ?? 1}
+ />
+ </Flex>
+ )}
+ </Flex>
+ </AddonPanel>
+ );
+};
diff --git a/app/client/packages/storybook/src/components/TokenTable.tsx b/app/client/packages/storybook/src/components/TokenTable.tsx
index a426d11654e2..a1643b1f0ea7 100644
--- a/app/client/packages/storybook/src/components/TokenTable.tsx
+++ b/app/client/packages/storybook/src/components/TokenTable.tsx
@@ -1,6 +1,8 @@
import * as React from "react";
import styled from "styled-components";
import { CopyLink } from "./CopyLink";
+import isArray from "lodash/isArray";
+import isString from "lodash/isString";
import type { Token } from "@design-system/theming";
import type { ReactNode } from "react";
@@ -38,36 +40,53 @@ export const StyledTable = styled.table`
interface TokenTableProps {
prefix: string;
children: (cssVar: string) => ReactNode;
- filter?: string;
+ filter?: string | string[];
tokens?: { [key: string]: Token };
+ isExactMatch: boolean;
}
export const TokenTable = ({
children,
filter,
+ isExactMatch,
prefix,
tokens,
-}: TokenTableProps) => (
- <StyledTable>
- <thead>
- <tr>
- <th>Preview</th>
- <th>CSS</th>
- <th>Value</th>
- </tr>
- </thead>
- <tbody>
- {Object.keys(tokens ?? {})
- .filter((key) => (filter ? key.includes(filter) : true))
- .map((key) => (
- <tr key={key}>
- <td>{children(`var(--${prefix}-${key})`)}</td>
- <td>
- <CopyLink value={`var(--${prefix}-${key})`} />
- </td>
- <td>{tokens?.[key]?.value}</td>
- </tr>
- ))}
- </tbody>
- </StyledTable>
-);
+}: TokenTableProps) => {
+ const renderRows = (filter: string) => {
+ return Object.keys(tokens ?? {})
+ .filter((key) => {
+ if (!filter) return true;
+
+ if (isExactMatch) {
+ return key === filter;
+ }
+
+ return key.includes(filter);
+ })
+ .map((key) => (
+ <tr key={key}>
+ <td>{children(`var(--${prefix}-${key})`)}</td>
+ <td>
+ <CopyLink value={`var(--${prefix}-${key})`} />
+ </td>
+ <td>{tokens?.[key]?.value}</td>
+ </tr>
+ ));
+ };
+
+ return (
+ <StyledTable>
+ <thead>
+ <tr>
+ <th>Preview</th>
+ <th>CSS</th>
+ <th>Value</th>
+ </tr>
+ </thead>
+ <tbody>
+ {isArray(filter) && filter.map((key) => renderRows(key))}
+ {isString(filter) && renderRows(filter)}
+ </tbody>
+ </StyledTable>
+ );
+};
diff --git a/app/client/packages/storybook/src/index.ts b/app/client/packages/storybook/src/index.ts
index 4122a19ed958..74aeac17ba9e 100644
--- a/app/client/packages/storybook/src/index.ts
+++ b/app/client/packages/storybook/src/index.ts
@@ -2,3 +2,6 @@ export * from "./components/TokenTable";
export { CopyLink } from "./components/CopyLink";
export { StoryGrid } from "./components/StoryGrid";
export { DataAttrWrapper } from "./components/DataAttrWrapper";
+export { StoryThemeProvider } from "./components/StoryThemeProvider";
+export { ThemeSettings } from "./components/ThemeSettings";
+export { ColorTable } from "./components/ColorTable";
diff --git a/app/client/yarn.lock b/app/client/yarn.lock
index ac9b9b7014b7..4bb0a0c4d8ef 100644
--- a/app/client/yarn.lock
+++ b/app/client/yarn.lock
@@ -2330,6 +2330,7 @@ __metadata:
"@storybook/addon-viewport": ^7.3.1
"@storybook/blocks": ^7.3.1
"@storybook/builder-vite": ^7.3.1
+ "@storybook/client-api": ^7.4.0
"@storybook/components": ^7.3.1
"@storybook/manager-api": ^7.3.1
"@storybook/preset-create-react-app": ^7.3.1
@@ -6338,6 +6339,20 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/channels@npm:7.4.0":
+ version: 7.4.0
+ resolution: "@storybook/channels@npm:7.4.0"
+ dependencies:
+ "@storybook/client-logger": 7.4.0
+ "@storybook/core-events": 7.4.0
+ "@storybook/global": ^5.0.0
+ qs: ^6.10.0
+ telejson: ^7.2.0
+ tiny-invariant: ^1.3.1
+ checksum: b2391e1f126e4370daacaf558c5b04c654cfa87545bcd12f8cfb1253e41015c430027ee19368cc69d66d645d74bea3b118cb35a7520bc0b385aee1632a80c841
+ languageName: node
+ linkType: hard
+
"@storybook/cli@npm:7.3.1":
version: 7.3.1
resolution: "@storybook/cli@npm:7.3.1"
@@ -6389,6 +6404,16 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/client-api@npm:^7.4.0":
+ version: 7.4.0
+ resolution: "@storybook/client-api@npm:7.4.0"
+ dependencies:
+ "@storybook/client-logger": 7.4.0
+ "@storybook/preview-api": 7.4.0
+ checksum: 539d52a65834b0dc1eb334c2e10891973ea99eca7ef84843696c4762f94f2cd3e5ba591d06cf60f91862b72d179c5ce7b3146bba513b876239bcd2676480e6b9
+ languageName: node
+ linkType: hard
+
"@storybook/client-logger@npm:7.3.1":
version: 7.3.1
resolution: "@storybook/client-logger@npm:7.3.1"
@@ -6398,6 +6423,15 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/client-logger@npm:7.4.0":
+ version: 7.4.0
+ resolution: "@storybook/client-logger@npm:7.4.0"
+ dependencies:
+ "@storybook/global": ^5.0.0
+ checksum: 15fff611507c9c7e4525bd29c0b7aeb01d52f94ecaba592a60613d4df488260dd12f1198a01f7c054fb2c47b63984b5e8c94ab13aab1db9366d368f0dd2546ef
+ languageName: node
+ linkType: hard
+
"@storybook/codemod@npm:7.3.1":
version: 7.3.1
resolution: "@storybook/codemod@npm:7.3.1"
@@ -6489,6 +6523,15 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/core-events@npm:7.4.0":
+ version: 7.4.0
+ resolution: "@storybook/core-events@npm:7.4.0"
+ dependencies:
+ ts-dedent: ^2.0.0
+ checksum: 4677fd5ba35817e7c5c71af938417a21adc1ae96db2784734c44006dcc35c4e468a4842366636c3514d1f4cefd3f05159d84556ec0ebcbf0a5d8df47870f316f
+ languageName: node
+ linkType: hard
+
"@storybook/core-server@npm:7.3.1":
version: 7.3.1
resolution: "@storybook/core-server@npm:7.3.1"
@@ -6716,6 +6759,28 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/preview-api@npm:7.4.0":
+ version: 7.4.0
+ resolution: "@storybook/preview-api@npm:7.4.0"
+ dependencies:
+ "@storybook/channels": 7.4.0
+ "@storybook/client-logger": 7.4.0
+ "@storybook/core-events": 7.4.0
+ "@storybook/csf": ^0.1.0
+ "@storybook/global": ^5.0.0
+ "@storybook/types": 7.4.0
+ "@types/qs": ^6.9.5
+ dequal: ^2.0.2
+ lodash: ^4.17.21
+ memoizerific: ^1.11.3
+ qs: ^6.10.0
+ synchronous-promise: ^2.0.15
+ ts-dedent: ^2.0.0
+ util-deprecate: ^1.0.2
+ checksum: cd00661be523a16678ae4b9c5f66c807e496462538dd01573b4998687e4c1da93ff45a93e500c4e9fbdef477c05f210897c08423600f48f40a93928d058686e8
+ languageName: node
+ linkType: hard
+
"@storybook/preview@npm:7.3.1":
version: 7.3.1
resolution: "@storybook/preview@npm:7.3.1"
@@ -6864,6 +6929,19 @@ __metadata:
languageName: node
linkType: hard
+"@storybook/types@npm:7.4.0":
+ version: 7.4.0
+ resolution: "@storybook/types@npm:7.4.0"
+ dependencies:
+ "@storybook/channels": 7.4.0
+ "@types/babel__core": ^7.0.0
+ "@types/express": ^4.7.0
+ "@types/react": ^16.14.34
+ file-system-cache: 2.3.0
+ checksum: f36b054bc3d4c2fb2259fd23f0198ecdb9e86e1d05f251306d9c7c6e201df677217e8f28d7102d8733e0ad2e96e227e0f9c321fb664da316a74c95668a192c15
+ languageName: node
+ linkType: hard
+
"@surma/rollup-plugin-off-main-thread@npm:^2.2.3":
version: 2.2.3
resolution: "@surma/rollup-plugin-off-main-thread@npm:2.2.3"
@@ -28266,12 +28344,12 @@ __metadata:
languageName: node
linkType: hard
-"telejson@npm:^7.0.3":
- version: 7.1.0
- resolution: "telejson@npm:7.1.0"
+"telejson@npm:^7.0.3, telejson@npm:^7.2.0":
+ version: 7.2.0
+ resolution: "telejson@npm:7.2.0"
dependencies:
memoizerific: ^1.11.3
- checksum: 8000e43dc862a87ab1ca342a2635641923d55c2585f85ea8c7c60293681d6f920e8b9570cc12d90ecef286f065c176da5f769f42f4828ba18a626627bed1ac07
+ checksum: 55a3380c9ff3c5ad84581bb6bda28fc33c6b7c4a0c466894637da687639b8db0d21b0ff4c1bc1a7a92ae6b70662549d09e7b9e8b1ec334b2ef93078762ecdfb9
languageName: node
linkType: hard
|
5da37f1ab3396565004ef322e369ed28cf728973
|
2024-06-03 15:08:41
|
Nirmal Sarswat
|
chore: Increase pg max connections property for CI (#33923)
| false
|
Increase pg max connections property for CI (#33923)
|
chore
|
diff --git a/.github/workflows/server-build.yml b/.github/workflows/server-build.yml
index eb7ba86f13ab..3a5047341b93 100644
--- a/.github/workflows/server-build.yml
+++ b/.github/workflows/server-build.yml
@@ -141,7 +141,7 @@ jobs:
- name: Conditionally start PostgreSQL
run: |
if [[ inputs.is-pg-build == 'true' ]]; then
- docker run --name appsmith-pg -p 5432:5432 -d -e POSTGRES_PASSWORD=password postgres:alpine
+ docker run --name appsmith-pg -p 5432:5432 -d -e POSTGRES_PASSWORD=password postgres:alpine postgres -N 1500
fi
# Retrieve maven dependencies from cache. After a successful run, these dependencies are cached again
|
5231d0686f0acee8e668215989afc172913c4bc1
|
2024-05-07 21:54:32
|
Shrikant Sharat Kandula
|
chore: Remove unused methods in `CrudService` (#33199)
| false
|
Remove unused methods in `CrudService` (#33199)
|
chore
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/base/ActionCollectionServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/base/ActionCollectionServiceCEImpl.java
index 8cb3878d1d87..914ca2ea3d40 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/base/ActionCollectionServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/actioncollections/base/ActionCollectionServiceCEImpl.java
@@ -525,19 +525,6 @@ protected Mono<ActionCollection> archiveGivenActionCollection(ActionCollection a
deletedActionCollection, getAnalyticsProperties(deletedActionCollection)));
}
- @Override
- public Mono<ActionCollection> archiveByIdAndBranchName(String id, String branchName) {
- Mono<ActionCollection> branchedCollectionMono = this.findByBranchNameAndDefaultCollectionId(
- branchName, id, actionPermission.getDeletePermission())
- .switchIfEmpty(Mono.error(
- new AppsmithException(AppsmithError.ACL_NO_RESOURCE_FOUND, FieldName.ACTION_COLLECTION, id)));
-
- return branchedCollectionMono
- .map(ActionCollection::getId)
- .flatMap(this::archiveById)
- .map(responseUtils::updateActionCollectionWithDefaultResources);
- }
-
@Override
public Mono<ActionCollection> findByBranchNameAndDefaultCollectionId(
String branchName, String defaultCollectionId, AclPermission permission) {
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java
index 3673af492f86..d0f789f66edf 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/newactions/base/NewActionServiceCEImpl.java
@@ -1456,16 +1456,6 @@ public Mono<NewAction> archiveGivenNewAction(NewAction toDelete) {
.thenReturn(toDelete);
}
- @Override
- public Mono<NewAction> archiveByIdAndBranchName(String id, String branchName) {
- Mono<NewAction> branchedActionMono =
- this.findByBranchNameAndDefaultActionId(branchName, id, false, actionPermission.getDeletePermission());
-
- return branchedActionMono
- .flatMap(branchedAction -> this.archiveById(branchedAction.getId()))
- .map(responseUtils::updateNewActionWithDefaultResources);
- }
-
@Override
public Mono<NewAction> archive(NewAction newAction) {
return repository.archive(newAction);
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/BaseService.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/BaseService.java
index 3b97bd500175..754f9c9c713b 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/BaseService.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/BaseService.java
@@ -109,44 +109,6 @@ public Map<String, Object> getAnalyticsProperties(T savedResource) {
return new HashMap<>();
}
- /**
- * This function is used to filter the entities based on the entity fields and the search string.
- * The search is performed with contains operator on the entity fields and is case-insensitive.
- * @param searchableEntityFields The list of entity fields to search for. If null or empty, all entities are searched.
- * @param searchString The string to search for in the entity fields.
- * @param pageable The page number of the results to return.
- * @param sort The sort order of the results to return.
- * @param permission The permission to check for the entity.
- * @return A Flux of entities.
- */
- public Flux<T> filterByEntityFields(
- List<String> searchableEntityFields,
- String searchString,
- Pageable pageable,
- Sort sort,
- AclPermission permission) {
-
- if (searchableEntityFields == null || searchableEntityFields.isEmpty()) {
- return Flux.error(new AppsmithException(AppsmithError.INVALID_PARAMETER, ENTITY_FIELDS));
- }
-
- List<BridgeQuery<T>> criteria = new ArrayList<>();
- for (String fieldName : searchableEntityFields) {
- criteria.add(Bridge.searchIgnoreCase(fieldName, searchString));
- }
-
- Flux<T> result = repository
- .queryBuilder()
- .criteria(Bridge.or(criteria))
- .permission(permission)
- .sort(sort)
- .all();
- if (pageable != null) {
- return result.skip(pageable.getOffset()).take(pageable.getPageSize());
- }
- return result;
- }
-
/**
* This function is used to filter the entities based on the entity fields and the search string.
* The search is performed with contains operator on the entity fields and is case-insensitive.
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/CrudService.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/CrudService.java
index fcbb75ee1dda..688022c8897d 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/CrudService.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/CrudService.java
@@ -24,19 +24,8 @@ default Mono<T> findByIdAndBranchName(ID id, String branchName) {
Mono<T> archiveById(ID id);
- default Mono<T> archiveByIdAndBranchName(ID id, String branchName) {
- return this.archiveById(id);
- }
-
Map<String, Object> getAnalyticsProperties(T savedResource);
- Flux<T> filterByEntityFields(
- List<String> searchableEntityFields,
- String searchString,
- Pageable pageable,
- Sort sort,
- AclPermission permission);
-
Flux<T> filterByEntityFieldsWithoutPublicAccess(
List<String> searchableEntityFields,
String searchString,
|
72bee7b26e4e6be34ba8a2dbda390b3ac711e81c
|
2023-05-17 10:19:52
|
Shrikant Sharat Kandula
|
chore: Log timeout error information (#23071)
| false
|
Log timeout error information (#23071)
|
chore
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/HealthCheckServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/HealthCheckServiceCEImpl.java
index ead2be857a03..792fc42da064 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/HealthCheckServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/HealthCheckServiceCEImpl.java
@@ -35,16 +35,20 @@ public Mono<String> getHealth() {
@Override
public Mono<Health> getRedisHealth() {
- Function<TimeoutException, Throwable> healthTimeout = error -> new AppsmithException(
- AppsmithError.HEALTHCHECK_TIMEOUT, "Redis");
+ Function<TimeoutException, Throwable> healthTimeout = error -> {
+ log.warn("Redis health check timed out: ", error.getMessage());
+ return new AppsmithException(AppsmithError.HEALTHCHECK_TIMEOUT, "Redis");
+ };
RedisReactiveHealthIndicator redisReactiveHealthIndicator = new RedisReactiveHealthIndicator(reactiveRedisConnectionFactory);
return redisReactiveHealthIndicator.health().timeout(Duration.ofSeconds(3)).onErrorMap(TimeoutException.class, healthTimeout);
}
@Override
public Mono<Health> getMongoHealth() {
- Function<TimeoutException, Throwable> healthTimeout = error -> new AppsmithException(
- AppsmithError.HEALTHCHECK_TIMEOUT, "Mongo");
+ Function<TimeoutException, Throwable> healthTimeout = error -> {
+ log.warn("MongoDB health check timed out: ", error.getMessage());
+ return new AppsmithException(AppsmithError.HEALTHCHECK_TIMEOUT, "Mongo");
+ };
MongoReactiveHealthIndicator mongoReactiveHealthIndicator = new MongoReactiveHealthIndicator(reactiveMongoTemplate);
return mongoReactiveHealthIndicator.health().timeout(Duration.ofSeconds(1)).onErrorMap(TimeoutException.class, healthTimeout);
}
|
e5b727f1f91550ce418ee67c8e0de570c2983b27
|
2023-06-23 20:00:31
|
Ayangade Adeoluwa
|
fix: Fix API url path stringification (#24697)
| false
|
Fix API url path stringification (#24697)
|
fix
|
diff --git a/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_EvaluatedValue_spec.ts b/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_EvaluatedValue_spec.ts
index 57813f938882..5a33816ab32b 100644
--- a/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_EvaluatedValue_spec.ts
+++ b/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_EvaluatedValue_spec.ts
@@ -7,4 +7,14 @@ describe("Validate API URL Evaluated value", () => {
apiPage.CreateApi("FirstAPI");
apiPage.EnterURL(`{{{"key": "value"}}}`, true, `{"key":"value"}`);
});
+
+ // https://github.com/appsmithorg/appsmith/issues/24696
+ it("2. Check if path field strings have not been JSON.stringified - #24696", () => {
+ apiPage.CreateApi("SecondAPI");
+ apiPage.EnterURL(
+ `https://jsonplaceholder.typicode/{{SecondAPI.isLoading}}`,
+ true,
+ `https://jsonplaceholder.typicode/false`,
+ );
+ });
});
diff --git a/app/client/src/components/editorComponents/form/fields/EmbeddedDatasourcePathField.tsx b/app/client/src/components/editorComponents/form/fields/EmbeddedDatasourcePathField.tsx
index b1b172a2bf2b..bb83fff32d0c 100644
--- a/app/client/src/components/editorComponents/form/fields/EmbeddedDatasourcePathField.tsx
+++ b/app/client/src/components/editorComponents/form/fields/EmbeddedDatasourcePathField.tsx
@@ -399,8 +399,10 @@ class EmbeddedDatasourcePathComponent extends React.Component<
let evaluatedPath = "path" in entity.config ? entity.config.path : "";
if (evaluatedPath) {
- if (isString(evaluatedPath) && evaluatedPath.indexOf("?") > -1) {
- evaluatedPath = extractApiUrlPath(evaluatedPath);
+ if (isString(evaluatedPath)) {
+ if (evaluatedPath.indexOf("?") > -1) {
+ evaluatedPath = extractApiUrlPath(evaluatedPath);
+ }
} else {
evaluatedPath = JSON.stringify(evaluatedPath);
}
|
02a6b0cf792961c26f56c7f1388961a6454ea946
|
2023-01-02 18:08:35
|
dependabot[bot]
|
chore: bump json5 from 2.2.1 to 2.2.3 in /deploy/docker/utils (#19430)
| false
|
bump json5 from 2.2.1 to 2.2.3 in /deploy/docker/utils (#19430)
|
chore
|
diff --git a/deploy/docker/utils/package-lock.json b/deploy/docker/utils/package-lock.json
index 1f7506dda28d..b007923e607e 100644
--- a/deploy/docker/utils/package-lock.json
+++ b/deploy/docker/utils/package-lock.json
@@ -2503,9 +2503,9 @@
"integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="
},
"node_modules/json5": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz",
- "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==",
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==",
"bin": {
"json5": "lib/cli.js"
},
@@ -5269,9 +5269,9 @@
"integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w=="
},
"json5": {
- "version": "2.2.1",
- "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz",
- "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA=="
+ "version": "2.2.3",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz",
+ "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg=="
},
"kleur": {
"version": "3.0.3",
|
6179729e9ac18a72713b82ad8bade2326e9859d7
|
2024-05-17 15:46:43
|
albinAppsmith
|
fix: Tabs UI updates (#33536)
| false
|
Tabs UI updates (#33536)
|
fix
|
diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/Container.tsx b/app/client/src/pages/Editor/IDE/EditorTabs/Container.tsx
index 656c858d979d..b248f9e5f969 100644
--- a/app/client/src/pages/Editor/IDE/EditorTabs/Container.tsx
+++ b/app/client/src/pages/Editor/IDE/EditorTabs/Container.tsx
@@ -7,7 +7,7 @@ const Container = (props: { children: ReactNode }) => {
<Flex
alignItems="center"
backgroundColor="#FFFFFF"
- borderBottom="1px solid var(--ads-v2-color-border)"
+ borderBottom="1px solid var(--ads-v2-color-border-muted)"
gap="spaces-2"
maxHeight="32px"
minHeight="32px"
diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/FileTabs.tsx b/app/client/src/pages/Editor/IDE/EditorTabs/FileTabs.tsx
index c15352100af8..90499d2b984f 100644
--- a/app/client/src/pages/Editor/IDE/EditorTabs/FileTabs.tsx
+++ b/app/client/src/pages/Editor/IDE/EditorTabs/FileTabs.tsx
@@ -22,6 +22,8 @@ interface Props {
onClose: (actionId?: string) => void;
}
+const FILE_TABS_CONTAINER_ID = "file-tabs-container";
+
const FileTabs = (props: Props) => {
const { navigateToTab, onClose, tabs } = props;
const { segment, segmentMode } = useCurrentEditorState();
@@ -39,6 +41,15 @@ const FileTabs = (props: Props) => {
}
}, [tabs, segmentMode]);
+ useEffect(() => {
+ const ele = document.getElementById(FILE_TABS_CONTAINER_ID)?.parentElement;
+ if (ele && ele.scrollWidth > ele.clientWidth) {
+ ele.style.borderRight = "1px solid var(--ads-v2-color-border)";
+ } else if (ele) {
+ ele.style.borderRight = "unset";
+ }
+ }, [tabs]);
+
const onCloseClick = (e: React.MouseEvent, id?: string) => {
e.stopPropagation();
onClose(id);
@@ -56,7 +67,7 @@ const FileTabs = (props: Props) => {
}}
size={"sm"}
>
- <Flex gap="spaces-2" height="100%">
+ <Flex gap="spaces-2" height="100%" id={FILE_TABS_CONTAINER_ID}>
{tabs.map((tab: EntityItem) => (
<StyledTab
className={clsx(
diff --git a/app/client/src/pages/Editor/IDE/EditorTabs/StyledComponents.tsx b/app/client/src/pages/Editor/IDE/EditorTabs/StyledComponents.tsx
index d281a6bfbdb5..66e40cd39356 100644
--- a/app/client/src/pages/Editor/IDE/EditorTabs/StyledComponents.tsx
+++ b/app/client/src/pages/Editor/IDE/EditorTabs/StyledComponents.tsx
@@ -28,23 +28,15 @@ export const StyledTab = styled(Flex)`
align-items: center;
justify-content: center;
padding: var(--ads-v2-spaces-3);
-
- // After element - the seperator in between tabs
- &:not(&.active):not(:has(+ .active)):after {
- content: "";
- position: absolute;
- right: 0;
- top: 8px;
- width: 1px;
- height: 40%;
- background-color: var(--ads-v2-color-border);
- }
+ border-left: 1px solid transparent;
+ border-right: 1px solid transparent;
+ border-top: 2px solid transparent;
&.active {
background: var(--ads-v2-colors-control-field-default-bg);
- border-top: 2px solid var(--ads-v2-color-bg-brand);
- border-left: 1px solid var(--ads-v2-color-border);
- border-right: 1px solid var(--ads-v2-color-border);
+ border-top-color: var(--ads-v2-color-bg-brand);
+ border-left-color: var(--ads-v2-color-border-muted);
+ border-right-color: var(--ads-v2-color-border-muted);
}
& > .tab-close {
|
2a35c9331121662d754cee0a266323d8e4e79202
|
2025-02-03 13:50:56
|
Apeksha Bhosale
|
chore: added errorcode and exception to http_server_requests for better slo (#38892)
| false
|
added errorcode and exception to http_server_requests for better slo (#38892)
|
chore
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/ObservationConfig.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/ObservationConfig.java
new file mode 100644
index 000000000000..6d54c2ab3498
--- /dev/null
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/configurations/ObservationConfig.java
@@ -0,0 +1,36 @@
+package com.appsmith.server.configurations;
+
+import com.appsmith.server.constants.FieldName;
+import com.appsmith.server.exceptions.AppsmithException;
+import io.micrometer.common.KeyValue;
+import io.micrometer.common.KeyValues;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.http.server.reactive.observation.DefaultServerRequestObservationConvention;
+import org.springframework.http.server.reactive.observation.ServerRequestObservationContext;
+import org.springframework.http.server.reactive.observation.ServerRequestObservationConvention;
+
+@Configuration
+public class ObservationConfig {
+
+ @Bean
+ public ServerRequestObservationConvention customObservationConvention() {
+ return new DefaultServerRequestObservationConvention() {
+ @Override
+ public KeyValues getLowCardinalityKeyValues(ServerRequestObservationContext context) {
+ KeyValues keyValues = super.getLowCardinalityKeyValues(context);
+
+ // Extract error code safely
+ String errorCode = context.getError() != null && context.getError() instanceof AppsmithException
+ ? (((AppsmithException) context.getError()).getAppErrorCode())
+ : FieldName.NONE;
+
+ String errorTitle = context.getError() != null && context.getError() instanceof AppsmithException
+ ? (((AppsmithException) context.getError()).getTitle())
+ : FieldName.NONE;
+
+ return keyValues.and(KeyValue.of("errorCode", errorCode)).and(KeyValue.of("exception", errorTitle));
+ }
+ };
+ }
+}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/ce/FieldNameCE.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/ce/FieldNameCE.java
index 4a2aa044ce01..ab487f3e12e5 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/ce/FieldNameCE.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/ce/FieldNameCE.java
@@ -203,4 +203,5 @@ public class FieldNameCE {
public static final String ARTIFACT_CONTEXT = "artifactContext";
public static final String ARTIFACT_ID = "artifactId";
public static final String BODY = "body";
+ public static final String NONE = "none";
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java
index f9ef6a4dfb41..9c73bd563940 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/exceptions/GlobalExceptionHandler.java
@@ -10,6 +10,7 @@
import com.appsmith.server.helpers.RedisUtils;
import com.appsmith.server.services.AnalyticsService;
import com.appsmith.server.services.SessionUserService;
+import io.micrometer.common.KeyValue;
import io.micrometer.core.instrument.util.StringUtils;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
@@ -17,6 +18,7 @@
import org.eclipse.jgit.errors.LockFailedException;
import org.springframework.core.io.buffer.DataBufferLimitException;
import org.springframework.http.HttpStatus;
+import org.springframework.http.server.reactive.observation.ServerRequestObservationContext;
import org.springframework.security.access.AccessDeniedException;
import org.springframework.validation.FieldError;
import org.springframework.web.bind.annotation.ControllerAdvice;
@@ -84,6 +86,12 @@ public Mono<ResponseDTO<ErrorDTO>> catchAppsmithException(AppsmithException e, S
e.getAppErrorCode(), e.getErrorType(), e.getMessage(), e.getTitle(), e.getReferenceDoc()));
}
+ ServerRequestObservationContext.findCurrent(exchange.getAttributes()).ifPresent(context -> {
+ context.setError(e);
+ context.addLowCardinalityKeyValue(KeyValue.of("errorCode", e.getAppErrorCode()));
+ context.addLowCardinalityKeyValue(KeyValue.of("exception", e.getTitle()));
+ });
+
return getResponseDTOMono(urlPath, response);
}
|
a308d564f717e25ba0291570635fb226f1c56a62
|
2022-09-05 15:24:00
|
Tanvi Bhakta
|
chore: bump ds version (#16488)
| false
|
bump ds version (#16488)
|
chore
|
diff --git a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ThemingTests/Theme_MultiSelectWidget_spec.js b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ThemingTests/Theme_MultiSelectWidget_spec.js
index 4731f71bcb60..79c31b77a4b2 100644
--- a/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ThemingTests/Theme_MultiSelectWidget_spec.js
+++ b/app/client/cypress/integration/Smoke_TestSuite/ClientSideTests/ThemingTests/Theme_MultiSelectWidget_spec.js
@@ -8,8 +8,8 @@ let themeFont;
let themeColour;
let propPane = ObjectsRegistry.PropertyPane;
-describe("Theme validation usecase for multi-select widget", function () {
- it("Drag and drop multi-select widget and validate Default font and list of font validation + Bug 15007", function () {
+describe("Theme validation usecase for multi-select widget", function() {
+ it("Drag and drop multi-select widget and validate Default font and list of font validation + Bug 15007", function() {
cy.log("Login Successful");
cy.reload(); // To remove the rename tooltip
cy.get(explorer.addWidget).click();
@@ -68,7 +68,7 @@ describe("Theme validation usecase for multi-select widget", function () {
cy.get("span[name='expand-more']").then(($elem) => {
cy.get($elem).click({ force: true });
cy.wait(250);
- cy.fixture("fontData").then(function (testdata) {
+ cy.fixture("fontData").then(function(testdata) {
this.testdata = testdata;
});
@@ -109,7 +109,7 @@ describe("Theme validation usecase for multi-select widget", function () {
cy.contains("Color").click({ force: true });
});
- it.skip("Publish the App and validate Font across the app + Bug 15007", function () {
+ it.skip("Publish the App and validate Font across the app + Bug 15007", function() {
//Skipping due to mentioned bug
cy.PublishtheApp();
cy.get(".rc-select-selection-item > .rc-select-selection-item-content")
@@ -131,7 +131,7 @@ describe("Theme validation usecase for multi-select widget", function () {
cy.goToEditFromPublish();
});
- it("Validate current theme feature", function () {
+ it("Validate current theme feature", function() {
cy.get("#canvas-selection-0").click({ force: true });
//Change the Theme
cy.get(commonlocators.changeThemeBtn).click({ force: true });
@@ -151,7 +151,7 @@ describe("Theme validation usecase for multi-select widget", function () {
});
});
- it("Publish the App and validate change of Theme across the app in publish mode", function () {
+ it("Publish the App and validate change of Theme across the app in publish mode", function() {
cy.PublishtheApp();
cy.get(".rc-select-selection-item > .rc-select-selection-item-content")
.first()
@@ -163,17 +163,17 @@ describe("Theme validation usecase for multi-select widget", function () {
expect(CurrentBackgroudColor).to.equal(themeColour);
expect(selectedBackgroudColor).to.equal(themeBackgroudColor);
});
- });
- cy.get(".bp3-button:contains('Edit App')")
- .last()
- .invoke("css", "background-color")
- .then((CurrentBackgroudColor) => {
- expect(CurrentBackgroudColor).to.equal(themeBackgroudColor);
- });
- cy.xpath("//div[@id='root']//section/parent::div").should(
- "have.css",
- "background-color",
- "rgb(165, 42, 42)",
- );
});
-})
\ No newline at end of file
+ cy.get(".bp3-button:contains('Edit App')")
+ .last()
+ .invoke("css", "background-color")
+ .then((CurrentBackgroudColor) => {
+ expect(CurrentBackgroudColor).to.equal(themeBackgroudColor);
+ });
+ cy.xpath("//div[@id='root']//section/parent::div").should(
+ "have.css",
+ "background-color",
+ "rgb(165, 42, 42)",
+ );
+ });
+});
diff --git a/app/client/package.json b/app/client/package.json
index 2b64210f4800..70cbe38abb5a 100644
--- a/app/client/package.json
+++ b/app/client/package.json
@@ -45,7 +45,7 @@
"cypress-log-to-output": "^1.1.2",
"dayjs": "^1.10.6",
"deep-diff": "^1.0.2",
- "design-system": "npm:@appsmithorg/[email protected]",
+ "design-system": "npm:@appsmithorg/[email protected]",
"downloadjs": "^1.4.7",
"draft-js": "^0.11.7",
"emoji-mart": "^3.0.1",
diff --git a/app/client/src/pages/Editor/__tests__/QueryEditorTable.test.tsx b/app/client/src/pages/Editor/__tests__/QueryEditorTable.test.tsx
index 2b12e494d67d..fb3671f277bb 100644
--- a/app/client/src/pages/Editor/__tests__/QueryEditorTable.test.tsx
+++ b/app/client/src/pages/Editor/__tests__/QueryEditorTable.test.tsx
@@ -8,7 +8,7 @@ function createEle() {
return {
scrollHeight: 0,
clientHeight: 0,
- }
+ };
}
const scrollW = 6;
diff --git a/app/client/yarn.lock b/app/client/yarn.lock
index 41be7ba2ca00..1c628811df68 100644
--- a/app/client/yarn.lock
+++ b/app/client/yarn.lock
@@ -6153,10 +6153,10 @@ depd@~1.1.2:
version "1.1.2"
resolved "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz"
-"design-system@npm:@appsmithorg/[email protected]":
- version "0.0.0-beta-20220902045439"
- resolved "https://registry.yarnpkg.com/@appsmithorg/design-system/-/design-system-0.0.0-beta-20220902045439.tgz#8422583270a61978708903ed75b40100d9fa6a1f"
- integrity sha512-BTjXRutGmG7Q8v4PmonvUoow+rkQOukO/GqYwsSgFz74BjOF5kQq+kVvSzwehr7CQwUL6XPim9reZURTcO/3qA==
+"design-system@npm:@appsmithorg/[email protected]":
+ version "1.0.20"
+ resolved "https://registry.yarnpkg.com/@appsmithorg/design-system/-/design-system-1.0.20.tgz#40e2e8a713561da75cd89d547f6e65090582e389"
+ integrity sha512-IgaVqbH03x2KpIjvCx4rL9JQky9DLynZ+raNoywnpb6sBr+7el30r+QX2aKMfkXh/H4ntHhWAjkGwHqEdRK4uQ==
dependencies:
"@blueprintjs/datetime" "3.23.6"
copy-to-clipboard "^3.3.1"
|
ecb3904680ce300ed011e2f07e01518ed1d0cc9e
|
2022-05-05 21:22:30
|
Abhijeet
|
chore: Add analytics event for SSH key generation (#13505)
| false
|
Add analytics event for SSH key generation (#13505)
|
chore
|
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/AnalyticsEvents.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/AnalyticsEvents.java
index 397444e6ce34..173c7fc36f69 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/AnalyticsEvents.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/constants/AnalyticsEvents.java
@@ -33,7 +33,8 @@ public enum AnalyticsEvents {
GIT_TEST_CONNECTION,
GIT_DELETE_BRANCH,
GIT_DISCARD_CHANGES,
- AUTHENTICATION_METHOD_CONFIGURATION("Authentication Method Configured")
+ AUTHENTICATION_METHOD_CONFIGURATION("Authentication Method Configured"),
+ GENERATE_SSH_KEY("generate_SSH_KEY")
;
private final String eventName;
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/GitAuth.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/GitAuth.java
index 83dfcf592f22..d06f0819d46c 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/GitAuth.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/domains/GitAuth.java
@@ -23,4 +23,7 @@ public class GitAuth implements AppsmithDomain {
// Deploy key documentation url
@Transient
String docUrl;
+
+ @Transient
+ boolean isRegeneratedKey = false;
}
diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationServiceCEImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationServiceCEImpl.java
index 9b84d2737460..e51f57803299 100644
--- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationServiceCEImpl.java
+++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/ApplicationServiceCEImpl.java
@@ -2,6 +2,7 @@
import com.appsmith.external.models.Policy;
import com.appsmith.server.acl.AclPermission;
+import com.appsmith.server.constants.AnalyticsEvents;
import com.appsmith.server.constants.ApplicationConstants;
import com.appsmith.server.constants.Assets;
import com.appsmith.server.constants.FieldName;
@@ -48,7 +49,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Map;
-import java.util.Optional;
import java.util.Set;
import static com.appsmith.server.acl.AclPermission.EXECUTE_DATASOURCES;
@@ -425,7 +425,6 @@ private Flux<Application> setTransientFields(Flux<Application> applicationsFlux)
@Override
public Mono<GitAuth> createOrUpdateSshKeyPair(String applicationId) {
GitAuth gitAuth = GitDeployKeyGenerator.generateSSHKey();
-
return repository.findById(applicationId, MANAGE_APPLICATIONS)
.switchIfEmpty(Mono.error(
new AppsmithException(AppsmithError.NO_RESOURCE_FOUND, "application", applicationId)
@@ -438,6 +437,7 @@ public Mono<GitAuth> createOrUpdateSshKeyPair(String applicationId) {
&& !StringUtils.isEmpty(gitData.getDefaultApplicationId())
&& applicationId.equals(gitData.getDefaultApplicationId())) {
// This is the root application with update SSH key request
+ gitAuth.setRegeneratedKey(true);
gitData.setGitAuth(gitAuth);
return save(application);
} else if(gitData == null) {
@@ -454,6 +454,8 @@ public Mono<GitAuth> createOrUpdateSshKeyPair(String applicationId) {
throw new AppsmithException(AppsmithError.INVALID_GIT_CONFIGURATION,
"Unable to find root application, please connect your application to remote repo to resolve this issue.");
}
+ gitAuth.setRegeneratedKey(true);
+
return repository.findById(gitData.getDefaultApplicationId(), MANAGE_APPLICATIONS)
.flatMap(defaultApplication -> {
GitApplicationMetadata gitApplicationMetadata = defaultApplication.getGitApplicationMetadata();
@@ -463,6 +465,21 @@ public Mono<GitAuth> createOrUpdateSshKeyPair(String applicationId) {
return save(defaultApplication);
});
})
+ .flatMap(application -> {
+ // Send generate SSH key analytics event
+ assert application.getId() != null;
+ final Map<String, Object> data = Map.of(
+ "applicationId", application.getId(),
+ "organizationId", application.getOrganizationId(),
+ "isRegeneratedKey", gitAuth.isRegeneratedKey()
+ );
+
+ return analyticsService.sendObjectEvent(AnalyticsEvents.GENERATE_SSH_KEY, application, data)
+ .onErrorResume(e -> {
+ log.warn("Error sending ssh key generation data point", e);
+ return Mono.just(application);
+ });
+ })
.thenReturn(gitAuth);
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.